Class SchemaGroupListResult

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

public final class SchemaGroupListResult extends Object implements com.azure.json.JsonSerializable<SchemaGroupListResult>
The result of the List SchemaGroup operation.
  • Constructor Details

    • SchemaGroupListResult

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

    • value

      public List<SchemaGroupInner> value()
      Get the value property: Result of the List SchemaGroups operation.
      Returns:
      the value value.
    • withValue

      public SchemaGroupListResult withValue(List<SchemaGroupInner> value)
      Set the value property: Result of the List SchemaGroups operation.
      Parameters:
      value - the value value to set.
      Returns:
      the SchemaGroupListResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: Link to the next set of results. Not empty if Value contains incomplete list of Schema Groups.
      Returns:
      the nextLink value.
    • withNextLink

      public SchemaGroupListResult withNextLink(String nextLink)
      Set the nextLink property: Link to the next set of results. Not empty if Value contains incomplete list of Schema Groups.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the SchemaGroupListResult object itself.
    • 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<SchemaGroupListResult>
      Throws:
      IOException
    • fromJson

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