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

MicrosoftGraphScheduleItem Class

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

Implements

public final class MicrosoftGraphScheduleItem
implements JsonSerializable<MicrosoftGraphScheduleItem>

scheduleItem.

Constructor Summary

Constructor Description
MicrosoftGraphScheduleItem()

Creates an instance of MicrosoftGraphScheduleItem class.

Method Summary

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

Get the additionalProperties property: scheduleItem.

MicrosoftGraphDateTimeZone end()

Get the end property: dateTimeTimeZone.

static MicrosoftGraphScheduleItem fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphScheduleItem from the JsonReader.

Boolean isPrivate()

Get the isPrivate property: The sensitivity of the corresponding event.

String location()

Get the location property: The location where the corresponding event is held or attended from.

MicrosoftGraphDateTimeZone start()

Get the start property: dateTimeTimeZone.

MicrosoftGraphFreeBusyStatus status()

Get the status property: freeBusyStatus.

String subject()

Get the subject property: The corresponding event's subject line.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphScheduleItem withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: scheduleItem.

MicrosoftGraphScheduleItem withEnd(MicrosoftGraphDateTimeZone end)

Set the end property: dateTimeTimeZone.

MicrosoftGraphScheduleItem withIsPrivate(Boolean isPrivate)

Set the isPrivate property: The sensitivity of the corresponding event.

MicrosoftGraphScheduleItem withLocation(String location)

Set the location property: The location where the corresponding event is held or attended from.

MicrosoftGraphScheduleItem withStart(MicrosoftGraphDateTimeZone start)

Set the start property: dateTimeTimeZone.

MicrosoftGraphScheduleItem withStatus(MicrosoftGraphFreeBusyStatus status)

Set the status property: freeBusyStatus.

MicrosoftGraphScheduleItem withSubject(String subject)

Set the subject property: The corresponding event's subject line.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphScheduleItem

public MicrosoftGraphScheduleItem()

Creates an instance of MicrosoftGraphScheduleItem class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: scheduleItem.

Returns:

the additionalProperties value.

end

public MicrosoftGraphDateTimeZone end()

Get the end property: dateTimeTimeZone.

Returns:

the end value.

fromJson

public static MicrosoftGraphScheduleItem fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphScheduleItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isPrivate

public Boolean isPrivate()

Get the isPrivate property: The sensitivity of the corresponding event. True if the event is marked private, false otherwise. Optional.

Returns:

the isPrivate value.

location

public String location()

Get the location property: The location where the corresponding event is held or attended from. Optional.

Returns:

the location value.

start

public MicrosoftGraphDateTimeZone start()

Get the start property: dateTimeTimeZone.

Returns:

the start value.

status

public MicrosoftGraphFreeBusyStatus status()

Get the status property: freeBusyStatus.

Returns:

the status value.

subject

public String subject()

Get the subject property: The corresponding event's subject line. Optional.

Returns:

the subject value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphScheduleItem withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: scheduleItem.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphScheduleItem object itself.

withEnd

public MicrosoftGraphScheduleItem withEnd(MicrosoftGraphDateTimeZone end)

Set the end property: dateTimeTimeZone.

Parameters:

end - the end value to set.

Returns:

the MicrosoftGraphScheduleItem object itself.

withIsPrivate

public MicrosoftGraphScheduleItem withIsPrivate(Boolean isPrivate)

Set the isPrivate property: The sensitivity of the corresponding event. True if the event is marked private, false otherwise. Optional.

Parameters:

isPrivate - the isPrivate value to set.

Returns:

the MicrosoftGraphScheduleItem object itself.

withLocation

public MicrosoftGraphScheduleItem withLocation(String location)

Set the location property: The location where the corresponding event is held or attended from. Optional.

Parameters:

location - the location value to set.

Returns:

the MicrosoftGraphScheduleItem object itself.

withStart

public MicrosoftGraphScheduleItem withStart(MicrosoftGraphDateTimeZone start)

Set the start property: dateTimeTimeZone.

Parameters:

start - the start value to set.

Returns:

the MicrosoftGraphScheduleItem object itself.

withStatus

public MicrosoftGraphScheduleItem withStatus(MicrosoftGraphFreeBusyStatus status)

Set the status property: freeBusyStatus.

Parameters:

status - the status value to set.

Returns:

the MicrosoftGraphScheduleItem object itself.

withSubject

public MicrosoftGraphScheduleItem withSubject(String subject)

Set the subject property: The corresponding event's subject line. Optional.

Parameters:

subject - the subject value to set.

Returns:

the MicrosoftGraphScheduleItem object itself.

Applies to