Class MicrosoftGraphOutlookCategoryInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOutlookCategoryInner
-
public final class MicrosoftGraphOutlookCategoryInner extends MicrosoftGraphEntity
outlookCategory.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOutlookCategoryInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: outlookCategory.MicrosoftGraphCategoryColorcolor()Get the color property: The color property.StringdisplayName()Get the displayName property: A unique name that identifies a category in the user's mailbox.voidvalidate()Validates the instance.MicrosoftGraphOutlookCategoryInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: outlookCategory.MicrosoftGraphOutlookCategoryInnerwithColor(MicrosoftGraphCategoryColor color)Set the color property: The color property.MicrosoftGraphOutlookCategoryInnerwithDisplayName(String displayName)Set the displayName property: A unique name that identifies a category in the user's mailbox.MicrosoftGraphOutlookCategoryInnerwithId(String id)Set the id property: Read-only.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
color
public MicrosoftGraphCategoryColor color()
Get the color property: The color property.- Returns:
- the color value.
-
withColor
public MicrosoftGraphOutlookCategoryInner withColor(MicrosoftGraphCategoryColor color)
Set the color property: The color property.- Parameters:
color- the color value to set.- Returns:
- the MicrosoftGraphOutlookCategoryInner 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 MicrosoftGraphOutlookCategoryInner 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 MicrosoftGraphOutlookCategoryInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: outlookCategory.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOutlookCategoryInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: outlookCategory.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOutlookCategoryInner object itself.
-
withId
public MicrosoftGraphOutlookCategoryInner withId(String id)
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-