Class MicrosoftGraphSwapShiftsChangeRequest
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
swapShiftsChangeRequest.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphSwapShiftsChangeRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: swapShiftsChangeRequest.Get the recipientShiftId property: ShiftId for the recipient user with whom the request is to swap.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: swapShiftsChangeRequest.Set the assignedTo property: scheduleChangeRequestActor.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.Set the id property: Read-only.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy) Set the lastModifiedBy property: identitySet.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.withManagerActionDateTime(OffsetDateTime managerActionDateTime) Set the managerActionDateTime property: The managerActionDateTime property.withManagerActionMessage(String managerActionMessage) Set the managerActionMessage property: The managerActionMessage property.withManagerUserId(String managerUserId) Set the managerUserId property: The managerUserId property.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.withRecipientActionMessage(String recipientActionMessage) Set the recipientActionMessage property: Custom message sent by recipient of the offer shift request.withRecipientShiftId(String recipientShiftId) Set the recipientShiftId property: ShiftId for the recipient user with whom the request is to swap.withRecipientUserId(String recipientUserId) Set the recipientUserId property: User ID of the recipient of the offer shift request.withSenderDateTime(OffsetDateTime senderDateTime) Set the senderDateTime property: The senderDateTime property.withSenderMessage(String senderMessage) Set the senderMessage property: The senderMessage property.withSenderShiftId(String senderShiftId) Set the senderShiftId property: User ID of the sender of the offer shift request.withSenderUserId(String senderUserId) Set the senderUserId property: The senderUserId property.Set the state property: scheduleChangeState.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOfferShiftRequest
recipientActionDateTime, recipientActionMessage, recipientUserId, senderShiftIdMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphScheduleChangeRequest
assignedTo, managerActionDateTime, managerActionMessage, managerUserId, senderDateTime, senderMessage, senderUserId, stateMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChangeTrackedEntity
createdDateTime, lastModifiedBy, lastModifiedDateTimeMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphSwapShiftsChangeRequest
public MicrosoftGraphSwapShiftsChangeRequest()Creates an instance of MicrosoftGraphSwapShiftsChangeRequest class.
-
-
Method Details
-
recipientShiftId
Get the recipientShiftId property: ShiftId for the recipient user with whom the request is to swap.- Returns:
- the recipientShiftId value.
-
withRecipientShiftId
Set the recipientShiftId property: ShiftId for the recipient user with whom the request is to swap.- Parameters:
recipientShiftId- the recipientShiftId value to set.- Returns:
- the MicrosoftGraphSwapShiftsChangeRequest object itself.
-
additionalProperties
Get the additionalProperties property: swapShiftsChangeRequest.- Overrides:
additionalPropertiesin classMicrosoftGraphOfferShiftRequest- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphSwapShiftsChangeRequest withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: swapShiftsChangeRequest.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphOfferShiftRequest- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphSwapShiftsChangeRequest object itself.
-
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:
withRecipientActionDateTimein classMicrosoftGraphOfferShiftRequest- Parameters:
recipientActionDateTime- the recipientActionDateTime value to set.- Returns:
- the MicrosoftGraphOfferShiftRequest object itself.
-
withRecipientActionMessage
public MicrosoftGraphSwapShiftsChangeRequest withRecipientActionMessage(String recipientActionMessage) Set the recipientActionMessage property: Custom message sent by recipient of the offer shift request.- Overrides:
withRecipientActionMessagein classMicrosoftGraphOfferShiftRequest- Parameters:
recipientActionMessage- the recipientActionMessage value to set.- Returns:
- the MicrosoftGraphOfferShiftRequest object itself.
-
withRecipientUserId
Set the recipientUserId property: User ID of the recipient of the offer shift request.- Overrides:
withRecipientUserIdin classMicrosoftGraphOfferShiftRequest- Parameters:
recipientUserId- the recipientUserId value to set.- Returns:
- the MicrosoftGraphOfferShiftRequest object itself.
-
withSenderShiftId
Set the senderShiftId property: User ID of the sender of the offer shift request.- Overrides:
withSenderShiftIdin classMicrosoftGraphOfferShiftRequest- Parameters:
senderShiftId- the senderShiftId value to set.- Returns:
- the MicrosoftGraphOfferShiftRequest object itself.
-
withAssignedTo
public MicrosoftGraphSwapShiftsChangeRequest withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo) Set the assignedTo property: scheduleChangeRequestActor.- Overrides:
withAssignedToin classMicrosoftGraphOfferShiftRequest- Parameters:
assignedTo- the assignedTo value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withManagerActionDateTime
public MicrosoftGraphSwapShiftsChangeRequest withManagerActionDateTime(OffsetDateTime managerActionDateTime) Set the managerActionDateTime property: The managerActionDateTime property.- Overrides:
withManagerActionDateTimein classMicrosoftGraphOfferShiftRequest- Parameters:
managerActionDateTime- the managerActionDateTime value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withManagerActionMessage
Set the managerActionMessage property: The managerActionMessage property.- Overrides:
withManagerActionMessagein classMicrosoftGraphOfferShiftRequest- Parameters:
managerActionMessage- the managerActionMessage value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withManagerUserId
Set the managerUserId property: The managerUserId property.- Overrides:
withManagerUserIdin classMicrosoftGraphOfferShiftRequest- Parameters:
managerUserId- the managerUserId value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withSenderDateTime
Set the senderDateTime property: The senderDateTime property.- Overrides:
withSenderDateTimein classMicrosoftGraphOfferShiftRequest- Parameters:
senderDateTime- the senderDateTime value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withSenderMessage
Set the senderMessage property: The senderMessage property.- Overrides:
withSenderMessagein classMicrosoftGraphOfferShiftRequest- Parameters:
senderMessage- the senderMessage value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withSenderUserId
Set the senderUserId property: The senderUserId property.- Overrides:
withSenderUserIdin classMicrosoftGraphOfferShiftRequest- Parameters:
senderUserId- the senderUserId value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withState
Set the state property: scheduleChangeState.- Overrides:
withStatein classMicrosoftGraphOfferShiftRequest- Parameters:
state- the state value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withCreatedDateTime
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:
withCreatedDateTimein classMicrosoftGraphOfferShiftRequest- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphChangeTrackedEntity object itself.
-
withLastModifiedBy
public MicrosoftGraphSwapShiftsChangeRequest withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy) Set the lastModifiedBy property: identitySet.- Overrides:
withLastModifiedByin classMicrosoftGraphOfferShiftRequest- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphChangeTrackedEntity object itself.
-
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:
withLastModifiedDateTimein classMicrosoftGraphOfferShiftRequest- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphChangeTrackedEntity object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphOfferShiftRequest- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphOfferShiftRequest- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-