azure_mgmt_customer_insights 0.14.0 → 0.15.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-04-26/generated/azure_mgmt_customer_insights.rb +148 -0
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/authorization_policies.rb +9 -9
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/connector_mappings.rb +7 -7
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/connectors.rb +7 -7
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/customer_insights_management_client.rb +7 -3
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/hubs.rb +11 -11
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/images.rb +5 -5
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/interactions.rb +8 -8
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/kpi.rb +7 -7
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/links.rb +7 -7
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/assignment_principal.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/authorization_policy.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/authorization_policy_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/authorization_policy_resource_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/azure_blob_connector_properties.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/calculation_window_types.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/canonical_profile_definition.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/canonical_profile_definition_properties_item.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/canonical_property_value_type.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/cardinality_types.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/completion_operation_types.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/connector_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/connector_mapping_availability.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/connector_mapping_complete_operation.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/connector_mapping_error_management.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/connector_mapping_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/connector_mapping_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/connector_mapping_properties.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/connector_mapping_states.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/connector_mapping_structure.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/connector_resource_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/connector_states.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/connector_types.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/crm_connector_entities.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/crm_connector_properties.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/data_source_precedence.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/data_source_type.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/enriching_kpi.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/entity_type.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/entity_type_definition.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/entity_types.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/error_management_types.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/frequency_types.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/get_image_upload_url_input.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/hub.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/hub_billing_info_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/hub_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/image_definition.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/instance_operation_type.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/interaction_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/interaction_resource_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/kpi_alias.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/kpi_definition.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/kpi_extract.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/kpi_functions.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/kpi_group_by_metadata.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/kpi_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/kpi_participant_profiles_metadata.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/kpi_resource_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/kpi_thresholds.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/link_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/link_resource_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/link_types.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/metadata_definition_base.rb +1 -1
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/models/operation.rb +56 -0
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/models/operation_display.rb +68 -0
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/models/operation_list_result.rb +99 -0
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/participant.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/participant_profile_property_reference.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/participant_property_reference.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/permission_types.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/prediction_distribution_definition.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/prediction_distribution_definition_distributions_item.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/prediction_grades_item.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/prediction_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/prediction_mappings.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/prediction_model_life_cycle.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/prediction_model_status.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/prediction_resource_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/prediction_system_generated_entities.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/prediction_training_results.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/profile_enum_valid_values_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/profile_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/profile_resource_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/property_definition.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/provisioning_states.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/proxy_resource.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/relationship_link_field_mapping.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/relationship_link_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/relationship_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/relationship_resource_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/relationship_type_field_mapping.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/relationship_type_mapping.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/relationships_lookup.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/resource.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/resource_set_description.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/role_assignment_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/role_assignment_resource_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/role_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/role_resource_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/role_types.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/salesforce_connector_properties.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/salesforce_discover_setting.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/salesforce_table.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/status.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/strong_id.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/suggest_relationship_links_response.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/type_properties_mapping.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/view_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/view_resource_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/widget_type_list_result.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/models/widget_type_resource_format.rb +1 -1
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/module_definition.rb +3 -2
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/operations.rb +216 -0
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/predictions.rb +10 -10
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/profiles.rb +7 -7
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/relationship_links.rb +7 -7
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/relationships.rb +7 -7
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/role_assignments.rb +7 -7
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/roles.rb +3 -3
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/version.rb +2 -2
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/views.rb +6 -6
- data/lib/{generated → 2017-04-26/generated}/azure_mgmt_customer_insights/widget_types.rb +4 -4
- data/lib/azure_mgmt_customer_insights.rb +2 -2
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/common/configurable.rb +73 -0
- data/lib/profiles/common/default.rb +68 -0
- data/lib/profiles/latest/customerinsights_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/customerinsights_module_definition.rb +9 -0
- data/lib/profiles/latest/modules/customerinsights_profile_module.rb +490 -0
- data/lib/version.rb +7 -0
- metadata +134 -123
- data/lib/generated/azure_mgmt_customer_insights.rb +0 -144
@@ -0,0 +1,99 @@
|
|
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_04_26
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Result of the request to list Customer Insights operations. It contains a
|
10
|
+
# list of operations and a URL link to get the next set of results.
|
11
|
+
#
|
12
|
+
class OperationListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [Array<Operation>] List of Customer Insights operations
|
18
|
+
# supported by the Microsoft.CustomerInsights resource provider.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
# @return [String] URL to get the next set of operation list results if
|
22
|
+
# there are any.
|
23
|
+
attr_accessor :next_link
|
24
|
+
|
25
|
+
# return [Proc] with next page method call.
|
26
|
+
attr_accessor :next_method
|
27
|
+
|
28
|
+
#
|
29
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
30
|
+
#
|
31
|
+
# @return [Array<Operation>] operation results.
|
32
|
+
#
|
33
|
+
def get_all_items
|
34
|
+
items = @value
|
35
|
+
page = self
|
36
|
+
while page.next_link != nil do
|
37
|
+
page = page.get_next_page
|
38
|
+
items.concat(page.value)
|
39
|
+
end
|
40
|
+
items
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Gets the next page of results.
|
45
|
+
#
|
46
|
+
# @return [OperationListResult] with next page content.
|
47
|
+
#
|
48
|
+
def get_next_page
|
49
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
50
|
+
unless response.nil?
|
51
|
+
@next_link = response.body.next_link
|
52
|
+
@value = response.body.value
|
53
|
+
self
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Mapper for OperationListResult class as Ruby Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'OperationListResult',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'OperationListResult',
|
68
|
+
model_properties: {
|
69
|
+
value: {
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'value',
|
73
|
+
type: {
|
74
|
+
name: 'Sequence',
|
75
|
+
element: {
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'OperationElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'Operation'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
required: false,
|
87
|
+
read_only: true,
|
88
|
+
serialized_name: 'nextLink',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::CustomerInsights::Mgmt::V2017_04_26
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Map a field of profile to its corresponding StrongId in Related Profile.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::CustomerInsights::Mgmt::V2017_04_26
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Maps fields in Profile to their corresponding StrongIds in Related
|