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

MicrosoftGraphScheduleEntity Class

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

Implements

public class MicrosoftGraphScheduleEntity
implements JsonSerializable<MicrosoftGraphScheduleEntity>

scheduleEntity.

Constructor Summary

Constructor Description
MicrosoftGraphScheduleEntity()

Creates an instance of MicrosoftGraphScheduleEntity class.

Method Summary

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

Get the additionalProperties property: scheduleEntity.

OffsetDateTime endDateTime()

Get the endDateTime property: The endDateTime property.

static MicrosoftGraphScheduleEntity fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphScheduleEntity from the JsonReader.

OffsetDateTime startDateTime()

Get the startDateTime property: The startDateTime property.

MicrosoftGraphScheduleEntityTheme theme()

Get the theme property: scheduleEntityTheme.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphScheduleEntity withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: scheduleEntity.

MicrosoftGraphScheduleEntity withEndDateTime(OffsetDateTime endDateTime)

Set the endDateTime property: The endDateTime property.

MicrosoftGraphScheduleEntity withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: The startDateTime property.

MicrosoftGraphScheduleEntity withTheme(MicrosoftGraphScheduleEntityTheme theme)

Set the theme property: scheduleEntityTheme.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphScheduleEntity

public MicrosoftGraphScheduleEntity()

Creates an instance of MicrosoftGraphScheduleEntity class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: scheduleEntity.

Returns:

the additionalProperties value.

endDateTime

public OffsetDateTime endDateTime()

Get the endDateTime property: The endDateTime property.

Returns:

the endDateTime value.

fromJson

public static MicrosoftGraphScheduleEntity fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphScheduleEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

startDateTime

public OffsetDateTime startDateTime()

Get the startDateTime property: The startDateTime property.

Returns:

the startDateTime value.

theme

public MicrosoftGraphScheduleEntityTheme theme()

Get the theme property: scheduleEntityTheme.

Returns:

the theme value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphScheduleEntity withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: scheduleEntity.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphScheduleEntity object itself.

withEndDateTime

public MicrosoftGraphScheduleEntity withEndDateTime(OffsetDateTime endDateTime)

Set the endDateTime property: The endDateTime property.

Parameters:

endDateTime - the endDateTime value to set.

Returns:

the MicrosoftGraphScheduleEntity object itself.

withStartDateTime

public MicrosoftGraphScheduleEntity withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: The startDateTime property.

Parameters:

startDateTime - the startDateTime value to set.

Returns:

the MicrosoftGraphScheduleEntity object itself.

withTheme

public MicrosoftGraphScheduleEntity withTheme(MicrosoftGraphScheduleEntityTheme theme)

Set the theme property: scheduleEntityTheme.

Parameters:

theme - the theme value to set.

Returns:

the MicrosoftGraphScheduleEntity object itself.

Applies to