Package com.microsoft.graph.models
Class Shift
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ChangeTrackedEntity
com.microsoft.graph.models.Shift
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class Shift
extends ChangeTrackedEntity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Shift.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Draft Shift.The Scheduling Group Id.The Shared Shift.The User Id.Fields inherited from class com.microsoft.graph.models.ChangeTrackedEntity
createdDateTime, lastModifiedBy, lastModifiedDateTime -
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.Entity
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
-
draftShift
@SerializedName(value="draftShift", alternate="DraftShift") @Expose @Nullable public ShiftItem draftShiftThe Draft Shift. The draft version of this shift that is viewable by managers. Required. -
schedulingGroupId
@SerializedName(value="schedulingGroupId", alternate="SchedulingGroupId") @Expose @Nullable public String schedulingGroupIdThe Scheduling Group Id. ID of the scheduling group the shift is part of. Required. -
userId
The User Id. ID of the user assigned to the shift. Required.
-
-
Constructor Details
-
Shift
public Shift()
-
-
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 classChangeTrackedEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-