Skip to content

CodegenGenericDataField

Source code in docs_src/capo_amplifyuibuilder/types/codegen_generic_data_field.py
class CodegenGenericDataField(TypedDict, closed=True):
    data_type: "capo_amplifyuibuilder.types.codegen_generic_data_field_data_type.CodegenGenericDataFieldDataType"
    """<p>The data type for the generic data field.</p>"""
    data_type_value: "str"
    """<p>The value of the data type for the generic data field.</p>"""
    required: "bool"
    """<p>Specifies whether the generic data field is required.</p>"""
    read_only: "bool"
    """<p>Specifies whether the generic data field is read-only.</p>"""
    is_array: "bool"
    """<p>Specifies whether the generic data field is an array.</p>"""
    relationship: NotRequired[
        "capo_amplifyuibuilder.types.codegen_generic_data_relationship_type.CodegenGenericDataRelationshipType"
    ]
    """<p>The relationship of the generic data schema.</p>"""

data_type instance-attribute

The data type for the generic data field.

data_type_value instance-attribute

data_type_value: str

The value of the data type for the generic data field.

is_array instance-attribute

is_array: bool

Specifies whether the generic data field is an array.

read_only instance-attribute

read_only: bool

Specifies whether the generic data field is read-only.

relationship instance-attribute

relationship: NotRequired[CodegenGenericDataRelationshipType]

The relationship of the generic data schema.

required instance-attribute

required: bool

Specifies whether the generic data field is required.