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 Type
    Method
    Description
    Get the displayName property: The display name of the schema.
    boolean
    Get the facet property: The boolean that indicates whether or not the field is a facet.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of SearchSchemaValue from the JsonReader.
    boolean
    Get the indexed property: The boolean that indicates the field is searchable as free text.
    Get the name property: The name of the schema.
    Get the ownerType property: The array of workflows containing the field.
    boolean
    Get the stored property: The boolean that indicates whether or not the field is stored.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    Get the type property: The type.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • name

      public String name()
      Get the name property: The name of the schema.
      Returns:
      the name value.
    • displayName

      public String displayName()
      Get the displayName property: The display name of the schema.
      Returns:
      the displayName value.
    • type

      public String type()
      Get the type property: The type.
      Returns:
      the type value.
    • 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

      public List<String> ownerType()
      Get the ownerType property: The array of workflows containing the field.
      Returns:
      the ownerType value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<SearchSchemaValue>
      Throws:
      IOException
    • fromJson

      public static SearchSchemaValue fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.