Class 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 Details

    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. The name of the timeOffReason. Required.
    • iconType

      @SerializedName(value="iconType", alternate="IconType") @Expose @Nullable public TimeOffReasonIconType iconType
      The 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

      @SerializedName(value="isActive", alternate="IsActive") @Expose @Nullable public Boolean 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 interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class ChangeTrackedEntity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to