MailFolder

A mail folder in a user's mailbox, such as Inbox and Drafts.

CloudCollaborationEnterpriseMicrosoftProductivity

Properties

Name Type Description
id string The unique identifier for the mail folder.
displayName string The mail folder's display name.
parentFolderId string The unique identifier for the mail folder's parent.
childFolderCount integer The number of immediate child folders in the current folder.
totalItemCount integer The number of items in the mail folder.
unreadItemCount integer The number of unread items in the folder.
isHidden boolean Indicates whether the mail folder is hidden.
View JSON Schema on GitHub

JSON Schema

microsoft-office-365-mailfolder-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MailFolder",
  "title": "MailFolder",
  "type": "object",
  "description": "A mail folder in a user's mailbox, such as Inbox and Drafts.",
  "properties": {
    "id": {
      "type": "string",
      "readOnly": true,
      "description": "The unique identifier for the mail folder.",
      "example": "abc123"
    },
    "displayName": {
      "type": "string",
      "description": "The mail folder's display name.",
      "example": "example_value"
    },
    "parentFolderId": {
      "type": "string",
      "readOnly": true,
      "description": "The unique identifier for the mail folder's parent.",
      "example": "500123"
    },
    "childFolderCount": {
      "type": "integer",
      "readOnly": true,
      "description": "The number of immediate child folders in the current folder.",
      "example": 10
    },
    "totalItemCount": {
      "type": "integer",
      "readOnly": true,
      "description": "The number of items in the mail folder.",
      "example": 10
    },
    "unreadItemCount": {
      "type": "integer",
      "readOnly": true,
      "description": "The number of unread items in the folder.",
      "example": 10
    },
    "isHidden": {
      "type": "boolean",
      "description": "Indicates whether the mail folder is hidden.",
      "example": true
    }
  }
}