Class MicrosoftGraphShift

    • Constructor Detail

      • MicrosoftGraphShift

        public MicrosoftGraphShift()
    • Method Detail

      • draftShift

        public MicrosoftGraphShiftItem draftShift()
        Get the draftShift property: shiftItem.
        Returns:
        the draftShift value.
      • withDraftShift

        public MicrosoftGraphShift withDraftShift​(MicrosoftGraphShiftItem draftShift)
        Set the draftShift property: shiftItem.
        Parameters:
        draftShift - the draftShift value to set.
        Returns:
        the MicrosoftGraphShift object itself.
      • schedulingGroupId

        public String schedulingGroupId()
        Get the schedulingGroupId property: ID of the scheduling group the shift is part of. Required.
        Returns:
        the schedulingGroupId value.
      • withSchedulingGroupId

        public MicrosoftGraphShift withSchedulingGroupId​(String schedulingGroupId)
        Set the schedulingGroupId property: ID of the scheduling group the shift is part of. Required.
        Parameters:
        schedulingGroupId - the schedulingGroupId value to set.
        Returns:
        the MicrosoftGraphShift object itself.
      • sharedShift

        public MicrosoftGraphShiftItem sharedShift()
        Get the sharedShift property: shiftItem.
        Returns:
        the sharedShift value.
      • withSharedShift

        public MicrosoftGraphShift withSharedShift​(MicrosoftGraphShiftItem sharedShift)
        Set the sharedShift property: shiftItem.
        Parameters:
        sharedShift - the sharedShift value to set.
        Returns:
        the MicrosoftGraphShift object itself.
      • userId

        public String userId()
        Get the userId property: ID of the user assigned to the shift. Required.
        Returns:
        the userId value.
      • withUserId

        public MicrosoftGraphShift withUserId​(String userId)
        Set the userId property: ID of the user assigned to the shift. Required.
        Parameters:
        userId - the userId value to set.
        Returns:
        the MicrosoftGraphShift object itself.
      • withCreatedDateTime

        public MicrosoftGraphShift 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.
      • withLastModifiedDateTime

        public MicrosoftGraphShift 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.