Dela via


RankingsResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.fluent.models.RankingsResponseInner

Implements

public final class RankingsResponseInner
implements JsonSerializable<RankingsResponseInner>

Rankings Response.

Constructor Summary

Constructor Description
RankingsResponseInner()

Creates an instance of RankingsResponseInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime dateTimeBegin()

Get the dateTimeBegin property: The dateTimeBegin property.

OffsetDateTime dateTimeEnd()

Get the dateTimeEnd property: The dateTimeEnd property.

static RankingsResponseInner fromJson(JsonReader jsonReader)

Reads an instance of RankingsResponseInner from the JsonReader.

List<RankingsResponseTablesItem> tables()

Get the tables property: The tables property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RankingsResponseInner withDateTimeBegin(OffsetDateTime dateTimeBegin)

Set the dateTimeBegin property: The dateTimeBegin property.

RankingsResponseInner withDateTimeEnd(OffsetDateTime dateTimeEnd)

Set the dateTimeEnd property: The dateTimeEnd property.

RankingsResponseInner withTables(List<RankingsResponseTablesItem> tables)

Set the tables property: The tables property.

Methods inherited from java.lang.Object

Constructor Details

RankingsResponseInner

public RankingsResponseInner()

Creates an instance of RankingsResponseInner class.

Method Details

dateTimeBegin

public OffsetDateTime dateTimeBegin()

Get the dateTimeBegin property: The dateTimeBegin property.

Returns:

the dateTimeBegin value.

dateTimeEnd

public OffsetDateTime dateTimeEnd()

Get the dateTimeEnd property: The dateTimeEnd property.

Returns:

the dateTimeEnd value.

fromJson

public static RankingsResponseInner fromJson(JsonReader jsonReader)

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.

tables

public List tables()

Get the tables property: The tables property.

Returns:

the tables value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDateTimeBegin

public RankingsResponseInner withDateTimeBegin(OffsetDateTime dateTimeBegin)

Set the dateTimeBegin property: The dateTimeBegin property.

Parameters:

dateTimeBegin - the dateTimeBegin value to set.

Returns:

the RankingsResponseInner object itself.

withDateTimeEnd

public RankingsResponseInner withDateTimeEnd(OffsetDateTime dateTimeEnd)

Set the dateTimeEnd property: The dateTimeEnd property.

Parameters:

dateTimeEnd - the dateTimeEnd value to set.

Returns:

the RankingsResponseInner object itself.

withTables

public RankingsResponseInner withTables(List tables)

Set the tables property: The tables property.

Parameters:

tables - the tables value to set.

Returns:

the RankingsResponseInner object itself.

Applies to