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,68 @@
|
|
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 the KPI Threshold limits.
|
10
|
+
#
|
11
|
+
class KpiThresholds
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return The lower threshold limit.
|
16
|
+
attr_accessor :lower_limit
|
17
|
+
|
18
|
+
# @return The upper threshold limit.
|
19
|
+
attr_accessor :upper_limit
|
20
|
+
|
21
|
+
# @return [Boolean] Whether or not the KPI is an increasing KPI.
|
22
|
+
attr_accessor :increasing_kpi
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for KpiThresholds class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'KpiThresholds',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'KpiThresholds',
|
37
|
+
model_properties: {
|
38
|
+
lower_limit: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: true,
|
41
|
+
serialized_name: 'lowerLimit',
|
42
|
+
type: {
|
43
|
+
name: 'Number'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
upper_limit: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: true,
|
49
|
+
serialized_name: 'upperLimit',
|
50
|
+
type: {
|
51
|
+
name: 'Number'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
increasing_kpi: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: true,
|
57
|
+
serialized_name: 'increasingKpi',
|
58
|
+
type: {
|
59
|
+
name: 'Boolean'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,98 @@
|
|
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 response of list link operation.
|
10
|
+
#
|
11
|
+
class LinkListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<LinkResourceFormat>] Results of the list operation.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] Link to the next set of results.
|
20
|
+
attr_accessor :next_link
|
21
|
+
|
22
|
+
# return [Proc] with next page method call.
|
23
|
+
attr_accessor :next_method
|
24
|
+
|
25
|
+
#
|
26
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
27
|
+
#
|
28
|
+
# @return [Array<LinkResourceFormat>] operation results.
|
29
|
+
#
|
30
|
+
def get_all_items
|
31
|
+
items = @value
|
32
|
+
page = self
|
33
|
+
while page.next_link != nil do
|
34
|
+
page = page.get_next_page
|
35
|
+
items.concat(page.value)
|
36
|
+
end
|
37
|
+
items
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Gets the next page of results.
|
42
|
+
#
|
43
|
+
# @return [LinkListResult] with next page content.
|
44
|
+
#
|
45
|
+
def get_next_page
|
46
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
47
|
+
unless response.nil?
|
48
|
+
@next_link = response.body.next_link
|
49
|
+
@value = response.body.value
|
50
|
+
self
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for LinkListResult class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'LinkListResult',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'LinkListResult',
|
66
|
+
model_properties: {
|
67
|
+
value: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'value',
|
71
|
+
type: {
|
72
|
+
name: 'Sequence',
|
73
|
+
element: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'LinkResourceFormatElementType',
|
77
|
+
type: {
|
78
|
+
name: 'Composite',
|
79
|
+
class_name: 'LinkResourceFormat'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
next_link: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'nextLink',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,230 @@
|
|
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 link resource format.
|
10
|
+
#
|
11
|
+
class LinkResourceFormat < ProxyResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The hub name.
|
16
|
+
attr_accessor :tenant_id
|
17
|
+
|
18
|
+
# @return [String] The link name.
|
19
|
+
attr_accessor :link_name
|
20
|
+
|
21
|
+
# @return [String] Name of the source Interaction Type.
|
22
|
+
attr_accessor :source_interaction_type
|
23
|
+
|
24
|
+
# @return [String] Name of the target Profile Type.
|
25
|
+
attr_accessor :target_profile_type
|
26
|
+
|
27
|
+
# @return [Hash{String => String}] Localized display name for the Link.
|
28
|
+
attr_accessor :display_name
|
29
|
+
|
30
|
+
# @return [Hash{String => String}] Localized descriptions for the Link.
|
31
|
+
attr_accessor :description
|
32
|
+
|
33
|
+
# @return [Array<TypePropertiesMapping>] The set of properties mappings
|
34
|
+
# between the source and target Types.
|
35
|
+
attr_accessor :mappings
|
36
|
+
|
37
|
+
# @return [Array<ParticipantPropertyReference>] The properties that
|
38
|
+
# represent the participating profile.
|
39
|
+
attr_accessor :participant_property_references
|
40
|
+
|
41
|
+
# @return [ProvisioningStates] Provisioning state. Possible values
|
42
|
+
# include: 'Provisioning', 'Succeeded', 'Expiring', 'Deleting',
|
43
|
+
# 'HumanIntervention', 'Failed'
|
44
|
+
attr_accessor :provisioning_state
|
45
|
+
|
46
|
+
# @return [Boolean] Indicating whether the link is reference only link.
|
47
|
+
# This flag is ingored if the Mappings are defined. If the mappings are
|
48
|
+
# not defined and it is set to true, links processing will not create or
|
49
|
+
# update profiles.
|
50
|
+
attr_accessor :reference_only
|
51
|
+
|
52
|
+
# @return [InstanceOperationType] Determines whether this link is
|
53
|
+
# supposed to create or delete instances if Link is NOT Reference Only.
|
54
|
+
# Possible values include: 'Upsert', 'Delete'
|
55
|
+
attr_accessor :operation_type
|
56
|
+
|
57
|
+
|
58
|
+
#
|
59
|
+
# Mapper for LinkResourceFormat class as Ruby Hash.
|
60
|
+
# This will be used for serialization/deserialization.
|
61
|
+
#
|
62
|
+
def self.mapper()
|
63
|
+
{
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'LinkResourceFormat',
|
67
|
+
type: {
|
68
|
+
name: 'Composite',
|
69
|
+
class_name: 'LinkResourceFormat',
|
70
|
+
model_properties: {
|
71
|
+
id: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
read_only: true,
|
75
|
+
serialized_name: 'id',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
name: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
read_only: true,
|
84
|
+
serialized_name: 'name',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
type: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
read_only: true,
|
93
|
+
serialized_name: 'type',
|
94
|
+
type: {
|
95
|
+
name: 'String'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
tenant_id: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
read_only: true,
|
102
|
+
serialized_name: 'properties.tenantId',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
link_name: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
read_only: true,
|
111
|
+
serialized_name: 'properties.linkName',
|
112
|
+
type: {
|
113
|
+
name: 'String'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
source_interaction_type: {
|
117
|
+
client_side_validation: true,
|
118
|
+
required: true,
|
119
|
+
serialized_name: 'properties.sourceInteractionType',
|
120
|
+
type: {
|
121
|
+
name: 'String'
|
122
|
+
}
|
123
|
+
},
|
124
|
+
target_profile_type: {
|
125
|
+
client_side_validation: true,
|
126
|
+
required: true,
|
127
|
+
serialized_name: 'properties.targetProfileType',
|
128
|
+
type: {
|
129
|
+
name: 'String'
|
130
|
+
}
|
131
|
+
},
|
132
|
+
display_name: {
|
133
|
+
client_side_validation: true,
|
134
|
+
required: false,
|
135
|
+
serialized_name: 'properties.displayName',
|
136
|
+
type: {
|
137
|
+
name: 'Dictionary',
|
138
|
+
value: {
|
139
|
+
client_side_validation: true,
|
140
|
+
required: false,
|
141
|
+
serialized_name: 'StringElementType',
|
142
|
+
type: {
|
143
|
+
name: 'String'
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
},
|
148
|
+
description: {
|
149
|
+
client_side_validation: true,
|
150
|
+
required: false,
|
151
|
+
serialized_name: 'properties.description',
|
152
|
+
type: {
|
153
|
+
name: 'Dictionary',
|
154
|
+
value: {
|
155
|
+
client_side_validation: true,
|
156
|
+
required: false,
|
157
|
+
serialized_name: 'StringElementType',
|
158
|
+
type: {
|
159
|
+
name: 'String'
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
163
|
+
},
|
164
|
+
mappings: {
|
165
|
+
client_side_validation: true,
|
166
|
+
required: false,
|
167
|
+
serialized_name: 'properties.mappings',
|
168
|
+
type: {
|
169
|
+
name: 'Sequence',
|
170
|
+
element: {
|
171
|
+
client_side_validation: true,
|
172
|
+
required: false,
|
173
|
+
serialized_name: 'TypePropertiesMappingElementType',
|
174
|
+
type: {
|
175
|
+
name: 'Composite',
|
176
|
+
class_name: 'TypePropertiesMapping'
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
},
|
181
|
+
participant_property_references: {
|
182
|
+
client_side_validation: true,
|
183
|
+
required: true,
|
184
|
+
serialized_name: 'properties.participantPropertyReferences',
|
185
|
+
type: {
|
186
|
+
name: 'Sequence',
|
187
|
+
element: {
|
188
|
+
client_side_validation: true,
|
189
|
+
required: false,
|
190
|
+
serialized_name: 'ParticipantPropertyReferenceElementType',
|
191
|
+
type: {
|
192
|
+
name: 'Composite',
|
193
|
+
class_name: 'ParticipantPropertyReference'
|
194
|
+
}
|
195
|
+
}
|
196
|
+
}
|
197
|
+
},
|
198
|
+
provisioning_state: {
|
199
|
+
client_side_validation: true,
|
200
|
+
required: false,
|
201
|
+
read_only: true,
|
202
|
+
serialized_name: 'properties.provisioningState',
|
203
|
+
type: {
|
204
|
+
name: 'String'
|
205
|
+
}
|
206
|
+
},
|
207
|
+
reference_only: {
|
208
|
+
client_side_validation: true,
|
209
|
+
required: false,
|
210
|
+
serialized_name: 'properties.referenceOnly',
|
211
|
+
type: {
|
212
|
+
name: 'Boolean'
|
213
|
+
}
|
214
|
+
},
|
215
|
+
operation_type: {
|
216
|
+
client_side_validation: true,
|
217
|
+
required: false,
|
218
|
+
serialized_name: 'properties.operationType',
|
219
|
+
type: {
|
220
|
+
name: 'Enum',
|
221
|
+
module: 'InstanceOperationType'
|
222
|
+
}
|
223
|
+
}
|
224
|
+
}
|
225
|
+
}
|
226
|
+
}
|
227
|
+
end
|
228
|
+
end
|
229
|
+
end
|
230
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CustomerInsights::Mgmt::V2017_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for LinkTypes
|
10
|
+
#
|
11
|
+
module LinkTypes
|
12
|
+
UpdateAlways = "UpdateAlways"
|
13
|
+
CopyIfNull = "CopyIfNull"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,166 @@
|
|
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 Metadata definition base.
|
10
|
+
#
|
11
|
+
class MetadataDefinitionBase
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => Array<String>}] The attributes for the Type.
|
16
|
+
attr_accessor :attributes
|
17
|
+
|
18
|
+
# @return [Hash{String => String}] Localized descriptions for the
|
19
|
+
# property.
|
20
|
+
attr_accessor :description
|
21
|
+
|
22
|
+
# @return [Hash{String => String}] Localized display names for the
|
23
|
+
# property.
|
24
|
+
attr_accessor :display_name
|
25
|
+
|
26
|
+
# @return [Hash{String => Hash{String => String}}] Any custom localized
|
27
|
+
# attributes for the Type.
|
28
|
+
attr_accessor :localized_attributes
|
29
|
+
|
30
|
+
# @return [String] Small Image associated with the Property or
|
31
|
+
# EntityType.
|
32
|
+
attr_accessor :small_image
|
33
|
+
|
34
|
+
# @return [String] Medium Image associated with the Property or
|
35
|
+
# EntityType.
|
36
|
+
attr_accessor :medium_image
|
37
|
+
|
38
|
+
# @return [String] Large Image associated with the Property or
|
39
|
+
# EntityType.
|
40
|
+
attr_accessor :large_image
|
41
|
+
|
42
|
+
|
43
|
+
#
|
44
|
+
# Mapper for MetadataDefinitionBase class as Ruby Hash.
|
45
|
+
# This will be used for serialization/deserialization.
|
46
|
+
#
|
47
|
+
def self.mapper()
|
48
|
+
{
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'MetadataDefinitionBase',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'MetadataDefinitionBase',
|
55
|
+
model_properties: {
|
56
|
+
attributes: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'attributes',
|
60
|
+
type: {
|
61
|
+
name: 'Dictionary',
|
62
|
+
value: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'ArrayElementType',
|
66
|
+
type: {
|
67
|
+
name: 'Sequence',
|
68
|
+
element: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'StringElementType',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
}
|
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
|
+
display_name: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'displayName',
|
100
|
+
type: {
|
101
|
+
name: 'Dictionary',
|
102
|
+
value: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'StringElementType',
|
106
|
+
type: {
|
107
|
+
name: 'String'
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
},
|
112
|
+
localized_attributes: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'localizedAttributes',
|
116
|
+
type: {
|
117
|
+
name: 'Dictionary',
|
118
|
+
value: {
|
119
|
+
client_side_validation: true,
|
120
|
+
required: false,
|
121
|
+
serialized_name: 'HashElementType',
|
122
|
+
type: {
|
123
|
+
name: 'Dictionary',
|
124
|
+
value: {
|
125
|
+
client_side_validation: true,
|
126
|
+
required: false,
|
127
|
+
serialized_name: 'StringElementType',
|
128
|
+
type: {
|
129
|
+
name: 'String'
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
},
|
136
|
+
small_image: {
|
137
|
+
client_side_validation: true,
|
138
|
+
required: false,
|
139
|
+
serialized_name: 'smallImage',
|
140
|
+
type: {
|
141
|
+
name: 'String'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
medium_image: {
|
145
|
+
client_side_validation: true,
|
146
|
+
required: false,
|
147
|
+
serialized_name: 'mediumImage',
|
148
|
+
type: {
|
149
|
+
name: 'String'
|
150
|
+
}
|
151
|
+
},
|
152
|
+
large_image: {
|
153
|
+
client_side_validation: true,
|
154
|
+
required: false,
|
155
|
+
serialized_name: 'largeImage',
|
156
|
+
type: {
|
157
|
+
name: 'String'
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
163
|
+
end
|
164
|
+
end
|
165
|
+
end
|
166
|
+
end
|