Skip to content

Archive

Source code in docs_src/capo_mailmanager/types/archive.py
class Archive(TypedDict, closed=True):
    archive_id: "capo_mailmanager.types.archive_id_string.ArchiveIdString"
    """<p>The unique identifier of the archive.</p>"""
    archive_name: NotRequired[
        "capo_mailmanager.types.archive_name_string.ArchiveNameString"
    ]
    """<p>The unique name assigned to the archive.</p>"""
    archive_state: NotRequired["capo_mailmanager.types.archive_state.ArchiveState"]
    """<p>The current state of the archive:</p> <ul> <li> <p> <code>ACTIVE</code> – The archive is ready and available for use. </p> </li> <li> <p> <code>PENDING_DELETION</code> – The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state. </p> </li> </ul>"""
    last_updated_timestamp: NotRequired["datetime.datetime"]
    """<p>The timestamp of when the archive was last updated.</p>"""

archive_id instance-attribute

archive_id: ArchiveIdString

The unique identifier of the archive.

archive_name instance-attribute

archive_name: NotRequired[ArchiveNameString]

The unique name assigned to the archive.

archive_state instance-attribute

archive_state: NotRequired[ArchiveState]

The current state of the archive:

  • ACTIVE – The archive is ready and available for use.

  • PENDING_DELETION – The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state.

last_updated_timestamp instance-attribute

last_updated_timestamp: NotRequired[datetime]

The timestamp of when the archive was last updated.