Class MailFolder

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.MailFolder
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
Direct Known Subclasses:
MailSearchFolder

public class MailFolder extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Mail Folder.
  • Field Details

    • childFolderCount

      @SerializedName(value="childFolderCount", alternate="ChildFolderCount") @Expose @Nullable public Integer childFolderCount
      The Child Folder Count. The number of immediate child mailFolders in the current mailFolder.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. The mailFolder's display name.
    • isHidden

      @SerializedName(value="isHidden", alternate="IsHidden") @Expose @Nullable public Boolean isHidden
      The Is Hidden. Indicates whether the mailFolder is hidden. This property can be set only when creating the folder. Find more information in Hidden mail folders.
    • parentFolderId

      @SerializedName(value="parentFolderId", alternate="ParentFolderId") @Expose @Nullable public String parentFolderId
      The Parent Folder Id. The unique identifier for the mailFolder's parent mailFolder.
    • totalItemCount

      @SerializedName(value="totalItemCount", alternate="TotalItemCount") @Expose @Nullable public Integer totalItemCount
      The Total Item Count. The number of items in the mailFolder.
    • unreadItemCount

      @SerializedName(value="unreadItemCount", alternate="UnreadItemCount") @Expose @Nullable public Integer unreadItemCount
      The Unread Item Count. The number of items in the mailFolder marked as unread.
    • childFolders

      @SerializedName(value="childFolders", alternate="ChildFolders") @Expose @Nullable public MailFolderCollectionPage childFolders
      The Child Folders. The collection of child folders in the mailFolder.
    • messageRules

      @SerializedName(value="messageRules", alternate="MessageRules") @Expose @Nullable public MessageRuleCollectionPage messageRules
      The Message Rules. The collection of rules that apply to the user's Inbox folder.
    • messages

      @SerializedName(value="messages", alternate="Messages") @Expose @Nullable public MessageCollectionPage messages
      The Messages. The collection of messages in the mailFolder.
    • multiValueExtendedProperties

      @SerializedName(value="multiValueExtendedProperties", alternate="MultiValueExtendedProperties") @Expose @Nullable public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties
      The Multi Value Extended Properties. The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable.
    • singleValueExtendedProperties

      @SerializedName(value="singleValueExtendedProperties", alternate="SingleValueExtendedProperties") @Expose @Nullable public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties
      The Single Value Extended Properties. The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable.
  • Constructor Details

    • MailFolder

      public MailFolder()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to