Class MicrosoftGraphMailFolder

    • Constructor Detail

      • MicrosoftGraphMailFolder

        public MicrosoftGraphMailFolder()
    • Method Detail

      • childFolderCount

        public Integer childFolderCount()
        Get the childFolderCount property: The number of immediate child mailFolders in the current mailFolder.
        Returns:
        the childFolderCount value.
      • withChildFolderCount

        public MicrosoftGraphMailFolder withChildFolderCount​(Integer childFolderCount)
        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

        public String displayName()
        Get the displayName property: The mailFolder's display name.
        Returns:
        the displayName value.
      • withDisplayName

        public MicrosoftGraphMailFolder withDisplayName​(String displayName)
        Set the displayName property: The mailFolder's display name.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the MicrosoftGraphMailFolder object itself.
      • parentFolderId

        public String parentFolderId()
        Get the parentFolderId property: The unique identifier for the mailFolder's parent mailFolder.
        Returns:
        the parentFolderId value.
      • withParentFolderId

        public MicrosoftGraphMailFolder withParentFolderId​(String parentFolderId)
        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

        public Integer totalItemCount()
        Get the totalItemCount property: The number of items in the mailFolder.
        Returns:
        the totalItemCount value.
      • withTotalItemCount

        public MicrosoftGraphMailFolder withTotalItemCount​(Integer totalItemCount)
        Set the totalItemCount property: The number of items in the mailFolder.
        Parameters:
        totalItemCount - the totalItemCount value to set.
        Returns:
        the MicrosoftGraphMailFolder object itself.
      • unreadItemCount

        public Integer unreadItemCount()
        Get the unreadItemCount property: The number of items in the mailFolder marked as unread.
        Returns:
        the unreadItemCount value.
      • withUnreadItemCount

        public MicrosoftGraphMailFolder withUnreadItemCount​(Integer unreadItemCount)
        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

        public List<MicrosoftGraphMailFolder> childFolders()
        Get the childFolders property: The collection of child folders in the mailFolder.
        Returns:
        the childFolders value.
      • withChildFolders

        public MicrosoftGraphMailFolder withChildFolders​(List<MicrosoftGraphMailFolder> childFolders)
        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

        public List<MicrosoftGraphMessageRule> messageRules()
        Get the messageRules property: The collection of rules that apply to the user's Inbox folder.
        Returns:
        the messageRules value.
      • withMessageRules

        public MicrosoftGraphMailFolder withMessageRules​(List<MicrosoftGraphMessageRule> messageRules)
        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

        public List<MicrosoftGraphMessage> messages()
        Get the messages property: The collection of messages in the mailFolder.
        Returns:
        the messages value.
      • withMessages

        public MicrosoftGraphMailFolder withMessages​(List<MicrosoftGraphMessage> messages)
        Set the messages property: The collection of messages in the mailFolder.
        Parameters:
        messages - the messages value to set.
        Returns:
        the MicrosoftGraphMailFolder object itself.
      • multiValueExtendedProperties

        public List<MicrosoftGraphMultiValueLegacyExtendedProperty> 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

        public List<MicrosoftGraphSingleValueLegacyExtendedProperty> 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.