Class RecordSetListResult

java.lang.Object
com.azure.resourcemanager.dns.models.RecordSetListResult
All Implemented Interfaces:
com.azure.json.JsonSerializable<RecordSetListResult>

public final class RecordSetListResult extends Object implements com.azure.json.JsonSerializable<RecordSetListResult>
The response to a record set List operation.
  • Constructor Details

    • RecordSetListResult

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

    • value

      public List<RecordSetInner> value()
      Get the value property: Information about the record sets in the response.
      Returns:
      the value value.
    • withValue

      public RecordSetListResult withValue(List<RecordSetInner> value)
      Set the value property: Information about the record sets in the response.
      Parameters:
      value - the value value to set.
      Returns:
      the RecordSetListResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The continuation token for the next page of results.
      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<RecordSetListResult>
      Throws:
      IOException
    • fromJson

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