Skip to content

Resource

Source code in docs_src/capo_workmail/types/resource.py
class Resource(TypedDict, closed=True):
    id: NotRequired["capo_workmail.types.work_mail_identifier.WorkMailIdentifier"]
    """<p>The identifier of the resource.</p>"""
    email: NotRequired["capo_workmail.types.email_address.EmailAddress"]
    """<p>The email of the resource.</p>"""
    name: NotRequired["capo_workmail.types.resource_name.ResourceName"]
    """<p>The name of the resource.</p>"""
    type: NotRequired["capo_workmail.types.resource_type.ResourceType"]
    """<p>The type of the resource: equipment or room.</p>"""
    state: NotRequired["capo_workmail.types.entity_state.EntityState"]
    """<p>The state of the resource, which can be ENABLED, DISABLED, or DELETED.</p>"""
    enabled_date: NotRequired["capo_workmail.types.timestamp.Timestamp"]
    """<p>The date indicating when the resource was enabled for WorkMail use.</p>"""
    disabled_date: NotRequired["capo_workmail.types.timestamp.Timestamp"]
    """<p>The date indicating when the resource was disabled from WorkMail use.</p>"""
    description: NotRequired[
        "capo_workmail.types.resource_description.ResourceDescription"
    ]
    """<p>Resource description.</p>"""

description instance-attribute

description: NotRequired[ResourceDescription]

Resource description.

disabled_date instance-attribute

disabled_date: NotRequired[Timestamp]

The date indicating when the resource was disabled from WorkMail use.

email instance-attribute

email: NotRequired[EmailAddress]

The email of the resource.

enabled_date instance-attribute

enabled_date: NotRequired[Timestamp]

The date indicating when the resource was enabled for WorkMail use.

id instance-attribute

id: NotRequired[WorkMailIdentifier]

The identifier of the resource.

name instance-attribute

name: NotRequired[ResourceName]

The name of the resource.

state instance-attribute

state: NotRequired[EntityState]

The state of the resource, which can be ENABLED, DISABLED, or DELETED.

type instance-attribute

type: NotRequired[ResourceType]

The type of the resource: equipment or room.