Class WafRankingsResponseInner
java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.WafRankingsResponseInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<WafRankingsResponseInner>
public final class WafRankingsResponseInner
extends Object
implements com.azure.json.JsonSerializable<WafRankingsResponseInner>
Waf Rankings Response.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of WafRankingsResponseInner class. -
Method Summary
Modifier and TypeMethodDescriptiondata()Get the data property: The data property.Get the dateTimeBegin property: The dateTimeBegin property.Get the dateTimeEnd property: The dateTimeEnd property.static WafRankingsResponseInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of WafRankingsResponseInner from the JsonReader.groups()Get the groups property: The groups property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the data property: The data property.withDateTimeBegin(OffsetDateTime dateTimeBegin) Set the dateTimeBegin property: The dateTimeBegin property.withDateTimeEnd(OffsetDateTime dateTimeEnd) Set the dateTimeEnd property: The dateTimeEnd property.withGroups(List<String> groups) Set the groups property: The groups property.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
WafRankingsResponseInner
public WafRankingsResponseInner()Creates an instance of WafRankingsResponseInner class.
-
-
Method Details
-
dateTimeBegin
Get the dateTimeBegin property: The dateTimeBegin property.- Returns:
- the dateTimeBegin value.
-
withDateTimeBegin
Set the dateTimeBegin property: The dateTimeBegin property.- Parameters:
dateTimeBegin- the dateTimeBegin value to set.- Returns:
- the WafRankingsResponseInner object itself.
-
dateTimeEnd
Get the dateTimeEnd property: The dateTimeEnd property.- Returns:
- the dateTimeEnd value.
-
withDateTimeEnd
Set the dateTimeEnd property: The dateTimeEnd property.- Parameters:
dateTimeEnd- the dateTimeEnd value to set.- Returns:
- the WafRankingsResponseInner object itself.
-
groups
-
withGroups
Set the groups property: The groups property.- Parameters:
groups- the groups value to set.- Returns:
- the WafRankingsResponseInner 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 WafRankingsResponseInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<WafRankingsResponseInner>- Throws:
IOException
-
fromJson
public static WafRankingsResponseInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of WafRankingsResponseInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of WafRankingsResponseInner 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 WafRankingsResponseInner.
-