MicrosoftGraphDateTimeZone Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDateTimeZone
- com.
Implements
public final class MicrosoftGraphDateTimeZone
implements JsonSerializable<MicrosoftGraphDateTimeZone>
Represents a date time time zone.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphDateTimeZone() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
| String |
dateTime()
Get the date |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
| String |
timeZone()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withDateTime(String dateTime)
Set the date |
|
Microsoft |
withTimeZone(String timeZone)
Set the time |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphDateTimeZone
public MicrosoftGraphDateTimeZone()
Creates an instance of MicrosoftGraphDateTimeZone class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: dateTimeTimeZone.
Returns:
dateTime
public String dateTime()
Get the dateTime property: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).
Returns:
fromJson
public static MicrosoftGraphDateTimeZone fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphDateTimeZone from the JsonReader.
Parameters:
Returns:
Throws:
timeZone
public String timeZone()
Get the timeZone property: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphDateTimeZone withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: dateTimeTimeZone.
Parameters:
Returns:
withDateTime
public MicrosoftGraphDateTimeZone withDateTime(String dateTime)
Set the dateTime property: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).
Parameters:
Returns:
withTimeZone
public MicrosoftGraphDateTimeZone withTimeZone(String timeZone)
Set the timeZone property: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.
Parameters:
Returns: