Class MicrosoftGraphMailFolder
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphMailFolder
mailFolder.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphMailFolder class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: mailFolder.Get the childFolderCount property: The number of immediate child mailFolders in the current mailFolder.Get the childFolders property: The collection of child folders in the mailFolder.Get the displayName property: The mailFolder's display name.Get the messageRules property: The collection of rules that apply to the user's Inbox folder.messages()Get the messages property: The collection of messages in the mailFolder.Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the mailFolder.Get the parentFolderId property: The unique identifier for the mailFolder's parent mailFolder.Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the mailFolder.Get the totalItemCount property: The number of items in the mailFolder.Get the unreadItemCount property: The number of items in the mailFolder marked as unread.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: mailFolder.withChildFolderCount(Integer childFolderCount) Set the childFolderCount property: The number of immediate child mailFolders in the current mailFolder.withChildFolders(List<MicrosoftGraphMailFolder> childFolders) Set the childFolders property: The collection of child folders in the mailFolder.withDisplayName(String displayName) Set the displayName property: The mailFolder's display name.Set the id property: Read-only.withMessageRules(List<MicrosoftGraphMessageRule> messageRules) Set the messageRules property: The collection of rules that apply to the user's Inbox folder.withMessages(List<MicrosoftGraphMessage> messages) Set the messages property: The collection of messages in the mailFolder.withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties) Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the mailFolder.withParentFolderId(String parentFolderId) Set the parentFolderId property: The unique identifier for the mailFolder's parent mailFolder.withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties) Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the mailFolder.withTotalItemCount(Integer totalItemCount) Set the totalItemCount property: The number of items in the mailFolder.withUnreadItemCount(Integer unreadItemCount) Set the unreadItemCount property: The number of items in the mailFolder marked as unread.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphMailFolder
public MicrosoftGraphMailFolder()Creates an instance of MicrosoftGraphMailFolder class.
-
-
Method Details
-
childFolderCount
Get the childFolderCount property: The number of immediate child mailFolders in the current mailFolder.- Returns:
- the childFolderCount value.
-
withChildFolderCount
Set the childFolderCount property: The number of immediate child mailFolders in the current mailFolder.- Parameters:
childFolderCount- the childFolderCount value to set.- Returns:
- the MicrosoftGraphMailFolder object itself.
-
displayName
Get the displayName property: The mailFolder's display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The mailFolder's display name.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphMailFolder object itself.
-
parentFolderId
Get the parentFolderId property: The unique identifier for the mailFolder's parent mailFolder.- Returns:
- the parentFolderId value.
-
withParentFolderId
Set the parentFolderId property: The unique identifier for the mailFolder's parent mailFolder.- Parameters:
parentFolderId- the parentFolderId value to set.- Returns:
- the MicrosoftGraphMailFolder object itself.
-
totalItemCount
Get the totalItemCount property: The number of items in the mailFolder.- Returns:
- the totalItemCount value.
-
withTotalItemCount
Set the totalItemCount property: The number of items in the mailFolder.- Parameters:
totalItemCount- the totalItemCount value to set.- Returns:
- the MicrosoftGraphMailFolder object itself.
-
unreadItemCount
Get the unreadItemCount property: The number of items in the mailFolder marked as unread.- Returns:
- the unreadItemCount value.
-
withUnreadItemCount
Set the unreadItemCount property: The number of items in the mailFolder marked as unread.- Parameters:
unreadItemCount- the unreadItemCount value to set.- Returns:
- the MicrosoftGraphMailFolder object itself.
-
childFolders
Get the childFolders property: The collection of child folders in the mailFolder.- Returns:
- the childFolders value.
-
withChildFolders
Set the childFolders property: The collection of child folders in the mailFolder.- Parameters:
childFolders- the childFolders value to set.- Returns:
- the MicrosoftGraphMailFolder object itself.
-
messageRules
Get the messageRules property: The collection of rules that apply to the user's Inbox folder.- Returns:
- the messageRules value.
-
withMessageRules
Set the messageRules property: The collection of rules that apply to the user's Inbox folder.- Parameters:
messageRules- the messageRules value to set.- Returns:
- the MicrosoftGraphMailFolder object itself.
-
messages
Get the messages property: The collection of messages in the mailFolder.- Returns:
- the messages value.
-
withMessages
Set the messages property: The collection of messages in the mailFolder.- Parameters:
messages- the messages value to set.- Returns:
- the MicrosoftGraphMailFolder object itself.
-
multiValueExtendedProperties
Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable.- Returns:
- the multiValueExtendedProperties value.
-
withMultiValueExtendedProperties
public MicrosoftGraphMailFolder withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties) Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable.- Parameters:
multiValueExtendedProperties- the multiValueExtendedProperties value to set.- Returns:
- the MicrosoftGraphMailFolder object itself.
-
singleValueExtendedProperties
Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable.- Returns:
- the singleValueExtendedProperties value.
-
withSingleValueExtendedProperties
public MicrosoftGraphMailFolder withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties) Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable.- Parameters:
singleValueExtendedProperties- the singleValueExtendedProperties value to set.- Returns:
- the MicrosoftGraphMailFolder object itself.
-
additionalProperties
Get the additionalProperties property: mailFolder.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: mailFolder.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphMailFolder object itself.
-
withId
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.
-