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
data/lib/generated/azure_mgmt_customer_insights/models/prediction_system_generated_entities.rb
ADDED
@@ -0,0 +1,85 @@
|
|
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
|
+
# System generated entities.
|
10
|
+
#
|
11
|
+
class PredictionSystemGeneratedEntities
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<String>] Generated interaction types.
|
16
|
+
attr_accessor :generated_interaction_types
|
17
|
+
|
18
|
+
# @return [Array<String>] Generated links.
|
19
|
+
attr_accessor :generated_links
|
20
|
+
|
21
|
+
# @return [Hash{String => String}] Generated KPIs.
|
22
|
+
attr_accessor :generated_kpis
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for PredictionSystemGeneratedEntities class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'Prediction_systemGeneratedEntities',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'PredictionSystemGeneratedEntities',
|
36
|
+
model_properties: {
|
37
|
+
generated_interaction_types: {
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'generatedInteractionTypes',
|
40
|
+
type: {
|
41
|
+
name: 'Sequence',
|
42
|
+
element: {
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'StringElementType',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
},
|
51
|
+
generated_links: {
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'generatedLinks',
|
54
|
+
type: {
|
55
|
+
name: 'Sequence',
|
56
|
+
element: {
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'StringElementType',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
},
|
65
|
+
generated_kpis: {
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'generatedKpis',
|
68
|
+
type: {
|
69
|
+
name: 'Dictionary',
|
70
|
+
value: {
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'StringElementType',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
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::ARM::CustomerInsights
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The training results of the prediction.
|
10
|
+
#
|
11
|
+
class PredictionTrainingResults
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The hub name.
|
16
|
+
attr_accessor :tenant_id
|
17
|
+
|
18
|
+
# @return [String] Score name.
|
19
|
+
attr_accessor :score_name
|
20
|
+
|
21
|
+
# @return [PredictionDistributionDefinition] Prediction distribution.
|
22
|
+
attr_accessor :prediction_distribution
|
23
|
+
|
24
|
+
# @return [Array<CanonicalProfileDefinition>] Canonical profiles.
|
25
|
+
attr_accessor :canonical_profiles
|
26
|
+
|
27
|
+
# @return [Integer] Instance count of the primary profile.
|
28
|
+
attr_accessor :primary_profile_instance_count
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for PredictionTrainingResults class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'PredictionTrainingResults',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'PredictionTrainingResults',
|
42
|
+
model_properties: {
|
43
|
+
tenant_id: {
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'tenantId',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
score_name: {
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'scoreName',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
prediction_distribution: {
|
60
|
+
required: false,
|
61
|
+
read_only: true,
|
62
|
+
serialized_name: 'predictionDistribution',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'PredictionDistributionDefinition'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
canonical_profiles: {
|
69
|
+
required: false,
|
70
|
+
read_only: true,
|
71
|
+
serialized_name: 'canonicalProfiles',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'CanonicalProfileDefinitionElementType',
|
77
|
+
type: {
|
78
|
+
name: 'Composite',
|
79
|
+
class_name: 'CanonicalProfileDefinition'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
primary_profile_instance_count: {
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'primaryProfileInstanceCount',
|
88
|
+
type: {
|
89
|
+
name: 'Number'
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,61 @@
|
|
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
|
+
# Valid enum values in case of an enum property.
|
10
|
+
#
|
11
|
+
class ProfileEnumValidValuesFormat
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] The integer value of the enum member.
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
# @return [Hash{String => String}] Localized names of the enum member.
|
19
|
+
attr_accessor :localized_value_names
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for ProfileEnumValidValuesFormat class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'ProfileEnumValidValuesFormat',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'ProfileEnumValidValuesFormat',
|
33
|
+
model_properties: {
|
34
|
+
value: {
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'value',
|
37
|
+
type: {
|
38
|
+
name: 'Number'
|
39
|
+
}
|
40
|
+
},
|
41
|
+
localized_value_names: {
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'localizedValueNames',
|
44
|
+
type: {
|
45
|
+
name: 'Dictionary',
|
46
|
+
value: {
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'StringElementType',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,94 @@
|
|
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 profile operation.
|
10
|
+
#
|
11
|
+
class ProfileListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<ProfileResourceFormat>] 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<ProfileResourceFormat>] 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 [ProfileListResult] 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 ProfileListResult class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'ProfileListResult',
|
62
|
+
type: {
|
63
|
+
name: 'Composite',
|
64
|
+
class_name: 'ProfileListResult',
|
65
|
+
model_properties: {
|
66
|
+
value: {
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'value',
|
69
|
+
type: {
|
70
|
+
name: 'Sequence',
|
71
|
+
element: {
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'ProfileResourceFormatElementType',
|
74
|
+
type: {
|
75
|
+
name: 'Composite',
|
76
|
+
class_name: 'ProfileResourceFormat'
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
},
|
81
|
+
next_link: {
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'nextLink',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
@@ -0,0 +1,312 @@
|
|
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 profile resource format.
|
10
|
+
#
|
11
|
+
class ProfileResourceFormat < ProxyResource
|
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
|
+
# @return [String] The api entity set name. This becomes the odata entity
|
43
|
+
# set name for the entity Type being refered in this object.
|
44
|
+
attr_accessor :api_entity_set_name
|
45
|
+
|
46
|
+
# @return [EntityTypes] Type of entity. Possible values include: 'None',
|
47
|
+
# 'Profile', 'Interaction', 'Relationship'
|
48
|
+
attr_accessor :entity_type
|
49
|
+
|
50
|
+
# @return [Array<PropertyDefinition>] The properties of the Profile.
|
51
|
+
attr_accessor :fields
|
52
|
+
|
53
|
+
# @return [Integer] The instance count.
|
54
|
+
attr_accessor :instances_count
|
55
|
+
|
56
|
+
# @return [DateTime] The last changed time for the type definition.
|
57
|
+
attr_accessor :last_changed_utc
|
58
|
+
|
59
|
+
# @return [ProvisioningStates] Provisioning state. Possible values
|
60
|
+
# include: 'Provisioning', 'Succeeded', 'Expiring', 'Deleting',
|
61
|
+
# 'HumanIntervention', 'Failed'
|
62
|
+
attr_accessor :provisioning_state
|
63
|
+
|
64
|
+
# @return [String] The schema org link. This helps ACI identify and
|
65
|
+
# suggest semantic models.
|
66
|
+
attr_accessor :schema_item_type_link
|
67
|
+
|
68
|
+
# @return [String] The hub name.
|
69
|
+
attr_accessor :tenant_id
|
70
|
+
|
71
|
+
# @return [String] The timestamp property name. Represents the time when
|
72
|
+
# the interaction or profile update happened.
|
73
|
+
attr_accessor :timestamp_field_name
|
74
|
+
|
75
|
+
# @return [String] The name of the entity.
|
76
|
+
attr_accessor :type_name
|
77
|
+
|
78
|
+
# @return [Array<StrongId>] The strong IDs.
|
79
|
+
attr_accessor :strong_ids
|
80
|
+
|
81
|
+
|
82
|
+
#
|
83
|
+
# Mapper for ProfileResourceFormat class as Ruby Hash.
|
84
|
+
# This will be used for serialization/deserialization.
|
85
|
+
#
|
86
|
+
def self.mapper()
|
87
|
+
{
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'ProfileResourceFormat',
|
90
|
+
type: {
|
91
|
+
name: 'Composite',
|
92
|
+
class_name: 'ProfileResourceFormat',
|
93
|
+
model_properties: {
|
94
|
+
id: {
|
95
|
+
required: false,
|
96
|
+
read_only: true,
|
97
|
+
serialized_name: 'id',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
name: {
|
103
|
+
required: false,
|
104
|
+
read_only: true,
|
105
|
+
serialized_name: 'name',
|
106
|
+
type: {
|
107
|
+
name: 'String'
|
108
|
+
}
|
109
|
+
},
|
110
|
+
type: {
|
111
|
+
required: false,
|
112
|
+
read_only: true,
|
113
|
+
serialized_name: 'type',
|
114
|
+
type: {
|
115
|
+
name: 'String'
|
116
|
+
}
|
117
|
+
},
|
118
|
+
attributes: {
|
119
|
+
required: false,
|
120
|
+
serialized_name: 'properties.attributes',
|
121
|
+
type: {
|
122
|
+
name: 'Dictionary',
|
123
|
+
value: {
|
124
|
+
required: false,
|
125
|
+
serialized_name: 'ArrayElementType',
|
126
|
+
type: {
|
127
|
+
name: 'Sequence',
|
128
|
+
element: {
|
129
|
+
required: false,
|
130
|
+
serialized_name: 'StringElementType',
|
131
|
+
type: {
|
132
|
+
name: 'String'
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
},
|
139
|
+
description: {
|
140
|
+
required: false,
|
141
|
+
serialized_name: 'properties.description',
|
142
|
+
type: {
|
143
|
+
name: 'Dictionary',
|
144
|
+
value: {
|
145
|
+
required: false,
|
146
|
+
serialized_name: 'StringElementType',
|
147
|
+
type: {
|
148
|
+
name: 'String'
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
},
|
153
|
+
display_name: {
|
154
|
+
required: false,
|
155
|
+
serialized_name: 'properties.displayName',
|
156
|
+
type: {
|
157
|
+
name: 'Dictionary',
|
158
|
+
value: {
|
159
|
+
required: false,
|
160
|
+
serialized_name: 'StringElementType',
|
161
|
+
type: {
|
162
|
+
name: 'String'
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
166
|
+
},
|
167
|
+
localized_attributes: {
|
168
|
+
required: false,
|
169
|
+
serialized_name: 'properties.localizedAttributes',
|
170
|
+
type: {
|
171
|
+
name: 'Dictionary',
|
172
|
+
value: {
|
173
|
+
required: false,
|
174
|
+
serialized_name: 'HashElementType',
|
175
|
+
type: {
|
176
|
+
name: 'Dictionary',
|
177
|
+
value: {
|
178
|
+
required: false,
|
179
|
+
serialized_name: 'StringElementType',
|
180
|
+
type: {
|
181
|
+
name: 'String'
|
182
|
+
}
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
},
|
188
|
+
small_image: {
|
189
|
+
required: false,
|
190
|
+
serialized_name: 'properties.smallImage',
|
191
|
+
type: {
|
192
|
+
name: 'String'
|
193
|
+
}
|
194
|
+
},
|
195
|
+
medium_image: {
|
196
|
+
required: false,
|
197
|
+
serialized_name: 'properties.mediumImage',
|
198
|
+
type: {
|
199
|
+
name: 'String'
|
200
|
+
}
|
201
|
+
},
|
202
|
+
large_image: {
|
203
|
+
required: false,
|
204
|
+
serialized_name: 'properties.largeImage',
|
205
|
+
type: {
|
206
|
+
name: 'String'
|
207
|
+
}
|
208
|
+
},
|
209
|
+
api_entity_set_name: {
|
210
|
+
required: false,
|
211
|
+
serialized_name: 'properties.apiEntitySetName',
|
212
|
+
type: {
|
213
|
+
name: 'String'
|
214
|
+
}
|
215
|
+
},
|
216
|
+
entity_type: {
|
217
|
+
required: false,
|
218
|
+
serialized_name: 'properties.entityType',
|
219
|
+
type: {
|
220
|
+
name: 'Enum',
|
221
|
+
module: 'EntityTypes'
|
222
|
+
}
|
223
|
+
},
|
224
|
+
fields: {
|
225
|
+
required: false,
|
226
|
+
serialized_name: 'properties.fields',
|
227
|
+
type: {
|
228
|
+
name: 'Sequence',
|
229
|
+
element: {
|
230
|
+
required: false,
|
231
|
+
serialized_name: 'PropertyDefinitionElementType',
|
232
|
+
type: {
|
233
|
+
name: 'Composite',
|
234
|
+
class_name: 'PropertyDefinition'
|
235
|
+
}
|
236
|
+
}
|
237
|
+
}
|
238
|
+
},
|
239
|
+
instances_count: {
|
240
|
+
required: false,
|
241
|
+
serialized_name: 'properties.instancesCount',
|
242
|
+
type: {
|
243
|
+
name: 'Number'
|
244
|
+
}
|
245
|
+
},
|
246
|
+
last_changed_utc: {
|
247
|
+
required: false,
|
248
|
+
read_only: true,
|
249
|
+
serialized_name: 'properties.lastChangedUtc',
|
250
|
+
type: {
|
251
|
+
name: 'DateTime'
|
252
|
+
}
|
253
|
+
},
|
254
|
+
provisioning_state: {
|
255
|
+
required: false,
|
256
|
+
read_only: true,
|
257
|
+
serialized_name: 'properties.provisioningState',
|
258
|
+
type: {
|
259
|
+
name: 'String'
|
260
|
+
}
|
261
|
+
},
|
262
|
+
schema_item_type_link: {
|
263
|
+
required: false,
|
264
|
+
serialized_name: 'properties.schemaItemTypeLink',
|
265
|
+
type: {
|
266
|
+
name: 'String'
|
267
|
+
}
|
268
|
+
},
|
269
|
+
tenant_id: {
|
270
|
+
required: false,
|
271
|
+
read_only: true,
|
272
|
+
serialized_name: 'properties.tenantId',
|
273
|
+
type: {
|
274
|
+
name: 'String'
|
275
|
+
}
|
276
|
+
},
|
277
|
+
timestamp_field_name: {
|
278
|
+
required: false,
|
279
|
+
serialized_name: 'properties.timestampFieldName',
|
280
|
+
type: {
|
281
|
+
name: 'String'
|
282
|
+
}
|
283
|
+
},
|
284
|
+
type_name: {
|
285
|
+
required: false,
|
286
|
+
serialized_name: 'properties.typeName',
|
287
|
+
type: {
|
288
|
+
name: 'String'
|
289
|
+
}
|
290
|
+
},
|
291
|
+
strong_ids: {
|
292
|
+
required: false,
|
293
|
+
serialized_name: 'properties.strongIds',
|
294
|
+
type: {
|
295
|
+
name: 'Sequence',
|
296
|
+
element: {
|
297
|
+
required: false,
|
298
|
+
serialized_name: 'StrongIdElementType',
|
299
|
+
type: {
|
300
|
+
name: 'Composite',
|
301
|
+
class_name: 'StrongId'
|
302
|
+
}
|
303
|
+
}
|
304
|
+
}
|
305
|
+
}
|
306
|
+
}
|
307
|
+
}
|
308
|
+
}
|
309
|
+
end
|
310
|
+
end
|
311
|
+
end
|
312
|
+
end
|