Class RankingsResponseInner
java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.RankingsResponseInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RankingsResponseInner>
public final class RankingsResponseInner
extends Object
implements com.azure.json.JsonSerializable<RankingsResponseInner>
Rankings Response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the dateTimeBegin property: The dateTimeBegin property.Get the dateTimeEnd property: The dateTimeEnd property.static RankingsResponseInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RankingsResponseInner from the JsonReader.tables()Get the tables property: The tables property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDateTimeBegin(OffsetDateTime dateTimeBegin) Set the dateTimeBegin property: The dateTimeBegin property.withDateTimeEnd(OffsetDateTime dateTimeEnd) Set the dateTimeEnd property: The dateTimeEnd property.withTables(List<RankingsResponseTablesItem> tables) Set the tables property: The tables 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
-
RankingsResponseInner
public RankingsResponseInner()Creates an instance of RankingsResponseInner 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 RankingsResponseInner 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 RankingsResponseInner object itself.
-
tables
Get the tables property: The tables property.- Returns:
- the tables value.
-
withTables
Set the tables property: The tables property.- Parameters:
tables- the tables value to set.- Returns:
- the RankingsResponseInner 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<RankingsResponseInner>- Throws:
IOException
-
fromJson
public static RankingsResponseInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RankingsResponseInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of RankingsResponseInner 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 RankingsResponseInner.
-