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.</p>"""
    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.</p>"""
    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.

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.

value instance-attribute

The resource content. Interpretation depends on the content type.