azure_mgmt_customer_insights 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/azure_mgmt_customer_insights.rb +6 -0
- data/lib/generated/azure_mgmt_customer_insights.rb +144 -0
- data/lib/generated/azure_mgmt_customer_insights/authorization_policies.rb +634 -0
- data/lib/generated/azure_mgmt_customer_insights/connector_mappings.rb +548 -0
- data/lib/generated/azure_mgmt_customer_insights/connectors.rb +606 -0
- data/lib/generated/azure_mgmt_customer_insights/customer_insights_management_client.rb +191 -0
- data/lib/generated/azure_mgmt_customer_insights/hubs.rb +841 -0
- data/lib/generated/azure_mgmt_customer_insights/images.rb +242 -0
- data/lib/generated/azure_mgmt_customer_insights/interactions.rb +591 -0
- data/lib/generated/azure_mgmt_customer_insights/kpi.rb +689 -0
- data/lib/generated/azure_mgmt_customer_insights/links.rb +565 -0
- data/lib/generated/azure_mgmt_customer_insights/models/assignment_principal.rb +71 -0
- data/lib/generated/azure_mgmt_customer_insights/models/authorization_policy.rb +87 -0
- data/lib/generated/azure_mgmt_customer_insights/models/authorization_policy_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_customer_insights/models/authorization_policy_resource_format.rb +111 -0
- data/lib/generated/azure_mgmt_customer_insights/models/azure_blob_connector_properties.rb +44 -0
- data/lib/generated/azure_mgmt_customer_insights/models/calculation_window_types.rb +19 -0
- data/lib/generated/azure_mgmt_customer_insights/models/canonical_profile_definition.rb +63 -0
- data/lib/generated/azure_mgmt_customer_insights/models/canonical_profile_definition_properties_item.rb +86 -0
- data/lib/generated/azure_mgmt_customer_insights/models/canonical_property_value_type.rb +18 -0
- data/lib/generated/azure_mgmt_customer_insights/models/cardinality_types.rb +17 -0
- data/lib/generated/azure_mgmt_customer_insights/models/completion_operation_types.rb +17 -0
- data/lib/generated/azure_mgmt_customer_insights/models/connector_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_availability.rb +56 -0
- data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_complete_operation.rb +57 -0
- data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_error_management.rb +57 -0
- data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_format.rb +97 -0
- data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_properties.rb +131 -0
- data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb +226 -0
- data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_states.rb +21 -0
- data/lib/generated/azure_mgmt_customer_insights/models/connector_mapping_structure.rb +74 -0
- data/lib/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb +183 -0
- data/lib/generated/azure_mgmt_customer_insights/models/connector_states.rb +20 -0
- data/lib/generated/azure_mgmt_customer_insights/models/connector_types.rb +20 -0
- data/lib/generated/azure_mgmt_customer_insights/models/crm_connector_entities.rb +64 -0
- data/lib/generated/azure_mgmt_customer_insights/models/crm_connector_properties.rb +93 -0
- data/lib/generated/azure_mgmt_customer_insights/models/data_source_precedence.rb +102 -0
- data/lib/generated/azure_mgmt_customer_insights/models/data_source_type.rb +17 -0
- data/lib/generated/azure_mgmt_customer_insights/models/enriching_kpi.rb +229 -0
- data/lib/generated/azure_mgmt_customer_insights/models/entity_type.rb +18 -0
- data/lib/generated/azure_mgmt_customer_insights/models/entity_type_definition.rb +243 -0
- data/lib/generated/azure_mgmt_customer_insights/models/entity_types.rb +18 -0
- data/lib/generated/azure_mgmt_customer_insights/models/error_management_types.rb +17 -0
- data/lib/generated/azure_mgmt_customer_insights/models/frequency_types.rb +19 -0
- data/lib/generated/azure_mgmt_customer_insights/models/get_image_upload_url_input.rb +64 -0
- data/lib/generated/azure_mgmt_customer_insights/models/hub.rb +135 -0
- data/lib/generated/azure_mgmt_customer_insights/models/hub_billing_info_format.rb +74 -0
- data/lib/generated/azure_mgmt_customer_insights/models/hub_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_customer_insights/models/image_definition.rb +64 -0
- data/lib/generated/azure_mgmt_customer_insights/models/instance_operation_type.rb +16 -0
- data/lib/generated/azure_mgmt_customer_insights/models/interaction_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_customer_insights/models/interaction_resource_format.rb +434 -0
- data/lib/generated/azure_mgmt_customer_insights/models/kpi_alias.rb +54 -0
- data/lib/generated/azure_mgmt_customer_insights/models/kpi_definition.rb +293 -0
- data/lib/generated/azure_mgmt_customer_insights/models/kpi_extract.rb +54 -0
- data/lib/generated/azure_mgmt_customer_insights/models/kpi_functions.rb +22 -0
- data/lib/generated/azure_mgmt_customer_insights/models/kpi_group_by_metadata.rb +71 -0
- data/lib/generated/azure_mgmt_customer_insights/models/kpi_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_customer_insights/models/kpi_participant_profiles_metadata.rb +44 -0
- data/lib/generated/azure_mgmt_customer_insights/models/kpi_resource_format.rb +317 -0
- data/lib/generated/azure_mgmt_customer_insights/models/kpi_thresholds.rb +64 -0
- data/lib/generated/azure_mgmt_customer_insights/models/link_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_customer_insights/models/link_resource_format.rb +235 -0
- data/lib/generated/azure_mgmt_customer_insights/models/link_types.rb +16 -0
- data/lib/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb +152 -0
- data/lib/generated/azure_mgmt_customer_insights/models/participant.rb +117 -0
- data/lib/generated/azure_mgmt_customer_insights/models/participant_profile_property_reference.rb +56 -0
- data/lib/generated/azure_mgmt_customer_insights/models/participant_property_reference.rb +54 -0
- data/lib/generated/azure_mgmt_customer_insights/models/permission_types.rb +17 -0
- data/lib/generated/azure_mgmt_customer_insights/models/prediction_distribution_definition.rb +73 -0
- data/lib/generated/azure_mgmt_customer_insights/models/prediction_distribution_definition_distributions_item.rb +85 -0
- data/lib/generated/azure_mgmt_customer_insights/models/prediction_grades_item.rb +64 -0
- data/lib/generated/azure_mgmt_customer_insights/models/prediction_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_customer_insights/models/prediction_mappings.rb +64 -0
- data/lib/generated/azure_mgmt_customer_insights/models/prediction_model_life_cycle.rb +32 -0
- data/lib/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb +161 -0
- data/lib/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb +279 -0
- data/lib/generated/azure_mgmt_customer_insights/models/prediction_system_generated_entities.rb +85 -0
- data/lib/generated/azure_mgmt_customer_insights/models/prediction_training_results.rb +98 -0
- data/lib/generated/azure_mgmt_customer_insights/models/profile_enum_valid_values_format.rb +61 -0
- data/lib/generated/azure_mgmt_customer_insights/models/profile_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb +312 -0
- data/lib/generated/azure_mgmt_customer_insights/models/property_definition.rb +218 -0
- data/lib/generated/azure_mgmt_customer_insights/models/provisioning_states.rb +20 -0
- data/lib/generated/azure_mgmt_customer_insights/models/proxy_resource.rb +67 -0
- data/lib/generated/azure_mgmt_customer_insights/models/relationship_link_field_mapping.rb +66 -0
- data/lib/generated/azure_mgmt_customer_insights/models/relationship_link_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb +218 -0
- data/lib/generated/azure_mgmt_customer_insights/models/relationship_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb +219 -0
- data/lib/generated/azure_mgmt_customer_insights/models/relationship_type_field_mapping.rb +55 -0
- data/lib/generated/azure_mgmt_customer_insights/models/relationship_type_mapping.rb +55 -0
- data/lib/generated/azure_mgmt_customer_insights/models/relationships_lookup.rb +107 -0
- data/lib/generated/azure_mgmt_customer_insights/models/resource.rb +94 -0
- data/lib/generated/azure_mgmt_customer_insights/models/resource_set_description.rb +69 -0
- data/lib/generated/azure_mgmt_customer_insights/models/role_assignment_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_customer_insights/models/role_assignment_resource_format.rb +306 -0
- data/lib/generated/azure_mgmt_customer_insights/models/role_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_customer_insights/models/role_resource_format.rb +78 -0
- data/lib/generated/azure_mgmt_customer_insights/models/role_types.rb +20 -0
- data/lib/generated/azure_mgmt_customer_insights/models/salesforce_connector_properties.rb +63 -0
- data/lib/generated/azure_mgmt_customer_insights/models/salesforce_discover_setting.rb +44 -0
- data/lib/generated/azure_mgmt_customer_insights/models/salesforce_table.rb +84 -0
- data/lib/generated/azure_mgmt_customer_insights/models/status.rb +17 -0
- data/lib/generated/azure_mgmt_customer_insights/models/strong_id.rb +95 -0
- data/lib/generated/azure_mgmt_customer_insights/models/suggest_relationship_links_response.rb +65 -0
- data/lib/generated/azure_mgmt_customer_insights/models/type_properties_mapping.rb +66 -0
- data/lib/generated/azure_mgmt_customer_insights/models/view_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_customer_insights/models/view_resource_format.rb +139 -0
- data/lib/generated/azure_mgmt_customer_insights/models/widget_type_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_customer_insights/models/widget_type_resource_format.rb +160 -0
- data/lib/generated/azure_mgmt_customer_insights/module_definition.rb +8 -0
- data/lib/generated/azure_mgmt_customer_insights/predictions.rb +896 -0
- data/lib/generated/azure_mgmt_customer_insights/profiles.rb +733 -0
- data/lib/generated/azure_mgmt_customer_insights/relationship_links.rb +610 -0
- data/lib/generated/azure_mgmt_customer_insights/relationships.rb +606 -0
- data/lib/generated/azure_mgmt_customer_insights/role_assignments.rb +566 -0
- data/lib/generated/azure_mgmt_customer_insights/roles.rb +227 -0
- data/lib/generated/azure_mgmt_customer_insights/version.rb +8 -0
- data/lib/generated/azure_mgmt_customer_insights/views.rb +530 -0
- data/lib/generated/azure_mgmt_customer_insights/widget_types.rb +323 -0
- metadata +236 -0
@@ -0,0 +1,54 @@
|
|
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 KPI alias.
|
10
|
+
#
|
11
|
+
class KpiAlias
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] KPI alias name.
|
16
|
+
attr_accessor :alias_name
|
17
|
+
|
18
|
+
# @return [String] The expression.
|
19
|
+
attr_accessor :expression
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for KpiAlias class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'KpiAlias',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'KpiAlias',
|
33
|
+
model_properties: {
|
34
|
+
alias_name: {
|
35
|
+
required: true,
|
36
|
+
serialized_name: 'aliasName',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
},
|
41
|
+
expression: {
|
42
|
+
required: true,
|
43
|
+
serialized_name: 'expression',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,293 @@
|
|
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 KpiDefinition
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [EntityTypes] The mapping entity type. Possible values include:
|
16
|
+
# 'None', 'Profile', 'Interaction', 'Relationship'
|
17
|
+
attr_accessor :entity_type
|
18
|
+
|
19
|
+
# @return [String] The mapping entity name.
|
20
|
+
attr_accessor :entity_type_name
|
21
|
+
|
22
|
+
# @return [String] The hub name.
|
23
|
+
attr_accessor :tenant_id
|
24
|
+
|
25
|
+
# @return [String] The KPI name.
|
26
|
+
attr_accessor :kpi_name
|
27
|
+
|
28
|
+
# @return [Hash{String => String}] Localized display name for the KPI.
|
29
|
+
attr_accessor :display_name
|
30
|
+
|
31
|
+
# @return [Hash{String => String}] Localized description for the KPI.
|
32
|
+
attr_accessor :description
|
33
|
+
|
34
|
+
# @return [CalculationWindowTypes] The calculation window. Possible
|
35
|
+
# values include: 'Lifetime', 'Hour', 'Day', 'Week', 'Month'
|
36
|
+
attr_accessor :calculation_window
|
37
|
+
|
38
|
+
# @return [String] Name of calculation window field.
|
39
|
+
attr_accessor :calculation_window_field_name
|
40
|
+
|
41
|
+
# @return [KpiFunctions] The computation function for the KPI. Possible
|
42
|
+
# values include: 'Sum', 'Avg', 'Min', 'Max', 'Last', 'Count', 'None',
|
43
|
+
# 'CountDistinct'
|
44
|
+
attr_accessor :function
|
45
|
+
|
46
|
+
# @return [String] The computation expression for the KPI.
|
47
|
+
attr_accessor :expression
|
48
|
+
|
49
|
+
# @return [String] The unit of measurement for the KPI.
|
50
|
+
attr_accessor :unit
|
51
|
+
|
52
|
+
# @return [String] The filter expression for the KPI.
|
53
|
+
attr_accessor :filter
|
54
|
+
|
55
|
+
# @return [Array<String>] the group by properties for the KPI.
|
56
|
+
attr_accessor :group_by
|
57
|
+
|
58
|
+
# @return [Array<KpiGroupByMetadata>] The KPI GroupByMetadata.
|
59
|
+
attr_accessor :group_by_metadata
|
60
|
+
|
61
|
+
# @return [Array<KpiParticipantProfilesMetadata>] The participant
|
62
|
+
# profiles.
|
63
|
+
attr_accessor :participant_profiles_metadata
|
64
|
+
|
65
|
+
# @return [ProvisioningStates] Provisioning state. Possible values
|
66
|
+
# include: 'Provisioning', 'Succeeded', 'Expiring', 'Deleting',
|
67
|
+
# 'HumanIntervention', 'Failed'
|
68
|
+
attr_accessor :provisioning_state
|
69
|
+
|
70
|
+
# @return [KpiThresholds] The KPI thresholds.
|
71
|
+
attr_accessor :thres_holds
|
72
|
+
|
73
|
+
# @return [Array<KpiAlias>] The aliases.
|
74
|
+
attr_accessor :aliases
|
75
|
+
|
76
|
+
# @return [Array<KpiExtract>] The KPI extracts.
|
77
|
+
attr_accessor :extracts
|
78
|
+
|
79
|
+
|
80
|
+
#
|
81
|
+
# Mapper for KpiDefinition class as Ruby Hash.
|
82
|
+
# This will be used for serialization/deserialization.
|
83
|
+
#
|
84
|
+
def self.mapper()
|
85
|
+
{
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'KpiDefinition',
|
88
|
+
type: {
|
89
|
+
name: 'Composite',
|
90
|
+
class_name: 'KpiDefinition',
|
91
|
+
model_properties: {
|
92
|
+
entity_type: {
|
93
|
+
required: true,
|
94
|
+
serialized_name: 'entityType',
|
95
|
+
type: {
|
96
|
+
name: 'Enum',
|
97
|
+
module: 'EntityTypes'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
entity_type_name: {
|
101
|
+
required: true,
|
102
|
+
serialized_name: 'entityTypeName',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
tenant_id: {
|
108
|
+
required: false,
|
109
|
+
read_only: true,
|
110
|
+
serialized_name: 'tenantId',
|
111
|
+
type: {
|
112
|
+
name: 'String'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
kpi_name: {
|
116
|
+
required: false,
|
117
|
+
read_only: true,
|
118
|
+
serialized_name: 'kpiName',
|
119
|
+
type: {
|
120
|
+
name: 'String'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
display_name: {
|
124
|
+
required: false,
|
125
|
+
serialized_name: 'displayName',
|
126
|
+
type: {
|
127
|
+
name: 'Dictionary',
|
128
|
+
value: {
|
129
|
+
required: false,
|
130
|
+
serialized_name: 'StringElementType',
|
131
|
+
type: {
|
132
|
+
name: 'String'
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
},
|
137
|
+
description: {
|
138
|
+
required: false,
|
139
|
+
serialized_name: 'description',
|
140
|
+
type: {
|
141
|
+
name: 'Dictionary',
|
142
|
+
value: {
|
143
|
+
required: false,
|
144
|
+
serialized_name: 'StringElementType',
|
145
|
+
type: {
|
146
|
+
name: 'String'
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
},
|
151
|
+
calculation_window: {
|
152
|
+
required: true,
|
153
|
+
serialized_name: 'calculationWindow',
|
154
|
+
type: {
|
155
|
+
name: 'Enum',
|
156
|
+
module: 'CalculationWindowTypes'
|
157
|
+
}
|
158
|
+
},
|
159
|
+
calculation_window_field_name: {
|
160
|
+
required: false,
|
161
|
+
serialized_name: 'calculationWindowFieldName',
|
162
|
+
type: {
|
163
|
+
name: 'String'
|
164
|
+
}
|
165
|
+
},
|
166
|
+
function: {
|
167
|
+
required: true,
|
168
|
+
serialized_name: 'function',
|
169
|
+
type: {
|
170
|
+
name: 'Enum',
|
171
|
+
module: 'KpiFunctions'
|
172
|
+
}
|
173
|
+
},
|
174
|
+
expression: {
|
175
|
+
required: true,
|
176
|
+
serialized_name: 'expression',
|
177
|
+
type: {
|
178
|
+
name: 'String'
|
179
|
+
}
|
180
|
+
},
|
181
|
+
unit: {
|
182
|
+
required: false,
|
183
|
+
serialized_name: 'unit',
|
184
|
+
type: {
|
185
|
+
name: 'String'
|
186
|
+
}
|
187
|
+
},
|
188
|
+
filter: {
|
189
|
+
required: false,
|
190
|
+
serialized_name: 'filter',
|
191
|
+
type: {
|
192
|
+
name: 'String'
|
193
|
+
}
|
194
|
+
},
|
195
|
+
group_by: {
|
196
|
+
required: false,
|
197
|
+
serialized_name: 'groupBy',
|
198
|
+
type: {
|
199
|
+
name: 'Sequence',
|
200
|
+
element: {
|
201
|
+
required: false,
|
202
|
+
serialized_name: 'StringElementType',
|
203
|
+
type: {
|
204
|
+
name: 'String'
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}
|
208
|
+
},
|
209
|
+
group_by_metadata: {
|
210
|
+
required: false,
|
211
|
+
read_only: true,
|
212
|
+
serialized_name: 'groupByMetadata',
|
213
|
+
type: {
|
214
|
+
name: 'Sequence',
|
215
|
+
element: {
|
216
|
+
required: false,
|
217
|
+
serialized_name: 'KpiGroupByMetadataElementType',
|
218
|
+
type: {
|
219
|
+
name: 'Composite',
|
220
|
+
class_name: 'KpiGroupByMetadata'
|
221
|
+
}
|
222
|
+
}
|
223
|
+
}
|
224
|
+
},
|
225
|
+
participant_profiles_metadata: {
|
226
|
+
required: false,
|
227
|
+
read_only: true,
|
228
|
+
serialized_name: 'participantProfilesMetadata',
|
229
|
+
type: {
|
230
|
+
name: 'Sequence',
|
231
|
+
element: {
|
232
|
+
required: false,
|
233
|
+
serialized_name: 'KpiParticipantProfilesMetadataElementType',
|
234
|
+
type: {
|
235
|
+
name: 'Composite',
|
236
|
+
class_name: 'KpiParticipantProfilesMetadata'
|
237
|
+
}
|
238
|
+
}
|
239
|
+
}
|
240
|
+
},
|
241
|
+
provisioning_state: {
|
242
|
+
required: false,
|
243
|
+
read_only: true,
|
244
|
+
serialized_name: 'provisioningState',
|
245
|
+
type: {
|
246
|
+
name: 'String'
|
247
|
+
}
|
248
|
+
},
|
249
|
+
thres_holds: {
|
250
|
+
required: false,
|
251
|
+
serialized_name: 'thresHolds',
|
252
|
+
type: {
|
253
|
+
name: 'Composite',
|
254
|
+
class_name: 'KpiThresholds'
|
255
|
+
}
|
256
|
+
},
|
257
|
+
aliases: {
|
258
|
+
required: false,
|
259
|
+
serialized_name: 'aliases',
|
260
|
+
type: {
|
261
|
+
name: 'Sequence',
|
262
|
+
element: {
|
263
|
+
required: false,
|
264
|
+
serialized_name: 'KpiAliasElementType',
|
265
|
+
type: {
|
266
|
+
name: 'Composite',
|
267
|
+
class_name: 'KpiAlias'
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}
|
271
|
+
},
|
272
|
+
extracts: {
|
273
|
+
required: false,
|
274
|
+
serialized_name: 'extracts',
|
275
|
+
type: {
|
276
|
+
name: 'Sequence',
|
277
|
+
element: {
|
278
|
+
required: false,
|
279
|
+
serialized_name: 'KpiExtractElementType',
|
280
|
+
type: {
|
281
|
+
name: 'Composite',
|
282
|
+
class_name: 'KpiExtract'
|
283
|
+
}
|
284
|
+
}
|
285
|
+
}
|
286
|
+
}
|
287
|
+
}
|
288
|
+
}
|
289
|
+
}
|
290
|
+
end
|
291
|
+
end
|
292
|
+
end
|
293
|
+
end
|
@@ -0,0 +1,54 @@
|
|
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 KPI extract.
|
10
|
+
#
|
11
|
+
class KpiExtract
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] KPI extract name.
|
16
|
+
attr_accessor :extract_name
|
17
|
+
|
18
|
+
# @return [String] The expression.
|
19
|
+
attr_accessor :expression
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for KpiExtract class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'KpiExtract',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'KpiExtract',
|
33
|
+
model_properties: {
|
34
|
+
extract_name: {
|
35
|
+
required: true,
|
36
|
+
serialized_name: 'extractName',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
},
|
41
|
+
expression: {
|
42
|
+
required: true,
|
43
|
+
serialized_name: 'expression',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,22 @@
|
|
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 KpiFunctions
|
10
|
+
#
|
11
|
+
module KpiFunctions
|
12
|
+
Sum = "Sum"
|
13
|
+
Avg = "Avg"
|
14
|
+
Min = "Min"
|
15
|
+
Max = "Max"
|
16
|
+
Last = "Last"
|
17
|
+
Count = "Count"
|
18
|
+
None = "None"
|
19
|
+
CountDistinct = "CountDistinct"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,71 @@
|
|
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 KPI GroupBy field metadata.
|
10
|
+
#
|
11
|
+
class KpiGroupByMetadata
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] The display name.
|
16
|
+
attr_accessor :display_name
|
17
|
+
|
18
|
+
# @return [String] The name of the field.
|
19
|
+
attr_accessor :field_name
|
20
|
+
|
21
|
+
# @return [String] The type of the field.
|
22
|
+
attr_accessor :field_type
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for KpiGroupByMetadata class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'KpiGroupByMetadata',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'KpiGroupByMetadata',
|
36
|
+
model_properties: {
|
37
|
+
display_name: {
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'displayName',
|
40
|
+
type: {
|
41
|
+
name: 'Dictionary',
|
42
|
+
value: {
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'StringElementType',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
},
|
51
|
+
field_name: {
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'fieldName',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
field_type: {
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'fieldType',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|