Class OutlookCategory

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.OutlookCategory
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class OutlookCategory extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Outlook Category.
  • Field Details

    • color

      @SerializedName(value="color", alternate="Color") @Expose @Nullable public CategoryColor color
      The Color. A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. See the note below.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. A unique name that identifies a category in the user's mailbox. After a category is created, the name cannot be changed. Read-only.
  • Constructor Details

    • OutlookCategory

      public OutlookCategory()
  • 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 Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to