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.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-01-01/generated/azure_mgmt_customer_insights.rb +132 -0
  3. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/authorization_policies.rb +641 -0
  4. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/connector_mappings.rb +554 -0
  5. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/connectors.rb +612 -0
  6. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/customer_insights_management_client.rb +192 -0
  7. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/hubs.rb +848 -0
  8. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/images.rb +240 -0
  9. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/interactions.rb +597 -0
  10. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/kpi.rb +696 -0
  11. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/links.rb +571 -0
  12. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/assignment_principal.rb +76 -0
  13. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/authorization_policy.rb +93 -0
  14. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/authorization_policy_list_result.rb +99 -0
  15. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/authorization_policy_resource_format.rb +120 -0
  16. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/azure_blob_connector_properties.rb +46 -0
  17. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/calculation_window_types.rb +19 -0
  18. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/cardinality_types.rb +17 -0
  19. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/completion_operation_types.rb +17 -0
  20. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_list_result.rb +98 -0
  21. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_availability.rb +59 -0
  22. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_complete_operation.rb +60 -0
  23. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_error_management.rb +60 -0
  24. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_format.rb +104 -0
  25. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_list_result.rb +99 -0
  26. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_properties.rb +141 -0
  27. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb +245 -0
  28. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_states.rb +21 -0
  29. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_structure.rb +79 -0
  30. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb +199 -0
  31. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_states.rb +20 -0
  32. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_types.rb +20 -0
  33. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/crm_connector_entities.rb +68 -0
  34. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/crm_connector_properties.rb +100 -0
  35. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_precedence.rb +109 -0
  36. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_type.rb +17 -0
  37. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/enriching_kpi.rb +256 -0
  38. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/entity_type_definition.rb +268 -0
  39. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/entity_types.rb +18 -0
  40. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/error_management_types.rb +17 -0
  41. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/frequency_types.rb +19 -0
  42. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/get_image_upload_url_input.rb +68 -0
  43. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub.rb +147 -0
  44. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub_billing_info_format.rb +78 -0
  45. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub_list_result.rb +98 -0
  46. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/image_definition.rb +68 -0
  47. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/instance_operation_type.rb +16 -0
  48. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/interaction_list_result.rb +99 -0
  49. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/interaction_resource_format.rb +475 -0
  50. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_alias.rb +57 -0
  51. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_definition.rb +320 -0
  52. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_extract.rb +57 -0
  53. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_functions.rb +22 -0
  54. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_group_by_metadata.rb +76 -0
  55. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_list_result.rb +98 -0
  56. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_participant_profiles_metadata.rb +46 -0
  57. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_resource_format.rb +347 -0
  58. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_thresholds.rb +68 -0
  59. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/link_list_result.rb +98 -0
  60. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/link_resource_format.rb +230 -0
  61. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/link_types.rb +16 -0
  62. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb +166 -0
  63. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/operation.rb +59 -0
  64. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/operation_display.rb +72 -0
  65. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/operation_list_result.rb +103 -0
  66. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant.rb +127 -0
  67. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant_property_reference.rb +59 -0
  68. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/permission_types.rb +17 -0
  69. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_enum_valid_values_format.rb +65 -0
  70. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_list_result.rb +98 -0
  71. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb +342 -0
  72. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/property_definition.rb +237 -0
  73. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/provisioning_states.rb +20 -0
  74. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/proxy_resource.rb +71 -0
  75. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_link_field_mapping.rb +70 -0
  76. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_link_list_result.rb +99 -0
  77. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb +238 -0
  78. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_list_result.rb +99 -0
  79. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb +239 -0
  80. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_type_field_mapping.rb +58 -0
  81. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_type_mapping.rb +58 -0
  82. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationships_lookup.rb +115 -0
  83. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/resource.rb +101 -0
  84. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/resource_set_description.rb +74 -0
  85. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_assignment_list_result.rb +99 -0
  86. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_assignment_resource_format.rb +333 -0
  87. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_list_result.rb +98 -0
  88. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_resource_format.rb +84 -0
  89. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_types.rb +20 -0
  90. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/salesforce_connector_properties.rb +67 -0
  91. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/salesforce_discover_setting.rb +46 -0
  92. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/salesforce_table.rb +90 -0
  93. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/status.rb +17 -0
  94. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/strong_id.rb +103 -0
  95. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/suggest_relationship_links_response.rb +69 -0
  96. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/type_properties_mapping.rb +82 -0
  97. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/view_list_result.rb +98 -0
  98. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/view_resource_format.rb +151 -0
  99. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/widget_type_list_result.rb +99 -0
  100. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/widget_type_resource_format.rb +174 -0
  101. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/module_definition.rb +9 -0
  102. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/operations.rb +218 -0
  103. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/profiles.rb +742 -0
  104. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/relationship_links.rb +616 -0
  105. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/relationships.rb +612 -0
  106. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/role_assignments.rb +572 -0
  107. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/roles.rb +229 -0
  108. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/views.rb +535 -0
  109. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/widget_types.rb +326 -0
  110. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/authorization_policies.rb +39 -35
  111. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/connector_mappings.rb +33 -30
  112. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/connectors.rb +41 -38
  113. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/customer_insights_management_client.rb +4 -1
  114. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/hubs.rb +58 -54
  115. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/images.rb +12 -14
  116. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/interactions.rb +37 -34
  117. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/kpi.rb +47 -43
  118. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/links.rb +37 -34
  119. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/operations.rb +15 -13
  120. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb +59 -55
  121. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/profiles.rb +47 -43
  122. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/relationship_links.rb +41 -38
  123. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/relationships.rb +41 -38
  124. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/role_assignments.rb +37 -34
  125. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/roles.rb +15 -13
  126. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/views.rb +33 -30
  127. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/widget_types.rb +21 -18
  128. data/lib/azure_mgmt_customer_insights.rb +1 -0
  129. data/lib/profiles/latest/customerinsights_latest_profile_client.rb +28 -9
  130. data/lib/profiles/latest/customerinsights_module_definition.rb +0 -1
  131. data/lib/profiles/latest/modules/customerinsights_profile_module.rb +356 -337
  132. data/lib/version.rb +1 -1
  133. 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
+ # The image definition.
10
+ #
11
+ class ImageDefinition
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Whether image exists already.
16
+ attr_accessor :image_exists
17
+
18
+ # @return [String] Content URL for the image blob.
19
+ attr_accessor :content_url
20
+
21
+ # @return [String] Relative path of the image.
22
+ attr_accessor :relative_path
23
+
24
+
25
+ #
26
+ # Mapper for ImageDefinition 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: 'ImageDefinition',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'ImageDefinition',
37
+ model_properties: {
38
+ image_exists: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'imageExists',
42
+ type: {
43
+ name: 'Boolean'
44
+ }
45
+ },
46
+ content_url: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'contentUrl',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ relative_path: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'relativePath',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ end
66
+ end
67
+ end
68
+ 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 InstanceOperationType
10
+ #
11
+ module InstanceOperationType
12
+ Upsert = "Upsert"
13
+ Delete = "Delete"
14
+ end
15
+ end
16
+ end
@@ -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_01_01
7
+ module Models
8
+ #
9
+ # The response of list interaction operation.
10
+ #
11
+ class InteractionListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<InteractionResourceFormat>] Results of the list
17
+ # operation.
18
+ attr_accessor :value
19
+
20
+ # @return [String] Link to the next set of results.
21
+ attr_accessor :next_link
22
+
23
+ # return [Proc] with next page method call.
24
+ attr_accessor :next_method
25
+
26
+ #
27
+ # Gets the rest of the items for the request, enabling auto-pagination.
28
+ #
29
+ # @return [Array<InteractionResourceFormat>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [InteractionListResult] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for InteractionListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'InteractionListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'InteractionListResult',
67
+ model_properties: {
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'value',
72
+ type: {
73
+ name: 'Sequence',
74
+ element: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'InteractionResourceFormatElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'InteractionResourceFormat'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'nextLink',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,475 @@
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 interaction resource format.
10
+ #
11
+ class InteractionResourceFormat < 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<String>] The id property names. Properties which
79
+ # uniquely identify an interaction instance.
80
+ attr_accessor :id_property_names
81
+
82
+ # @return [Array<Participant>] Profiles that participated in the
83
+ # interaction.
84
+ attr_accessor :participant_profiles
85
+
86
+ # @return [String] The primary participant property name for an
87
+ # interaction ,This is used to logically represent the agent of the
88
+ # interaction, Specify the participant name here from ParticipantName.
89
+ attr_accessor :primary_participant_profile_property_name
90
+
91
+ # @return [Array<DataSourcePrecedence>] This is specific to interactions
92
+ # modeled as activities. Data sources are used to determine where data is
93
+ # stored and also in precedence rules.
94
+ attr_accessor :data_source_precedence_rules
95
+
96
+ # @return [String] The data source name
97
+ attr_accessor :interaction_resource_format_name
98
+
99
+ # @return [DataSourceType] The data source type. Possible values include:
100
+ # 'Connector', 'LinkInteraction', 'SystemDefault'
101
+ attr_accessor :data_source_type
102
+
103
+ # @return [Status] The data source status. Possible values include:
104
+ # 'None', 'Active', 'Deleted'
105
+ attr_accessor :status
106
+
107
+ # @return [Integer] The data source ID.
108
+ attr_accessor :interaction_resource_format_id
109
+
110
+ # @return [String] The data source reference id.
111
+ attr_accessor :data_source_reference_id
112
+
113
+ # @return [Boolean] An interaction can be tagged as an activity only
114
+ # during create. This enables the interaction to be editable and can
115
+ # enable merging of properties from multiple data sources based on
116
+ # precedence, which is defined at a link level.
117
+ attr_accessor :is_activity
118
+
119
+
120
+ #
121
+ # Mapper for InteractionResourceFormat class as Ruby Hash.
122
+ # This will be used for serialization/deserialization.
123
+ #
124
+ def self.mapper()
125
+ {
126
+ client_side_validation: true,
127
+ required: false,
128
+ serialized_name: 'InteractionResourceFormat',
129
+ type: {
130
+ name: 'Composite',
131
+ class_name: 'InteractionResourceFormat',
132
+ model_properties: {
133
+ id: {
134
+ client_side_validation: true,
135
+ required: false,
136
+ read_only: true,
137
+ serialized_name: 'id',
138
+ type: {
139
+ name: 'String'
140
+ }
141
+ },
142
+ name: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ read_only: true,
146
+ serialized_name: 'name',
147
+ type: {
148
+ name: 'String'
149
+ }
150
+ },
151
+ type: {
152
+ client_side_validation: true,
153
+ required: false,
154
+ read_only: true,
155
+ serialized_name: 'type',
156
+ type: {
157
+ name: 'String'
158
+ }
159
+ },
160
+ attributes: {
161
+ client_side_validation: true,
162
+ required: false,
163
+ serialized_name: 'properties.attributes',
164
+ type: {
165
+ name: 'Dictionary',
166
+ value: {
167
+ client_side_validation: true,
168
+ required: false,
169
+ serialized_name: 'ArrayElementType',
170
+ type: {
171
+ name: 'Sequence',
172
+ element: {
173
+ client_side_validation: true,
174
+ required: false,
175
+ serialized_name: 'StringElementType',
176
+ type: {
177
+ name: 'String'
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }
183
+ },
184
+ description: {
185
+ client_side_validation: true,
186
+ required: false,
187
+ serialized_name: 'properties.description',
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
+ display_name: {
201
+ client_side_validation: true,
202
+ required: false,
203
+ serialized_name: 'properties.displayName',
204
+ type: {
205
+ name: 'Dictionary',
206
+ value: {
207
+ client_side_validation: true,
208
+ required: false,
209
+ serialized_name: 'StringElementType',
210
+ type: {
211
+ name: 'String'
212
+ }
213
+ }
214
+ }
215
+ },
216
+ localized_attributes: {
217
+ client_side_validation: true,
218
+ required: false,
219
+ serialized_name: 'properties.localizedAttributes',
220
+ type: {
221
+ name: 'Dictionary',
222
+ value: {
223
+ client_side_validation: true,
224
+ required: false,
225
+ serialized_name: 'HashElementType',
226
+ type: {
227
+ name: 'Dictionary',
228
+ value: {
229
+ client_side_validation: true,
230
+ required: false,
231
+ serialized_name: 'StringElementType',
232
+ type: {
233
+ name: 'String'
234
+ }
235
+ }
236
+ }
237
+ }
238
+ }
239
+ },
240
+ small_image: {
241
+ client_side_validation: true,
242
+ required: false,
243
+ serialized_name: 'properties.smallImage',
244
+ type: {
245
+ name: 'String'
246
+ }
247
+ },
248
+ medium_image: {
249
+ client_side_validation: true,
250
+ required: false,
251
+ serialized_name: 'properties.mediumImage',
252
+ type: {
253
+ name: 'String'
254
+ }
255
+ },
256
+ large_image: {
257
+ client_side_validation: true,
258
+ required: false,
259
+ serialized_name: 'properties.largeImage',
260
+ type: {
261
+ name: 'String'
262
+ }
263
+ },
264
+ api_entity_set_name: {
265
+ client_side_validation: true,
266
+ required: false,
267
+ serialized_name: 'properties.apiEntitySetName',
268
+ type: {
269
+ name: 'String'
270
+ }
271
+ },
272
+ entity_type: {
273
+ client_side_validation: true,
274
+ required: false,
275
+ serialized_name: 'properties.entityType',
276
+ type: {
277
+ name: 'Enum',
278
+ module: 'EntityTypes'
279
+ }
280
+ },
281
+ fields: {
282
+ client_side_validation: true,
283
+ required: false,
284
+ serialized_name: 'properties.fields',
285
+ type: {
286
+ name: 'Sequence',
287
+ element: {
288
+ client_side_validation: true,
289
+ required: false,
290
+ serialized_name: 'PropertyDefinitionElementType',
291
+ type: {
292
+ name: 'Composite',
293
+ class_name: 'PropertyDefinition'
294
+ }
295
+ }
296
+ }
297
+ },
298
+ instances_count: {
299
+ client_side_validation: true,
300
+ required: false,
301
+ serialized_name: 'properties.instancesCount',
302
+ type: {
303
+ name: 'Number'
304
+ }
305
+ },
306
+ last_changed_utc: {
307
+ client_side_validation: true,
308
+ required: false,
309
+ read_only: true,
310
+ serialized_name: 'properties.lastChangedUtc',
311
+ type: {
312
+ name: 'DateTime'
313
+ }
314
+ },
315
+ provisioning_state: {
316
+ client_side_validation: true,
317
+ required: false,
318
+ read_only: true,
319
+ serialized_name: 'properties.provisioningState',
320
+ type: {
321
+ name: 'String'
322
+ }
323
+ },
324
+ schema_item_type_link: {
325
+ client_side_validation: true,
326
+ required: false,
327
+ serialized_name: 'properties.schemaItemTypeLink',
328
+ type: {
329
+ name: 'String'
330
+ }
331
+ },
332
+ tenant_id: {
333
+ client_side_validation: true,
334
+ required: false,
335
+ read_only: true,
336
+ serialized_name: 'properties.tenantId',
337
+ type: {
338
+ name: 'String'
339
+ }
340
+ },
341
+ timestamp_field_name: {
342
+ client_side_validation: true,
343
+ required: false,
344
+ serialized_name: 'properties.timestampFieldName',
345
+ type: {
346
+ name: 'String'
347
+ }
348
+ },
349
+ type_name: {
350
+ client_side_validation: true,
351
+ required: false,
352
+ serialized_name: 'properties.typeName',
353
+ type: {
354
+ name: 'String'
355
+ }
356
+ },
357
+ id_property_names: {
358
+ client_side_validation: true,
359
+ required: false,
360
+ serialized_name: 'properties.idPropertyNames',
361
+ type: {
362
+ name: 'Sequence',
363
+ element: {
364
+ client_side_validation: true,
365
+ required: false,
366
+ serialized_name: 'StringElementType',
367
+ type: {
368
+ name: 'String'
369
+ }
370
+ }
371
+ }
372
+ },
373
+ participant_profiles: {
374
+ client_side_validation: true,
375
+ required: false,
376
+ serialized_name: 'properties.participantProfiles',
377
+ type: {
378
+ name: 'Sequence',
379
+ element: {
380
+ client_side_validation: true,
381
+ required: false,
382
+ serialized_name: 'ParticipantElementType',
383
+ type: {
384
+ name: 'Composite',
385
+ class_name: 'Participant'
386
+ }
387
+ }
388
+ }
389
+ },
390
+ primary_participant_profile_property_name: {
391
+ client_side_validation: true,
392
+ required: false,
393
+ serialized_name: 'properties.primaryParticipantProfilePropertyName',
394
+ type: {
395
+ name: 'String'
396
+ }
397
+ },
398
+ data_source_precedence_rules: {
399
+ client_side_validation: true,
400
+ required: false,
401
+ read_only: true,
402
+ serialized_name: 'properties.dataSourcePrecedenceRules',
403
+ type: {
404
+ name: 'Sequence',
405
+ element: {
406
+ client_side_validation: true,
407
+ required: false,
408
+ serialized_name: 'DataSourcePrecedenceElementType',
409
+ type: {
410
+ name: 'Composite',
411
+ class_name: 'DataSourcePrecedence'
412
+ }
413
+ }
414
+ }
415
+ },
416
+ interaction_resource_format_name: {
417
+ client_side_validation: true,
418
+ required: false,
419
+ read_only: true,
420
+ serialized_name: 'properties.defaultDataSource.name',
421
+ type: {
422
+ name: 'String'
423
+ }
424
+ },
425
+ data_source_type: {
426
+ client_side_validation: true,
427
+ required: false,
428
+ read_only: true,
429
+ serialized_name: 'properties.defaultDataSource.dataSourceType',
430
+ type: {
431
+ name: 'String'
432
+ }
433
+ },
434
+ status: {
435
+ client_side_validation: true,
436
+ required: false,
437
+ read_only: true,
438
+ serialized_name: 'properties.defaultDataSource.status',
439
+ type: {
440
+ name: 'String'
441
+ }
442
+ },
443
+ interaction_resource_format_id: {
444
+ client_side_validation: true,
445
+ required: false,
446
+ read_only: true,
447
+ serialized_name: 'properties.defaultDataSource.id',
448
+ type: {
449
+ name: 'Number'
450
+ }
451
+ },
452
+ data_source_reference_id: {
453
+ client_side_validation: true,
454
+ required: false,
455
+ read_only: true,
456
+ serialized_name: 'properties.defaultDataSource.dataSourceReferenceId',
457
+ type: {
458
+ name: 'String'
459
+ }
460
+ },
461
+ is_activity: {
462
+ client_side_validation: true,
463
+ required: false,
464
+ serialized_name: 'properties.isActivity',
465
+ type: {
466
+ name: 'Boolean'
467
+ }
468
+ }
469
+ }
470
+ }
471
+ }
472
+ end
473
+ end
474
+ end
475
+ end