class Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalProfileDefinition

Definition of canonical profile.

Attributes

canonical_profile_id[RW]

@return [Integer] Canonical profile ID.

properties[RW]

@return [Array<CanonicalProfileDefinitionPropertiesItem>] Properties of the canonical profile.

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-04-26/generated/azure_mgmt_customer_insights/models/canonical_profile_definition.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CanonicalProfileDefinition',
    type: {
      name: 'Composite',
      class_name: 'CanonicalProfileDefinition',
      model_properties: {
        canonical_profile_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'canonicalProfileId',
          type: {
            name: 'Number'
          }
        },
        properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'CanonicalProfileDefinitionPropertiesItemElementType',
                type: {
                  name: 'Composite',
                  class_name: 'CanonicalProfileDefinitionPropertiesItem'
                }
            }
          }
        }
      }
    }
  }
end