Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Activities.The Display Name.The Notes.Fields inherited from class com.microsoft.graph.models.ScheduleEntity
endDateTime, oDataType, startDateTime, theme -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.ScheduleEntity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
activities
@SerializedName(value="activities", alternate="Activities") @Expose @Nullable public List<ShiftActivity> activitiesThe 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 displayNameThe Display Name. The shift label of the shiftItem. -
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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classScheduleEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-