Package com.microsoft.graph.models
Class TimeOffRequest
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ChangeTrackedEntity
com.microsoft.graph.models.ScheduleChangeRequest
com.microsoft.graph.models.TimeOffRequest
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class TimeOffRequest
extends ScheduleChangeRequest
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Time Off Request.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe End Date Time.The Start Date Time.The Time Off Reason Id.Fields inherited from class com.microsoft.graph.models.ScheduleChangeRequest
assignedTo, managerActionDateTime, managerActionMessage, managerUserId, senderDateTime, senderMessage, senderUserId, stateFields 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
-
endDateTime
@SerializedName(value="endDateTime", alternate="EndDateTime") @Expose @Nullable public OffsetDateTime endDateTimeThe End Date Time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z -
startDateTime
@SerializedName(value="startDateTime", alternate="StartDateTime") @Expose @Nullable public OffsetDateTime startDateTimeThe Start Date Time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z -
timeOffReasonId
@SerializedName(value="timeOffReasonId", alternate="TimeOffReasonId") @Expose @Nullable public String timeOffReasonIdThe Time Off Reason Id. The reason for the time off.
-
-
Constructor Details
-
TimeOffRequest
public TimeOffRequest()
-
-
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 classScheduleChangeRequest- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-