Class: Azure::ARM::CustomerInsights::Models::CanonicalProfileDefinitionPropertiesItem

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_customer_insights/models/canonical_profile_definition_properties_item.rb

Overview

The definition of a canonical profile property.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#profile_nameString

Returns Profile name.

Returns:

  • (String)

    Profile name.



16
17
18
# File 'lib/generated/azure_mgmt_customer_insights/models/canonical_profile_definition_properties_item.rb', line 16

def profile_name
  @profile_name
end

#profile_property_nameString

Returns Property name of profile.

Returns:

  • (String)

    Property name of profile.



19
20
21
# File 'lib/generated/azure_mgmt_customer_insights/models/canonical_profile_definition_properties_item.rb', line 19

def profile_property_name
  @profile_property_name
end

#rankInteger

Returns The rank.

Returns:

  • (Integer)

    The rank.



22
23
24
# File 'lib/generated/azure_mgmt_customer_insights/models/canonical_profile_definition_properties_item.rb', line 22

def rank
  @rank
end

#typeCanonicalPropertyValueType

Possible values include: ‘Numeric’, ‘Categorical’, ‘DerivedCategorical’, ‘DerivedNumeric’

Returns:



27
28
29
# File 'lib/generated/azure_mgmt_customer_insights/models/canonical_profile_definition_properties_item.rb', line 27

def type
  @type
end

#valueString

Returns Value of the canonical property.

Returns:

  • (String)

    Value of the canonical property.



30
31
32
# File 'lib/generated/azure_mgmt_customer_insights/models/canonical_profile_definition_properties_item.rb', line 30

def value
  @value
end

Class Method Details

.mapperObject

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



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# File 'lib/generated/azure_mgmt_customer_insights/models/canonical_profile_definition_properties_item.rb', line 37

def self.mapper()
  {
    required: false,
    serialized_name: 'CanonicalProfileDefinition_propertiesItem',
    type: {
      name: 'Composite',
      class_name: 'CanonicalProfileDefinitionPropertiesItem',
      model_properties: {
        profile_name: {
          required: false,
          serialized_name: 'profileName',
          type: {
            name: 'String'
          }
        },
        profile_property_name: {
          required: false,
          serialized_name: 'profilePropertyName',
          type: {
            name: 'String'
          }
        },
        rank: {
          required: false,
          serialized_name: 'rank',
          type: {
            name: 'Number'
          }
        },
        type: {
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        value: {
          required: false,
          serialized_name: 'value',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end