Class SearchSchemaValue
java.lang.Object
com.azure.resourcemanager.loganalytics.models.SearchSchemaValue
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchSchemaValue>
public final class SearchSchemaValue
extends Object
implements com.azure.json.JsonSerializable<SearchSchemaValue>
Value object for schema results.
-
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: The display name of the schema.booleanfacet()Get the facet property: The boolean that indicates whether or not the field is a facet.static SearchSchemaValuefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchSchemaValue from the JsonReader.booleanindexed()Get the indexed property: The boolean that indicates the field is searchable as free text.name()Get the name property: The name of the schema.Get the ownerType property: The array of workflows containing the field.booleanstored()Get the stored property: The boolean that indicates whether or not the field is stored.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
name
-
displayName
Get the displayName property: The display name of the schema.- Returns:
- the displayName value.
-
type
-
indexed
public boolean indexed()Get the indexed property: The boolean that indicates the field is searchable as free text.- Returns:
- the indexed value.
-
stored
public boolean stored()Get the stored property: The boolean that indicates whether or not the field is stored.- Returns:
- the stored value.
-
facet
public boolean facet()Get the facet property: The boolean that indicates whether or not the field is a facet.- Returns:
- the facet value.
-
ownerType
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SearchSchemaValue>- Throws:
IOException
-
fromJson
Reads an instance of SearchSchemaValue from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SearchSchemaValue if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the SearchSchemaValue.
-