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,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 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
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'ProfileListResult',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'ProfileListResult',
|
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: 'ProfileResourceFormatElementType',
|
77
|
+
type: {
|
78
|
+
name: 'Composite',
|
79
|
+
class_name: 'ProfileResourceFormat'
|
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,342 @@
|
|
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 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
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'ProfileResourceFormat',
|
91
|
+
type: {
|
92
|
+
name: 'Composite',
|
93
|
+
class_name: 'ProfileResourceFormat',
|
94
|
+
model_properties: {
|
95
|
+
id: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
read_only: true,
|
99
|
+
serialized_name: 'id',
|
100
|
+
type: {
|
101
|
+
name: 'String'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
name: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
read_only: true,
|
108
|
+
serialized_name: 'name',
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
},
|
113
|
+
type: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: false,
|
116
|
+
read_only: true,
|
117
|
+
serialized_name: 'type',
|
118
|
+
type: {
|
119
|
+
name: 'String'
|
120
|
+
}
|
121
|
+
},
|
122
|
+
attributes: {
|
123
|
+
client_side_validation: true,
|
124
|
+
required: false,
|
125
|
+
serialized_name: 'properties.attributes',
|
126
|
+
type: {
|
127
|
+
name: 'Dictionary',
|
128
|
+
value: {
|
129
|
+
client_side_validation: true,
|
130
|
+
required: false,
|
131
|
+
serialized_name: 'ArrayElementType',
|
132
|
+
type: {
|
133
|
+
name: 'Sequence',
|
134
|
+
element: {
|
135
|
+
client_side_validation: true,
|
136
|
+
required: false,
|
137
|
+
serialized_name: 'StringElementType',
|
138
|
+
type: {
|
139
|
+
name: 'String'
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
},
|
146
|
+
description: {
|
147
|
+
client_side_validation: true,
|
148
|
+
required: false,
|
149
|
+
serialized_name: 'properties.description',
|
150
|
+
type: {
|
151
|
+
name: 'Dictionary',
|
152
|
+
value: {
|
153
|
+
client_side_validation: true,
|
154
|
+
required: false,
|
155
|
+
serialized_name: 'StringElementType',
|
156
|
+
type: {
|
157
|
+
name: 'String'
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
},
|
162
|
+
display_name: {
|
163
|
+
client_side_validation: true,
|
164
|
+
required: false,
|
165
|
+
serialized_name: 'properties.displayName',
|
166
|
+
type: {
|
167
|
+
name: 'Dictionary',
|
168
|
+
value: {
|
169
|
+
client_side_validation: true,
|
170
|
+
required: false,
|
171
|
+
serialized_name: 'StringElementType',
|
172
|
+
type: {
|
173
|
+
name: 'String'
|
174
|
+
}
|
175
|
+
}
|
176
|
+
}
|
177
|
+
},
|
178
|
+
localized_attributes: {
|
179
|
+
client_side_validation: true,
|
180
|
+
required: false,
|
181
|
+
serialized_name: 'properties.localizedAttributes',
|
182
|
+
type: {
|
183
|
+
name: 'Dictionary',
|
184
|
+
value: {
|
185
|
+
client_side_validation: true,
|
186
|
+
required: false,
|
187
|
+
serialized_name: 'HashElementType',
|
188
|
+
type: {
|
189
|
+
name: 'Dictionary',
|
190
|
+
value: {
|
191
|
+
client_side_validation: true,
|
192
|
+
required: false,
|
193
|
+
serialized_name: 'StringElementType',
|
194
|
+
type: {
|
195
|
+
name: 'String'
|
196
|
+
}
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|
200
|
+
}
|
201
|
+
},
|
202
|
+
small_image: {
|
203
|
+
client_side_validation: true,
|
204
|
+
required: false,
|
205
|
+
serialized_name: 'properties.smallImage',
|
206
|
+
type: {
|
207
|
+
name: 'String'
|
208
|
+
}
|
209
|
+
},
|
210
|
+
medium_image: {
|
211
|
+
client_side_validation: true,
|
212
|
+
required: false,
|
213
|
+
serialized_name: 'properties.mediumImage',
|
214
|
+
type: {
|
215
|
+
name: 'String'
|
216
|
+
}
|
217
|
+
},
|
218
|
+
large_image: {
|
219
|
+
client_side_validation: true,
|
220
|
+
required: false,
|
221
|
+
serialized_name: 'properties.largeImage',
|
222
|
+
type: {
|
223
|
+
name: 'String'
|
224
|
+
}
|
225
|
+
},
|
226
|
+
api_entity_set_name: {
|
227
|
+
client_side_validation: true,
|
228
|
+
required: false,
|
229
|
+
serialized_name: 'properties.apiEntitySetName',
|
230
|
+
type: {
|
231
|
+
name: 'String'
|
232
|
+
}
|
233
|
+
},
|
234
|
+
entity_type: {
|
235
|
+
client_side_validation: true,
|
236
|
+
required: false,
|
237
|
+
serialized_name: 'properties.entityType',
|
238
|
+
type: {
|
239
|
+
name: 'Enum',
|
240
|
+
module: 'EntityTypes'
|
241
|
+
}
|
242
|
+
},
|
243
|
+
fields: {
|
244
|
+
client_side_validation: true,
|
245
|
+
required: false,
|
246
|
+
serialized_name: 'properties.fields',
|
247
|
+
type: {
|
248
|
+
name: 'Sequence',
|
249
|
+
element: {
|
250
|
+
client_side_validation: true,
|
251
|
+
required: false,
|
252
|
+
serialized_name: 'PropertyDefinitionElementType',
|
253
|
+
type: {
|
254
|
+
name: 'Composite',
|
255
|
+
class_name: 'PropertyDefinition'
|
256
|
+
}
|
257
|
+
}
|
258
|
+
}
|
259
|
+
},
|
260
|
+
instances_count: {
|
261
|
+
client_side_validation: true,
|
262
|
+
required: false,
|
263
|
+
serialized_name: 'properties.instancesCount',
|
264
|
+
type: {
|
265
|
+
name: 'Number'
|
266
|
+
}
|
267
|
+
},
|
268
|
+
last_changed_utc: {
|
269
|
+
client_side_validation: true,
|
270
|
+
required: false,
|
271
|
+
read_only: true,
|
272
|
+
serialized_name: 'properties.lastChangedUtc',
|
273
|
+
type: {
|
274
|
+
name: 'DateTime'
|
275
|
+
}
|
276
|
+
},
|
277
|
+
provisioning_state: {
|
278
|
+
client_side_validation: true,
|
279
|
+
required: false,
|
280
|
+
read_only: true,
|
281
|
+
serialized_name: 'properties.provisioningState',
|
282
|
+
type: {
|
283
|
+
name: 'String'
|
284
|
+
}
|
285
|
+
},
|
286
|
+
schema_item_type_link: {
|
287
|
+
client_side_validation: true,
|
288
|
+
required: false,
|
289
|
+
serialized_name: 'properties.schemaItemTypeLink',
|
290
|
+
type: {
|
291
|
+
name: 'String'
|
292
|
+
}
|
293
|
+
},
|
294
|
+
tenant_id: {
|
295
|
+
client_side_validation: true,
|
296
|
+
required: false,
|
297
|
+
read_only: true,
|
298
|
+
serialized_name: 'properties.tenantId',
|
299
|
+
type: {
|
300
|
+
name: 'String'
|
301
|
+
}
|
302
|
+
},
|
303
|
+
timestamp_field_name: {
|
304
|
+
client_side_validation: true,
|
305
|
+
required: false,
|
306
|
+
serialized_name: 'properties.timestampFieldName',
|
307
|
+
type: {
|
308
|
+
name: 'String'
|
309
|
+
}
|
310
|
+
},
|
311
|
+
type_name: {
|
312
|
+
client_side_validation: true,
|
313
|
+
required: false,
|
314
|
+
serialized_name: 'properties.typeName',
|
315
|
+
type: {
|
316
|
+
name: 'String'
|
317
|
+
}
|
318
|
+
},
|
319
|
+
strong_ids: {
|
320
|
+
client_side_validation: true,
|
321
|
+
required: false,
|
322
|
+
serialized_name: 'properties.strongIds',
|
323
|
+
type: {
|
324
|
+
name: 'Sequence',
|
325
|
+
element: {
|
326
|
+
client_side_validation: true,
|
327
|
+
required: false,
|
328
|
+
serialized_name: 'StrongIdElementType',
|
329
|
+
type: {
|
330
|
+
name: 'Composite',
|
331
|
+
class_name: 'StrongId'
|
332
|
+
}
|
333
|
+
}
|
334
|
+
}
|
335
|
+
}
|
336
|
+
}
|
337
|
+
}
|
338
|
+
}
|
339
|
+
end
|
340
|
+
end
|
341
|
+
end
|
342
|
+
end
|
@@ -0,0 +1,237 @@
|
|
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
|
+
# 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
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'PropertyDefinition',
|
80
|
+
type: {
|
81
|
+
name: 'Composite',
|
82
|
+
class_name: 'PropertyDefinition',
|
83
|
+
model_properties: {
|
84
|
+
array_value_separator: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'arrayValueSeparator',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
enum_valid_values: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'enumValidValues',
|
96
|
+
type: {
|
97
|
+
name: 'Sequence',
|
98
|
+
element: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'ProfileEnumValidValuesFormatElementType',
|
102
|
+
type: {
|
103
|
+
name: 'Composite',
|
104
|
+
class_name: 'ProfileEnumValidValuesFormat'
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
},
|
109
|
+
field_name: {
|
110
|
+
client_side_validation: true,
|
111
|
+
required: true,
|
112
|
+
serialized_name: 'fieldName',
|
113
|
+
type: {
|
114
|
+
name: 'String'
|
115
|
+
}
|
116
|
+
},
|
117
|
+
field_type: {
|
118
|
+
client_side_validation: true,
|
119
|
+
required: true,
|
120
|
+
serialized_name: 'fieldType',
|
121
|
+
type: {
|
122
|
+
name: 'String'
|
123
|
+
}
|
124
|
+
},
|
125
|
+
is_array: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: false,
|
128
|
+
serialized_name: 'isArray',
|
129
|
+
type: {
|
130
|
+
name: 'Boolean'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
is_enum: {
|
134
|
+
client_side_validation: true,
|
135
|
+
required: false,
|
136
|
+
serialized_name: 'isEnum',
|
137
|
+
type: {
|
138
|
+
name: 'Boolean'
|
139
|
+
}
|
140
|
+
},
|
141
|
+
is_flag_enum: {
|
142
|
+
client_side_validation: true,
|
143
|
+
required: false,
|
144
|
+
serialized_name: 'isFlagEnum',
|
145
|
+
type: {
|
146
|
+
name: 'Boolean'
|
147
|
+
}
|
148
|
+
},
|
149
|
+
is_image: {
|
150
|
+
client_side_validation: true,
|
151
|
+
required: false,
|
152
|
+
serialized_name: 'isImage',
|
153
|
+
type: {
|
154
|
+
name: 'Boolean'
|
155
|
+
}
|
156
|
+
},
|
157
|
+
is_localized_string: {
|
158
|
+
client_side_validation: true,
|
159
|
+
required: false,
|
160
|
+
serialized_name: 'isLocalizedString',
|
161
|
+
type: {
|
162
|
+
name: 'Boolean'
|
163
|
+
}
|
164
|
+
},
|
165
|
+
is_name: {
|
166
|
+
client_side_validation: true,
|
167
|
+
required: false,
|
168
|
+
serialized_name: 'isName',
|
169
|
+
type: {
|
170
|
+
name: 'Boolean'
|
171
|
+
}
|
172
|
+
},
|
173
|
+
is_required: {
|
174
|
+
client_side_validation: true,
|
175
|
+
required: false,
|
176
|
+
serialized_name: 'isRequired',
|
177
|
+
type: {
|
178
|
+
name: 'Boolean'
|
179
|
+
}
|
180
|
+
},
|
181
|
+
property_id: {
|
182
|
+
client_side_validation: true,
|
183
|
+
required: false,
|
184
|
+
serialized_name: 'propertyId',
|
185
|
+
type: {
|
186
|
+
name: 'String'
|
187
|
+
}
|
188
|
+
},
|
189
|
+
schema_item_prop_link: {
|
190
|
+
client_side_validation: true,
|
191
|
+
required: false,
|
192
|
+
serialized_name: 'schemaItemPropLink',
|
193
|
+
type: {
|
194
|
+
name: 'String'
|
195
|
+
}
|
196
|
+
},
|
197
|
+
max_length: {
|
198
|
+
client_side_validation: true,
|
199
|
+
required: false,
|
200
|
+
serialized_name: 'maxLength',
|
201
|
+
type: {
|
202
|
+
name: 'Number'
|
203
|
+
}
|
204
|
+
},
|
205
|
+
is_available_in_graph: {
|
206
|
+
client_side_validation: true,
|
207
|
+
required: false,
|
208
|
+
serialized_name: 'isAvailableInGraph',
|
209
|
+
type: {
|
210
|
+
name: 'Boolean'
|
211
|
+
}
|
212
|
+
},
|
213
|
+
data_source_precedence_rules: {
|
214
|
+
client_side_validation: true,
|
215
|
+
required: false,
|
216
|
+
read_only: true,
|
217
|
+
serialized_name: 'dataSourcePrecedenceRules',
|
218
|
+
type: {
|
219
|
+
name: 'Sequence',
|
220
|
+
element: {
|
221
|
+
client_side_validation: true,
|
222
|
+
required: false,
|
223
|
+
serialized_name: 'DataSourcePrecedenceElementType',
|
224
|
+
type: {
|
225
|
+
name: 'Composite',
|
226
|
+
class_name: 'DataSourcePrecedence'
|
227
|
+
}
|
228
|
+
}
|
229
|
+
}
|
230
|
+
}
|
231
|
+
}
|
232
|
+
}
|
233
|
+
}
|
234
|
+
end
|
235
|
+
end
|
236
|
+
end
|
237
|
+
end
|