class Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkResourceFormat

The link resource format.

Attributes

description[RW]

@return [Hash{String => String}] Localized descriptions for the Link.

display_name[RW]

@return [Hash{String => String}] Localized display name for the Link.

mappings[RW]

@return [Array<TypePropertiesMapping>] The set of properties mappings between the source and target Types.

operation_type[RW]

@return [InstanceOperationType] Determines whether this link is supposed to create or delete instances if Link is NOT Reference Only. Possible values include: 'Upsert', 'Delete'

participant_property_references[RW]

@return [Array<ParticipantPropertyReference>] The properties that represent the participating profile.

provisioning_state[RW]

@return [ProvisioningStates] Provisioning state. Possible values include: 'Provisioning', 'Succeeded', 'Expiring', 'Deleting', 'HumanIntervention', 'Failed'

reference_only[RW]

@return [Boolean] Indicating whether the link is reference only link. This flag is ingored if the Mappings are defined. If the mappings are not defined and it is set to true, links processing will not create or update profiles.

source_entity_type[RW]

@return [EntityType] Type of source entity. Possible values include: 'None', 'Profile', 'Interaction', 'Relationship'

source_entity_type_name[RW]

@return [String] Name of the source Entity Type.

target_entity_type[RW]

@return [EntityType] Type of target entity. Possible values include: 'None', 'Profile', 'Interaction', 'Relationship'

target_entity_type_name[RW]

@return [String] Name of the target Entity Type.

tenant_id[RW]

@return [String] The hub name.

Private Class Methods

mapper() click to toggle source

Mapper for LinkResourceFormat class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-04-26/generated/azure_mgmt_customer_insights/models/link_resource_format.rb, line 70
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LinkResourceFormat',
    type: {
      name: 'Composite',
      class_name: 'LinkResourceFormat',
      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'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.tenantId',
          type: {
            name: 'String'
          }
        },
        link_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.linkName',
          type: {
            name: 'String'
          }
        },
        source_entity_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.sourceEntityType',
          type: {
            name: 'Enum',
            module: 'EntityType'
          }
        },
        target_entity_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.targetEntityType',
          type: {
            name: 'Enum',
            module: 'EntityType'
          }
        },
        source_entity_type_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.sourceEntityTypeName',
          type: {
            name: 'String'
          }
        },
        target_entity_type_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.targetEntityTypeName',
          type: {
            name: 'String'
          }
        },
        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'
                }
            }
          }
        },
        mappings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.mappings',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'TypePropertiesMappingElementType',
                type: {
                  name: 'Composite',
                  class_name: 'TypePropertiesMapping'
                }
            }
          }
        },
        participant_property_references: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.participantPropertyReferences',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ParticipantPropertyReferenceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ParticipantPropertyReference'
                }
            }
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        reference_only: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.referenceOnly',
          type: {
            name: 'Boolean'
          }
        },
        operation_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.operationType',
          type: {
            name: 'Enum',
            module: 'InstanceOperationType'
          }
        }
      }
    }
  }
end