CodegenGenericDataRelationshipType
¶
Source code in docs_src/capo_amplifyuibuilder/types/codegen_generic_data_relationship_type.py
associated_fields
instance-attribute
¶
associated_fields: NotRequired[AssociatedFieldsList]
The associated fields of the data relationship.
belongs_to_field_on_related_model
instance-attribute
¶
belongs_to_field_on_related_model: NotRequired[str]
The value of the belongsTo field on the related data model.
can_unlink_associated_model
instance-attribute
¶
can_unlink_associated_model: NotRequired[bool]
Specifies whether the relationship can unlink the associated model.
is_has_many_index
instance-attribute
¶
is_has_many_index: NotRequired[bool]
Specifies whether the @index directive is supported for a hasMany data relationship.
related_join_field_name
instance-attribute
¶
related_join_field_name: NotRequired[str]
The name of the related join field in the data relationship.
related_join_table_name
instance-attribute
¶
related_join_table_name: NotRequired[str]
The name of the related join table in the data relationship.
related_model_fields
instance-attribute
¶
related_model_fields: NotRequired[RelatedModelFieldsList]
The related model fields in the data relationship.