你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphTimeZoneBase Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTimeZoneBase

Implements

public final class MicrosoftGraphTimeZoneBase
implements JsonSerializable<MicrosoftGraphTimeZoneBase>

timeZoneBase.

Constructor Summary

Constructor Description
MicrosoftGraphTimeZoneBase()

Creates an instance of MicrosoftGraphTimeZoneBase class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: timeZoneBase.

static MicrosoftGraphTimeZoneBase fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTimeZoneBase from the JsonReader.

String name()

Get the name property: The name of a time zone.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphTimeZoneBase withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: timeZoneBase.

MicrosoftGraphTimeZoneBase withName(String name)

Set the name property: The name of a time zone.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphTimeZoneBase

public MicrosoftGraphTimeZoneBase()

Creates an instance of MicrosoftGraphTimeZoneBase class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: timeZoneBase.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphTimeZoneBase fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTimeZoneBase from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of a time zone. It can be a standard time zone name such as 'Hawaii-Aleutian Standard Time', or 'Customized Time Zone' for a custom time zone.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphTimeZoneBase withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: timeZoneBase.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTimeZoneBase object itself.

withName

public MicrosoftGraphTimeZoneBase withName(String name)

Set the name property: The name of a time zone. It can be a standard time zone name such as 'Hawaii-Aleutian Standard Time', or 'Customized Time Zone' for a custom time zone.

Parameters:

name - the name value to set.

Returns:

the MicrosoftGraphTimeZoneBase object itself.

Applies to