Class: Aws::AmplifyUIBuilder::Types::CodegenGenericDataRelationshipType

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb

Overview

Describes the relationship between generic data models.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#associated_fieldsArray<String>

The associated fields of the data relationship.

Returns:

  • (Array<String>)


299
300
301
302
303
304
305
306
307
308
309
310
311
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 299

class CodegenGenericDataRelationshipType < Struct.new(
  :type,
  :related_model_name,
  :related_model_fields,
  :can_unlink_associated_model,
  :related_join_field_name,
  :related_join_table_name,
  :belongs_to_field_on_related_model,
  :associated_fields,
  :is_has_many_index)
  SENSITIVE = []
  include Aws::Structure
end

The value of the belongsTo field on the related data model.

Returns:

  • (String)


299
300
301
302
303
304
305
306
307
308
309
310
311
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 299

class CodegenGenericDataRelationshipType < Struct.new(
  :type,
  :related_model_name,
  :related_model_fields,
  :can_unlink_associated_model,
  :related_join_field_name,
  :related_join_table_name,
  :belongs_to_field_on_related_model,
  :associated_fields,
  :is_has_many_index)
  SENSITIVE = []
  include Aws::Structure
end

Specifies whether the relationship can unlink the associated model.

Returns:

  • (Boolean)


299
300
301
302
303
304
305
306
307
308
309
310
311
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 299

class CodegenGenericDataRelationshipType < Struct.new(
  :type,
  :related_model_name,
  :related_model_fields,
  :can_unlink_associated_model,
  :related_join_field_name,
  :related_join_table_name,
  :belongs_to_field_on_related_model,
  :associated_fields,
  :is_has_many_index)
  SENSITIVE = []
  include Aws::Structure
end

#is_has_many_indexBoolean

Specifies whether the @index directive is supported for a hasMany data relationship.

Returns:

  • (Boolean)


299
300
301
302
303
304
305
306
307
308
309
310
311
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 299

class CodegenGenericDataRelationshipType < Struct.new(
  :type,
  :related_model_name,
  :related_model_fields,
  :can_unlink_associated_model,
  :related_join_field_name,
  :related_join_table_name,
  :belongs_to_field_on_related_model,
  :associated_fields,
  :is_has_many_index)
  SENSITIVE = []
  include Aws::Structure
end

The name of the related join field in the data relationship.

Returns:

  • (String)


299
300
301
302
303
304
305
306
307
308
309
310
311
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 299

class CodegenGenericDataRelationshipType < Struct.new(
  :type,
  :related_model_name,
  :related_model_fields,
  :can_unlink_associated_model,
  :related_join_field_name,
  :related_join_table_name,
  :belongs_to_field_on_related_model,
  :associated_fields,
  :is_has_many_index)
  SENSITIVE = []
  include Aws::Structure
end

The name of the related join table in the data relationship.

Returns:

  • (String)


299
300
301
302
303
304
305
306
307
308
309
310
311
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 299

class CodegenGenericDataRelationshipType < Struct.new(
  :type,
  :related_model_name,
  :related_model_fields,
  :can_unlink_associated_model,
  :related_join_field_name,
  :related_join_table_name,
  :belongs_to_field_on_related_model,
  :associated_fields,
  :is_has_many_index)
  SENSITIVE = []
  include Aws::Structure
end

The related model fields in the data relationship.

Returns:

  • (Array<String>)


299
300
301
302
303
304
305
306
307
308
309
310
311
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 299

class CodegenGenericDataRelationshipType < Struct.new(
  :type,
  :related_model_name,
  :related_model_fields,
  :can_unlink_associated_model,
  :related_join_field_name,
  :related_join_table_name,
  :belongs_to_field_on_related_model,
  :associated_fields,
  :is_has_many_index)
  SENSITIVE = []
  include Aws::Structure
end

The name of the related model in the data relationship.

Returns:

  • (String)


299
300
301
302
303
304
305
306
307
308
309
310
311
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 299

class CodegenGenericDataRelationshipType < Struct.new(
  :type,
  :related_model_name,
  :related_model_fields,
  :can_unlink_associated_model,
  :related_join_field_name,
  :related_join_table_name,
  :belongs_to_field_on_related_model,
  :associated_fields,
  :is_has_many_index)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The data relationship type.

Returns:

  • (String)


299
300
301
302
303
304
305
306
307
308
309
310
311
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 299

class CodegenGenericDataRelationshipType < Struct.new(
  :type,
  :related_model_name,
  :related_model_fields,
  :can_unlink_associated_model,
  :related_join_field_name,
  :related_join_table_name,
  :belongs_to_field_on_related_model,
  :associated_fields,
  :is_has_many_index)
  SENSITIVE = []
  include Aws::Structure
end