Class RankingsResponseTablesItem

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

public final class RankingsResponseTablesItem extends Object implements com.azure.json.JsonSerializable<RankingsResponseTablesItem>
The RankingsResponseTablesItem model.
  • Constructor Details

    • RankingsResponseTablesItem

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

    • ranking

      public String ranking()
      Get the ranking property: The ranking property.
      Returns:
      the ranking value.
    • withRanking

      public RankingsResponseTablesItem withRanking(String ranking)
      Set the ranking property: The ranking property.
      Parameters:
      ranking - the ranking value to set.
      Returns:
      the RankingsResponseTablesItem object itself.
    • data

      Get the data property: The data property.
      Returns:
      the data value.
    • withData

      Set the data property: The data property.
      Parameters:
      data - the data value to set.
      Returns:
      the RankingsResponseTablesItem 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<RankingsResponseTablesItem>
      Throws:
      IOException
    • fromJson

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