Class WafRankingsResponseDataItem

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

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

    • WafRankingsResponseDataItem

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

    • groupValues

      public List<String> groupValues()
      Get the groupValues property: The groupValues property.
      Returns:
      the groupValues value.
    • withGroupValues

      public WafRankingsResponseDataItem withGroupValues(List<String> groupValues)
      Set the groupValues property: The groupValues property.
      Parameters:
      groupValues - the groupValues value to set.
      Returns:
      the WafRankingsResponseDataItem object itself.
    • metrics

      Get the metrics property: The metrics property.
      Returns:
      the metrics value.
    • withMetrics

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

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