Class ServiceTagsListResultInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.ServiceTagsListResultInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<ServiceTagsListResultInner>

public final class ServiceTagsListResultInner extends Object implements com.azure.json.JsonSerializable<ServiceTagsListResultInner>
Response for the ListServiceTags API service call.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of ServiceTagsListResultInner class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the changeNumber property: The iteration number.
    Get the cloud property: The name of the cloud.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of ServiceTagsListResultInner from the JsonReader.
    id()
    Get the id property: The ID of the cloud.
    Get the name property: The name of the cloud.
    Get the nextLink property: The URL to get next page of service tag information resources.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    Get the type property: The azure resource type.
    void
    Validates the instance.
    Get the values property: The list of service tag information resources.

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Constructor Details

    • ServiceTagsListResultInner

      public ServiceTagsListResultInner()
      Creates an instance of ServiceTagsListResultInner class.
  • Method Details

    • name

      public String name()
      Get the name property: The name of the cloud.
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: The ID of the cloud.
      Returns:
      the id value.
    • type

      public String type()
      Get the type property: The azure resource type.
      Returns:
      the type value.
    • changeNumber

      public String changeNumber()
      Get the changeNumber property: The iteration number.
      Returns:
      the changeNumber value.
    • cloud

      public String cloud()
      Get the cloud property: The name of the cloud.
      Returns:
      the cloud value.
    • values

      public List<ServiceTagInformationInner> values()
      Get the values property: The list of service tag information resources.
      Returns:
      the values value.
    • nextLink

      public String nextLink()
      Get the nextLink property: The URL to get next page of service tag information resources.
      Returns:
      the nextLink value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

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

      public static ServiceTagsListResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ServiceTagsListResultInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ServiceTagsListResultInner 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 ServiceTagsListResultInner.