Skip to content

Facet

Source code in docs_src/capo_clouddirectory/types/facet.py
class Facet(TypedDict, closed=True):
    name: NotRequired["capo_clouddirectory.types.facet_name.FacetName"]
    """<p>The name of the <a>Facet</a>.</p>"""
    object_type: NotRequired["capo_clouddirectory.types.object_type.ObjectType"]
    """<p>The object type that is associated with the facet. See <a>CreateFacetRequest$ObjectType</a> for more details.</p>"""
    facet_style: NotRequired["capo_clouddirectory.types.facet_style.FacetStyle"]
    """<p>There are two different styles that you can define on any given facet, <code>Static</code> and <code>Dynamic</code>. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.</p>"""

facet_style instance-attribute

facet_style: NotRequired[FacetStyle]

There are two different styles that you can define on any given facet, Static and Dynamic. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.

name instance-attribute

name: NotRequired[FacetName]

The name of the Facet.

object_type instance-attribute

object_type: NotRequired[ObjectType]

The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.