Class ShiftItem

java.lang.Object
com.microsoft.graph.models.ScheduleEntity
com.microsoft.graph.models.ShiftItem
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
Direct Known Subclasses:
OpenShiftItem

public class ShiftItem extends ScheduleEntity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Shift Item.
  • Field Details

    • activities

      @SerializedName(value="activities", alternate="Activities") @Expose @Nullable public List<ShiftActivity> activities
      The Activities. 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.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. The shift label of the shiftItem.
    • notes

      @SerializedName(value="notes", alternate="Notes") @Expose @Nullable public String notes
      The Notes. The shift notes for the shiftItem.
  • Constructor Details

    • ShiftItem

      public ShiftItem()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class ScheduleEntity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to