TimeZoneProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.TimeZoneProperties

Implements

public final class TimeZoneProperties
implements JsonSerializable<TimeZoneProperties>

The properties of a time zone.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: The time zone display name.

static TimeZoneProperties fromJson(JsonReader jsonReader)

Reads an instance of TimeZoneProperties from the JsonReader.

String timeZoneId()

Get the timeZoneId property: The time zone id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

displayName

public String displayName()

Get the displayName property: The time zone display name.

Returns:

the displayName value.

fromJson

public static TimeZoneProperties fromJson(JsonReader jsonReader)

Reads an instance of TimeZoneProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TimeZoneProperties 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 TimeZoneProperties.

timeZoneId

public String timeZoneId()

Get the timeZoneId property: The time zone id.

Returns:

the timeZoneId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to