Class MicrosoftGraphShiftItem

    • Constructor Detail

      • MicrosoftGraphShiftItem

        public MicrosoftGraphShiftItem()
    • Method Detail

      • activities

        public List<MicrosoftGraphShiftActivity> activities()
        Get the activities property: An incremental part of a shift which can cover details of when and where an employee is during their shift. For example, an assignment or a scheduled break or lunch. Required.
        Returns:
        the activities value.
      • withActivities

        public MicrosoftGraphShiftItem withActivities​(List<MicrosoftGraphShiftActivity> activities)
        Set the activities property: An incremental part of a shift which can cover details of when and where an employee is during their shift. For example, an assignment or a scheduled break or lunch. Required.
        Parameters:
        activities - the activities value to set.
        Returns:
        the MicrosoftGraphShiftItem object itself.
      • displayName

        public String displayName()
        Get the displayName property: The shift label of the shiftItem.
        Returns:
        the displayName value.
      • withDisplayName

        public MicrosoftGraphShiftItem withDisplayName​(String displayName)
        Set the displayName property: The shift label of the shiftItem.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the MicrosoftGraphShiftItem object itself.
      • notes

        public String notes()
        Get the notes property: The shift notes for the shiftItem.
        Returns:
        the notes value.
      • withNotes

        public MicrosoftGraphShiftItem withNotes​(String notes)
        Set the notes property: The shift notes for the shiftItem.
        Parameters:
        notes - the notes value to set.
        Returns:
        the MicrosoftGraphShiftItem object itself.