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

MicrosoftGraphScheduleChangeRequest Class

public class MicrosoftGraphScheduleChangeRequest
extends MicrosoftGraphChangeTrackedEntity

scheduleChangeRequest.

Constructor Summary

Constructor Description
MicrosoftGraphScheduleChangeRequest()

Creates an instance of MicrosoftGraphScheduleChangeRequest class.

Method Summary

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

Get the additionalProperties property: scheduleChangeRequest.

MicrosoftGraphScheduleChangeRequestActor assignedTo()

Get the assignedTo property: scheduleChangeRequestActor.

static MicrosoftGraphScheduleChangeRequest fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphScheduleChangeRequest from the JsonReader.

OffsetDateTime managerActionDateTime()

Get the managerActionDateTime property: The managerActionDateTime property.

String managerActionMessage()

Get the managerActionMessage property: The managerActionMessage property.

String managerUserId()

Get the managerUserId property: The managerUserId property.

OffsetDateTime senderDateTime()

Get the senderDateTime property: The senderDateTime property.

String senderMessage()

Get the senderMessage property: The senderMessage property.

String senderUserId()

Get the senderUserId property: The senderUserId property.

MicrosoftGraphScheduleChangeState state()

Get the state property: scheduleChangeState.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphScheduleChangeRequest withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: scheduleChangeRequest.

MicrosoftGraphScheduleChangeRequest withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)

Set the assignedTo property: scheduleChangeRequestActor.

MicrosoftGraphScheduleChangeRequest withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.

MicrosoftGraphScheduleChangeRequest withId(String id)

Set the id property: Read-only.

MicrosoftGraphScheduleChangeRequest withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

MicrosoftGraphScheduleChangeRequest withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.

MicrosoftGraphScheduleChangeRequest withManagerActionDateTime(OffsetDateTime managerActionDateTime)

Set the managerActionDateTime property: The managerActionDateTime property.

MicrosoftGraphScheduleChangeRequest withManagerActionMessage(String managerActionMessage)

Set the managerActionMessage property: The managerActionMessage property.

MicrosoftGraphScheduleChangeRequest withManagerUserId(String managerUserId)

Set the managerUserId property: The managerUserId property.

MicrosoftGraphScheduleChangeRequest withSenderDateTime(OffsetDateTime senderDateTime)

Set the senderDateTime property: The senderDateTime property.

MicrosoftGraphScheduleChangeRequest withSenderMessage(String senderMessage)

Set the senderMessage property: The senderMessage property.

MicrosoftGraphScheduleChangeRequest withSenderUserId(String senderUserId)

Set the senderUserId property: The senderUserId property.

MicrosoftGraphScheduleChangeRequest withState(MicrosoftGraphScheduleChangeState state)

Set the state property: scheduleChangeState.

Methods inherited from MicrosoftGraphChangeTrackedEntity

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphScheduleChangeRequest

public MicrosoftGraphScheduleChangeRequest()

Creates an instance of MicrosoftGraphScheduleChangeRequest class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: scheduleChangeRequest.

Overrides:

MicrosoftGraphScheduleChangeRequest.additionalProperties()

Returns:

the additionalProperties value.

assignedTo

public MicrosoftGraphScheduleChangeRequestActor assignedTo()

Get the assignedTo property: scheduleChangeRequestActor.

Returns:

the assignedTo value.

fromJson

public static MicrosoftGraphScheduleChangeRequest fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphScheduleChangeRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

managerActionDateTime

public OffsetDateTime managerActionDateTime()

Get the managerActionDateTime property: The managerActionDateTime property.

Returns:

the managerActionDateTime value.

managerActionMessage

public String managerActionMessage()

Get the managerActionMessage property: The managerActionMessage property.

Returns:

the managerActionMessage value.

managerUserId

public String managerUserId()

Get the managerUserId property: The managerUserId property.

Returns:

the managerUserId value.

senderDateTime

public OffsetDateTime senderDateTime()

Get the senderDateTime property: The senderDateTime property.

Returns:

the senderDateTime value.

senderMessage

public String senderMessage()

Get the senderMessage property: The senderMessage property.

Returns:

the senderMessage value.

senderUserId

public String senderUserId()

Get the senderUserId property: The senderUserId property.

Returns:

the senderUserId value.

state

public MicrosoftGraphScheduleChangeState state()

Get the state property: scheduleChangeState.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphScheduleChangeRequest.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphScheduleChangeRequest.validate()

withAdditionalProperties

public MicrosoftGraphScheduleChangeRequest withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: scheduleChangeRequest.

Overrides:

MicrosoftGraphScheduleChangeRequest.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphScheduleChangeRequest object itself.

withAssignedTo

public MicrosoftGraphScheduleChangeRequest withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)

Set the assignedTo property: scheduleChangeRequestActor.

Parameters:

assignedTo - the assignedTo value to set.

Returns:

the MicrosoftGraphScheduleChangeRequest object itself.

withCreatedDateTime

public MicrosoftGraphScheduleChangeRequest withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.

Overrides:

MicrosoftGraphScheduleChangeRequest.withCreatedDateTime(OffsetDateTime createdDateTime)

Parameters:

createdDateTime

withId

public MicrosoftGraphScheduleChangeRequest withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphScheduleChangeRequest.withId(String id)

Parameters:

id

withLastModifiedBy

public MicrosoftGraphScheduleChangeRequest withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

Overrides:

MicrosoftGraphScheduleChangeRequest.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Parameters:

lastModifiedBy

withLastModifiedDateTime

public MicrosoftGraphScheduleChangeRequest withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.

Overrides:

MicrosoftGraphScheduleChangeRequest.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Parameters:

lastModifiedDateTime

withManagerActionDateTime

public MicrosoftGraphScheduleChangeRequest withManagerActionDateTime(OffsetDateTime managerActionDateTime)

Set the managerActionDateTime property: The managerActionDateTime property.

Parameters:

managerActionDateTime - the managerActionDateTime value to set.

Returns:

the MicrosoftGraphScheduleChangeRequest object itself.

withManagerActionMessage

public MicrosoftGraphScheduleChangeRequest withManagerActionMessage(String managerActionMessage)

Set the managerActionMessage property: The managerActionMessage property.

Parameters:

managerActionMessage - the managerActionMessage value to set.

Returns:

the MicrosoftGraphScheduleChangeRequest object itself.

withManagerUserId

public MicrosoftGraphScheduleChangeRequest withManagerUserId(String managerUserId)

Set the managerUserId property: The managerUserId property.

Parameters:

managerUserId - the managerUserId value to set.

Returns:

the MicrosoftGraphScheduleChangeRequest object itself.

withSenderDateTime

public MicrosoftGraphScheduleChangeRequest withSenderDateTime(OffsetDateTime senderDateTime)

Set the senderDateTime property: The senderDateTime property.

Parameters:

senderDateTime - the senderDateTime value to set.

Returns:

the MicrosoftGraphScheduleChangeRequest object itself.

withSenderMessage

public MicrosoftGraphScheduleChangeRequest withSenderMessage(String senderMessage)

Set the senderMessage property: The senderMessage property.

Parameters:

senderMessage - the senderMessage value to set.

Returns:

the MicrosoftGraphScheduleChangeRequest object itself.

withSenderUserId

public MicrosoftGraphScheduleChangeRequest withSenderUserId(String senderUserId)

Set the senderUserId property: The senderUserId property.

Parameters:

senderUserId - the senderUserId value to set.

Returns:

the MicrosoftGraphScheduleChangeRequest object itself.

withState

public MicrosoftGraphScheduleChangeRequest withState(MicrosoftGraphScheduleChangeState state)

Set the state property: scheduleChangeState.

Parameters:

state - the state value to set.

Returns:

the MicrosoftGraphScheduleChangeRequest object itself.

Applies to