你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphOutlookCategory Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOutlookCategory
- com.
- com.
public final class MicrosoftGraphOutlookCategory
extends MicrosoftGraphEntity
outlookCategory.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphOutlookCategory() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Microsoft |
color()
Get the color property: category |
String |
displayName()
Get the display |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withColor(MicrosoftGraphCategoryColor color)
Set the color property: category |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphOutlookCategory
public MicrosoftGraphOutlookCategory()
Creates an instance of MicrosoftGraphOutlookCategory class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: outlookCategory.
Overrides:
MicrosoftGraphOutlookCategory.additionalProperties()Returns:
color
public MicrosoftGraphCategoryColor color()
Get the color property: categoryColor.
Returns:
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:
fromJson
public static MicrosoftGraphOutlookCategory fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphOutlookCategory from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphOutlookCategory.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphOutlookCategory.validate()withAdditionalProperties
public MicrosoftGraphOutlookCategory withAdditionalProperties(Map
Set the additionalProperties property: outlookCategory.
Overrides:
MicrosoftGraphOutlookCategory.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withColor
public MicrosoftGraphOutlookCategory withColor(MicrosoftGraphCategoryColor color)
Set the color property: categoryColor.
Parameters:
Returns:
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:
Returns:
withId
public MicrosoftGraphOutlookCategory withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphOutlookCategory.withId(String id)Parameters: