Class SearchMetadataSchema
java.lang.Object
com.azure.resourcemanager.loganalytics.models.SearchMetadataSchema
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchMetadataSchema>
public final class SearchMetadataSchema
extends Object
implements com.azure.json.JsonSerializable<SearchMetadataSchema>
Schema metadata for search.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchMetadataSchemafromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchMetadataSchema from the JsonReader.name()Get the name property: The name of the metadata schema.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) version()Get the version property: The version of the metadata schema.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
Get the name property: The name of the metadata schema.- Returns:
- the name value.
-
version
Get the version property: The version of the metadata schema.- Returns:
- the version value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SearchMetadataSchema>- Throws:
IOException
-
fromJson
public static SearchMetadataSchema fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SearchMetadataSchema from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SearchMetadataSchema if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SearchMetadataSchema.
-