Skip to content

UpdateResourceRequest

Source code in docs_src/capo_workmail/types/update_resource_request.py
class UpdateResourceRequest(TypedDict, closed=True):
    organization_id: "capo_workmail.types.organization_id.OrganizationId"
    """<p>The identifier associated with the organization for which the resource is updated.</p>"""
    resource_id: "capo_workmail.types.entity_identifier.EntityIdentifier"
    """<p>The identifier of the resource to be updated.</p> <p>The identifier can accept <i>ResourceId</i>, <i>Resourcename</i>, or <i>email</i>. The following identity formats are available:</p> <ul> <li> <p>Resource ID: r-0123456789a0123456789b0123456789</p> </li> <li> <p>Email address: [email protected]</p> </li> <li> <p>Resource name: resource</p> </li> </ul>"""
    name: NotRequired["capo_workmail.types.resource_name.ResourceName"]
    """<p>The name of the resource to be updated.</p>"""
    booking_options: NotRequired["capo_workmail.types.booking_options.BookingOptions"]
    """<p>The resource's booking options to be updated.</p>"""
    description: NotRequired[
        "capo_workmail.types.new_resource_description.NewResourceDescription"
    ]
    """<p>Updates the resource description.</p>"""
    type: NotRequired["capo_workmail.types.resource_type.ResourceType"]
    """<p>Updates the resource type.</p>"""
    hidden_from_global_address_list: NotRequired[
        "capo_workmail.types.boolean_object.BooleanObject"
    ]
    """<p>If enabled, the resource is hidden from the global address list.</p>"""

booking_options instance-attribute

booking_options: NotRequired[BookingOptions]

The resource's booking options to be updated.

description instance-attribute

description: NotRequired[NewResourceDescription]

Updates the resource description.

hidden_from_global_address_list instance-attribute

hidden_from_global_address_list: NotRequired[BooleanObject]

If enabled, the resource is hidden from the global address list.

name instance-attribute

name: NotRequired[ResourceName]

The name of the resource to be updated.

organization_id instance-attribute

organization_id: OrganizationId

The identifier associated with the organization for which the resource is updated.

resource_id instance-attribute

resource_id: EntityIdentifier

The identifier of the resource to be updated.

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

  • Resource ID: r-0123456789a0123456789b0123456789

  • Email address: [email protected]

  • Resource name: resource

type instance-attribute

type: NotRequired[ResourceType]

Updates the resource type.