Resource
¶
Source code in docs_src/capo_marketplace_discovery/types/resource.py
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:
-
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
¶
value: NonEmptyString
The resource content. Interpretation depends on the content type.