Class MicrosoftGraphOutlookCategory

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOutlookCategory

public final class MicrosoftGraphOutlookCategory extends MicrosoftGraphEntity
outlookCategory.
  • Constructor Details

    • MicrosoftGraphOutlookCategory

      public MicrosoftGraphOutlookCategory()
      Creates an instance of MicrosoftGraphOutlookCategory class.
  • Method Details

    • color

      Get the color property: categoryColor.
      Returns:
      the color value.
    • withColor

      Set the color property: categoryColor.
      Parameters:
      color - the color value to set.
      Returns:
      the MicrosoftGraphOutlookCategory object itself.
    • displayName

      public String displayName()
      Get the displayName property: A unique name that identifies a category in the user's mailbox. After a category is created, the name cannot be changed. Read-only.
      Returns:
      the displayName value.
    • withDisplayName

      public MicrosoftGraphOutlookCategory withDisplayName(String displayName)
      Set the displayName property: A unique name that identifies a category in the user's mailbox. After a category is created, the name cannot be changed. Read-only.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MicrosoftGraphOutlookCategory object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: outlookCategory.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphOutlookCategory withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: outlookCategory.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphOutlookCategory object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.