Class ServiceTagInformationInner
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ServiceTagInformationInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ServiceTagInformationInner>
public final class ServiceTagInformationInner
extends Object
implements com.azure.json.JsonSerializable<ServiceTagInformationInner>
The service tag information.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServiceTagInformationInner class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceTagInformationInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ServiceTagInformationInner from the JsonReader.id()Get the id property: The ID of service tag.name()Get the name property: The name of service tag.Get the properties property: Properties of the service tag information.Get the serviceTagChangeNumber property: The iteration number of service tag object for region.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ServiceTagInformationInner
public ServiceTagInformationInner()Creates an instance of ServiceTagInformationInner class.
-
-
Method Details
-
properties
Get the properties property: Properties of the service tag information.- Returns:
- the properties value.
-
name
Get the name property: The name of service tag.- Returns:
- the name value.
-
id
Get the id property: The ID of service tag.- Returns:
- the id value.
-
serviceTagChangeNumber
Get the serviceTagChangeNumber property: The iteration number of service tag object for region.- Returns:
- the serviceTagChangeNumber value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ServiceTagInformationInner>- Throws:
IOException
-
fromJson
public static ServiceTagInformationInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ServiceTagInformationInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ServiceTagInformationInner 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 ServiceTagInformationInner.
-