Class: Azure::CustomerInsights::Mgmt::V2017_04_26::Models::StrongId

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-04-26/generated/azure_mgmt_customer_insights/models/strong_id.rb

Overview

Property/Properties which represent a unique ID.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionHash{String => String}

Returns Localized descriptions.

Returns:

  • (Hash{String => String})

    Localized descriptions.



25
26
27
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/strong_id.rb', line 25

def description
  @description
end

#display_nameHash{String => String}

Returns Localized display name.

Returns:

  • (Hash{String => String})

    Localized display name.



22
23
24
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/strong_id.rb', line 22

def display_name
  @display_name
end

#key_property_namesArray<String>

Returns The properties which make up the unique ID.

Returns:

  • (Array<String>)

    The properties which make up the unique ID.



16
17
18
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/strong_id.rb', line 16

def key_property_names
  @key_property_names
end

#strong_id_nameString

Returns The Name identifying the strong ID.

Returns:

  • (String)

    The Name identifying the strong ID.



19
20
21
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/strong_id.rb', line 19

def strong_id_name
  @strong_id_name
end

Class Method Details

.mapperObject

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



32
33
34
35
36
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/strong_id.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StrongId',
    type: {
      name: 'Composite',
      class_name: 'StrongId',
      model_properties: {
        key_property_names: {
          client_side_validation: true,
          required: true,
          serialized_name: 'keyPropertyNames',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        strong_id_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'strongIdName',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: '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: 'description',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end