你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphMailFolder Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphMailFolder
- com.
- com.
public final class MicrosoftGraphMailFolder
extends MicrosoftGraphEntity
mailFolder.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphMailFolder() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Integer |
childFolderCount()
Get the child |
List<Microsoft |
childFolders()
Get the child |
String |
displayName()
Get the display |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
List<Microsoft |
messageRules()
Get the message |
List<Microsoft |
messages()
Get the messages property: The collection of messages in the mail |
List<Microsoft |
multiValueExtendedProperties()
Get the multi |
String |
parentFolderId()
Get the parent |
List<Microsoft |
singleValueExtendedProperties()
Get the single |
Json |
toJson(JsonWriter jsonWriter) |
Integer |
totalItemCount()
Get the total |
Integer |
unreadItemCount()
Get the unread |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withChildFolderCount(Integer childFolderCount)
Set the child |
Microsoft |
withChildFolders(List<MicrosoftGraphMailFolder> childFolders)
Set the child |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withMessageRules(List<MicrosoftGraphMessageRule> messageRules)
Set the message |
Microsoft |
withMessages(List<MicrosoftGraphMessage> messages)
Set the messages property: The collection of messages in the mail |
Microsoft |
withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties)
Set the multi |
Microsoft |
withParentFolderId(String parentFolderId)
Set the parent |
Microsoft |
withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties)
Set the single |
Microsoft |
withTotalItemCount(Integer totalItemCount)
Set the total |
Microsoft |
withUnreadItemCount(Integer unreadItemCount)
Set the unread |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphMailFolder
public MicrosoftGraphMailFolder()
Creates an instance of MicrosoftGraphMailFolder class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: mailFolder.
Overrides:
MicrosoftGraphMailFolder.additionalProperties()Returns:
childFolderCount
public Integer childFolderCount()
Get the childFolderCount property: The number of immediate child mailFolders in the current mailFolder.
Returns:
childFolders
public List
Get the childFolders property: The collection of child folders in the mailFolder.
Returns:
displayName
public String displayName()
Get the displayName property: The mailFolder's display name.
Returns:
fromJson
public static MicrosoftGraphMailFolder fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphMailFolder from the JsonReader.
Parameters:
Returns:
Throws:
messageRules
public List
Get the messageRules property: The collection of rules that apply to the user's Inbox folder.
Returns:
messages
public List
Get the messages property: The collection of messages in the mailFolder.
Returns:
multiValueExtendedProperties
public List
Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable.
Returns:
parentFolderId
public String parentFolderId()
Get the parentFolderId property: The unique identifier for the mailFolder's parent mailFolder.
Returns:
singleValueExtendedProperties
public List
Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphMailFolder.toJson(JsonWriter jsonWriter)Parameters:
Throws:
totalItemCount
public Integer totalItemCount()
Get the totalItemCount property: The number of items in the mailFolder.
Returns:
unreadItemCount
public Integer unreadItemCount()
Get the unreadItemCount property: The number of items in the mailFolder marked as unread.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphMailFolder.validate()withAdditionalProperties
public MicrosoftGraphMailFolder withAdditionalProperties(Map
Set the additionalProperties property: mailFolder.
Overrides:
MicrosoftGraphMailFolder.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withChildFolderCount
public MicrosoftGraphMailFolder withChildFolderCount(Integer childFolderCount)
Set the childFolderCount property: The number of immediate child mailFolders in the current mailFolder.
Parameters:
Returns:
withChildFolders
public MicrosoftGraphMailFolder withChildFolders(List
Set the childFolders property: The collection of child folders in the mailFolder.
Parameters:
Returns:
withDisplayName
public MicrosoftGraphMailFolder withDisplayName(String displayName)
Set the displayName property: The mailFolder's display name.
Parameters:
Returns:
withId
public MicrosoftGraphMailFolder withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphMailFolder.withId(String id)Parameters:
withMessageRules
public MicrosoftGraphMailFolder withMessageRules(List
Set the messageRules property: The collection of rules that apply to the user's Inbox folder.
Parameters:
Returns:
withMessages
public MicrosoftGraphMailFolder withMessages(List
Set the messages property: The collection of messages in the mailFolder.
Parameters:
Returns:
withMultiValueExtendedProperties
public MicrosoftGraphMailFolder withMultiValueExtendedProperties(List
Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable.
Parameters:
Returns:
withParentFolderId
public MicrosoftGraphMailFolder withParentFolderId(String parentFolderId)
Set the parentFolderId property: The unique identifier for the mailFolder's parent mailFolder.
Parameters:
Returns:
withSingleValueExtendedProperties
public MicrosoftGraphMailFolder withSingleValueExtendedProperties(List
Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable.
Parameters:
Returns:
withTotalItemCount
public MicrosoftGraphMailFolder withTotalItemCount(Integer totalItemCount)
Set the totalItemCount property: The number of items in the mailFolder.
Parameters:
Returns:
withUnreadItemCount
public MicrosoftGraphMailFolder withUnreadItemCount(Integer unreadItemCount)
Set the unreadItemCount property: The number of items in the mailFolder marked as unread.
Parameters:
Returns: