MicrosoftGraphSwapShiftsChangeRequest 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.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphSwapShiftsChangeRequest
- com.
- com.
- com.
- com.
- com.
public final class MicrosoftGraphSwapShiftsChangeRequest
extends MicrosoftGraphOfferShiftRequest
swapShiftsChangeRequest.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphSwapShiftsChangeRequest() |
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 |
String |
recipientShiftId()
Get the recipient |
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 |
withRecipientShiftId(String recipientShiftId)
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 MicrosoftGraphOfferShiftRequest
Methods inherited from MicrosoftGraphScheduleChangeRequest
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphSwapShiftsChangeRequest
public MicrosoftGraphSwapShiftsChangeRequest()
Creates an instance of MicrosoftGraphSwapShiftsChangeRequest class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: swapShiftsChangeRequest.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.additionalProperties()Returns:
fromJson
public static MicrosoftGraphSwapShiftsChangeRequest fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphSwapShiftsChangeRequest from the JsonReader.
Parameters:
Returns:
Throws:
recipientShiftId
public String recipientShiftId()
Get the recipientShiftId property: ShiftId for the recipient user with whom the request is to swap.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.validate()withAdditionalProperties
public MicrosoftGraphSwapShiftsChangeRequest withAdditionalProperties(Map
Set the additionalProperties property: swapShiftsChangeRequest.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAssignedTo
public MicrosoftGraphSwapShiftsChangeRequest withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)
Set the assignedTo property: scheduleChangeRequestActor.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)Parameters:
withCreatedDateTime
public MicrosoftGraphSwapShiftsChangeRequest 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:
MicrosoftGraphSwapShiftsChangeRequest.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
withId
public MicrosoftGraphSwapShiftsChangeRequest withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withId(String id)Parameters:
withLastModifiedBy
public MicrosoftGraphSwapShiftsChangeRequest withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Parameters:
withLastModifiedDateTime
public MicrosoftGraphSwapShiftsChangeRequest 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:
MicrosoftGraphSwapShiftsChangeRequest.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Parameters:
withManagerActionDateTime
public MicrosoftGraphSwapShiftsChangeRequest withManagerActionDateTime(OffsetDateTime managerActionDateTime)
Set the managerActionDateTime property: The managerActionDateTime property.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withManagerActionDateTime(OffsetDateTime managerActionDateTime)Parameters:
withManagerActionMessage
public MicrosoftGraphSwapShiftsChangeRequest withManagerActionMessage(String managerActionMessage)
Set the managerActionMessage property: The managerActionMessage property.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withManagerActionMessage(String managerActionMessage)Parameters:
withManagerUserId
public MicrosoftGraphSwapShiftsChangeRequest withManagerUserId(String managerUserId)
Set the managerUserId property: The managerUserId property.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withManagerUserId(String managerUserId)Parameters:
withRecipientActionDateTime
public MicrosoftGraphSwapShiftsChangeRequest 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'.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withRecipientActionDateTime(OffsetDateTime recipientActionDateTime)Parameters:
withRecipientActionMessage
public MicrosoftGraphSwapShiftsChangeRequest withRecipientActionMessage(String recipientActionMessage)
Set the recipientActionMessage property: Custom message sent by recipient of the offer shift request.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withRecipientActionMessage(String recipientActionMessage)Parameters:
withRecipientShiftId
public MicrosoftGraphSwapShiftsChangeRequest withRecipientShiftId(String recipientShiftId)
Set the recipientShiftId property: ShiftId for the recipient user with whom the request is to swap.
Parameters:
Returns:
withRecipientUserId
public MicrosoftGraphSwapShiftsChangeRequest withRecipientUserId(String recipientUserId)
Set the recipientUserId property: User ID of the recipient of the offer shift request.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withRecipientUserId(String recipientUserId)Parameters:
withSenderDateTime
public MicrosoftGraphSwapShiftsChangeRequest withSenderDateTime(OffsetDateTime senderDateTime)
Set the senderDateTime property: The senderDateTime property.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withSenderDateTime(OffsetDateTime senderDateTime)Parameters:
withSenderMessage
public MicrosoftGraphSwapShiftsChangeRequest withSenderMessage(String senderMessage)
Set the senderMessage property: The senderMessage property.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withSenderMessage(String senderMessage)Parameters:
withSenderShiftId
public MicrosoftGraphSwapShiftsChangeRequest withSenderShiftId(String senderShiftId)
Set the senderShiftId property: User ID of the sender of the offer shift request.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withSenderShiftId(String senderShiftId)Parameters:
withSenderUserId
public MicrosoftGraphSwapShiftsChangeRequest withSenderUserId(String senderUserId)
Set the senderUserId property: The senderUserId property.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withSenderUserId(String senderUserId)Parameters:
withState
public MicrosoftGraphSwapShiftsChangeRequest withState(MicrosoftGraphScheduleChangeState state)
Set the state property: scheduleChangeState.
Overrides:
MicrosoftGraphSwapShiftsChangeRequest.withState(MicrosoftGraphScheduleChangeState state)Parameters:
Applies to
Azure SDK for Java