purecloudplatformclientv2 17.0.0 → 18.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/AnalyticsConversation.md +5 -5
- data/docs/AnalyticsConversationSegment.md +9 -9
- data/docs/AnalyticsEvaluation.md +10 -10
- data/docs/AnalyticsParticipant.md +7 -7
- data/docs/AnalyticsSession.md +27 -27
- data/docs/BillingApi.md +75 -0
- data/docs/BillingUsage.md +15 -0
- data/docs/BillingUsageReport.md +18 -0
- data/docs/BillingUsageResource.md +14 -0
- data/docs/CallCommand.md +1 -0
- data/docs/Conversation.md +1 -1
- data/docs/CreateQueueRequest.md +9 -9
- data/docs/DID.md +9 -9
- data/docs/DIDPool.md +9 -9
- data/docs/DirectoryUserDevicesListing.md +22 -0
- data/docs/DomainCertificateAuthority.md +9 -9
- data/docs/DomainLogicalInterface.md +9 -9
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/DomainPhysicalInterface.md +9 -9
- data/docs/DomainSchemaReference.md +9 -9
- data/docs/Edge.md +10 -10
- data/docs/EdgeGroup.md +9 -9
- data/docs/EdgeLine.md +9 -9
- data/docs/EdgeLogsJob.md +9 -9
- data/docs/EdgeLogsJobFile.md +9 -9
- data/docs/EdgeLogsJobResponse.md +9 -9
- data/docs/EdgeTrunkBase.md +9 -9
- data/docs/Endpoint.md +9 -9
- data/docs/Extension.md +9 -9
- data/docs/ExtensionPool.md +9 -9
- data/docs/IVR.md +9 -9
- data/docs/JsonNode.md +4 -4
- data/docs/Line.md +9 -9
- data/docs/LineBase.md +9 -9
- data/docs/Metabase.md +8 -8
- data/docs/MobileDevicesApi.md +320 -0
- data/docs/NumberPlan.md +9 -9
- data/docs/OutboundApi.md +113 -0
- data/docs/OutboundRoute.md +9 -9
- data/docs/OutboundRouteBase.md +9 -9
- data/docs/OutboundSettings.md +20 -0
- data/docs/Phone.md +9 -9
- data/docs/PhoneBase.md +9 -9
- data/docs/Queue.md +9 -9
- data/docs/Schedule.md +10 -10
- data/docs/ScheduleGroup.md +10 -10
- data/docs/SchemaCategory.md +9 -9
- data/docs/Site.md +9 -9
- data/docs/Trunk.md +9 -9
- data/docs/TrunkBase.md +9 -9
- data/docs/UserDevice.md +22 -0
- data/docs/UserQueue.md +9 -9
- data/docs/UsersApi.md +1 -1
- data/lib/purecloudplatformclientv2.rb +8 -0
- data/lib/purecloudplatformclientv2/api/billing_api.rb +104 -0
- data/lib/purecloudplatformclientv2/api/mobile_devices_api.rb +380 -0
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +119 -0
- data/lib/purecloudplatformclientv2/api/users_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/analytics_conversation.rb +5 -2
- data/lib/purecloudplatformclientv2/models/analytics_conversation_segment.rb +9 -2
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +10 -0
- data/lib/purecloudplatformclientv2/models/analytics_participant.rb +7 -0
- data/lib/purecloudplatformclientv2/models/analytics_session.rb +42 -2
- data/lib/purecloudplatformclientv2/models/billing_usage.rb +271 -0
- data/lib/purecloudplatformclientv2/models/billing_usage_report.rb +348 -0
- data/lib/purecloudplatformclientv2/models/billing_usage_resource.rb +238 -0
- data/lib/purecloudplatformclientv2/models/call_command.rb +30 -4
- data/lib/purecloudplatformclientv2/models/conversation.rb +1 -1
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +9 -2
- data/lib/purecloudplatformclientv2/models/did.rb +9 -2
- data/lib/purecloudplatformclientv2/models/did_pool.rb +9 -2
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/domain_certificate_authority.rb +9 -2
- data/lib/purecloudplatformclientv2/models/domain_logical_interface.rb +9 -2
- data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_physical_interface.rb +9 -2
- data/lib/purecloudplatformclientv2/models/domain_schema_reference.rb +9 -2
- data/lib/purecloudplatformclientv2/models/edge.rb +10 -2
- data/lib/purecloudplatformclientv2/models/edge_group.rb +9 -2
- data/lib/purecloudplatformclientv2/models/edge_line.rb +9 -2
- data/lib/purecloudplatformclientv2/models/edge_logs_job.rb +9 -2
- data/lib/purecloudplatformclientv2/models/edge_logs_job_file.rb +9 -2
- data/lib/purecloudplatformclientv2/models/edge_logs_job_response.rb +9 -2
- data/lib/purecloudplatformclientv2/models/edge_trunk_base.rb +9 -2
- data/lib/purecloudplatformclientv2/models/endpoint.rb +9 -2
- data/lib/purecloudplatformclientv2/models/extension.rb +9 -2
- data/lib/purecloudplatformclientv2/models/extension_pool.rb +9 -2
- data/lib/purecloudplatformclientv2/models/intraday_data_group.rb +2 -2
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_data_group.rb +2 -2
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_data_groupings.rb +2 -2
- data/lib/purecloudplatformclientv2/models/ivr.rb +9 -2
- data/lib/purecloudplatformclientv2/models/json_node.rb +72 -72
- data/lib/purecloudplatformclientv2/models/line.rb +9 -2
- data/lib/purecloudplatformclientv2/models/line_base.rb +9 -2
- data/lib/purecloudplatformclientv2/models/metabase.rb +8 -2
- data/lib/purecloudplatformclientv2/models/number_plan.rb +9 -2
- data/lib/purecloudplatformclientv2/models/outbound_route.rb +9 -2
- data/lib/purecloudplatformclientv2/models/outbound_route_base.rb +9 -2
- data/lib/purecloudplatformclientv2/models/outbound_settings.rb +383 -0
- data/lib/purecloudplatformclientv2/models/phone.rb +9 -2
- data/lib/purecloudplatformclientv2/models/phone_base.rb +9 -2
- data/lib/purecloudplatformclientv2/models/queue.rb +9 -2
- data/lib/purecloudplatformclientv2/models/recording.rb +2 -2
- data/lib/purecloudplatformclientv2/models/schedule.rb +15 -2
- data/lib/purecloudplatformclientv2/models/schedule_group.rb +15 -2
- data/lib/purecloudplatformclientv2/models/schema_category.rb +9 -2
- data/lib/purecloudplatformclientv2/models/site.rb +9 -2
- data/lib/purecloudplatformclientv2/models/trunk.rb +9 -2
- data/lib/purecloudplatformclientv2/models/trunk_base.rb +9 -2
- data/lib/purecloudplatformclientv2/models/user_device.rb +478 -0
- data/lib/purecloudplatformclientv2/models/user_queue.rb +9 -2
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +19 -3
@@ -24,24 +24,31 @@ module PureCloud
|
|
24
24
|
# The name of the entity.
|
25
25
|
attr_accessor :name
|
26
26
|
|
27
|
+
# The resource's description.
|
27
28
|
attr_accessor :description
|
28
29
|
|
30
|
+
# The current version of the resource.
|
29
31
|
attr_accessor :version
|
30
32
|
|
31
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
33
|
+
# The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
32
34
|
attr_accessor :date_created
|
33
35
|
|
34
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
36
|
+
# The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
35
37
|
attr_accessor :date_modified
|
36
38
|
|
39
|
+
# The ID of the user that last modified the resource.
|
37
40
|
attr_accessor :modified_by
|
38
41
|
|
42
|
+
# The ID of the user that created the resource.
|
39
43
|
attr_accessor :created_by
|
40
44
|
|
45
|
+
# Indicates if the resource is active, inactive, or deleted.
|
41
46
|
attr_accessor :state
|
42
47
|
|
48
|
+
# The application that last modified the resource.
|
43
49
|
attr_accessor :modified_by_app
|
44
50
|
|
51
|
+
# The application that created the resource.
|
45
52
|
attr_accessor :created_by_app
|
46
53
|
|
47
54
|
attr_accessor :schema
|
@@ -24,24 +24,31 @@ module PureCloud
|
|
24
24
|
# The name of the entity.
|
25
25
|
attr_accessor :name
|
26
26
|
|
27
|
+
# The resource's description.
|
27
28
|
attr_accessor :description
|
28
29
|
|
30
|
+
# The current version of the resource.
|
29
31
|
attr_accessor :version
|
30
32
|
|
31
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
33
|
+
# The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
32
34
|
attr_accessor :date_created
|
33
35
|
|
34
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
36
|
+
# The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
35
37
|
attr_accessor :date_modified
|
36
38
|
|
39
|
+
# The ID of the user that last modified the resource.
|
37
40
|
attr_accessor :modified_by
|
38
41
|
|
42
|
+
# The ID of the user that created the resource.
|
39
43
|
attr_accessor :created_by
|
40
44
|
|
45
|
+
# Indicates if the resource is active, inactive, or deleted.
|
41
46
|
attr_accessor :state
|
42
47
|
|
48
|
+
# The application that last modified the resource.
|
43
49
|
attr_accessor :modified_by_app
|
44
50
|
|
51
|
+
# The application that created the resource.
|
45
52
|
attr_accessor :created_by_app
|
46
53
|
|
47
54
|
# The files available to upload from the Edge to the cloud.
|
@@ -24,24 +24,31 @@ module PureCloud
|
|
24
24
|
# The name of the entity.
|
25
25
|
attr_accessor :name
|
26
26
|
|
27
|
+
# The resource's description.
|
27
28
|
attr_accessor :description
|
28
29
|
|
30
|
+
# The current version of the resource.
|
29
31
|
attr_accessor :version
|
30
32
|
|
31
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
33
|
+
# The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
32
34
|
attr_accessor :date_created
|
33
35
|
|
34
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
36
|
+
# The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
35
37
|
attr_accessor :date_modified
|
36
38
|
|
39
|
+
# The ID of the user that last modified the resource.
|
37
40
|
attr_accessor :modified_by
|
38
41
|
|
42
|
+
# The ID of the user that created the resource.
|
39
43
|
attr_accessor :created_by
|
40
44
|
|
45
|
+
# Indicates if the resource is active, inactive, or deleted.
|
41
46
|
attr_accessor :state
|
42
47
|
|
48
|
+
# The application that last modified the resource.
|
43
49
|
attr_accessor :modified_by_app
|
44
50
|
|
51
|
+
# The application that created the resource.
|
45
52
|
attr_accessor :created_by_app
|
46
53
|
|
47
54
|
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
@@ -24,24 +24,31 @@ module PureCloud
|
|
24
24
|
# The name of the entity.
|
25
25
|
attr_accessor :name
|
26
26
|
|
27
|
+
# The resource's description.
|
27
28
|
attr_accessor :description
|
28
29
|
|
30
|
+
# The current version of the resource.
|
29
31
|
attr_accessor :version
|
30
32
|
|
31
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
33
|
+
# The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
32
34
|
attr_accessor :date_created
|
33
35
|
|
34
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
36
|
+
# The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
35
37
|
attr_accessor :date_modified
|
36
38
|
|
39
|
+
# The ID of the user that last modified the resource.
|
37
40
|
attr_accessor :modified_by
|
38
41
|
|
42
|
+
# The ID of the user that created the resource.
|
39
43
|
attr_accessor :created_by
|
40
44
|
|
45
|
+
# Indicates if the resource is active, inactive, or deleted.
|
41
46
|
attr_accessor :state
|
42
47
|
|
48
|
+
# The application that last modified the resource.
|
43
49
|
attr_accessor :modified_by_app
|
44
50
|
|
51
|
+
# The application that created the resource.
|
45
52
|
attr_accessor :created_by_app
|
46
53
|
|
47
54
|
# The URI for this object
|
@@ -24,24 +24,31 @@ module PureCloud
|
|
24
24
|
# The name of the entity.
|
25
25
|
attr_accessor :name
|
26
26
|
|
27
|
+
# The resource's description.
|
27
28
|
attr_accessor :description
|
28
29
|
|
30
|
+
# The current version of the resource.
|
29
31
|
attr_accessor :version
|
30
32
|
|
31
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
33
|
+
# The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
32
34
|
attr_accessor :date_created
|
33
35
|
|
34
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
36
|
+
# The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
35
37
|
attr_accessor :date_modified
|
36
38
|
|
39
|
+
# The ID of the user that last modified the resource.
|
37
40
|
attr_accessor :modified_by
|
38
41
|
|
42
|
+
# The ID of the user that created the resource.
|
39
43
|
attr_accessor :created_by
|
40
44
|
|
45
|
+
# Indicates if the resource is active, inactive, or deleted.
|
41
46
|
attr_accessor :state
|
42
47
|
|
48
|
+
# The application that last modified the resource.
|
43
49
|
attr_accessor :modified_by_app
|
44
50
|
|
51
|
+
# The application that created the resource.
|
45
52
|
attr_accessor :created_by_app
|
46
53
|
|
47
54
|
# The meta-base this trunk is based on.
|
@@ -24,24 +24,31 @@ module PureCloud
|
|
24
24
|
# Name
|
25
25
|
attr_accessor :name
|
26
26
|
|
27
|
+
# The resource's description.
|
27
28
|
attr_accessor :description
|
28
29
|
|
30
|
+
# The current version of the resource.
|
29
31
|
attr_accessor :version
|
30
32
|
|
31
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
33
|
+
# The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
32
34
|
attr_accessor :date_created
|
33
35
|
|
34
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
36
|
+
# The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
35
37
|
attr_accessor :date_modified
|
36
38
|
|
39
|
+
# The ID of the user that last modified the resource.
|
37
40
|
attr_accessor :modified_by
|
38
41
|
|
42
|
+
# The ID of the user that created the resource.
|
39
43
|
attr_accessor :created_by
|
40
44
|
|
45
|
+
# Indicates if the resource is active, inactive, or deleted.
|
41
46
|
attr_accessor :state
|
42
47
|
|
48
|
+
# The application that last modified the resource.
|
43
49
|
attr_accessor :modified_by_app
|
44
50
|
|
51
|
+
# The application that created the resource.
|
45
52
|
attr_accessor :created_by_app
|
46
53
|
|
47
54
|
attr_accessor :count
|
@@ -24,24 +24,31 @@ module PureCloud
|
|
24
24
|
# The name of the entity.
|
25
25
|
attr_accessor :name
|
26
26
|
|
27
|
+
# The resource's description.
|
27
28
|
attr_accessor :description
|
28
29
|
|
30
|
+
# The current version of the resource.
|
29
31
|
attr_accessor :version
|
30
32
|
|
31
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
33
|
+
# The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
32
34
|
attr_accessor :date_created
|
33
35
|
|
34
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
36
|
+
# The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
35
37
|
attr_accessor :date_modified
|
36
38
|
|
39
|
+
# The ID of the user that last modified the resource.
|
37
40
|
attr_accessor :modified_by
|
38
41
|
|
42
|
+
# The ID of the user that created the resource.
|
39
43
|
attr_accessor :created_by
|
40
44
|
|
45
|
+
# Indicates if the resource is active, inactive, or deleted.
|
41
46
|
attr_accessor :state
|
42
47
|
|
48
|
+
# The application that last modified the resource.
|
43
49
|
attr_accessor :modified_by_app
|
44
50
|
|
51
|
+
# The application that created the resource.
|
45
52
|
attr_accessor :created_by_app
|
46
53
|
|
47
54
|
attr_accessor :number
|
@@ -24,24 +24,31 @@ module PureCloud
|
|
24
24
|
# The name of the entity.
|
25
25
|
attr_accessor :name
|
26
26
|
|
27
|
+
# The resource's description.
|
27
28
|
attr_accessor :description
|
28
29
|
|
30
|
+
# The current version of the resource.
|
29
31
|
attr_accessor :version
|
30
32
|
|
31
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
33
|
+
# The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
32
34
|
attr_accessor :date_created
|
33
35
|
|
34
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
36
|
+
# The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
35
37
|
attr_accessor :date_modified
|
36
38
|
|
39
|
+
# The ID of the user that last modified the resource.
|
37
40
|
attr_accessor :modified_by
|
38
41
|
|
42
|
+
# The ID of the user that created the resource.
|
39
43
|
attr_accessor :created_by
|
40
44
|
|
45
|
+
# Indicates if the resource is active, inactive, or deleted.
|
41
46
|
attr_accessor :state
|
42
47
|
|
48
|
+
# The application that last modified the resource.
|
43
49
|
attr_accessor :modified_by_app
|
44
50
|
|
51
|
+
# The application that created the resource.
|
45
52
|
attr_accessor :created_by_app
|
46
53
|
|
47
54
|
# The starting phone number for the range of this Extension pool. Must be in E.164 format
|
@@ -182,7 +182,7 @@ module PureCloud
|
|
182
182
|
|
183
183
|
|
184
184
|
|
185
|
-
allowed_values = ["Voice", "Chat", "Email"]
|
185
|
+
allowed_values = ["Voice", "Chat", "Email", "Callback"]
|
186
186
|
if @media_type && !allowed_values.include?(@media_type)
|
187
187
|
return false
|
188
188
|
end
|
@@ -220,7 +220,7 @@ module PureCloud
|
|
220
220
|
# Custom attribute writer method checking allowed values (enum).
|
221
221
|
# @param [Object] media_type Object to be assigned
|
222
222
|
def media_type=(media_type)
|
223
|
-
allowed_values = ["Voice", "Chat", "Email"]
|
223
|
+
allowed_values = ["Voice", "Chat", "Email", "Callback"]
|
224
224
|
if media_type && !allowed_values.include?(media_type)
|
225
225
|
fail ArgumentError, "invalid value for 'media_type', must be one of #{allowed_values}."
|
226
226
|
end
|
data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_data_group.rb
CHANGED
@@ -175,7 +175,7 @@ module PureCloud
|
|
175
175
|
|
176
176
|
|
177
177
|
|
178
|
-
allowed_values = ["VOICE", "CHAT", "EMAIL"]
|
178
|
+
allowed_values = ["VOICE", "CHAT", "EMAIL", "CALLBACK"]
|
179
179
|
if @media_type && !allowed_values.include?(@media_type)
|
180
180
|
return false
|
181
181
|
end
|
@@ -213,7 +213,7 @@ module PureCloud
|
|
213
213
|
# Custom attribute writer method checking allowed values (enum).
|
214
214
|
# @param [Object] media_type Object to be assigned
|
215
215
|
def media_type=(media_type)
|
216
|
-
allowed_values = ["VOICE", "CHAT", "EMAIL"]
|
216
|
+
allowed_values = ["VOICE", "CHAT", "EMAIL", "CALLBACK"]
|
217
217
|
if media_type && !allowed_values.include?(media_type)
|
218
218
|
fail ArgumentError, "invalid value for 'media_type', must be one of #{allowed_values}."
|
219
219
|
end
|
@@ -175,7 +175,7 @@ module PureCloud
|
|
175
175
|
|
176
176
|
|
177
177
|
|
178
|
-
allowed_values = ["VOICE", "CHAT", "EMAIL"]
|
178
|
+
allowed_values = ["VOICE", "CHAT", "EMAIL", "CALLBACK"]
|
179
179
|
if @media_type && !allowed_values.include?(@media_type)
|
180
180
|
return false
|
181
181
|
end
|
@@ -213,7 +213,7 @@ module PureCloud
|
|
213
213
|
# Custom attribute writer method checking allowed values (enum).
|
214
214
|
# @param [Object] media_type Object to be assigned
|
215
215
|
def media_type=(media_type)
|
216
|
-
allowed_values = ["VOICE", "CHAT", "EMAIL"]
|
216
|
+
allowed_values = ["VOICE", "CHAT", "EMAIL", "CALLBACK"]
|
217
217
|
if media_type && !allowed_values.include?(media_type)
|
218
218
|
fail ArgumentError, "invalid value for 'media_type', must be one of #{allowed_values}."
|
219
219
|
end
|
@@ -25,24 +25,31 @@ module PureCloud
|
|
25
25
|
# The name of the entity.
|
26
26
|
attr_accessor :name
|
27
27
|
|
28
|
+
# The resource's description.
|
28
29
|
attr_accessor :description
|
29
30
|
|
31
|
+
# The current version of the resource.
|
30
32
|
attr_accessor :version
|
31
33
|
|
32
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
34
|
+
# The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
33
35
|
attr_accessor :date_created
|
34
36
|
|
35
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
37
|
+
# The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
36
38
|
attr_accessor :date_modified
|
37
39
|
|
40
|
+
# The ID of the user that last modified the resource.
|
38
41
|
attr_accessor :modified_by
|
39
42
|
|
43
|
+
# The ID of the user that created the resource.
|
40
44
|
attr_accessor :created_by
|
41
45
|
|
46
|
+
# Indicates if the resource is active, inactive, or deleted.
|
42
47
|
attr_accessor :state
|
43
48
|
|
49
|
+
# The application that last modified the resource.
|
44
50
|
attr_accessor :modified_by_app
|
45
51
|
|
52
|
+
# The application that created the resource.
|
46
53
|
attr_accessor :created_by_app
|
47
54
|
|
48
55
|
# The phone number(s) to contact the IVR by. Each phone number must be unique and not in use by another resource. For example, a user and an iVR cannot have the same phone number.
|
@@ -18,10 +18,6 @@ require 'date'
|
|
18
18
|
|
19
19
|
module PureCloud
|
20
20
|
class JsonNode
|
21
|
-
attr_accessor :array
|
22
|
-
|
23
|
-
attr_accessor :null
|
24
|
-
|
25
21
|
attr_accessor :node_type
|
26
22
|
|
27
23
|
attr_accessor :float
|
@@ -32,7 +28,7 @@ module PureCloud
|
|
32
28
|
|
33
29
|
attr_accessor :number
|
34
30
|
|
35
|
-
attr_accessor :
|
31
|
+
attr_accessor :floating_point_number
|
36
32
|
|
37
33
|
attr_accessor :container_node
|
38
34
|
|
@@ -42,8 +38,6 @@ module PureCloud
|
|
42
38
|
|
43
39
|
attr_accessor :integral_number
|
44
40
|
|
45
|
-
attr_accessor :floating_point_number
|
46
|
-
|
47
41
|
attr_accessor :short
|
48
42
|
|
49
43
|
attr_accessor :int
|
@@ -60,14 +54,16 @@ module PureCloud
|
|
60
54
|
|
61
55
|
attr_accessor :binary
|
62
56
|
|
57
|
+
attr_accessor :value_node
|
58
|
+
|
59
|
+
attr_accessor :array
|
60
|
+
|
61
|
+
attr_accessor :null
|
62
|
+
|
63
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
64
64
|
def self.attribute_map
|
65
65
|
{
|
66
66
|
|
67
|
-
:'array' => :'array',
|
68
|
-
|
69
|
-
:'null' => :'null',
|
70
|
-
|
71
67
|
:'node_type' => :'nodeType',
|
72
68
|
|
73
69
|
:'float' => :'float',
|
@@ -78,7 +74,7 @@ module PureCloud
|
|
78
74
|
|
79
75
|
:'number' => :'number',
|
80
76
|
|
81
|
-
:'
|
77
|
+
:'floating_point_number' => :'floatingPointNumber',
|
82
78
|
|
83
79
|
:'container_node' => :'containerNode',
|
84
80
|
|
@@ -88,8 +84,6 @@ module PureCloud
|
|
88
84
|
|
89
85
|
:'integral_number' => :'integralNumber',
|
90
86
|
|
91
|
-
:'floating_point_number' => :'floatingPointNumber',
|
92
|
-
|
93
87
|
:'short' => :'short',
|
94
88
|
|
95
89
|
:'int' => :'int',
|
@@ -104,7 +98,13 @@ module PureCloud
|
|
104
98
|
|
105
99
|
:'textual' => :'textual',
|
106
100
|
|
107
|
-
:'binary' => :'binary'
|
101
|
+
:'binary' => :'binary',
|
102
|
+
|
103
|
+
:'value_node' => :'valueNode',
|
104
|
+
|
105
|
+
:'array' => :'array',
|
106
|
+
|
107
|
+
:'null' => :'null'
|
108
108
|
|
109
109
|
}
|
110
110
|
end
|
@@ -113,10 +113,6 @@ module PureCloud
|
|
113
113
|
def self.swagger_types
|
114
114
|
{
|
115
115
|
|
116
|
-
:'array' => :'BOOLEAN',
|
117
|
-
|
118
|
-
:'null' => :'BOOLEAN',
|
119
|
-
|
120
116
|
:'node_type' => :'String',
|
121
117
|
|
122
118
|
:'float' => :'BOOLEAN',
|
@@ -127,7 +123,7 @@ module PureCloud
|
|
127
123
|
|
128
124
|
:'number' => :'BOOLEAN',
|
129
125
|
|
130
|
-
:'
|
126
|
+
:'floating_point_number' => :'BOOLEAN',
|
131
127
|
|
132
128
|
:'container_node' => :'BOOLEAN',
|
133
129
|
|
@@ -137,8 +133,6 @@ module PureCloud
|
|
137
133
|
|
138
134
|
:'integral_number' => :'BOOLEAN',
|
139
135
|
|
140
|
-
:'floating_point_number' => :'BOOLEAN',
|
141
|
-
|
142
136
|
:'short' => :'BOOLEAN',
|
143
137
|
|
144
138
|
:'int' => :'BOOLEAN',
|
@@ -153,7 +147,13 @@ module PureCloud
|
|
153
147
|
|
154
148
|
:'textual' => :'BOOLEAN',
|
155
149
|
|
156
|
-
:'binary' => :'BOOLEAN'
|
150
|
+
:'binary' => :'BOOLEAN',
|
151
|
+
|
152
|
+
:'value_node' => :'BOOLEAN',
|
153
|
+
|
154
|
+
:'array' => :'BOOLEAN',
|
155
|
+
|
156
|
+
:'null' => :'BOOLEAN'
|
157
157
|
|
158
158
|
}
|
159
159
|
end
|
@@ -167,24 +167,6 @@ module PureCloud
|
|
167
167
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
168
168
|
|
169
169
|
|
170
|
-
if attributes.has_key?(:'array')
|
171
|
-
|
172
|
-
|
173
|
-
self.array = attributes[:'array']
|
174
|
-
|
175
|
-
|
176
|
-
end
|
177
|
-
|
178
|
-
|
179
|
-
if attributes.has_key?(:'null')
|
180
|
-
|
181
|
-
|
182
|
-
self.null = attributes[:'null']
|
183
|
-
|
184
|
-
|
185
|
-
end
|
186
|
-
|
187
|
-
|
188
170
|
if attributes.has_key?(:'nodeType')
|
189
171
|
|
190
172
|
|
@@ -230,10 +212,10 @@ module PureCloud
|
|
230
212
|
end
|
231
213
|
|
232
214
|
|
233
|
-
if attributes.has_key?(:'
|
215
|
+
if attributes.has_key?(:'floatingPointNumber')
|
234
216
|
|
235
217
|
|
236
|
-
self.
|
218
|
+
self.floating_point_number = attributes[:'floatingPointNumber']
|
237
219
|
|
238
220
|
|
239
221
|
end
|
@@ -275,15 +257,6 @@ module PureCloud
|
|
275
257
|
end
|
276
258
|
|
277
259
|
|
278
|
-
if attributes.has_key?(:'floatingPointNumber')
|
279
|
-
|
280
|
-
|
281
|
-
self.floating_point_number = attributes[:'floatingPointNumber']
|
282
|
-
|
283
|
-
|
284
|
-
end
|
285
|
-
|
286
|
-
|
287
260
|
if attributes.has_key?(:'short')
|
288
261
|
|
289
262
|
|
@@ -356,6 +329,33 @@ module PureCloud
|
|
356
329
|
end
|
357
330
|
|
358
331
|
|
332
|
+
if attributes.has_key?(:'valueNode')
|
333
|
+
|
334
|
+
|
335
|
+
self.value_node = attributes[:'valueNode']
|
336
|
+
|
337
|
+
|
338
|
+
end
|
339
|
+
|
340
|
+
|
341
|
+
if attributes.has_key?(:'array')
|
342
|
+
|
343
|
+
|
344
|
+
self.array = attributes[:'array']
|
345
|
+
|
346
|
+
|
347
|
+
end
|
348
|
+
|
349
|
+
|
350
|
+
if attributes.has_key?(:'null')
|
351
|
+
|
352
|
+
|
353
|
+
self.null = attributes[:'null']
|
354
|
+
|
355
|
+
|
356
|
+
end
|
357
|
+
|
358
|
+
|
359
359
|
end
|
360
360
|
|
361
361
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -373,6 +373,10 @@ module PureCloud
|
|
373
373
|
|
374
374
|
|
375
375
|
|
376
|
+
allowed_values = ["ARRAY", "BINARY", "BOOLEAN", "MISSING", "NULL", "NUMBER", "OBJECT", "POJO", "STRING"]
|
377
|
+
if @node_type && !allowed_values.include?(@node_type)
|
378
|
+
return false
|
379
|
+
end
|
376
380
|
|
377
381
|
|
378
382
|
|
@@ -381,10 +385,6 @@ module PureCloud
|
|
381
385
|
|
382
386
|
|
383
387
|
|
384
|
-
allowed_values = ["ARRAY", "BINARY", "BOOLEAN", "MISSING", "NULL", "NUMBER", "OBJECT", "POJO", "STRING"]
|
385
|
-
if @node_type && !allowed_values.include?(@node_type)
|
386
|
-
return false
|
387
|
-
end
|
388
388
|
|
389
389
|
|
390
390
|
|
@@ -464,16 +464,6 @@ module PureCloud
|
|
464
464
|
|
465
465
|
|
466
466
|
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
467
|
# Custom attribute writer method checking allowed values (enum).
|
478
468
|
# @param [Object] node_type Object to be assigned
|
479
469
|
def node_type=(node_type)
|
@@ -566,6 +556,16 @@ module PureCloud
|
|
566
556
|
|
567
557
|
|
568
558
|
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
|
566
|
+
|
567
|
+
|
568
|
+
|
569
569
|
|
570
570
|
|
571
571
|
|
@@ -582,19 +582,16 @@ module PureCloud
|
|
582
582
|
def ==(o)
|
583
583
|
return true if self.equal?(o)
|
584
584
|
self.class == o.class &&
|
585
|
-
array == o.array &&
|
586
|
-
null == o.null &&
|
587
585
|
node_type == o.node_type &&
|
588
586
|
float == o.float &&
|
589
587
|
object == o.object &&
|
590
588
|
boolean == o.boolean &&
|
591
589
|
number == o.number &&
|
592
|
-
|
590
|
+
floating_point_number == o.floating_point_number &&
|
593
591
|
container_node == o.container_node &&
|
594
592
|
missing_node == o.missing_node &&
|
595
593
|
pojo == o.pojo &&
|
596
594
|
integral_number == o.integral_number &&
|
597
|
-
floating_point_number == o.floating_point_number &&
|
598
595
|
short == o.short &&
|
599
596
|
int == o.int &&
|
600
597
|
long == o.long &&
|
@@ -602,7 +599,10 @@ module PureCloud
|
|
602
599
|
big_decimal == o.big_decimal &&
|
603
600
|
big_integer == o.big_integer &&
|
604
601
|
textual == o.textual &&
|
605
|
-
binary == o.binary
|
602
|
+
binary == o.binary &&
|
603
|
+
value_node == o.value_node &&
|
604
|
+
array == o.array &&
|
605
|
+
null == o.null
|
606
606
|
end
|
607
607
|
|
608
608
|
# @see the `==` method
|
@@ -614,7 +614,7 @@ module PureCloud
|
|
614
614
|
# Calculates hash code according to all attributes.
|
615
615
|
# @return [Fixnum] Hash code
|
616
616
|
def hash
|
617
|
-
[
|
617
|
+
[node_type, float, object, boolean, number, floating_point_number, container_node, missing_node, pojo, integral_number, short, int, long, double, big_decimal, big_integer, textual, binary, value_node, array, null].hash
|
618
618
|
end
|
619
619
|
|
620
620
|
# build the object from hash
|