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,218 @@
|
|
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
|
+
# Property definition.
|
10
|
+
#
|
11
|
+
class PropertyDefinition
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Array value separator for properties with isArray set.
|
16
|
+
attr_accessor :array_value_separator
|
17
|
+
|
18
|
+
# @return [Array<ProfileEnumValidValuesFormat>] Describes valid values
|
19
|
+
# for an enum property.
|
20
|
+
attr_accessor :enum_valid_values
|
21
|
+
|
22
|
+
# @return [String] Name of the property.
|
23
|
+
attr_accessor :field_name
|
24
|
+
|
25
|
+
# @return [String] Type of the property.
|
26
|
+
attr_accessor :field_type
|
27
|
+
|
28
|
+
# @return [Boolean] Indicates if the property is actually an array of the
|
29
|
+
# fieldType above on the data api.
|
30
|
+
attr_accessor :is_array
|
31
|
+
|
32
|
+
# @return [Boolean] Indicates if the property is an enum.
|
33
|
+
attr_accessor :is_enum
|
34
|
+
|
35
|
+
# @return [Boolean] Indicates if the property is an flag enum.
|
36
|
+
attr_accessor :is_flag_enum
|
37
|
+
|
38
|
+
# @return [Boolean] Whether the property is an Image.
|
39
|
+
attr_accessor :is_image
|
40
|
+
|
41
|
+
# @return [Boolean] Whether the property is a localized string.
|
42
|
+
attr_accessor :is_localized_string
|
43
|
+
|
44
|
+
# @return [Boolean] Whether the property is a name or a part of name.
|
45
|
+
attr_accessor :is_name
|
46
|
+
|
47
|
+
# @return [Boolean] Whether property value is required on instances,
|
48
|
+
# IsRequired field only for Intercation. Profile Instance will not check
|
49
|
+
# for required field.
|
50
|
+
attr_accessor :is_required
|
51
|
+
|
52
|
+
# @return [String] The ID associated with the property.
|
53
|
+
attr_accessor :property_id
|
54
|
+
|
55
|
+
# @return [String] URL encoded schema.org item prop link for the
|
56
|
+
# property.
|
57
|
+
attr_accessor :schema_item_prop_link
|
58
|
+
|
59
|
+
# @return [Integer] Max length of string. Used only if type is string.
|
60
|
+
attr_accessor :max_length
|
61
|
+
|
62
|
+
# @return [Boolean] Whether property is available in graph or not.
|
63
|
+
attr_accessor :is_available_in_graph
|
64
|
+
|
65
|
+
# @return [Array<DataSourcePrecedence>] This is specific to interactions
|
66
|
+
# modeled as activities. Data sources are used to determine where data is
|
67
|
+
# stored and also in precedence rules.
|
68
|
+
attr_accessor :data_source_precedence_rules
|
69
|
+
|
70
|
+
|
71
|
+
#
|
72
|
+
# Mapper for PropertyDefinition class as Ruby Hash.
|
73
|
+
# This will be used for serialization/deserialization.
|
74
|
+
#
|
75
|
+
def self.mapper()
|
76
|
+
{
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'PropertyDefinition',
|
79
|
+
type: {
|
80
|
+
name: 'Composite',
|
81
|
+
class_name: 'PropertyDefinition',
|
82
|
+
model_properties: {
|
83
|
+
array_value_separator: {
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'arrayValueSeparator',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
enum_valid_values: {
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'enumValidValues',
|
93
|
+
type: {
|
94
|
+
name: 'Sequence',
|
95
|
+
element: {
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'ProfileEnumValidValuesFormatElementType',
|
98
|
+
type: {
|
99
|
+
name: 'Composite',
|
100
|
+
class_name: 'ProfileEnumValidValuesFormat'
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
},
|
105
|
+
field_name: {
|
106
|
+
required: true,
|
107
|
+
serialized_name: 'fieldName',
|
108
|
+
type: {
|
109
|
+
name: 'String'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
field_type: {
|
113
|
+
required: true,
|
114
|
+
serialized_name: 'fieldType',
|
115
|
+
type: {
|
116
|
+
name: 'String'
|
117
|
+
}
|
118
|
+
},
|
119
|
+
is_array: {
|
120
|
+
required: false,
|
121
|
+
serialized_name: 'isArray',
|
122
|
+
type: {
|
123
|
+
name: 'Boolean'
|
124
|
+
}
|
125
|
+
},
|
126
|
+
is_enum: {
|
127
|
+
required: false,
|
128
|
+
serialized_name: 'isEnum',
|
129
|
+
type: {
|
130
|
+
name: 'Boolean'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
is_flag_enum: {
|
134
|
+
required: false,
|
135
|
+
serialized_name: 'isFlagEnum',
|
136
|
+
type: {
|
137
|
+
name: 'Boolean'
|
138
|
+
}
|
139
|
+
},
|
140
|
+
is_image: {
|
141
|
+
required: false,
|
142
|
+
serialized_name: 'isImage',
|
143
|
+
type: {
|
144
|
+
name: 'Boolean'
|
145
|
+
}
|
146
|
+
},
|
147
|
+
is_localized_string: {
|
148
|
+
required: false,
|
149
|
+
serialized_name: 'isLocalizedString',
|
150
|
+
type: {
|
151
|
+
name: 'Boolean'
|
152
|
+
}
|
153
|
+
},
|
154
|
+
is_name: {
|
155
|
+
required: false,
|
156
|
+
serialized_name: 'isName',
|
157
|
+
type: {
|
158
|
+
name: 'Boolean'
|
159
|
+
}
|
160
|
+
},
|
161
|
+
is_required: {
|
162
|
+
required: false,
|
163
|
+
serialized_name: 'isRequired',
|
164
|
+
type: {
|
165
|
+
name: 'Boolean'
|
166
|
+
}
|
167
|
+
},
|
168
|
+
property_id: {
|
169
|
+
required: false,
|
170
|
+
serialized_name: 'propertyId',
|
171
|
+
type: {
|
172
|
+
name: 'String'
|
173
|
+
}
|
174
|
+
},
|
175
|
+
schema_item_prop_link: {
|
176
|
+
required: false,
|
177
|
+
serialized_name: 'schemaItemPropLink',
|
178
|
+
type: {
|
179
|
+
name: 'String'
|
180
|
+
}
|
181
|
+
},
|
182
|
+
max_length: {
|
183
|
+
required: false,
|
184
|
+
serialized_name: 'maxLength',
|
185
|
+
type: {
|
186
|
+
name: 'Number'
|
187
|
+
}
|
188
|
+
},
|
189
|
+
is_available_in_graph: {
|
190
|
+
required: false,
|
191
|
+
serialized_name: 'isAvailableInGraph',
|
192
|
+
type: {
|
193
|
+
name: 'Boolean'
|
194
|
+
}
|
195
|
+
},
|
196
|
+
data_source_precedence_rules: {
|
197
|
+
required: false,
|
198
|
+
read_only: true,
|
199
|
+
serialized_name: 'dataSourcePrecedenceRules',
|
200
|
+
type: {
|
201
|
+
name: 'Sequence',
|
202
|
+
element: {
|
203
|
+
required: false,
|
204
|
+
serialized_name: 'DataSourcePrecedenceElementType',
|
205
|
+
type: {
|
206
|
+
name: 'Composite',
|
207
|
+
class_name: 'DataSourcePrecedence'
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
}
|
215
|
+
end
|
216
|
+
end
|
217
|
+
end
|
218
|
+
end
|
@@ -0,0 +1,20 @@
|
|
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 ProvisioningStates
|
10
|
+
#
|
11
|
+
module ProvisioningStates
|
12
|
+
Provisioning = "Provisioning"
|
13
|
+
Succeeded = "Succeeded"
|
14
|
+
Expiring = "Expiring"
|
15
|
+
Deleting = "Deleting"
|
16
|
+
HumanIntervention = "HumanIntervention"
|
17
|
+
Failed = "Failed"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,67 @@
|
|
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
|
+
# Common properties of proxy resource.
|
10
|
+
#
|
11
|
+
class ProxyResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource ID.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Resource name.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] Resource type.
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for ProxyResource class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'ProxyResource',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'ProxyResource',
|
36
|
+
model_properties: {
|
37
|
+
id: {
|
38
|
+
required: false,
|
39
|
+
read_only: true,
|
40
|
+
serialized_name: 'id',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
name: {
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'name',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
type: {
|
54
|
+
required: false,
|
55
|
+
read_only: true,
|
56
|
+
serialized_name: 'type',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,66 @@
|
|
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 fields mapping for Relationships.
|
10
|
+
#
|
11
|
+
class RelationshipLinkFieldMapping
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The field name on the Interaction Type.
|
16
|
+
attr_accessor :interaction_field_name
|
17
|
+
|
18
|
+
# @return [LinkTypes] Link type. Possible values include: 'UpdateAlways',
|
19
|
+
# 'CopyIfNull'
|
20
|
+
attr_accessor :link_type
|
21
|
+
|
22
|
+
# @return [String] The field name on the Relationship metadata.
|
23
|
+
attr_accessor :relationship_field_name
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for RelationshipLinkFieldMapping class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'RelationshipLinkFieldMapping',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'RelationshipLinkFieldMapping',
|
37
|
+
model_properties: {
|
38
|
+
interaction_field_name: {
|
39
|
+
required: true,
|
40
|
+
serialized_name: 'interactionFieldName',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
link_type: {
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'linkType',
|
48
|
+
type: {
|
49
|
+
name: 'Enum',
|
50
|
+
module: 'LinkTypes'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
relationship_field_name: {
|
54
|
+
required: true,
|
55
|
+
serialized_name: 'relationshipFieldName',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,95 @@
|
|
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 relationship link operation.
|
10
|
+
#
|
11
|
+
class RelationshipLinkListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<RelationshipLinkResourceFormat>] Results of the list
|
17
|
+
# operation.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] Link to the next set of results.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<RelationshipLinkResourceFormat>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [RelationshipLinkListResult] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for RelationshipLinkListResult class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'RelationshipLinkListResult',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'RelationshipLinkListResult',
|
66
|
+
model_properties: {
|
67
|
+
value: {
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'value',
|
70
|
+
type: {
|
71
|
+
name: 'Sequence',
|
72
|
+
element: {
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'RelationshipLinkResourceFormatElementType',
|
75
|
+
type: {
|
76
|
+
name: 'Composite',
|
77
|
+
class_name: 'RelationshipLinkResourceFormat'
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
},
|
82
|
+
next_link: {
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'nextLink',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|