Class: Azure::CustomerInsights::Mgmt::V2017_01_01::Models::MetadataDefinitionBase

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-01/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb

Overview

The Metadata definition base.

Direct Known Subclasses

EntityTypeDefinition

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#attributesHash{String => Array<String>}

Returns The attributes for the Type.

Returns:

  • (Hash{String => Array<String>})

    The attributes for the Type.



16
17
18
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb', line 16

def attributes
  @attributes
end

#descriptionHash{String => String}

property.

Returns:

  • (Hash{String => String})

    Localized descriptions for the



20
21
22
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb', line 20

def description
  @description
end

#display_nameHash{String => String}

property.

Returns:

  • (Hash{String => String})

    Localized display names for the



24
25
26
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb', line 24

def display_name
  @display_name
end

#large_imageString

EntityType.

Returns:

  • (String)

    Large Image associated with the Property or



40
41
42
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb', line 40

def large_image
  @large_image
end

#localized_attributesHash{String => Hash{String => String}}

attributes for the Type.

Returns:

  • (Hash{String => Hash{String => String}})

    Any custom localized



28
29
30
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb', line 28

def localized_attributes
  @localized_attributes
end

#medium_imageString

EntityType.

Returns:

  • (String)

    Medium Image associated with the Property or



36
37
38
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb', line 36

def medium_image
  @medium_image
end

#small_imageString

EntityType.

Returns:

  • (String)

    Small Image associated with the Property or



32
33
34
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb', line 32

def small_image
  @small_image
end

Class Method Details

.mapperObject

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



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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb', line 47

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MetadataDefinitionBase',
    type: {
      name: 'Composite',
      class_name: 'MetadataDefinitionBase',
      model_properties: {
        attributes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'attributes',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ArrayElementType',
                type: {
                  name: 'Sequence',
                  element: {
                      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'
                }
            }
          }
        },
        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'
                }
            }
          }
        },
        localized_attributes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'localizedAttributes',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HashElementType',
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
            }
          }
        },
        small_image: {
          client_side_validation: true,
          required: false,
          serialized_name: 'smallImage',
          type: {
            name: 'String'
          }
        },
        medium_image: {
          client_side_validation: true,
          required: false,
          serialized_name: 'mediumImage',
          type: {
            name: 'String'
          }
        },
        large_image: {
          client_side_validation: true,
          required: false,
          serialized_name: 'largeImage',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end