Package com.microsoft.graph.models
Class TimeOffReason
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ChangeTrackedEntity
com.microsoft.graph.models.TimeOffReason
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class TimeOffReason
extends ChangeTrackedEntity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Time Off Reason.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Display Name.The Icon Type.The Is Active.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
-
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. The name of the timeOffReason. Required. -
iconType
@SerializedName(value="iconType", alternate="IconType") @Expose @Nullable public TimeOffReasonIconType iconTypeThe Icon Type. Supported icon types: none; car; calendar; running; plane; firstAid; doctor; notWorking; clock; juryDuty; globe; cup; phone; weather; umbrella; piggyBank; dog; cake; trafficCone; pin; sunny. Required. -
isActive
The Is Active. Indicates whether the timeOffReason can be used when creating new entities or updating existing ones. Required.
-
-
Constructor Details
-
TimeOffReason
public TimeOffReason()
-
-
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
-