class Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipResourceFormat
The relationship resource format.
Attributes
@return [CardinalityTypes] The Relationship Cardinality. Possible values include: 'OneToOne', 'OneToMany', 'ManyToMany'
@return [Hash{String => String}] Localized descriptions for the Relationship.
@return [Hash{String => String}] Localized display name for the Relationship.
@return [DateTime] The expiry date time in UTC.
@return [Array<PropertyDefinition>] The properties of the Relationship.
@return [Array<RelationshipTypeMapping>] Optional property to be used to map fields in profile to their strong ids in related profile.
@return [String] Profile type.
@return [ProvisioningStates] Provisioning state. Possible values include: 'Provisioning', 'Succeeded', 'Expiring', 'Deleting', 'HumanIntervention', 'Failed'
@return [String] The relationship guid id.
@return [String] The Relationship name.
@return [String] The hub name.
Private Class Methods
Mapper for RelationshipResourceFormat
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb, line 62 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RelationshipResourceFormat', type: { name: 'Composite', class_name: 'RelationshipResourceFormat', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, cardinality: { client_side_validation: true, required: false, serialized_name: 'properties.cardinality', type: { name: 'Enum', module: 'CardinalityTypes' } }, display_name: { client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, expiry_date_time_utc: { client_side_validation: true, required: false, serialized_name: 'properties.expiryDateTimeUtc', type: { name: 'DateTime' } }, fields: { client_side_validation: true, required: false, serialized_name: 'properties.fields', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PropertyDefinitionElementType', type: { name: 'Composite', class_name: 'PropertyDefinition' } } } }, lookup_mappings: { client_side_validation: true, required: false, serialized_name: 'properties.lookupMappings', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RelationshipTypeMappingElementType', type: { name: 'Composite', class_name: 'RelationshipTypeMapping' } } } }, profile_type: { client_side_validation: true, required: true, serialized_name: 'properties.profileType', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, relationship_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.relationshipName', type: { name: 'String' } }, related_profile_type: { client_side_validation: true, required: true, serialized_name: 'properties.relatedProfileType', type: { name: 'String' } }, relationship_guid_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.relationshipGuidId', type: { name: 'String' } }, tenant_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tenantId', type: { name: 'String' } } } } } end