Class MicrosoftGraphOfferShiftRequest
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
- Direct Known Subclasses:
MicrosoftGraphSwapShiftsChangeRequest
offerShiftRequest.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphOfferShiftRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: offerShiftRequest.Get the recipientActionDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.Get the recipientActionMessage property: Custom message sent by recipient of the offer shift request.Get the recipientUserId property: User ID of the recipient of the offer shift request.Get the senderShiftId property: User ID of the sender of the offer shift request.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: offerShiftRequest.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.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.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
-
MicrosoftGraphOfferShiftRequest
public MicrosoftGraphOfferShiftRequest()Creates an instance of MicrosoftGraphOfferShiftRequest class.
-
-
Method Details
-
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:
- the recipientActionDateTime value.
-
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:
recipientActionDateTime- the recipientActionDateTime value to set.- Returns:
- the MicrosoftGraphOfferShiftRequest object itself.
-
recipientActionMessage
Get the recipientActionMessage property: Custom message sent by recipient of the offer shift request.- Returns:
- the recipientActionMessage value.
-
withRecipientActionMessage
Set the recipientActionMessage property: Custom message sent by recipient of the offer shift request.- Parameters:
recipientActionMessage- the recipientActionMessage value to set.- Returns:
- the MicrosoftGraphOfferShiftRequest object itself.
-
recipientUserId
Get the recipientUserId property: User ID of the recipient of the offer shift request.- Returns:
- the recipientUserId value.
-
withRecipientUserId
Set the recipientUserId property: User ID of the recipient of the offer shift request.- Parameters:
recipientUserId- the recipientUserId value to set.- Returns:
- the MicrosoftGraphOfferShiftRequest object itself.
-
senderShiftId
Get the senderShiftId property: User ID of the sender of the offer shift request.- Returns:
- the senderShiftId value.
-
withSenderShiftId
Set the senderShiftId property: User ID of the sender of the offer shift request.- Parameters:
senderShiftId- the senderShiftId value to set.- Returns:
- the MicrosoftGraphOfferShiftRequest object itself.
-
additionalProperties
Get the additionalProperties property: offerShiftRequest.- Overrides:
additionalPropertiesin classMicrosoftGraphScheduleChangeRequest- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOfferShiftRequest withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: offerShiftRequest.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphScheduleChangeRequest- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOfferShiftRequest object itself.
-
withAssignedTo
public MicrosoftGraphOfferShiftRequest withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo) Set the assignedTo property: scheduleChangeRequestActor.- Overrides:
withAssignedToin classMicrosoftGraphScheduleChangeRequest- Parameters:
assignedTo- the assignedTo value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withManagerActionDateTime
public MicrosoftGraphOfferShiftRequest withManagerActionDateTime(OffsetDateTime managerActionDateTime) Set the managerActionDateTime property: The managerActionDateTime property.- Overrides:
withManagerActionDateTimein classMicrosoftGraphScheduleChangeRequest- Parameters:
managerActionDateTime- the managerActionDateTime value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withManagerActionMessage
Set the managerActionMessage property: The managerActionMessage property.- Overrides:
withManagerActionMessagein classMicrosoftGraphScheduleChangeRequest- Parameters:
managerActionMessage- the managerActionMessage value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withManagerUserId
Set the managerUserId property: The managerUserId property.- Overrides:
withManagerUserIdin classMicrosoftGraphScheduleChangeRequest- Parameters:
managerUserId- the managerUserId value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withSenderDateTime
Set the senderDateTime property: The senderDateTime property.- Overrides:
withSenderDateTimein classMicrosoftGraphScheduleChangeRequest- Parameters:
senderDateTime- the senderDateTime value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withSenderMessage
Set the senderMessage property: The senderMessage property.- Overrides:
withSenderMessagein classMicrosoftGraphScheduleChangeRequest- Parameters:
senderMessage- the senderMessage value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withSenderUserId
Set the senderUserId property: The senderUserId property.- Overrides:
withSenderUserIdin classMicrosoftGraphScheduleChangeRequest- Parameters:
senderUserId- the senderUserId value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withState
Set the state property: scheduleChangeState.- Overrides:
withStatein classMicrosoftGraphScheduleChangeRequest- 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 classMicrosoftGraphScheduleChangeRequest- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphChangeTrackedEntity object itself.
-
withLastModifiedBy
Set the lastModifiedBy property: identitySet.- Overrides:
withLastModifiedByin classMicrosoftGraphScheduleChangeRequest- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphChangeTrackedEntity object itself.
-
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:
withLastModifiedDateTimein classMicrosoftGraphScheduleChangeRequest- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphChangeTrackedEntity object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphScheduleChangeRequest- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphScheduleChangeRequest- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-