Skip to content

CreateEntityRequest

Source code in docs_src/capo_iottwinmaker/types/create_entity_request.py
class CreateEntityRequest(TypedDict, closed=True):
    workspace_id: "capo_iottwinmaker.types.id.Id"
    """<p>The ID of the workspace that contains the entity.</p>"""
    entity_id: NotRequired["capo_iottwinmaker.types.entity_id.EntityId"]
    """<p>The ID of the entity.</p>"""
    entity_name: "capo_iottwinmaker.types.entity_name.EntityName"
    """<p>The name of the entity.</p>"""
    description: NotRequired["capo_iottwinmaker.types.description.Description"]
    """<p>The description of the entity.</p>"""
    components: NotRequired[
        "capo_iottwinmaker.types.components_map_request.ComponentsMapRequest"
    ]
    """<p>An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.</p>"""
    composite_components: NotRequired[
        "capo_iottwinmaker.types.composite_components_map_request.CompositeComponentsMapRequest"
    ]
    """<p>This is an object that maps strings to <code>compositeComponent</code> updates in the request. Each key of the map represents the <code>componentPath</code> of the <code>compositeComponent</code>.</p>"""
    parent_entity_id: NotRequired[
        "capo_iottwinmaker.types.parent_entity_id.ParentEntityId"
    ]
    """<p>The ID of the entity's parent entity.</p>"""
    tags: NotRequired["capo_iottwinmaker.types.tag_map.TagMap"]
    """<p>Metadata that you can use to manage the entity.</p>"""

components instance-attribute

components: NotRequired[ComponentsMapRequest]

An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.

composite_components instance-attribute

composite_components: NotRequired[CompositeComponentsMapRequest]

This is an object that maps strings to compositeComponent updates in the request. Each key of the map represents the componentPath of the compositeComponent.

description instance-attribute

description: NotRequired[Description]

The description of the entity.

entity_id instance-attribute

entity_id: NotRequired[EntityId]

The ID of the entity.

entity_name instance-attribute

entity_name: EntityName

The name of the entity.

parent_entity_id instance-attribute

parent_entity_id: NotRequired[ParentEntityId]

The ID of the entity's parent entity.

tags instance-attribute

tags: NotRequired[TagMap]

Metadata that you can use to manage the entity.

workspace_id instance-attribute

workspace_id: Id

The ID of the workspace that contains the entity.