Skip to content

Resource

Source code in docs_src/capo_marketplace_discovery/types/resource.py
class Resource(TypedDict, closed=True):
    resource_type: "capo_marketplace_discovery.types.resource_type.ResourceType"
    """<p>The category of the resource, such as manufacturer support or usage instructions. This field has one of the following values:</p> <dl> <dt>MANUFACTURER_INSTRUCTIONS</dt> <dd> <p>Usage instructions from the seller.</p> </dd> <dt>MANUFACTURER_SUPPORT</dt> <dd> <p>Support information from the seller.</p> </dd> </dl>"""
    content_type: (
        "capo_marketplace_discovery.types.resource_content_type.ResourceContentType"
    )
    """<p>The format of the resource content, such as a URL, email address, or text. This field has one of the following values:</p> <dl> <dt>EMAIL</dt> <dd> <p>An email address.</p> </dd> <dt>LINK</dt> <dd> <p>A URL.</p> </dd> <dt>OTHER</dt> <dd> <p>Text in another format.</p> </dd> <dt>PHONE_NUMBER</dt> <dd> <p>A phone number.</p> </dd> </dl>"""
    value: "capo_marketplace_discovery.types.non_empty_string.NonEmptyString"
    """<p>The resource content. Interpretation depends on the content type.</p>"""
    display_name: NotRequired[
        "capo_marketplace_discovery.types.nullable_string.NullableString"
    ]
    """<p>An optional human-readable label for the resource.</p>"""

content_type instance-attribute

content_type: ResourceContentType

The format of the resource content, such as a URL, email address, or text. This field has one of the following values:

EMAIL

An email address.

LINK

A URL.

OTHER

Text in another format.

PHONE_NUMBER

A phone number.

display_name instance-attribute

display_name: NotRequired[NullableString]

An optional human-readable label for the resource.

resource_type instance-attribute

resource_type: ResourceType

The category of the resource, such as manufacturer support or usage instructions. This field has one of the following values:

MANUFACTURER_INSTRUCTIONS

Usage instructions from the seller.

MANUFACTURER_SUPPORT

Support information from the seller.

value instance-attribute

The resource content. Interpretation depends on the content type.