Package com.microsoft.graph.models
Class TimeOff
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ChangeTrackedEntity
com.microsoft.graph.models.TimeOff
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class TimeOff
extends ChangeTrackedEntity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Time Off.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Draft Time Off.The Shared Time Off.The User Id.Fields inherited from class com.microsoft.graph.models.ChangeTrackedEntity
createdDateTime, lastModifiedBy, lastModifiedDateTime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
draftTimeOff
@SerializedName(value="draftTimeOff", alternate="DraftTimeOff") @Expose @Nullable public TimeOffItem draftTimeOffThe Draft Time Off. The draft version of this timeOff that is viewable by managers. Required. -
userId
The User Id. ID of the user assigned to the timeOff. Required.
-
-
Constructor Details
-
TimeOff
public TimeOff()
-
-
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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classChangeTrackedEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-