azure_mgmt_customer_insights 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/azure_mgmt_customer_insights.rb +6 -0
  4. data/lib/generated/azure_mgmt_customer_insights.rb +144 -0
  5. data/lib/generated/azure_mgmt_customer_insights/authorization_policies.rb +634 -0
  6. data/lib/generated/azure_mgmt_customer_insights/connector_mappings.rb +548 -0
  7. data/lib/generated/azure_mgmt_customer_insights/connectors.rb +606 -0
  8. data/lib/generated/azure_mgmt_customer_insights/customer_insights_management_client.rb +191 -0
  9. data/lib/generated/azure_mgmt_customer_insights/hubs.rb +841 -0
  10. data/lib/generated/azure_mgmt_customer_insights/images.rb +242 -0
  11. data/lib/generated/azure_mgmt_customer_insights/interactions.rb +591 -0
  12. data/lib/generated/azure_mgmt_customer_insights/kpi.rb +689 -0
  13. data/lib/generated/azure_mgmt_customer_insights/links.rb +565 -0
  14. data/lib/generated/azure_mgmt_customer_insights/models/assignment_principal.rb +71 -0
  15. data/lib/generated/azure_mgmt_customer_insights/models/authorization_policy.rb +87 -0
  16. data/lib/generated/azure_mgmt_customer_insights/models/authorization_policy_list_result.rb +95 -0
  17. data/lib/generated/azure_mgmt_customer_insights/models/authorization_policy_resource_format.rb +111 -0
  18. data/lib/generated/azure_mgmt_customer_insights/models/azure_blob_connector_properties.rb +44 -0
  19. data/lib/generated/azure_mgmt_customer_insights/models/calculation_window_types.rb +19 -0
  20. data/lib/generated/azure_mgmt_customer_insights/models/canonical_profile_definition.rb +63 -0
  21. data/lib/generated/azure_mgmt_customer_insights/models/canonical_profile_definition_properties_item.rb +86 -0
  22. data/lib/generated/azure_mgmt_customer_insights/models/canonical_property_value_type.rb +18 -0
  23. data/lib/generated/azure_mgmt_customer_insights/models/cardinality_types.rb +17 -0
  24. data/lib/generated/azure_mgmt_customer_insights/models/completion_operation_types.rb +17 -0
  25. data/lib/generated/azure_mgmt_customer_insights/models/connector_list_result.rb +94 -0
  26. data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_availability.rb +56 -0
  27. data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_complete_operation.rb +57 -0
  28. data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_error_management.rb +57 -0
  29. data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_format.rb +97 -0
  30. data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_list_result.rb +95 -0
  31. data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_properties.rb +131 -0
  32. data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb +226 -0
  33. data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_states.rb +21 -0
  34. data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_structure.rb +74 -0
  35. data/lib/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb +183 -0
  36. data/lib/generated/azure_mgmt_customer_insights/models/connector_states.rb +20 -0
  37. data/lib/generated/azure_mgmt_customer_insights/models/connector_types.rb +20 -0
  38. data/lib/generated/azure_mgmt_customer_insights/models/crm_connector_entities.rb +64 -0
  39. data/lib/generated/azure_mgmt_customer_insights/models/crm_connector_properties.rb +93 -0
  40. data/lib/generated/azure_mgmt_customer_insights/models/data_source_precedence.rb +102 -0
  41. data/lib/generated/azure_mgmt_customer_insights/models/data_source_type.rb +17 -0
  42. data/lib/generated/azure_mgmt_customer_insights/models/enriching_kpi.rb +229 -0
  43. data/lib/generated/azure_mgmt_customer_insights/models/entity_type.rb +18 -0
  44. data/lib/generated/azure_mgmt_customer_insights/models/entity_type_definition.rb +243 -0
  45. data/lib/generated/azure_mgmt_customer_insights/models/entity_types.rb +18 -0
  46. data/lib/generated/azure_mgmt_customer_insights/models/error_management_types.rb +17 -0
  47. data/lib/generated/azure_mgmt_customer_insights/models/frequency_types.rb +19 -0
  48. data/lib/generated/azure_mgmt_customer_insights/models/get_image_upload_url_input.rb +64 -0
  49. data/lib/generated/azure_mgmt_customer_insights/models/hub.rb +135 -0
  50. data/lib/generated/azure_mgmt_customer_insights/models/hub_billing_info_format.rb +74 -0
  51. data/lib/generated/azure_mgmt_customer_insights/models/hub_list_result.rb +94 -0
  52. data/lib/generated/azure_mgmt_customer_insights/models/image_definition.rb +64 -0
  53. data/lib/generated/azure_mgmt_customer_insights/models/instance_operation_type.rb +16 -0
  54. data/lib/generated/azure_mgmt_customer_insights/models/interaction_list_result.rb +95 -0
  55. data/lib/generated/azure_mgmt_customer_insights/models/interaction_resource_format.rb +434 -0
  56. data/lib/generated/azure_mgmt_customer_insights/models/kpi_alias.rb +54 -0
  57. data/lib/generated/azure_mgmt_customer_insights/models/kpi_definition.rb +293 -0
  58. data/lib/generated/azure_mgmt_customer_insights/models/kpi_extract.rb +54 -0
  59. data/lib/generated/azure_mgmt_customer_insights/models/kpi_functions.rb +22 -0
  60. data/lib/generated/azure_mgmt_customer_insights/models/kpi_group_by_metadata.rb +71 -0
  61. data/lib/generated/azure_mgmt_customer_insights/models/kpi_list_result.rb +94 -0
  62. data/lib/generated/azure_mgmt_customer_insights/models/kpi_participant_profiles_metadata.rb +44 -0
  63. data/lib/generated/azure_mgmt_customer_insights/models/kpi_resource_format.rb +317 -0
  64. data/lib/generated/azure_mgmt_customer_insights/models/kpi_thresholds.rb +64 -0
  65. data/lib/generated/azure_mgmt_customer_insights/models/link_list_result.rb +94 -0
  66. data/lib/generated/azure_mgmt_customer_insights/models/link_resource_format.rb +235 -0
  67. data/lib/generated/azure_mgmt_customer_insights/models/link_types.rb +16 -0
  68. data/lib/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb +152 -0
  69. data/lib/generated/azure_mgmt_customer_insights/models/participant.rb +117 -0
  70. data/lib/generated/azure_mgmt_customer_insights/models/participant_profile_property_reference.rb +56 -0
  71. data/lib/generated/azure_mgmt_customer_insights/models/participant_property_reference.rb +54 -0
  72. data/lib/generated/azure_mgmt_customer_insights/models/permission_types.rb +17 -0
  73. data/lib/generated/azure_mgmt_customer_insights/models/prediction_distribution_definition.rb +73 -0
  74. data/lib/generated/azure_mgmt_customer_insights/models/prediction_distribution_definition_distributions_item.rb +85 -0
  75. data/lib/generated/azure_mgmt_customer_insights/models/prediction_grades_item.rb +64 -0
  76. data/lib/generated/azure_mgmt_customer_insights/models/prediction_list_result.rb +95 -0
  77. data/lib/generated/azure_mgmt_customer_insights/models/prediction_mappings.rb +64 -0
  78. data/lib/generated/azure_mgmt_customer_insights/models/prediction_model_life_cycle.rb +32 -0
  79. data/lib/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb +161 -0
  80. data/lib/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb +279 -0
  81. data/lib/generated/azure_mgmt_customer_insights/models/prediction_system_generated_entities.rb +85 -0
  82. data/lib/generated/azure_mgmt_customer_insights/models/prediction_training_results.rb +98 -0
  83. data/lib/generated/azure_mgmt_customer_insights/models/profile_enum_valid_values_format.rb +61 -0
  84. data/lib/generated/azure_mgmt_customer_insights/models/profile_list_result.rb +94 -0
  85. data/lib/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb +312 -0
  86. data/lib/generated/azure_mgmt_customer_insights/models/property_definition.rb +218 -0
  87. data/lib/generated/azure_mgmt_customer_insights/models/provisioning_states.rb +20 -0
  88. data/lib/generated/azure_mgmt_customer_insights/models/proxy_resource.rb +67 -0
  89. data/lib/generated/azure_mgmt_customer_insights/models/relationship_link_field_mapping.rb +66 -0
  90. data/lib/generated/azure_mgmt_customer_insights/models/relationship_link_list_result.rb +95 -0
  91. data/lib/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb +218 -0
  92. data/lib/generated/azure_mgmt_customer_insights/models/relationship_list_result.rb +95 -0
  93. data/lib/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb +219 -0
  94. data/lib/generated/azure_mgmt_customer_insights/models/relationship_type_field_mapping.rb +55 -0
  95. data/lib/generated/azure_mgmt_customer_insights/models/relationship_type_mapping.rb +55 -0
  96. data/lib/generated/azure_mgmt_customer_insights/models/relationships_lookup.rb +107 -0
  97. data/lib/generated/azure_mgmt_customer_insights/models/resource.rb +94 -0
  98. data/lib/generated/azure_mgmt_customer_insights/models/resource_set_description.rb +69 -0
  99. data/lib/generated/azure_mgmt_customer_insights/models/role_assignment_list_result.rb +95 -0
  100. data/lib/generated/azure_mgmt_customer_insights/models/role_assignment_resource_format.rb +306 -0
  101. data/lib/generated/azure_mgmt_customer_insights/models/role_list_result.rb +94 -0
  102. data/lib/generated/azure_mgmt_customer_insights/models/role_resource_format.rb +78 -0
  103. data/lib/generated/azure_mgmt_customer_insights/models/role_types.rb +20 -0
  104. data/lib/generated/azure_mgmt_customer_insights/models/salesforce_connector_properties.rb +63 -0
  105. data/lib/generated/azure_mgmt_customer_insights/models/salesforce_discover_setting.rb +44 -0
  106. data/lib/generated/azure_mgmt_customer_insights/models/salesforce_table.rb +84 -0
  107. data/lib/generated/azure_mgmt_customer_insights/models/status.rb +17 -0
  108. data/lib/generated/azure_mgmt_customer_insights/models/strong_id.rb +95 -0
  109. data/lib/generated/azure_mgmt_customer_insights/models/suggest_relationship_links_response.rb +65 -0
  110. data/lib/generated/azure_mgmt_customer_insights/models/type_properties_mapping.rb +66 -0
  111. data/lib/generated/azure_mgmt_customer_insights/models/view_list_result.rb +94 -0
  112. data/lib/generated/azure_mgmt_customer_insights/models/view_resource_format.rb +139 -0
  113. data/lib/generated/azure_mgmt_customer_insights/models/widget_type_list_result.rb +95 -0
  114. data/lib/generated/azure_mgmt_customer_insights/models/widget_type_resource_format.rb +160 -0
  115. data/lib/generated/azure_mgmt_customer_insights/module_definition.rb +8 -0
  116. data/lib/generated/azure_mgmt_customer_insights/predictions.rb +896 -0
  117. data/lib/generated/azure_mgmt_customer_insights/profiles.rb +733 -0
  118. data/lib/generated/azure_mgmt_customer_insights/relationship_links.rb +610 -0
  119. data/lib/generated/azure_mgmt_customer_insights/relationships.rb +606 -0
  120. data/lib/generated/azure_mgmt_customer_insights/role_assignments.rb +566 -0
  121. data/lib/generated/azure_mgmt_customer_insights/roles.rb +227 -0
  122. data/lib/generated/azure_mgmt_customer_insights/version.rb +8 -0
  123. data/lib/generated/azure_mgmt_customer_insights/views.rb +530 -0
  124. data/lib/generated/azure_mgmt_customer_insights/widget_types.rb +323 -0
  125. metadata +236 -0
@@ -0,0 +1,64 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::CustomerInsights
7
+ module Models
8
+ #
9
+ # Defines the KPI Threshold limits.
10
+ #
11
+ class KpiThresholds
12
+
13
+ include MsRestAzure
14
+
15
+ # @return The lower threshold limit.
16
+ attr_accessor :lower_limit
17
+
18
+ # @return The upper threshold limit.
19
+ attr_accessor :upper_limit
20
+
21
+ # @return [Boolean] Whether or not the KPI is an increasing KPI.
22
+ attr_accessor :increasing_kpi
23
+
24
+
25
+ #
26
+ # Mapper for KpiThresholds class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'KpiThresholds',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'KpiThresholds',
36
+ model_properties: {
37
+ lower_limit: {
38
+ required: true,
39
+ serialized_name: 'lowerLimit',
40
+ type: {
41
+ name: 'Number'
42
+ }
43
+ },
44
+ upper_limit: {
45
+ required: true,
46
+ serialized_name: 'upperLimit',
47
+ type: {
48
+ name: 'Number'
49
+ }
50
+ },
51
+ increasing_kpi: {
52
+ required: true,
53
+ serialized_name: 'increasingKpi',
54
+ type: {
55
+ name: 'Boolean'
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,94 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::CustomerInsights
7
+ module Models
8
+ #
9
+ # The response of list link operation.
10
+ #
11
+ class LinkListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<LinkResourceFormat>] Results of the list operation.
17
+ attr_accessor :value
18
+
19
+ # @return [String] Link to the next set of results.
20
+ attr_accessor :next_link
21
+
22
+ # return [Proc] with next page method call.
23
+ attr_accessor :next_method
24
+
25
+ #
26
+ # Gets the rest of the items for the request, enabling auto-pagination.
27
+ #
28
+ # @return [Array<LinkResourceFormat>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil do
34
+ page = page.get_next_page
35
+ items.concat(page.value)
36
+ end
37
+ items
38
+ end
39
+
40
+ #
41
+ # Gets the next page of results.
42
+ #
43
+ # @return [LinkListResult] with next page content.
44
+ #
45
+ def get_next_page
46
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
47
+ unless response.nil?
48
+ @next_link = response.body.next_link
49
+ @value = response.body.value
50
+ self
51
+ end
52
+ end
53
+
54
+ #
55
+ # Mapper for LinkListResult class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ required: false,
61
+ serialized_name: 'LinkListResult',
62
+ type: {
63
+ name: 'Composite',
64
+ class_name: 'LinkListResult',
65
+ model_properties: {
66
+ value: {
67
+ required: false,
68
+ serialized_name: 'value',
69
+ type: {
70
+ name: 'Sequence',
71
+ element: {
72
+ required: false,
73
+ serialized_name: 'LinkResourceFormatElementType',
74
+ type: {
75
+ name: 'Composite',
76
+ class_name: 'LinkResourceFormat'
77
+ }
78
+ }
79
+ }
80
+ },
81
+ next_link: {
82
+ required: false,
83
+ serialized_name: 'nextLink',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ end
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,235 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::CustomerInsights
7
+ module Models
8
+ #
9
+ # The link resource format.
10
+ #
11
+ class LinkResourceFormat < ProxyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The hub name.
16
+ attr_accessor :tenant_id
17
+
18
+ # @return [String] The link name.
19
+ attr_accessor :link_name
20
+
21
+ # @return [EntityType] Type of source entity. Possible values include:
22
+ # 'None', 'Profile', 'Interaction', 'Relationship'
23
+ attr_accessor :source_entity_type
24
+
25
+ # @return [EntityType] Type of target entity. Possible values include:
26
+ # 'None', 'Profile', 'Interaction', 'Relationship'
27
+ attr_accessor :target_entity_type
28
+
29
+ # @return [String] Name of the source Entity Type.
30
+ attr_accessor :source_entity_type_name
31
+
32
+ # @return [String] Name of the target Entity Type.
33
+ attr_accessor :target_entity_type_name
34
+
35
+ # @return [Hash{String => String}] Localized display name for the Link.
36
+ attr_accessor :display_name
37
+
38
+ # @return [Hash{String => String}] Localized descriptions for the Link.
39
+ attr_accessor :description
40
+
41
+ # @return [Array<TypePropertiesMapping>] The set of properties mappings
42
+ # between the source and target Types.
43
+ attr_accessor :mappings
44
+
45
+ # @return [Array<ParticipantPropertyReference>] The properties that
46
+ # represent the participating profile.
47
+ attr_accessor :participant_property_references
48
+
49
+ # @return [ProvisioningStates] Provisioning state. Possible values
50
+ # include: 'Provisioning', 'Succeeded', 'Expiring', 'Deleting',
51
+ # 'HumanIntervention', 'Failed'
52
+ attr_accessor :provisioning_state
53
+
54
+ # @return [Boolean] Indicating whether the link is reference only link.
55
+ # This flag is ingored if the Mappings are defined. If the mappings are
56
+ # not defined and it is set to true, links processing will not create or
57
+ # update profiles.
58
+ attr_accessor :reference_only
59
+
60
+ # @return [InstanceOperationType] Determines whether this link is
61
+ # supposed to create or delete instances if Link is NOT Reference Only.
62
+ # Possible values include: 'Upsert', 'Delete'
63
+ attr_accessor :operation_type
64
+
65
+
66
+ #
67
+ # Mapper for LinkResourceFormat class as Ruby Hash.
68
+ # This will be used for serialization/deserialization.
69
+ #
70
+ def self.mapper()
71
+ {
72
+ required: false,
73
+ serialized_name: 'LinkResourceFormat',
74
+ type: {
75
+ name: 'Composite',
76
+ class_name: 'LinkResourceFormat',
77
+ model_properties: {
78
+ id: {
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'id',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ name: {
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'name',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ type: {
95
+ required: false,
96
+ read_only: true,
97
+ serialized_name: 'type',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ },
102
+ tenant_id: {
103
+ required: false,
104
+ read_only: true,
105
+ serialized_name: 'properties.tenantId',
106
+ type: {
107
+ name: 'String'
108
+ }
109
+ },
110
+ link_name: {
111
+ required: false,
112
+ read_only: true,
113
+ serialized_name: 'properties.linkName',
114
+ type: {
115
+ name: 'String'
116
+ }
117
+ },
118
+ source_entity_type: {
119
+ required: true,
120
+ serialized_name: 'properties.sourceEntityType',
121
+ type: {
122
+ name: 'Enum',
123
+ module: 'EntityType'
124
+ }
125
+ },
126
+ target_entity_type: {
127
+ required: true,
128
+ serialized_name: 'properties.targetEntityType',
129
+ type: {
130
+ name: 'Enum',
131
+ module: 'EntityType'
132
+ }
133
+ },
134
+ source_entity_type_name: {
135
+ required: true,
136
+ serialized_name: 'properties.sourceEntityTypeName',
137
+ type: {
138
+ name: 'String'
139
+ }
140
+ },
141
+ target_entity_type_name: {
142
+ required: true,
143
+ serialized_name: 'properties.targetEntityTypeName',
144
+ type: {
145
+ name: 'String'
146
+ }
147
+ },
148
+ display_name: {
149
+ required: false,
150
+ serialized_name: 'properties.displayName',
151
+ type: {
152
+ name: 'Dictionary',
153
+ value: {
154
+ required: false,
155
+ serialized_name: 'StringElementType',
156
+ type: {
157
+ name: 'String'
158
+ }
159
+ }
160
+ }
161
+ },
162
+ description: {
163
+ required: false,
164
+ serialized_name: 'properties.description',
165
+ type: {
166
+ name: 'Dictionary',
167
+ value: {
168
+ required: false,
169
+ serialized_name: 'StringElementType',
170
+ type: {
171
+ name: 'String'
172
+ }
173
+ }
174
+ }
175
+ },
176
+ mappings: {
177
+ required: false,
178
+ serialized_name: 'properties.mappings',
179
+ type: {
180
+ name: 'Sequence',
181
+ element: {
182
+ required: false,
183
+ serialized_name: 'TypePropertiesMappingElementType',
184
+ type: {
185
+ name: 'Composite',
186
+ class_name: 'TypePropertiesMapping'
187
+ }
188
+ }
189
+ }
190
+ },
191
+ participant_property_references: {
192
+ required: true,
193
+ serialized_name: 'properties.participantPropertyReferences',
194
+ type: {
195
+ name: 'Sequence',
196
+ element: {
197
+ required: false,
198
+ serialized_name: 'ParticipantPropertyReferenceElementType',
199
+ type: {
200
+ name: 'Composite',
201
+ class_name: 'ParticipantPropertyReference'
202
+ }
203
+ }
204
+ }
205
+ },
206
+ provisioning_state: {
207
+ required: false,
208
+ read_only: true,
209
+ serialized_name: 'properties.provisioningState',
210
+ type: {
211
+ name: 'String'
212
+ }
213
+ },
214
+ reference_only: {
215
+ required: false,
216
+ serialized_name: 'properties.referenceOnly',
217
+ type: {
218
+ name: 'Boolean'
219
+ }
220
+ },
221
+ operation_type: {
222
+ required: false,
223
+ serialized_name: 'properties.operationType',
224
+ type: {
225
+ name: 'Enum',
226
+ module: 'InstanceOperationType'
227
+ }
228
+ }
229
+ }
230
+ }
231
+ }
232
+ end
233
+ end
234
+ end
235
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::CustomerInsights
7
+ module Models
8
+ #
9
+ # Defines values for LinkTypes
10
+ #
11
+ module LinkTypes
12
+ UpdateAlways = "UpdateAlways"
13
+ CopyIfNull = "CopyIfNull"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,152 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::CustomerInsights
7
+ module Models
8
+ #
9
+ # The Metadata definition base.
10
+ #
11
+ class MetadataDefinitionBase
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => Array<String>}] The attributes for the Type.
16
+ attr_accessor :attributes
17
+
18
+ # @return [Hash{String => String}] Localized descriptions for the
19
+ # property.
20
+ attr_accessor :description
21
+
22
+ # @return [Hash{String => String}] Localized display names for the
23
+ # property.
24
+ attr_accessor :display_name
25
+
26
+ # @return [Hash{String => Hash{String => String}}] Any custom localized
27
+ # attributes for the Type.
28
+ attr_accessor :localized_attributes
29
+
30
+ # @return [String] Small Image associated with the Property or
31
+ # EntityType.
32
+ attr_accessor :small_image
33
+
34
+ # @return [String] Medium Image associated with the Property or
35
+ # EntityType.
36
+ attr_accessor :medium_image
37
+
38
+ # @return [String] Large Image associated with the Property or
39
+ # EntityType.
40
+ attr_accessor :large_image
41
+
42
+
43
+ #
44
+ # Mapper for MetadataDefinitionBase class as Ruby Hash.
45
+ # This will be used for serialization/deserialization.
46
+ #
47
+ def self.mapper()
48
+ {
49
+ required: false,
50
+ serialized_name: 'MetadataDefinitionBase',
51
+ type: {
52
+ name: 'Composite',
53
+ class_name: 'MetadataDefinitionBase',
54
+ model_properties: {
55
+ attributes: {
56
+ required: false,
57
+ serialized_name: 'attributes',
58
+ type: {
59
+ name: 'Dictionary',
60
+ value: {
61
+ required: false,
62
+ serialized_name: 'ArrayElementType',
63
+ type: {
64
+ name: 'Sequence',
65
+ element: {
66
+ required: false,
67
+ serialized_name: 'StringElementType',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ },
76
+ description: {
77
+ required: false,
78
+ serialized_name: 'description',
79
+ type: {
80
+ name: 'Dictionary',
81
+ value: {
82
+ required: false,
83
+ serialized_name: 'StringElementType',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ }
88
+ }
89
+ },
90
+ display_name: {
91
+ required: false,
92
+ serialized_name: 'displayName',
93
+ type: {
94
+ name: 'Dictionary',
95
+ value: {
96
+ required: false,
97
+ serialized_name: 'StringElementType',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ }
102
+ }
103
+ },
104
+ localized_attributes: {
105
+ required: false,
106
+ serialized_name: 'localizedAttributes',
107
+ type: {
108
+ name: 'Dictionary',
109
+ value: {
110
+ required: false,
111
+ serialized_name: 'HashElementType',
112
+ type: {
113
+ name: 'Dictionary',
114
+ value: {
115
+ required: false,
116
+ serialized_name: 'StringElementType',
117
+ type: {
118
+ name: 'String'
119
+ }
120
+ }
121
+ }
122
+ }
123
+ }
124
+ },
125
+ small_image: {
126
+ required: false,
127
+ serialized_name: 'smallImage',
128
+ type: {
129
+ name: 'String'
130
+ }
131
+ },
132
+ medium_image: {
133
+ required: false,
134
+ serialized_name: 'mediumImage',
135
+ type: {
136
+ name: 'String'
137
+ }
138
+ },
139
+ large_image: {
140
+ required: false,
141
+ serialized_name: 'largeImage',
142
+ type: {
143
+ name: 'String'
144
+ }
145
+ }
146
+ }
147
+ }
148
+ }
149
+ end
150
+ end
151
+ end
152
+ end