public class Shift extends ChangeTrackedEntity implements IJsonBackedObject
Modifier and Type | Field and Description |
---|---|
ShiftItem |
draftShift
The Draft Shift.
|
java.lang.String |
schedulingGroupId
The Scheduling Group Id.
|
ShiftItem |
sharedShift
The Shared Shift.
|
java.lang.String |
userId
The User Id.
|
createdDateTime, lastModifiedBy, lastModifiedDateTime
Constructor and Description |
---|
Shift() |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonObject |
getRawObject()
Gets the raw representation of this class
|
protected ISerializer |
getSerializer()
Gets serializer
|
void |
setRawObject(ISerializer serializer,
com.google.gson.JsonObject json)
Sets the raw JSON object
|
additionalDataManager
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
additionalDataManager
@SerializedName(value="draftShift", alternate="DraftShift") @Expose public ShiftItem draftShift
@SerializedName(value="schedulingGroupId", alternate="SchedulingGroupId") @Expose public java.lang.String schedulingGroupId
@SerializedName(value="sharedShift", alternate="SharedShift") @Expose public ShiftItem sharedShift
@SerializedName(value="userId", alternate="UserId") @Expose public java.lang.String userId
public com.google.gson.JsonObject getRawObject()
getRawObject
in class ChangeTrackedEntity
protected ISerializer getSerializer()
getSerializer
in class ChangeTrackedEntity
public void setRawObject(ISerializer serializer, com.google.gson.JsonObject json)
setRawObject
in interface IJsonBackedObject
setRawObject
in class ChangeTrackedEntity
serializer
- the serializerjson
- the JSON object to set this object to