你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphOfferShiftRequest Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphChangeTrackedEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphScheduleChangeRequest - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOfferShiftRequest
- com.
- com.
- com.
- com.
public class MicrosoftGraphOfferShiftRequest
extends MicrosoftGraphScheduleChangeRequest
offerShiftRequest.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphOfferShiftRequest() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Offset |
recipientActionDateTime()
Get the recipient |
String |
recipientActionMessage()
Get the recipient |
String |
recipientUserId()
Get the recipient |
String |
senderShiftId()
Get the sender |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)
Set the assigned |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the last |
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
Microsoft |
withManagerActionDateTime(OffsetDateTime managerActionDateTime)
Set the manager |
Microsoft |
withManagerActionMessage(String managerActionMessage)
Set the manager |
Microsoft |
withManagerUserId(String managerUserId)
Set the manager |
Microsoft |
withRecipientActionDateTime(OffsetDateTime recipientActionDateTime)
Set the recipient |
Microsoft |
withRecipientActionMessage(String recipientActionMessage)
Set the recipient |
Microsoft |
withRecipientUserId(String recipientUserId)
Set the recipient |
Microsoft |
withSenderDateTime(OffsetDateTime senderDateTime)
Set the sender |
Microsoft |
withSenderMessage(String senderMessage)
Set the sender |
Microsoft |
withSenderShiftId(String senderShiftId)
Set the sender |
Microsoft |
withSenderUserId(String senderUserId)
Set the sender |
Microsoft |
withState(MicrosoftGraphScheduleChangeState state)
Set the state property: schedule |
Methods inherited from MicrosoftGraphChangeTrackedEntity
Methods inherited from MicrosoftGraphEntity
Methods inherited from MicrosoftGraphScheduleChangeRequest
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphOfferShiftRequest
public MicrosoftGraphOfferShiftRequest()
Creates an instance of MicrosoftGraphOfferShiftRequest class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: offerShiftRequest.
Overrides:
MicrosoftGraphOfferShiftRequest.additionalProperties()Returns:
fromJson
public static MicrosoftGraphOfferShiftRequest fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphOfferShiftRequest from the JsonReader.
Parameters:
Returns:
Throws:
recipientActionDateTime
public OffsetDateTime recipientActionDateTime()
Get the recipientActionDateTime 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'.
Returns:
recipientActionMessage
public String recipientActionMessage()
Get the recipientActionMessage property: Custom message sent by recipient of the offer shift request.
Returns:
recipientUserId
public String recipientUserId()
Get the recipientUserId property: User ID of the recipient of the offer shift request.
Returns:
senderShiftId
public String senderShiftId()
Get the senderShiftId property: User ID of the sender of the offer shift request.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphOfferShiftRequest.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphOfferShiftRequest.validate()withAdditionalProperties
public MicrosoftGraphOfferShiftRequest withAdditionalProperties(Map
Set the additionalProperties property: offerShiftRequest.
Overrides:
MicrosoftGraphOfferShiftRequest.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAssignedTo
public MicrosoftGraphOfferShiftRequest withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)
Set the assignedTo property: scheduleChangeRequestActor.
Overrides:
MicrosoftGraphOfferShiftRequest.withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)Parameters:
withCreatedDateTime
public MicrosoftGraphOfferShiftRequest 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:
MicrosoftGraphOfferShiftRequest.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
withId
public MicrosoftGraphOfferShiftRequest withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphOfferShiftRequest.withId(String id)Parameters:
withLastModifiedBy
public MicrosoftGraphOfferShiftRequest withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.
Overrides:
MicrosoftGraphOfferShiftRequest.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Parameters:
withLastModifiedDateTime
public MicrosoftGraphOfferShiftRequest 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:
MicrosoftGraphOfferShiftRequest.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Parameters:
withManagerActionDateTime
public MicrosoftGraphOfferShiftRequest withManagerActionDateTime(OffsetDateTime managerActionDateTime)
Set the managerActionDateTime property: The managerActionDateTime property.
Overrides:
MicrosoftGraphOfferShiftRequest.withManagerActionDateTime(OffsetDateTime managerActionDateTime)Parameters:
withManagerActionMessage
public MicrosoftGraphOfferShiftRequest withManagerActionMessage(String managerActionMessage)
Set the managerActionMessage property: The managerActionMessage property.
Overrides:
MicrosoftGraphOfferShiftRequest.withManagerActionMessage(String managerActionMessage)Parameters:
withManagerUserId
public MicrosoftGraphOfferShiftRequest withManagerUserId(String managerUserId)
Set the managerUserId property: The managerUserId property.
Overrides:
MicrosoftGraphOfferShiftRequest.withManagerUserId(String managerUserId)Parameters:
withRecipientActionDateTime
public MicrosoftGraphOfferShiftRequest withRecipientActionDateTime(OffsetDateTime recipientActionDateTime)
Set the recipientActionDateTime 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'.
Parameters:
Returns:
withRecipientActionMessage
public MicrosoftGraphOfferShiftRequest withRecipientActionMessage(String recipientActionMessage)
Set the recipientActionMessage property: Custom message sent by recipient of the offer shift request.
Parameters:
Returns:
withRecipientUserId
public MicrosoftGraphOfferShiftRequest withRecipientUserId(String recipientUserId)
Set the recipientUserId property: User ID of the recipient of the offer shift request.
Parameters:
Returns:
withSenderDateTime
public MicrosoftGraphOfferShiftRequest withSenderDateTime(OffsetDateTime senderDateTime)
Set the senderDateTime property: The senderDateTime property.
Overrides:
MicrosoftGraphOfferShiftRequest.withSenderDateTime(OffsetDateTime senderDateTime)Parameters:
withSenderMessage
public MicrosoftGraphOfferShiftRequest withSenderMessage(String senderMessage)
Set the senderMessage property: The senderMessage property.
Overrides:
MicrosoftGraphOfferShiftRequest.withSenderMessage(String senderMessage)Parameters:
withSenderShiftId
public MicrosoftGraphOfferShiftRequest withSenderShiftId(String senderShiftId)
Set the senderShiftId property: User ID of the sender of the offer shift request.
Parameters:
Returns:
withSenderUserId
public MicrosoftGraphOfferShiftRequest withSenderUserId(String senderUserId)
Set the senderUserId property: The senderUserId property.
Overrides:
MicrosoftGraphOfferShiftRequest.withSenderUserId(String senderUserId)Parameters:
withState
public MicrosoftGraphOfferShiftRequest withState(MicrosoftGraphScheduleChangeState state)
Set the state property: scheduleChangeState.
Overrides:
MicrosoftGraphOfferShiftRequest.withState(MicrosoftGraphScheduleChangeState state)Parameters: