azure_mgmt_customer_insights 0.15.2 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights.rb +132 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/authorization_policies.rb +641 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/connector_mappings.rb +554 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/connectors.rb +612 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/customer_insights_management_client.rb +192 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/hubs.rb +848 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/images.rb +240 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/interactions.rb +597 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/kpi.rb +696 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/links.rb +571 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/assignment_principal.rb +76 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/authorization_policy.rb +93 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/authorization_policy_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/authorization_policy_resource_format.rb +120 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/azure_blob_connector_properties.rb +46 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/calculation_window_types.rb +19 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/cardinality_types.rb +17 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/completion_operation_types.rb +17 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_list_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_availability.rb +59 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_complete_operation.rb +60 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_error_management.rb +60 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_format.rb +104 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_properties.rb +141 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb +245 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_states.rb +21 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_structure.rb +79 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb +199 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_states.rb +20 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_types.rb +20 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/crm_connector_entities.rb +68 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/crm_connector_properties.rb +100 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_precedence.rb +109 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_type.rb +17 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/enriching_kpi.rb +256 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/entity_type_definition.rb +268 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/entity_types.rb +18 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/error_management_types.rb +17 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/frequency_types.rb +19 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/get_image_upload_url_input.rb +68 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub.rb +147 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub_billing_info_format.rb +78 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub_list_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/image_definition.rb +68 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/instance_operation_type.rb +16 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/interaction_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/interaction_resource_format.rb +475 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_alias.rb +57 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_definition.rb +320 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_extract.rb +57 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_functions.rb +22 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_group_by_metadata.rb +76 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_list_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_participant_profiles_metadata.rb +46 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_resource_format.rb +347 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_thresholds.rb +68 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/link_list_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/link_resource_format.rb +230 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/link_types.rb +16 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb +166 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/operation.rb +59 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/operation_display.rb +72 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/operation_list_result.rb +103 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant.rb +127 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant_property_reference.rb +59 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/permission_types.rb +17 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_enum_valid_values_format.rb +65 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_list_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb +342 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/property_definition.rb +237 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/provisioning_states.rb +20 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/proxy_resource.rb +71 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_link_field_mapping.rb +70 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_link_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb +238 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb +239 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_type_field_mapping.rb +58 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_type_mapping.rb +58 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationships_lookup.rb +115 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/resource.rb +101 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/resource_set_description.rb +74 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_assignment_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_assignment_resource_format.rb +333 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_list_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_resource_format.rb +84 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_types.rb +20 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/salesforce_connector_properties.rb +67 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/salesforce_discover_setting.rb +46 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/salesforce_table.rb +90 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/status.rb +17 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/strong_id.rb +103 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/suggest_relationship_links_response.rb +69 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/type_properties_mapping.rb +82 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/view_list_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/view_resource_format.rb +151 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/widget_type_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/widget_type_resource_format.rb +174 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/module_definition.rb +9 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/operations.rb +218 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/profiles.rb +742 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/relationship_links.rb +616 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/relationships.rb +612 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/role_assignments.rb +572 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/roles.rb +229 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/views.rb +535 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/widget_types.rb +326 -0
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/authorization_policies.rb +39 -35
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/connector_mappings.rb +33 -30
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/connectors.rb +41 -38
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/customer_insights_management_client.rb +4 -1
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/hubs.rb +58 -54
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/images.rb +12 -14
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/interactions.rb +37 -34
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/kpi.rb +47 -43
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/links.rb +37 -34
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/operations.rb +15 -13
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb +59 -55
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/profiles.rb +47 -43
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/relationship_links.rb +41 -38
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/relationships.rb +41 -38
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/role_assignments.rb +37 -34
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/roles.rb +15 -13
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/views.rb +33 -30
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/widget_types.rb +21 -18
- data/lib/azure_mgmt_customer_insights.rb +1 -0
- data/lib/profiles/latest/customerinsights_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/customerinsights_module_definition.rb +0 -1
- data/lib/profiles/latest/modules/customerinsights_profile_module.rb +356 -337
- data/lib/version.rb +1 -1
- metadata +110 -2
@@ -0,0 +1,17 @@
|
|
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::CustomerInsights::Mgmt::V2017_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for DataSourceType
|
10
|
+
#
|
11
|
+
module DataSourceType
|
12
|
+
Connector = "Connector"
|
13
|
+
LinkInteraction = "LinkInteraction"
|
14
|
+
SystemDefault = "SystemDefault"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,256 @@
|
|
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::CustomerInsights::Mgmt::V2017_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The enriching KPI definition.
|
10
|
+
#
|
11
|
+
class EnrichingKpi < KpiDefinition
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
#
|
17
|
+
# Mapper for EnrichingKpi class as Ruby Hash.
|
18
|
+
# This will be used for serialization/deserialization.
|
19
|
+
#
|
20
|
+
def self.mapper()
|
21
|
+
{
|
22
|
+
client_side_validation: true,
|
23
|
+
required: false,
|
24
|
+
serialized_name: 'EnrichingKpi',
|
25
|
+
type: {
|
26
|
+
name: 'Composite',
|
27
|
+
class_name: 'EnrichingKpi',
|
28
|
+
model_properties: {
|
29
|
+
entity_type: {
|
30
|
+
client_side_validation: true,
|
31
|
+
required: true,
|
32
|
+
serialized_name: 'entityType',
|
33
|
+
type: {
|
34
|
+
name: 'Enum',
|
35
|
+
module: 'EntityTypes'
|
36
|
+
}
|
37
|
+
},
|
38
|
+
entity_type_name: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: true,
|
41
|
+
serialized_name: 'entityTypeName',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
tenant_id: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
read_only: true,
|
50
|
+
serialized_name: 'tenantId',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
kpi_name: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'kpiName',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
display_name: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'displayName',
|
68
|
+
type: {
|
69
|
+
name: 'Dictionary',
|
70
|
+
value: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'StringElementType',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
},
|
80
|
+
description: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'description',
|
84
|
+
type: {
|
85
|
+
name: 'Dictionary',
|
86
|
+
value: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'StringElementType',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
},
|
96
|
+
calculation_window: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: true,
|
99
|
+
serialized_name: 'calculationWindow',
|
100
|
+
type: {
|
101
|
+
name: 'Enum',
|
102
|
+
module: 'CalculationWindowTypes'
|
103
|
+
}
|
104
|
+
},
|
105
|
+
calculation_window_field_name: {
|
106
|
+
client_side_validation: true,
|
107
|
+
required: false,
|
108
|
+
serialized_name: 'calculationWindowFieldName',
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
},
|
113
|
+
function: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: true,
|
116
|
+
serialized_name: 'function',
|
117
|
+
type: {
|
118
|
+
name: 'Enum',
|
119
|
+
module: 'KpiFunctions'
|
120
|
+
}
|
121
|
+
},
|
122
|
+
expression: {
|
123
|
+
client_side_validation: true,
|
124
|
+
required: true,
|
125
|
+
serialized_name: 'expression',
|
126
|
+
type: {
|
127
|
+
name: 'String'
|
128
|
+
}
|
129
|
+
},
|
130
|
+
unit: {
|
131
|
+
client_side_validation: true,
|
132
|
+
required: false,
|
133
|
+
serialized_name: 'unit',
|
134
|
+
type: {
|
135
|
+
name: 'String'
|
136
|
+
}
|
137
|
+
},
|
138
|
+
filter: {
|
139
|
+
client_side_validation: true,
|
140
|
+
required: false,
|
141
|
+
serialized_name: 'filter',
|
142
|
+
type: {
|
143
|
+
name: 'String'
|
144
|
+
}
|
145
|
+
},
|
146
|
+
group_by: {
|
147
|
+
client_side_validation: true,
|
148
|
+
required: false,
|
149
|
+
serialized_name: 'groupBy',
|
150
|
+
type: {
|
151
|
+
name: 'Sequence',
|
152
|
+
element: {
|
153
|
+
client_side_validation: true,
|
154
|
+
required: false,
|
155
|
+
serialized_name: 'StringElementType',
|
156
|
+
type: {
|
157
|
+
name: 'String'
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
},
|
162
|
+
group_by_metadata: {
|
163
|
+
client_side_validation: true,
|
164
|
+
required: false,
|
165
|
+
read_only: true,
|
166
|
+
serialized_name: 'groupByMetadata',
|
167
|
+
type: {
|
168
|
+
name: 'Sequence',
|
169
|
+
element: {
|
170
|
+
client_side_validation: true,
|
171
|
+
required: false,
|
172
|
+
serialized_name: 'KpiGroupByMetadataElementType',
|
173
|
+
type: {
|
174
|
+
name: 'Composite',
|
175
|
+
class_name: 'KpiGroupByMetadata'
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
},
|
180
|
+
participant_profiles_metadata: {
|
181
|
+
client_side_validation: true,
|
182
|
+
required: false,
|
183
|
+
read_only: true,
|
184
|
+
serialized_name: 'participantProfilesMetadata',
|
185
|
+
type: {
|
186
|
+
name: 'Sequence',
|
187
|
+
element: {
|
188
|
+
client_side_validation: true,
|
189
|
+
required: false,
|
190
|
+
serialized_name: 'KpiParticipantProfilesMetadataElementType',
|
191
|
+
type: {
|
192
|
+
name: 'Composite',
|
193
|
+
class_name: 'KpiParticipantProfilesMetadata'
|
194
|
+
}
|
195
|
+
}
|
196
|
+
}
|
197
|
+
},
|
198
|
+
provisioning_state: {
|
199
|
+
client_side_validation: true,
|
200
|
+
required: false,
|
201
|
+
read_only: true,
|
202
|
+
serialized_name: 'provisioningState',
|
203
|
+
type: {
|
204
|
+
name: 'String'
|
205
|
+
}
|
206
|
+
},
|
207
|
+
thres_holds: {
|
208
|
+
client_side_validation: true,
|
209
|
+
required: false,
|
210
|
+
serialized_name: 'thresHolds',
|
211
|
+
type: {
|
212
|
+
name: 'Composite',
|
213
|
+
class_name: 'KpiThresholds'
|
214
|
+
}
|
215
|
+
},
|
216
|
+
aliases: {
|
217
|
+
client_side_validation: true,
|
218
|
+
required: false,
|
219
|
+
serialized_name: 'aliases',
|
220
|
+
type: {
|
221
|
+
name: 'Sequence',
|
222
|
+
element: {
|
223
|
+
client_side_validation: true,
|
224
|
+
required: false,
|
225
|
+
serialized_name: 'KpiAliasElementType',
|
226
|
+
type: {
|
227
|
+
name: 'Composite',
|
228
|
+
class_name: 'KpiAlias'
|
229
|
+
}
|
230
|
+
}
|
231
|
+
}
|
232
|
+
},
|
233
|
+
extracts: {
|
234
|
+
client_side_validation: true,
|
235
|
+
required: false,
|
236
|
+
serialized_name: 'extracts',
|
237
|
+
type: {
|
238
|
+
name: 'Sequence',
|
239
|
+
element: {
|
240
|
+
client_side_validation: true,
|
241
|
+
required: false,
|
242
|
+
serialized_name: 'KpiExtractElementType',
|
243
|
+
type: {
|
244
|
+
name: 'Composite',
|
245
|
+
class_name: 'KpiExtract'
|
246
|
+
}
|
247
|
+
}
|
248
|
+
}
|
249
|
+
}
|
250
|
+
}
|
251
|
+
}
|
252
|
+
}
|
253
|
+
end
|
254
|
+
end
|
255
|
+
end
|
256
|
+
end
|
@@ -0,0 +1,268 @@
|
|
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::CustomerInsights::Mgmt::V2017_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Describes an entity.
|
10
|
+
#
|
11
|
+
class EntityTypeDefinition < MetadataDefinitionBase
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The api entity set name. This becomes the odata entity
|
16
|
+
# set name for the entity Type being refered in this object.
|
17
|
+
attr_accessor :api_entity_set_name
|
18
|
+
|
19
|
+
# @return [EntityTypes] Type of entity. Possible values include: 'None',
|
20
|
+
# 'Profile', 'Interaction', 'Relationship'
|
21
|
+
attr_accessor :entity_type
|
22
|
+
|
23
|
+
# @return [Array<PropertyDefinition>] The properties of the Profile.
|
24
|
+
attr_accessor :fields
|
25
|
+
|
26
|
+
# @return [Integer] The instance count.
|
27
|
+
attr_accessor :instances_count
|
28
|
+
|
29
|
+
# @return [DateTime] The last changed time for the type definition.
|
30
|
+
attr_accessor :last_changed_utc
|
31
|
+
|
32
|
+
# @return [ProvisioningStates] Provisioning state. Possible values
|
33
|
+
# include: 'Provisioning', 'Succeeded', 'Expiring', 'Deleting',
|
34
|
+
# 'HumanIntervention', 'Failed'
|
35
|
+
attr_accessor :provisioning_state
|
36
|
+
|
37
|
+
# @return [String] The schema org link. This helps ACI identify and
|
38
|
+
# suggest semantic models.
|
39
|
+
attr_accessor :schema_item_type_link
|
40
|
+
|
41
|
+
# @return [String] The hub name.
|
42
|
+
attr_accessor :tenant_id
|
43
|
+
|
44
|
+
# @return [String] The timestamp property name. Represents the time when
|
45
|
+
# the interaction or profile update happened.
|
46
|
+
attr_accessor :timestamp_field_name
|
47
|
+
|
48
|
+
# @return [String] The name of the entity.
|
49
|
+
attr_accessor :type_name
|
50
|
+
|
51
|
+
|
52
|
+
#
|
53
|
+
# Mapper for EntityTypeDefinition class as Ruby Hash.
|
54
|
+
# This will be used for serialization/deserialization.
|
55
|
+
#
|
56
|
+
def self.mapper()
|
57
|
+
{
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'EntityTypeDefinition',
|
61
|
+
type: {
|
62
|
+
name: 'Composite',
|
63
|
+
class_name: 'EntityTypeDefinition',
|
64
|
+
model_properties: {
|
65
|
+
attributes: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'attributes',
|
69
|
+
type: {
|
70
|
+
name: 'Dictionary',
|
71
|
+
value: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'ArrayElementType',
|
75
|
+
type: {
|
76
|
+
name: 'Sequence',
|
77
|
+
element: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'StringElementType',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
},
|
89
|
+
description: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'description',
|
93
|
+
type: {
|
94
|
+
name: 'Dictionary',
|
95
|
+
value: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'StringElementType',
|
99
|
+
type: {
|
100
|
+
name: 'String'
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
},
|
105
|
+
display_name: {
|
106
|
+
client_side_validation: true,
|
107
|
+
required: false,
|
108
|
+
serialized_name: 'displayName',
|
109
|
+
type: {
|
110
|
+
name: 'Dictionary',
|
111
|
+
value: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
serialized_name: 'StringElementType',
|
115
|
+
type: {
|
116
|
+
name: 'String'
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
},
|
121
|
+
localized_attributes: {
|
122
|
+
client_side_validation: true,
|
123
|
+
required: false,
|
124
|
+
serialized_name: 'localizedAttributes',
|
125
|
+
type: {
|
126
|
+
name: 'Dictionary',
|
127
|
+
value: {
|
128
|
+
client_side_validation: true,
|
129
|
+
required: false,
|
130
|
+
serialized_name: 'HashElementType',
|
131
|
+
type: {
|
132
|
+
name: 'Dictionary',
|
133
|
+
value: {
|
134
|
+
client_side_validation: true,
|
135
|
+
required: false,
|
136
|
+
serialized_name: 'StringElementType',
|
137
|
+
type: {
|
138
|
+
name: 'String'
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
},
|
145
|
+
small_image: {
|
146
|
+
client_side_validation: true,
|
147
|
+
required: false,
|
148
|
+
serialized_name: 'smallImage',
|
149
|
+
type: {
|
150
|
+
name: 'String'
|
151
|
+
}
|
152
|
+
},
|
153
|
+
medium_image: {
|
154
|
+
client_side_validation: true,
|
155
|
+
required: false,
|
156
|
+
serialized_name: 'mediumImage',
|
157
|
+
type: {
|
158
|
+
name: 'String'
|
159
|
+
}
|
160
|
+
},
|
161
|
+
large_image: {
|
162
|
+
client_side_validation: true,
|
163
|
+
required: false,
|
164
|
+
serialized_name: 'largeImage',
|
165
|
+
type: {
|
166
|
+
name: 'String'
|
167
|
+
}
|
168
|
+
},
|
169
|
+
api_entity_set_name: {
|
170
|
+
client_side_validation: true,
|
171
|
+
required: false,
|
172
|
+
serialized_name: 'apiEntitySetName',
|
173
|
+
type: {
|
174
|
+
name: 'String'
|
175
|
+
}
|
176
|
+
},
|
177
|
+
entity_type: {
|
178
|
+
client_side_validation: true,
|
179
|
+
required: false,
|
180
|
+
serialized_name: 'entityType',
|
181
|
+
type: {
|
182
|
+
name: 'Enum',
|
183
|
+
module: 'EntityTypes'
|
184
|
+
}
|
185
|
+
},
|
186
|
+
fields: {
|
187
|
+
client_side_validation: true,
|
188
|
+
required: false,
|
189
|
+
serialized_name: 'fields',
|
190
|
+
type: {
|
191
|
+
name: 'Sequence',
|
192
|
+
element: {
|
193
|
+
client_side_validation: true,
|
194
|
+
required: false,
|
195
|
+
serialized_name: 'PropertyDefinitionElementType',
|
196
|
+
type: {
|
197
|
+
name: 'Composite',
|
198
|
+
class_name: 'PropertyDefinition'
|
199
|
+
}
|
200
|
+
}
|
201
|
+
}
|
202
|
+
},
|
203
|
+
instances_count: {
|
204
|
+
client_side_validation: true,
|
205
|
+
required: false,
|
206
|
+
serialized_name: 'instancesCount',
|
207
|
+
type: {
|
208
|
+
name: 'Number'
|
209
|
+
}
|
210
|
+
},
|
211
|
+
last_changed_utc: {
|
212
|
+
client_side_validation: true,
|
213
|
+
required: false,
|
214
|
+
read_only: true,
|
215
|
+
serialized_name: 'lastChangedUtc',
|
216
|
+
type: {
|
217
|
+
name: 'DateTime'
|
218
|
+
}
|
219
|
+
},
|
220
|
+
provisioning_state: {
|
221
|
+
client_side_validation: true,
|
222
|
+
required: false,
|
223
|
+
read_only: true,
|
224
|
+
serialized_name: 'provisioningState',
|
225
|
+
type: {
|
226
|
+
name: 'String'
|
227
|
+
}
|
228
|
+
},
|
229
|
+
schema_item_type_link: {
|
230
|
+
client_side_validation: true,
|
231
|
+
required: false,
|
232
|
+
serialized_name: 'schemaItemTypeLink',
|
233
|
+
type: {
|
234
|
+
name: 'String'
|
235
|
+
}
|
236
|
+
},
|
237
|
+
tenant_id: {
|
238
|
+
client_side_validation: true,
|
239
|
+
required: false,
|
240
|
+
read_only: true,
|
241
|
+
serialized_name: 'tenantId',
|
242
|
+
type: {
|
243
|
+
name: 'String'
|
244
|
+
}
|
245
|
+
},
|
246
|
+
timestamp_field_name: {
|
247
|
+
client_side_validation: true,
|
248
|
+
required: false,
|
249
|
+
serialized_name: 'timestampFieldName',
|
250
|
+
type: {
|
251
|
+
name: 'String'
|
252
|
+
}
|
253
|
+
},
|
254
|
+
type_name: {
|
255
|
+
client_side_validation: true,
|
256
|
+
required: false,
|
257
|
+
serialized_name: 'typeName',
|
258
|
+
type: {
|
259
|
+
name: 'String'
|
260
|
+
}
|
261
|
+
}
|
262
|
+
}
|
263
|
+
}
|
264
|
+
}
|
265
|
+
end
|
266
|
+
end
|
267
|
+
end
|
268
|
+
end
|