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
public class MicrosoftGraphOfferShiftRequest extends MicrosoftGraphScheduleChangeRequest
offerShiftRequest.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOfferShiftRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: offerShiftRequest.OffsetDateTimerecipientActionDateTime()Get the recipientActionDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.StringrecipientActionMessage()Get the recipientActionMessage property: Custom message sent by recipient of the offer shift request.StringrecipientUserId()Get the recipientUserId property: User ID of the recipient of the offer shift request.StringsenderShiftId()Get the senderShiftId property: User ID of the sender of the offer shift request.voidvalidate()Validates the instance.MicrosoftGraphOfferShiftRequestwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: offerShiftRequest.MicrosoftGraphOfferShiftRequestwithAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)Set the assignedTo property: The assignedTo property.MicrosoftGraphOfferShiftRequestwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.MicrosoftGraphOfferShiftRequestwithId(String id)Set the id property: Read-only.MicrosoftGraphOfferShiftRequestwithLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Set the lastModifiedBy property: identitySet.MicrosoftGraphOfferShiftRequestwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.MicrosoftGraphOfferShiftRequestwithManagerActionDateTime(OffsetDateTime managerActionDateTime)Set the managerActionDateTime property: The managerActionDateTime property.MicrosoftGraphOfferShiftRequestwithManagerActionMessage(String managerActionMessage)Set the managerActionMessage property: The managerActionMessage property.MicrosoftGraphOfferShiftRequestwithManagerUserId(String managerUserId)Set the managerUserId property: The managerUserId property.MicrosoftGraphOfferShiftRequestwithRecipientActionDateTime(OffsetDateTime recipientActionDateTime)Set the recipientActionDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.MicrosoftGraphOfferShiftRequestwithRecipientActionMessage(String recipientActionMessage)Set the recipientActionMessage property: Custom message sent by recipient of the offer shift request.MicrosoftGraphOfferShiftRequestwithRecipientUserId(String recipientUserId)Set the recipientUserId property: User ID of the recipient of the offer shift request.MicrosoftGraphOfferShiftRequestwithSenderDateTime(OffsetDateTime senderDateTime)Set the senderDateTime property: The senderDateTime property.MicrosoftGraphOfferShiftRequestwithSenderMessage(String senderMessage)Set the senderMessage property: The senderMessage property.MicrosoftGraphOfferShiftRequestwithSenderShiftId(String senderShiftId)Set the senderShiftId property: User ID of the sender of the offer shift request.MicrosoftGraphOfferShiftRequestwithSenderUserId(String senderUserId)Set the senderUserId property: The senderUserId property.MicrosoftGraphOfferShiftRequestwithState(MicrosoftGraphScheduleChangeState state)Set the state property: The state property.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphScheduleChangeRequest
assignedTo, managerActionDateTime, managerActionMessage, managerUserId, senderDateTime, senderMessage, senderUserId, state
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChangeTrackedEntity
createdDateTime, lastModifiedBy, lastModifiedDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
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:
- 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
public String recipientActionMessage()
Get the recipientActionMessage property: Custom message sent by recipient of the offer shift request.- Returns:
- the recipientActionMessage value.
-
withRecipientActionMessage
public MicrosoftGraphOfferShiftRequest withRecipientActionMessage(String recipientActionMessage)
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
public String recipientUserId()
Get the recipientUserId property: User ID of the recipient of the offer shift request.- Returns:
- the recipientUserId value.
-
withRecipientUserId
public MicrosoftGraphOfferShiftRequest withRecipientUserId(String recipientUserId)
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
public String senderShiftId()
Get the senderShiftId property: User ID of the sender of the offer shift request.- Returns:
- the senderShiftId value.
-
withSenderShiftId
public MicrosoftGraphOfferShiftRequest withSenderShiftId(String senderShiftId)
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
public Map<String,Object> 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: The assignedTo property.- 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
public MicrosoftGraphOfferShiftRequest withManagerActionMessage(String managerActionMessage)
Set the managerActionMessage property: The managerActionMessage property.- Overrides:
withManagerActionMessagein classMicrosoftGraphScheduleChangeRequest- Parameters:
managerActionMessage- the managerActionMessage value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withManagerUserId
public MicrosoftGraphOfferShiftRequest withManagerUserId(String managerUserId)
Set the managerUserId property: The managerUserId property.- Overrides:
withManagerUserIdin classMicrosoftGraphScheduleChangeRequest- Parameters:
managerUserId- the managerUserId value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withSenderDateTime
public MicrosoftGraphOfferShiftRequest withSenderDateTime(OffsetDateTime senderDateTime)
Set the senderDateTime property: The senderDateTime property.- Overrides:
withSenderDateTimein classMicrosoftGraphScheduleChangeRequest- Parameters:
senderDateTime- the senderDateTime value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withSenderMessage
public MicrosoftGraphOfferShiftRequest withSenderMessage(String senderMessage)
Set the senderMessage property: The senderMessage property.- Overrides:
withSenderMessagein classMicrosoftGraphScheduleChangeRequest- Parameters:
senderMessage- the senderMessage value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withSenderUserId
public MicrosoftGraphOfferShiftRequest withSenderUserId(String senderUserId)
Set the senderUserId property: The senderUserId property.- Overrides:
withSenderUserIdin classMicrosoftGraphScheduleChangeRequest- Parameters:
senderUserId- the senderUserId value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
withState
public MicrosoftGraphOfferShiftRequest withState(MicrosoftGraphScheduleChangeState state)
Set the state property: The state property.- Overrides:
withStatein classMicrosoftGraphScheduleChangeRequest- Parameters:
state- the state value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
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:
withCreatedDateTimein classMicrosoftGraphScheduleChangeRequest- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphChangeTrackedEntity object itself.
-
withLastModifiedBy
public MicrosoftGraphOfferShiftRequest withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
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
public MicrosoftGraphOfferShiftRequest withId(String id)
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.
-
-