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 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
-
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 are: 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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classChangeTrackedEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-