Class MicrosoftGraphScheduleChangeRequest

Direct Known Subclasses:
MicrosoftGraphOfferShiftRequest, MicrosoftGraphOpenShiftChangeRequest, MicrosoftGraphTimeOffRequest

public class MicrosoftGraphScheduleChangeRequest extends MicrosoftGraphChangeTrackedEntity
scheduleChangeRequest.
  • Constructor Details

    • MicrosoftGraphScheduleChangeRequest

      public MicrosoftGraphScheduleChangeRequest()
      Creates an instance of MicrosoftGraphScheduleChangeRequest class.
  • Method Details

    • assignedTo

      Get the assignedTo property: scheduleChangeRequestActor.
      Returns:
      the assignedTo value.
    • withAssignedTo

      Set the assignedTo property: scheduleChangeRequestActor.
      Parameters:
      assignedTo - the assignedTo value to set.
      Returns:
      the MicrosoftGraphScheduleChangeRequest object itself.
    • managerActionDateTime

      public OffsetDateTime managerActionDateTime()
      Get the managerActionDateTime property: The managerActionDateTime property.
      Returns:
      the managerActionDateTime value.
    • withManagerActionDateTime

      public MicrosoftGraphScheduleChangeRequest withManagerActionDateTime(OffsetDateTime managerActionDateTime)
      Set the managerActionDateTime property: The managerActionDateTime property.
      Parameters:
      managerActionDateTime - the managerActionDateTime value to set.
      Returns:
      the MicrosoftGraphScheduleChangeRequest object itself.
    • managerActionMessage

      public String managerActionMessage()
      Get the managerActionMessage property: The managerActionMessage property.
      Returns:
      the managerActionMessage value.
    • withManagerActionMessage

      public MicrosoftGraphScheduleChangeRequest withManagerActionMessage(String managerActionMessage)
      Set the managerActionMessage property: The managerActionMessage property.
      Parameters:
      managerActionMessage - the managerActionMessage value to set.
      Returns:
      the MicrosoftGraphScheduleChangeRequest object itself.
    • managerUserId

      public String managerUserId()
      Get the managerUserId property: The managerUserId property.
      Returns:
      the managerUserId value.
    • withManagerUserId

      public MicrosoftGraphScheduleChangeRequest withManagerUserId(String managerUserId)
      Set the managerUserId property: The managerUserId property.
      Parameters:
      managerUserId - the managerUserId value to set.
      Returns:
      the MicrosoftGraphScheduleChangeRequest object itself.
    • senderDateTime

      public OffsetDateTime senderDateTime()
      Get the senderDateTime property: The senderDateTime property.
      Returns:
      the senderDateTime value.
    • withSenderDateTime

      public MicrosoftGraphScheduleChangeRequest withSenderDateTime(OffsetDateTime senderDateTime)
      Set the senderDateTime property: The senderDateTime property.
      Parameters:
      senderDateTime - the senderDateTime value to set.
      Returns:
      the MicrosoftGraphScheduleChangeRequest object itself.
    • senderMessage

      public String senderMessage()
      Get the senderMessage property: The senderMessage property.
      Returns:
      the senderMessage value.
    • withSenderMessage

      public MicrosoftGraphScheduleChangeRequest withSenderMessage(String senderMessage)
      Set the senderMessage property: The senderMessage property.
      Parameters:
      senderMessage - the senderMessage value to set.
      Returns:
      the MicrosoftGraphScheduleChangeRequest object itself.
    • senderUserId

      public String senderUserId()
      Get the senderUserId property: The senderUserId property.
      Returns:
      the senderUserId value.
    • withSenderUserId

      public MicrosoftGraphScheduleChangeRequest withSenderUserId(String senderUserId)
      Set the senderUserId property: The senderUserId property.
      Parameters:
      senderUserId - the senderUserId value to set.
      Returns:
      the MicrosoftGraphScheduleChangeRequest object itself.
    • state

      Get the state property: scheduleChangeState.
      Returns:
      the state value.
    • withState

      Set the state property: scheduleChangeState.
      Parameters:
      state - the state value to set.
      Returns:
      the MicrosoftGraphScheduleChangeRequest object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: scheduleChangeRequest.
      Overrides:
      additionalProperties in class MicrosoftGraphChangeTrackedEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphScheduleChangeRequest withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: scheduleChangeRequest.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphChangeTrackedEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphScheduleChangeRequest object itself.
    • withCreatedDateTime

      public MicrosoftGraphScheduleChangeRequest 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:
      withCreatedDateTime in class MicrosoftGraphChangeTrackedEntity
      Parameters:
      createdDateTime - the createdDateTime value to set.
      Returns:
      the MicrosoftGraphChangeTrackedEntity object itself.
    • withLastModifiedBy

      public MicrosoftGraphScheduleChangeRequest withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
      Set the lastModifiedBy property: identitySet.
      Overrides:
      withLastModifiedBy in class MicrosoftGraphChangeTrackedEntity
      Parameters:
      lastModifiedBy - the lastModifiedBy value to set.
      Returns:
      the MicrosoftGraphChangeTrackedEntity object itself.
    • withLastModifiedDateTime

      public MicrosoftGraphScheduleChangeRequest 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:
      withLastModifiedDateTime in class MicrosoftGraphChangeTrackedEntity
      Parameters:
      lastModifiedDateTime - the lastModifiedDateTime value to set.
      Returns:
      the MicrosoftGraphChangeTrackedEntity object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphChangeTrackedEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphChangeTrackedEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.