TokenFilter Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. TokenFilter
- com.
Implements
public class TokenFilter
implements JsonSerializable<TokenFilter>
Base type for token filters.
Constructor Summary
Constructor | Description |
---|---|
TokenFilter(String name) |
Creates an instance of Token |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Token |
fromJson(JsonReader jsonReader)
Reads an instance of Token |
String |
getName()
Get the name property: The name of the token filter. |
String |
getOdataType()
Get the odata |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
TokenFilter
public TokenFilter(String name)
Creates an instance of TokenFilter class.
Parameters:
Method Details
fromJson
public static TokenFilter fromJson(JsonReader jsonReader)
Reads an instance of TokenFilter from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.
Returns:
getOdataType
public String getOdataType()
Get the odataType property: A URI fragment specifying the type of token filter.
Returns:
toJson
Applies to
Azure SDK for Java