purecloud 0.45.1 → 0.46.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (549) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/config-ruby.json +1 -1
  4. data/doc_out/index.html.md +3 -3
  5. data/lib/purecloud/api_client.rb +1 -1
  6. data/lib/purecloud/version.rb +1 -1
  7. data/lib/purecloud.rb +0 -269
  8. data/newVersion.md +1 -1
  9. data/swagger.json +1 -1
  10. data/version.json +1 -1
  11. metadata +2 -540
  12. data/doc_out/Account.html.md +0 -42
  13. data/doc_out/AccountManager.html.md +0 -16
  14. data/doc_out/AccountOverview.html.md +0 -20
  15. data/doc_out/AccountStatus.html.md +0 -21
  16. data/doc_out/AddressListing.html.md +0 -22
  17. data/doc_out/App.html.md +0 -14
  18. data/doc_out/ArchitectAuditMessage.html.md +0 -17
  19. data/doc_out/ArchitectAuditMessageListing.html.md +0 -17
  20. data/doc_out/Asset.html.md +0 -17
  21. data/doc_out/AssetEntityListing.html.md +0 -22
  22. data/doc_out/AssociatedDocument.html.md +0 -14
  23. data/doc_out/AuthzGrant.html.md +0 -15
  24. data/doc_out/AuthzGrantPolicy.html.md +0 -16
  25. data/doc_out/AuthzGrantRole.html.md +0 -17
  26. data/doc_out/AuthzObject.html.md +0 -17
  27. data/doc_out/AuthzPerm.html.md +0 -14
  28. data/doc_out/AuthzPermissionContext.html.md +0 -14
  29. data/doc_out/AuthzSubject.html.md +0 -16
  30. data/doc_out/AvailableAdditionalService.html.md +0 -22
  31. data/doc_out/AvailableAdditionalServiceListing.html.md +0 -22
  32. data/doc_out/BackendFlowAvailableActions.html.md +0 -13
  33. data/doc_out/BasicTransform.html.md +0 -14
  34. data/doc_out/BatchCommand.html.md +0 -14
  35. data/doc_out/BatchItem.html.md +0 -15
  36. data/doc_out/BatchItemBody.html.md +0 -13
  37. data/doc_out/BatchReply.html.md +0 -13
  38. data/doc_out/BatchReplyItem.html.md +0 -15
  39. data/doc_out/BillingAddress.html.md +0 -20
  40. data/doc_out/BillingContact.html.md +0 -20
  41. data/doc_out/BillingContactListing.html.md +0 -22
  42. data/doc_out/BillingPendingTask.html.md +0 -16
  43. data/doc_out/BillingPeriod.html.md +0 -17
  44. data/doc_out/BillingTaskResult.html.md +0 -21
  45. data/doc_out/Carrier.html.md +0 -20
  46. data/doc_out/CarrierAddress.html.md +0 -17
  47. data/doc_out/CarrierEntityListing.html.md +0 -22
  48. data/doc_out/Charge.html.md +0 -20
  49. data/doc_out/ClientSpreadsheetTransform.html.md +0 -19
  50. data/doc_out/ClientTextTableTransform.html.md +0 -20
  51. data/doc_out/CodesRequest.html.md +0 -14
  52. data/doc_out/ColumnCollapse.html.md +0 -14
  53. data/doc_out/ComposerTemplate.html.md +0 -22
  54. data/doc_out/ConsumedResourcesEntityListing.html.md +0 -22
  55. data/doc_out/ConsumingResourcesEntityListing.html.md +0 -22
  56. data/doc_out/ContactAddress.html.md +0 -18
  57. data/doc_out/ContactListing.html.md +0 -22
  58. data/doc_out/ContactSales.html.md +0 -25
  59. data/doc_out/ContactSalesResponse.html.md +0 -16
  60. data/doc_out/Contract.html.md +0 -18
  61. data/doc_out/ContractJob.html.md +0 -17
  62. data/doc_out/Control.html.md +0 -19
  63. data/doc_out/ControlOptions.html.md +0 -14
  64. data/doc_out/ConversationAssociation.html.md +0 -15
  65. data/doc_out/CreateIntegrationRequest.html.md +0 -16
  66. data/doc_out/CreateTemplateFromScriptRequestData.html.md +0 -17
  67. data/doc_out/CsvSchema.html.md +0 -19
  68. data/doc_out/Currency.html.md +0 -16
  69. data/doc_out/CustomerAccount.html.md +0 -21
  70. data/doc_out/DataItem.html.md +0 -15
  71. data/doc_out/DataValueInfo.html.md +0 -13
  72. data/doc_out/DeltaDocument.html.md +0 -19
  73. data/doc_out/DeltaRequest.html.md +0 -13
  74. data/doc_out/DeltaResponse.html.md +0 -15
  75. data/doc_out/Dependency.html.md +0 -19
  76. data/doc_out/DependencyObject.html.md +0 -21
  77. data/doc_out/DependencyObjectEntityListing.html.md +0 -22
  78. data/doc_out/DependencyStatus.html.md +0 -21
  79. data/doc_out/DependencyType.html.md +0 -16
  80. data/doc_out/DependencyTypeEntityListing.html.md +0 -22
  81. data/doc_out/Deployment.html.md +0 -17
  82. data/doc_out/DeploymentEntityListing.html.md +0 -22
  83. data/doc_out/DiagnosticEmail.html.md +0 -19
  84. data/doc_out/Discount.html.md +0 -20
  85. data/doc_out/Dns.html.md +0 -15
  86. data/doc_out/DocusignTemplateMapping.html.md +0 -16
  87. data/doc_out/DomainBillingPeriodEntityListing.html.md +0 -22
  88. data/doc_out/DomainInvoiceEntityListing.html.md +0 -22
  89. data/doc_out/DomainThirdPartyAccountEntityListing.html.md +0 -22
  90. data/doc_out/DomainThirdPartySubscriptionEntityListing.html.md +0 -22
  91. data/doc_out/DomainVoiceRateExtendedResponseItemEntityListing.html.md +0 -22
  92. data/doc_out/DomainVoiceRateInternationalResponseItemEntityListing.html.md +0 -22
  93. data/doc_out/DomainVoiceRateResponseItemEntityListing.html.md +0 -22
  94. data/doc_out/EmbeddedSignatureView.html.md +0 -14
  95. data/doc_out/ExpressionResponse.html.md +0 -23
  96. data/doc_out/ExternalContact.html.md +0 -32
  97. data/doc_out/ExternalDataSource.html.md +0 -14
  98. data/doc_out/ExternalOrganization.html.md +0 -30
  99. data/doc_out/ExternalOrganizationListing.html.md +0 -22
  100. data/doc_out/FacetRequest.html.md +0 -19
  101. data/doc_out/FacetResult.html.md +0 -17
  102. data/doc_out/FacetResultItem.html.md +0 -19
  103. data/doc_out/FailedObject.html.md +0 -16
  104. data/doc_out/FavoriteTemplateRequestData.html.md +0 -13
  105. data/doc_out/FilterItem.html.md +0 -17
  106. data/doc_out/Flow.html.md +0 -29
  107. data/doc_out/FlowBody.html.md +0 -14
  108. data/doc_out/FlowBodyFormat.html.md +0 -14
  109. data/doc_out/FlowConfigId.html.md +0 -16
  110. data/doc_out/FlowConfigMetaData.html.md +0 -23
  111. data/doc_out/FlowConfigMetaDataEntityListing.html.md +0 -22
  112. data/doc_out/FlowDetails.html.md +0 -24
  113. data/doc_out/FlowDetailsSearchResult.html.md +0 -14
  114. data/doc_out/FlowEntityListing.html.md +0 -22
  115. data/doc_out/FlowExecId.html.md +0 -15
  116. data/doc_out/FlowHistoryDataItem.html.md +0 -15
  117. data/doc_out/FlowHistoryItem.html.md +0 -20
  118. data/doc_out/FlowHistoryResultItem.html.md +0 -15
  119. data/doc_out/FlowInputData.html.md +0 -13
  120. data/doc_out/FlowLaunchRequest.html.md +0 -16
  121. data/doc_out/FlowPublish.html.md +0 -17
  122. data/doc_out/FlowReportResultItem.html.md +0 -24
  123. data/doc_out/FlowSearchRequest.html.md +0 -19
  124. data/doc_out/FlowState.html.md +0 -15
  125. data/doc_out/FlowTerminateRequest.html.md +0 -13
  126. data/doc_out/FlowUploadResponse.html.md +0 -14
  127. data/doc_out/FlowVersion.html.md +0 -23
  128. data/doc_out/FlowVersionConfigMetaData.html.md +0 -20
  129. data/doc_out/FlowVersionConfigMetaDataEntityListing.html.md +0 -22
  130. data/doc_out/FlowVersionEntityListing.html.md +0 -22
  131. data/doc_out/Form.html.md +0 -13
  132. data/doc_out/Gateway.html.md +0 -15
  133. data/doc_out/Gistener.html.md +0 -25
  134. data/doc_out/GroupTag.html.md +0 -19
  135. data/doc_out/HIPAAConfig.html.md +0 -16
  136. data/doc_out/HardwareRate.html.md +0 -18
  137. data/doc_out/HardwareRateListing.html.md +0 -22
  138. data/doc_out/HealthCheckInfo.html.md +0 -21
  139. data/doc_out/IVR.html.md +0 -31
  140. data/doc_out/IVREntityListing.html.md +0 -22
  141. data/doc_out/IndexedTransform.html.md +0 -16
  142. data/doc_out/Integration.html.md +0 -20
  143. data/doc_out/IntegrationConfiguration.html.md +0 -20
  144. data/doc_out/IntegrationEntityListing.html.md +0 -22
  145. data/doc_out/IntegrationStatusInfo.html.md +0 -16
  146. data/doc_out/IntegrationType.html.md +0 -20
  147. data/doc_out/IntegrationTypeEntityListing.html.md +0 -22
  148. data/doc_out/Invoice.html.md +0 -21
  149. data/doc_out/License.html.md +0 -14
  150. data/doc_out/LicensesByPermission.html.md +0 -15
  151. data/doc_out/LinkedEntityListingFlowDetails.html.md +0 -22
  152. data/doc_out/LinkedEntityListingWorkItemSearchDetails.html.md +0 -22
  153. data/doc_out/ManagementUnit.html.md +0 -18
  154. data/doc_out/ManagementUnitTimezone.html.md +0 -13
  155. data/doc_out/NocSupport.html.md +0 -14
  156. data/doc_out/Note.html.md +0 -18
  157. data/doc_out/NoteListing.html.md +0 -22
  158. data/doc_out/NumberOrder.html.md +0 -29
  159. data/doc_out/NumberOrderRequest.html.md +0 -17
  160. data/doc_out/Operation.html.md +0 -16
  161. data/doc_out/Order.html.md +0 -17
  162. data/doc_out/OrgLicenseAssignment.html.md +0 -16
  163. data/doc_out/OrganizationCreate.html.md +0 -18
  164. data/doc_out/Page.html.md +0 -20
  165. data/doc_out/PaymentMethod.html.md +0 -21
  166. data/doc_out/PaymentMethodListing.html.md +0 -22
  167. data/doc_out/PaymentTokenProvider.html.md +0 -16
  168. data/doc_out/Permissions.html.md +0 -15
  169. data/doc_out/PhoneNumber.html.md +0 -18
  170. data/doc_out/PortBillingAddress.html.md +0 -17
  171. data/doc_out/PortContact.html.md +0 -14
  172. data/doc_out/Product.html.md +0 -17
  173. data/doc_out/Prompt.html.md +0 -18
  174. data/doc_out/PromptAsset.html.md +0 -24
  175. data/doc_out/PromptAssetEntityListing.html.md +0 -22
  176. data/doc_out/PromptEntityListing.html.md +0 -22
  177. data/doc_out/Publication.html.md +0 -20
  178. data/doc_out/PublishScriptRequestData.html.md +0 -14
  179. data/doc_out/PublishedResult.html.md +0 -18
  180. data/doc_out/Quote.html.md +0 -32
  181. data/doc_out/QuoteCharge.html.md +0 -25
  182. data/doc_out/QuoteListing.html.md +0 -22
  183. data/doc_out/Rate.html.md +0 -17
  184. data/doc_out/Relationship.html.md +0 -18
  185. data/doc_out/RelationshipListing.html.md +0 -22
  186. data/doc_out/ReportRequest.html.md +0 -18
  187. data/doc_out/Reservation.html.md +0 -16
  188. data/doc_out/Scene.html.md +0 -22
  189. data/doc_out/SceneEntityListing.html.md +0 -22
  190. data/doc_out/SceneGroup.html.md +0 -16
  191. data/doc_out/SceneGroupEntityListing.html.md +0 -22
  192. data/doc_out/Schedule.html.md +0 -28
  193. data/doc_out/ScheduleEntityListing.html.md +0 -22
  194. data/doc_out/ScheduleGroup.html.md +0 -27
  195. data/doc_out/ScheduleGroupEntityListing.html.md +0 -22
  196. data/doc_out/Script.html.md +0 -26
  197. data/doc_out/ScriptEntityListing.html.md +0 -22
  198. data/doc_out/Service.html.md +0 -22
  199. data/doc_out/ServiceEntityListing.html.md +0 -22
  200. data/doc_out/ServiceType.html.md +0 -19
  201. data/doc_out/SharedResponse.html.md +0 -17
  202. data/doc_out/SheetSchema.html.md +0 -18
  203. data/doc_out/SheetTransform.html.md +0 -15
  204. data/doc_out/SignatureDocumentInfo.html.md +0 -16
  205. data/doc_out/Snapshot.html.md +0 -15
  206. data/doc_out/SocialAccount.html.md +0 -24
  207. data/doc_out/SocialConversation.html.md +0 -17
  208. data/doc_out/SocialConversationEntityListing.html.md +0 -22
  209. data/doc_out/SocialMediaParticipant.html.md +0 -37
  210. data/doc_out/SocializeEntityFilter.html.md +0 -15
  211. data/doc_out/SocializeFilterRequest.html.md +0 -17
  212. data/doc_out/SortField.html.md +0 -14
  213. data/doc_out/SpreadsheetTransform.html.md +0 -21
  214. data/doc_out/SpreadsheetTransformEntityListing.html.md +0 -22
  215. data/doc_out/SubDataItem.html.md +0 -17
  216. data/doc_out/Support.html.md +0 -15
  217. data/doc_out/SupportCredit.html.md +0 -16
  218. data/doc_out/SupportCreditListing.html.md +0 -22
  219. data/doc_out/SystemPrompt.html.md +0 -17
  220. data/doc_out/SystemPromptAsset.html.md +0 -25
  221. data/doc_out/SystemPromptAssetEntityListing.html.md +0 -22
  222. data/doc_out/SystemPromptEntityListing.html.md +0 -22
  223. data/doc_out/TableTransform.html.md +0 -18
  224. data/doc_out/TagModel.html.md +0 -14
  225. data/doc_out/TemplateEntityListing.html.md +0 -22
  226. data/doc_out/TextTableTransform.html.md +0 -21
  227. data/doc_out/TextTableTransformEntityListing.html.md +0 -22
  228. data/doc_out/ThirdPartyAccount.html.md +0 -19
  229. data/doc_out/ThirdPartySubscription.html.md +0 -18
  230. data/doc_out/Thumbnail.html.md +0 -16
  231. data/doc_out/Ticker.html.md +0 -14
  232. data/doc_out/Tier.html.md +0 -14
  233. data/doc_out/TimeOffRequest.html.md +0 -30
  234. data/doc_out/TimeOffRequestList.html.md +0 -16
  235. data/doc_out/TimeOffRequestPatch.html.md +0 -13
  236. data/doc_out/Trace.html.md +0 -19
  237. data/doc_out/TraceList.html.md +0 -14
  238. data/doc_out/TransformEndpoint.html.md +0 -24
  239. data/doc_out/TransformLens.html.md +0 -14
  240. data/doc_out/TwitterExpression.html.md +0 -36
  241. data/doc_out/TwitterExpressionBuffer.html.md +0 -13
  242. data/doc_out/TwitterId.html.md +0 -17
  243. data/doc_out/UnpivotColumns.html.md +0 -13
  244. data/doc_out/UploadProgress.html.md +0 -19
  245. data/doc_out/UrlResponse.html.md +0 -13
  246. data/doc_out/UserActionCategory.html.md +0 -15
  247. data/doc_out/UserActionCategoryEntityListing.html.md +0 -22
  248. data/doc_out/UserActionMetadata.html.md +0 -22
  249. data/doc_out/UserActionMetadataEntityListing.html.md +0 -20
  250. data/doc_out/UserActionMetadataRequest.html.md +0 -18
  251. data/doc_out/UserLicenseAssignment.html.md +0 -17
  252. data/doc_out/Value.html.md +0 -19
  253. data/doc_out/VendorConnectionRequest.html.md +0 -15
  254. data/doc_out/VideoConversation.html.md +0 -17
  255. data/doc_out/VideoConversationEntityListing.html.md +0 -22
  256. data/doc_out/VideoMediaParticipant.html.md +0 -38
  257. data/doc_out/View.html.md +0 -13
  258. data/doc_out/VoiceRate.html.md +0 -22
  259. data/doc_out/VoiceRateExtended.html.md +0 -31
  260. data/doc_out/VoiceRateInternational.html.md +0 -24
  261. data/doc_out/VoiceRateInternationalEntityListing.html.md +0 -22
  262. data/doc_out/VoiceRateUpdate.html.md +0 -25
  263. data/doc_out/VoiceRatesCsv.html.md +0 -16
  264. data/doc_out/VoiceXmlOperation.html.md +0 -25
  265. data/doc_out/VoiceXmlOperationEntityListing.html.md +0 -22
  266. data/doc_out/Vpn.html.md +0 -15
  267. data/doc_out/Waypoint.html.md +0 -20
  268. data/doc_out/WaypointEntityListing.html.md +0 -22
  269. data/doc_out/WorkItem.html.md +0 -15
  270. data/doc_out/WorkItemActions.html.md +0 -13
  271. data/doc_out/WorkItemCache.html.md +0 -17
  272. data/doc_out/WorkItemCommand.html.md +0 -14
  273. data/doc_out/WorkItemCommandGroup.html.md +0 -15
  274. data/doc_out/WorkItemDefinition.html.md +0 -16
  275. data/doc_out/WorkItemDetails.html.md +0 -32
  276. data/doc_out/WorkItemSearchDetails.html.md +0 -13
  277. data/doc_out/WorkItemSearchDetailsSearchResult.html.md +0 -14
  278. data/doc_out/WorkItemSubmitRequest.html.md +0 -14
  279. data/doc_out/WorkItemTransferRequest.html.md +0 -14
  280. data/doc_out/XlsxSchema.html.md +0 -15
  281. data/lib/purecloud/models/account.rb +0 -481
  282. data/lib/purecloud/models/account_manager.rb +0 -195
  283. data/lib/purecloud/models/account_overview.rb +0 -243
  284. data/lib/purecloud/models/account_status.rb +0 -249
  285. data/lib/purecloud/models/address_listing.rb +0 -257
  286. data/lib/purecloud/models/app.rb +0 -175
  287. data/lib/purecloud/models/architect_audit_message.rb +0 -218
  288. data/lib/purecloud/models/architect_audit_message_listing.rb +0 -207
  289. data/lib/purecloud/models/asset.rb +0 -207
  290. data/lib/purecloud/models/asset_entity_listing.rb +0 -257
  291. data/lib/purecloud/models/associated_document.rb +0 -187
  292. data/lib/purecloud/models/authz_grant.rb +0 -186
  293. data/lib/purecloud/models/authz_grant_policy.rb +0 -197
  294. data/lib/purecloud/models/authz_grant_role.rb +0 -209
  295. data/lib/purecloud/models/authz_object.rb +0 -210
  296. data/lib/purecloud/models/authz_perm.rb +0 -177
  297. data/lib/purecloud/models/authz_permission_context.rb +0 -175
  298. data/lib/purecloud/models/authz_subject.rb +0 -199
  299. data/lib/purecloud/models/available_additional_service.rb +0 -272
  300. data/lib/purecloud/models/available_additional_service_listing.rb +0 -257
  301. data/lib/purecloud/models/backend_flow_available_actions.rb +0 -167
  302. data/lib/purecloud/models/basic_transform.rb +0 -179
  303. data/lib/purecloud/models/batch_command.rb +0 -177
  304. data/lib/purecloud/models/batch_item.rb +0 -185
  305. data/lib/purecloud/models/batch_item_body.rb +0 -165
  306. data/lib/purecloud/models/batch_reply.rb +0 -167
  307. data/lib/purecloud/models/batch_reply_item.rb +0 -185
  308. data/lib/purecloud/models/billing_address.rb +0 -242
  309. data/lib/purecloud/models/billing_contact.rb +0 -237
  310. data/lib/purecloud/models/billing_contact_listing.rb +0 -257
  311. data/lib/purecloud/models/billing_pending_task.rb +0 -197
  312. data/lib/purecloud/models/billing_period.rb +0 -209
  313. data/lib/purecloud/models/billing_task_result.rb +0 -265
  314. data/lib/purecloud/models/carrier.rb +0 -239
  315. data/lib/purecloud/models/carrier_address.rb +0 -205
  316. data/lib/purecloud/models/carrier_entity_listing.rb +0 -257
  317. data/lib/purecloud/models/charge.rb +0 -235
  318. data/lib/purecloud/models/client_spreadsheet_transform.rb +0 -233
  319. data/lib/purecloud/models/client_text_table_transform.rb +0 -239
  320. data/lib/purecloud/models/codes_request.rb +0 -175
  321. data/lib/purecloud/models/column_collapse.rb +0 -177
  322. data/lib/purecloud/models/composer_template.rb +0 -272
  323. data/lib/purecloud/models/consumed_resources_entity_listing.rb +0 -257
  324. data/lib/purecloud/models/consuming_resources_entity_listing.rb +0 -257
  325. data/lib/purecloud/models/contact_address.rb +0 -215
  326. data/lib/purecloud/models/contact_listing.rb +0 -257
  327. data/lib/purecloud/models/contact_sales.rb +0 -297
  328. data/lib/purecloud/models/contact_sales_response.rb +0 -197
  329. data/lib/purecloud/models/contract.rb +0 -220
  330. data/lib/purecloud/models/contract_job.rb +0 -217
  331. data/lib/purecloud/models/control.rb +0 -240
  332. data/lib/purecloud/models/control_options.rb +0 -175
  333. data/lib/purecloud/models/conversation_association.rb +0 -197
  334. data/lib/purecloud/models/create_integration_request.rb +0 -200
  335. data/lib/purecloud/models/create_template_from_script_request_data.rb +0 -207
  336. data/lib/purecloud/models/csv_schema.rb +0 -243
  337. data/lib/purecloud/models/currency.rb +0 -197
  338. data/lib/purecloud/models/customer_account.rb +0 -257
  339. data/lib/purecloud/models/data_item.rb +0 -185
  340. data/lib/purecloud/models/data_value_info.rb +0 -167
  341. data/lib/purecloud/models/delta_document.rb +0 -235
  342. data/lib/purecloud/models/delta_request.rb +0 -165
  343. data/lib/purecloud/models/delta_response.rb +0 -189
  344. data/lib/purecloud/models/dependency.rb +0 -240
  345. data/lib/purecloud/models/dependency_object.rb +0 -264
  346. data/lib/purecloud/models/dependency_object_entity_listing.rb +0 -257
  347. data/lib/purecloud/models/dependency_status.rb +0 -260
  348. data/lib/purecloud/models/dependency_type.rb +0 -199
  349. data/lib/purecloud/models/dependency_type_entity_listing.rb +0 -257
  350. data/lib/purecloud/models/deployment.rb +0 -209
  351. data/lib/purecloud/models/deployment_entity_listing.rb +0 -257
  352. data/lib/purecloud/models/diagnostic_email.rb +0 -258
  353. data/lib/purecloud/models/discount.rb +0 -239
  354. data/lib/purecloud/models/dns.rb +0 -185
  355. data/lib/purecloud/models/docusign_template_mapping.rb +0 -197
  356. data/lib/purecloud/models/domain_billing_period_entity_listing.rb +0 -257
  357. data/lib/purecloud/models/domain_invoice_entity_listing.rb +0 -257
  358. data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +0 -257
  359. data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +0 -257
  360. data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +0 -257
  361. data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +0 -257
  362. data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +0 -257
  363. data/lib/purecloud/models/embedded_signature_view.rb +0 -176
  364. data/lib/purecloud/models/expression_response.rb +0 -275
  365. data/lib/purecloud/models/external_contact.rb +0 -362
  366. data/lib/purecloud/models/external_data_source.rb +0 -176
  367. data/lib/purecloud/models/external_organization.rb +0 -348
  368. data/lib/purecloud/models/external_organization_listing.rb +0 -257
  369. data/lib/purecloud/models/facet_request.rb +0 -251
  370. data/lib/purecloud/models/facet_result.rb +0 -230
  371. data/lib/purecloud/models/facet_result_item.rb +0 -227
  372. data/lib/purecloud/models/failed_object.rb +0 -195
  373. data/lib/purecloud/models/favorite_template_request_data.rb +0 -165
  374. data/lib/purecloud/models/filter_item.rb +0 -227
  375. data/lib/purecloud/models/flow.rb +0 -351
  376. data/lib/purecloud/models/flow_body.rb +0 -179
  377. data/lib/purecloud/models/flow_body_format.rb +0 -175
  378. data/lib/purecloud/models/flow_config_id.rb +0 -199
  379. data/lib/purecloud/models/flow_config_meta_data.rb +0 -298
  380. data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +0 -257
  381. data/lib/purecloud/models/flow_details.rb +0 -307
  382. data/lib/purecloud/models/flow_details_search_result.rb +0 -180
  383. data/lib/purecloud/models/flow_entity_listing.rb +0 -257
  384. data/lib/purecloud/models/flow_exec_id.rb +0 -188
  385. data/lib/purecloud/models/flow_history_data_item.rb +0 -189
  386. data/lib/purecloud/models/flow_history_item.rb +0 -257
  387. data/lib/purecloud/models/flow_history_result_item.rb +0 -191
  388. data/lib/purecloud/models/flow_input_data.rb +0 -169
  389. data/lib/purecloud/models/flow_launch_request.rb +0 -209
  390. data/lib/purecloud/models/flow_publish.rb +0 -210
  391. data/lib/purecloud/models/flow_report_result_item.rb +0 -299
  392. data/lib/purecloud/models/flow_search_request.rb +0 -241
  393. data/lib/purecloud/models/flow_state.rb +0 -189
  394. data/lib/purecloud/models/flow_terminate_request.rb +0 -167
  395. data/lib/purecloud/models/flow_upload_response.rb +0 -178
  396. data/lib/purecloud/models/flow_version.rb +0 -276
  397. data/lib/purecloud/models/flow_version_config_meta_data.rb +0 -243
  398. data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +0 -257
  399. data/lib/purecloud/models/flow_version_entity_listing.rb +0 -257
  400. data/lib/purecloud/models/form.rb +0 -167
  401. data/lib/purecloud/models/gateway.rb +0 -185
  402. data/lib/purecloud/models/gistener.rb +0 -301
  403. data/lib/purecloud/models/group_tag.rb +0 -242
  404. data/lib/purecloud/models/hardware_rate.rb +0 -217
  405. data/lib/purecloud/models/hardware_rate_listing.rb +0 -257
  406. data/lib/purecloud/models/health_check_info.rb +0 -257
  407. data/lib/purecloud/models/hipaa_config.rb +0 -199
  408. data/lib/purecloud/models/indexed_transform.rb +0 -199
  409. data/lib/purecloud/models/integration.rb +0 -253
  410. data/lib/purecloud/models/integration_configuration.rb +0 -243
  411. data/lib/purecloud/models/integration_entity_listing.rb +0 -257
  412. data/lib/purecloud/models/integration_status_info.rb +0 -209
  413. data/lib/purecloud/models/integration_type.rb +0 -245
  414. data/lib/purecloud/models/integration_type_entity_listing.rb +0 -257
  415. data/lib/purecloud/models/invoice.rb +0 -249
  416. data/lib/purecloud/models/ivr.rb +0 -360
  417. data/lib/purecloud/models/ivr_entity_listing.rb +0 -257
  418. data/lib/purecloud/models/license.rb +0 -176
  419. data/lib/purecloud/models/licenses_by_permission.rb +0 -188
  420. data/lib/purecloud/models/linked_entity_listing_flow_details.rb +0 -257
  421. data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +0 -257
  422. data/lib/purecloud/models/management_unit.rb +0 -218
  423. data/lib/purecloud/models/management_unit_timezone.rb +0 -165
  424. data/lib/purecloud/models/noc_support.rb +0 -175
  425. data/lib/purecloud/models/note.rb +0 -219
  426. data/lib/purecloud/models/note_listing.rb +0 -257
  427. data/lib/purecloud/models/number_order.rb +0 -361
  428. data/lib/purecloud/models/number_order_request.rb +0 -220
  429. data/lib/purecloud/models/operation.rb +0 -195
  430. data/lib/purecloud/models/order.rb +0 -209
  431. data/lib/purecloud/models/org_license_assignment.rb +0 -197
  432. data/lib/purecloud/models/organization_create.rb +0 -224
  433. data/lib/purecloud/models/page.rb +0 -243
  434. data/lib/purecloud/models/payment_method.rb +0 -270
  435. data/lib/purecloud/models/payment_method_listing.rb +0 -257
  436. data/lib/purecloud/models/payment_token_provider.rb +0 -199
  437. data/lib/purecloud/models/permissions.rb +0 -188
  438. data/lib/purecloud/models/phone_number.rb +0 -217
  439. data/lib/purecloud/models/port_billing_address.rb +0 -205
  440. data/lib/purecloud/models/port_contact.rb +0 -175
  441. data/lib/purecloud/models/product.rb +0 -218
  442. data/lib/purecloud/models/prompt.rb +0 -219
  443. data/lib/purecloud/models/prompt_asset.rb +0 -281
  444. data/lib/purecloud/models/prompt_asset_entity_listing.rb +0 -257
  445. data/lib/purecloud/models/prompt_entity_listing.rb +0 -257
  446. data/lib/purecloud/models/publication.rb +0 -243
  447. data/lib/purecloud/models/publish_script_request_data.rb +0 -175
  448. data/lib/purecloud/models/published_result.rb +0 -227
  449. data/lib/purecloud/models/quote.rb +0 -390
  450. data/lib/purecloud/models/quote_charge.rb +0 -300
  451. data/lib/purecloud/models/quote_listing.rb +0 -257
  452. data/lib/purecloud/models/rate.rb +0 -209
  453. data/lib/purecloud/models/relationship.rb +0 -220
  454. data/lib/purecloud/models/relationship_listing.rb +0 -257
  455. data/lib/purecloud/models/report_request.rb +0 -229
  456. data/lib/purecloud/models/reservation.rb +0 -206
  457. data/lib/purecloud/models/scene.rb +0 -270
  458. data/lib/purecloud/models/scene_entity_listing.rb +0 -257
  459. data/lib/purecloud/models/scene_group.rb +0 -197
  460. data/lib/purecloud/models/scene_group_entity_listing.rb +0 -257
  461. data/lib/purecloud/models/schedule.rb +0 -333
  462. data/lib/purecloud/models/schedule_entity_listing.rb +0 -257
  463. data/lib/purecloud/models/schedule_group.rb +0 -322
  464. data/lib/purecloud/models/schedule_group_entity_listing.rb +0 -257
  465. data/lib/purecloud/models/script.rb +0 -303
  466. data/lib/purecloud/models/script_entity_listing.rb +0 -257
  467. data/lib/purecloud/models/service.rb +0 -264
  468. data/lib/purecloud/models/service_entity_listing.rb +0 -257
  469. data/lib/purecloud/models/service_type.rb +0 -230
  470. data/lib/purecloud/models/shared_response.rb +0 -205
  471. data/lib/purecloud/models/sheet_schema.rb +0 -232
  472. data/lib/purecloud/models/sheet_transform.rb +0 -185
  473. data/lib/purecloud/models/signature_document_info.rb +0 -196
  474. data/lib/purecloud/models/snapshot.rb +0 -187
  475. data/lib/purecloud/models/social_account.rb +0 -292
  476. data/lib/purecloud/models/social_conversation.rb +0 -213
  477. data/lib/purecloud/models/social_conversation_entity_listing.rb +0 -257
  478. data/lib/purecloud/models/social_media_participant.rb +0 -465
  479. data/lib/purecloud/models/socialize_entity_filter.rb +0 -197
  480. data/lib/purecloud/models/socialize_filter_request.rb +0 -217
  481. data/lib/purecloud/models/sort_field.rb +0 -184
  482. data/lib/purecloud/models/spreadsheet_transform.rb +0 -255
  483. data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +0 -257
  484. data/lib/purecloud/models/sub_data_item.rb +0 -211
  485. data/lib/purecloud/models/support.rb +0 -185
  486. data/lib/purecloud/models/support_credit.rb +0 -197
  487. data/lib/purecloud/models/support_credit_listing.rb +0 -257
  488. data/lib/purecloud/models/system_prompt.rb +0 -209
  489. data/lib/purecloud/models/system_prompt_asset.rb +0 -302
  490. data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +0 -257
  491. data/lib/purecloud/models/system_prompt_entity_listing.rb +0 -257
  492. data/lib/purecloud/models/table_transform.rb +0 -223
  493. data/lib/purecloud/models/tag_model.rb +0 -175
  494. data/lib/purecloud/models/template_entity_listing.rb +0 -257
  495. data/lib/purecloud/models/text_table_transform.rb +0 -251
  496. data/lib/purecloud/models/text_table_transform_entity_listing.rb +0 -257
  497. data/lib/purecloud/models/third_party_account.rb +0 -231
  498. data/lib/purecloud/models/third_party_subscription.rb +0 -218
  499. data/lib/purecloud/models/thumbnail.rb +0 -197
  500. data/lib/purecloud/models/ticker.rb +0 -177
  501. data/lib/purecloud/models/tier.rb +0 -175
  502. data/lib/purecloud/models/time_off_request.rb +0 -356
  503. data/lib/purecloud/models/time_off_request_list.rb +0 -199
  504. data/lib/purecloud/models/time_off_request_patch.rb +0 -167
  505. data/lib/purecloud/models/trace.rb +0 -235
  506. data/lib/purecloud/models/trace_list.rb +0 -177
  507. data/lib/purecloud/models/transform_endpoint.rb +0 -290
  508. data/lib/purecloud/models/transform_lens.rb +0 -175
  509. data/lib/purecloud/models/twitter_expression.rb +0 -431
  510. data/lib/purecloud/models/twitter_expression_buffer.rb +0 -168
  511. data/lib/purecloud/models/twitter_id.rb +0 -213
  512. data/lib/purecloud/models/unpivot_columns.rb +0 -167
  513. data/lib/purecloud/models/upload_progress.rb +0 -232
  514. data/lib/purecloud/models/url_response.rb +0 -165
  515. data/lib/purecloud/models/user_action_category.rb +0 -187
  516. data/lib/purecloud/models/user_action_category_entity_listing.rb +0 -257
  517. data/lib/purecloud/models/user_action_metadata.rb +0 -265
  518. data/lib/purecloud/models/user_action_metadata_entity_listing.rb +0 -237
  519. data/lib/purecloud/models/user_action_metadata_request.rb +0 -215
  520. data/lib/purecloud/models/user_license_assignment.rb +0 -207
  521. data/lib/purecloud/models/value.rb +0 -239
  522. data/lib/purecloud/models/vendor_connection_request.rb +0 -185
  523. data/lib/purecloud/models/video_conversation.rb +0 -213
  524. data/lib/purecloud/models/video_conversation_entity_listing.rb +0 -257
  525. data/lib/purecloud/models/video_media_participant.rb +0 -482
  526. data/lib/purecloud/models/view.rb +0 -165
  527. data/lib/purecloud/models/voice_rate.rb +0 -273
  528. data/lib/purecloud/models/voice_rate_extended.rb +0 -374
  529. data/lib/purecloud/models/voice_rate_international.rb +0 -295
  530. data/lib/purecloud/models/voice_rate_international_entity_listing.rb +0 -257
  531. data/lib/purecloud/models/voice_rate_update.rb +0 -301
  532. data/lib/purecloud/models/voice_rates_csv.rb +0 -199
  533. data/lib/purecloud/models/voice_xml_operation.rb +0 -314
  534. data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +0 -257
  535. data/lib/purecloud/models/vpn.rb +0 -185
  536. data/lib/purecloud/models/waypoint.rb +0 -237
  537. data/lib/purecloud/models/waypoint_entity_listing.rb +0 -257
  538. data/lib/purecloud/models/work_item.rb +0 -189
  539. data/lib/purecloud/models/work_item_actions.rb +0 -167
  540. data/lib/purecloud/models/work_item_cache.rb +0 -212
  541. data/lib/purecloud/models/work_item_command.rb +0 -175
  542. data/lib/purecloud/models/work_item_command_group.rb +0 -187
  543. data/lib/purecloud/models/work_item_definition.rb +0 -200
  544. data/lib/purecloud/models/work_item_details.rb +0 -380
  545. data/lib/purecloud/models/work_item_search_details.rb +0 -166
  546. data/lib/purecloud/models/work_item_search_details_search_result.rb +0 -180
  547. data/lib/purecloud/models/work_item_submit_request.rb +0 -180
  548. data/lib/purecloud/models/work_item_transfer_request.rb +0 -187
  549. data/lib/purecloud/models/xlsx_schema.rb +0 -190
@@ -1,465 +0,0 @@
1
- =begin
2
- PureCloud Platform API
3
-
4
- With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
-
6
- OpenAPI spec version: v2
7
- Contact: DeveloperEvangelists@inin.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
10
- License: ININ
11
- http://www.inin.com
12
-
13
- Terms of Service: https://developer.mypurecloud.com/tos
14
-
15
- =end
16
-
17
- require 'date'
18
-
19
- module PureCloud
20
- class SocialMediaParticipant
21
- # The unique participant ID.
22
- attr_accessor :id
23
-
24
- # The display friendly name of the participant.
25
- attr_accessor :name
26
-
27
- # The participant address.
28
- attr_accessor :address
29
-
30
- # The time when this participant joined the conversation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
31
- attr_accessor :start_time
32
-
33
- # The time when this participant went connected on the conversation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
34
- attr_accessor :connected_time
35
-
36
- # The time when this participant when disconnected on the conversation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
37
- attr_accessor :end_time
38
-
39
- # The time when this participant's hold started. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
40
- attr_accessor :start_hold_time
41
-
42
- # The participant's purpose. Values can be: 'agent', 'user', 'customer', 'external', 'acd', 'ivr
43
- attr_accessor :purpose
44
-
45
- # The participant's state. Values can be: 'alerting', 'connected', 'disconnected', 'dialing', 'contacting
46
- attr_accessor :state
47
-
48
- # The participant's direction. Values can be: 'inbound' or 'outbound'
49
- attr_accessor :direction
50
-
51
- # The reason the participant was disconnected from the conversation.
52
- attr_accessor :disconnect_type
53
-
54
- # Value is true when the participant is on hold.
55
- attr_accessor :held
56
-
57
- # Value is true when the participant requires wrap-up.
58
- attr_accessor :wrapup_required
59
-
60
- # The wrap-up prompt indicating the type of wrap-up to be performed.
61
- attr_accessor :wrapup_prompt
62
-
63
- # The PureCloud user for this participant.
64
- attr_accessor :user
65
-
66
- # The PureCloud queue for this participant.
67
- attr_accessor :queue
68
-
69
- # A list of ad-hoc attributes for the participant.
70
- attr_accessor :attributes
71
-
72
- # If the conversation ends in error, contains additional error details.
73
- attr_accessor :error_info
74
-
75
- # The Engage script that should be used by this participant.
76
- attr_accessor :script
77
-
78
- # The amount of time the participant has to complete wrap-up.
79
- attr_accessor :wrapup_timeout_ms
80
-
81
- # Value is true when the participant has skipped wrap-up.
82
- attr_accessor :wrapup_skipped
83
-
84
- # The social media ID used by this participant.
85
- attr_accessor :social_media_id
86
-
87
- # The social media hub used by this participant.
88
- attr_accessor :social_media_hub
89
-
90
- # The social media user name used by this participant.
91
- attr_accessor :social_user_name
92
-
93
- # Some preview text for this participant.
94
- attr_accessor :preview_text
95
-
96
- # Attribute mapping from ruby-style variable name to JSON key.
97
- def self.attribute_map
98
- {
99
-
100
- :'id' => :'id',
101
-
102
- :'name' => :'name',
103
-
104
- :'address' => :'address',
105
-
106
- :'start_time' => :'startTime',
107
-
108
- :'connected_time' => :'connectedTime',
109
-
110
- :'end_time' => :'endTime',
111
-
112
- :'start_hold_time' => :'startHoldTime',
113
-
114
- :'purpose' => :'purpose',
115
-
116
- :'state' => :'state',
117
-
118
- :'direction' => :'direction',
119
-
120
- :'disconnect_type' => :'disconnectType',
121
-
122
- :'held' => :'held',
123
-
124
- :'wrapup_required' => :'wrapupRequired',
125
-
126
- :'wrapup_prompt' => :'wrapupPrompt',
127
-
128
- :'user' => :'user',
129
-
130
- :'queue' => :'queue',
131
-
132
- :'attributes' => :'attributes',
133
-
134
- :'error_info' => :'errorInfo',
135
-
136
- :'script' => :'script',
137
-
138
- :'wrapup_timeout_ms' => :'wrapupTimeoutMs',
139
-
140
- :'wrapup_skipped' => :'wrapupSkipped',
141
-
142
- :'social_media_id' => :'socialMediaId',
143
-
144
- :'social_media_hub' => :'socialMediaHub',
145
-
146
- :'social_user_name' => :'socialUserName',
147
-
148
- :'preview_text' => :'previewText'
149
-
150
- }
151
- end
152
-
153
- # Attribute type mapping.
154
- def self.swagger_types
155
- {
156
- :'id' => :'String',
157
- :'name' => :'String',
158
- :'address' => :'String',
159
- :'start_time' => :'DateTime',
160
- :'connected_time' => :'DateTime',
161
- :'end_time' => :'DateTime',
162
- :'start_hold_time' => :'DateTime',
163
- :'purpose' => :'String',
164
- :'state' => :'String',
165
- :'direction' => :'String',
166
- :'disconnect_type' => :'String',
167
- :'held' => :'BOOLEAN',
168
- :'wrapup_required' => :'BOOLEAN',
169
- :'wrapup_prompt' => :'String',
170
- :'user' => :'UriReference',
171
- :'queue' => :'UriReference',
172
- :'attributes' => :'Hash<String, String>',
173
- :'error_info' => :'ErrorBody',
174
- :'script' => :'UriReference',
175
- :'wrapup_timeout_ms' => :'Integer',
176
- :'wrapup_skipped' => :'BOOLEAN',
177
- :'social_media_id' => :'String',
178
- :'social_media_hub' => :'String',
179
- :'social_user_name' => :'String',
180
- :'preview_text' => :'String'
181
-
182
- }
183
- end
184
-
185
- def initialize(attributes = {})
186
- return unless attributes.is_a?(Hash)
187
-
188
- # convert string to symbol for hash key
189
- attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
190
-
191
-
192
- if attributes[:'id']
193
- self.id = attributes[:'id']
194
- end
195
-
196
- if attributes[:'name']
197
- self.name = attributes[:'name']
198
- end
199
-
200
- if attributes[:'address']
201
- self.address = attributes[:'address']
202
- end
203
-
204
- if attributes[:'startTime']
205
- self.start_time = attributes[:'startTime']
206
- end
207
-
208
- if attributes[:'connectedTime']
209
- self.connected_time = attributes[:'connectedTime']
210
- end
211
-
212
- if attributes[:'endTime']
213
- self.end_time = attributes[:'endTime']
214
- end
215
-
216
- if attributes[:'startHoldTime']
217
- self.start_hold_time = attributes[:'startHoldTime']
218
- end
219
-
220
- if attributes[:'purpose']
221
- self.purpose = attributes[:'purpose']
222
- end
223
-
224
- if attributes[:'state']
225
- self.state = attributes[:'state']
226
- end
227
-
228
- if attributes[:'direction']
229
- self.direction = attributes[:'direction']
230
- end
231
-
232
- if attributes[:'disconnectType']
233
- self.disconnect_type = attributes[:'disconnectType']
234
- end
235
-
236
- if attributes[:'held']
237
- self.held = attributes[:'held']
238
- else
239
- self.held = false
240
- end
241
-
242
- if attributes[:'wrapupRequired']
243
- self.wrapup_required = attributes[:'wrapupRequired']
244
- else
245
- self.wrapup_required = false
246
- end
247
-
248
- if attributes[:'wrapupPrompt']
249
- self.wrapup_prompt = attributes[:'wrapupPrompt']
250
- end
251
-
252
- if attributes[:'user']
253
- self.user = attributes[:'user']
254
- end
255
-
256
- if attributes[:'queue']
257
- self.queue = attributes[:'queue']
258
- end
259
-
260
- if attributes[:'attributes']
261
- if (value = attributes[:'attributes']).is_a?(Array)
262
- self.attributes = value
263
- end
264
- end
265
-
266
- if attributes[:'errorInfo']
267
- self.error_info = attributes[:'errorInfo']
268
- end
269
-
270
- if attributes[:'script']
271
- self.script = attributes[:'script']
272
- end
273
-
274
- if attributes[:'wrapupTimeoutMs']
275
- self.wrapup_timeout_ms = attributes[:'wrapupTimeoutMs']
276
- end
277
-
278
- if attributes[:'wrapupSkipped']
279
- self.wrapup_skipped = attributes[:'wrapupSkipped']
280
- else
281
- self.wrapup_skipped = false
282
- end
283
-
284
- if attributes[:'socialMediaId']
285
- self.social_media_id = attributes[:'socialMediaId']
286
- end
287
-
288
- if attributes[:'socialMediaHub']
289
- self.social_media_hub = attributes[:'socialMediaHub']
290
- end
291
-
292
- if attributes[:'socialUserName']
293
- self.social_user_name = attributes[:'socialUserName']
294
- end
295
-
296
- if attributes[:'previewText']
297
- self.preview_text = attributes[:'previewText']
298
- end
299
-
300
- end
301
-
302
- # Custom attribute writer method checking allowed values (enum).
303
- def state=(state)
304
- allowed_values = ["ALERTING", "DIALING", "CONTACTING", "OFFERING", "CONNECTED", "DISCONNECTED", "TERMINATED", "CONVERTING", "UPLOADING", "TRANSMITTING", "NONE"]
305
- if state && !allowed_values.include?(state)
306
- fail "invalid value for 'state', must be one of #{allowed_values}"
307
- end
308
- @state = state
309
- end
310
-
311
- # Custom attribute writer method checking allowed values (enum).
312
- def direction=(direction)
313
- allowed_values = ["INBOUND", "OUTBOUND"]
314
- if direction && !allowed_values.include?(direction)
315
- fail "invalid value for 'direction', must be one of #{allowed_values}"
316
- end
317
- @direction = direction
318
- end
319
-
320
- # Custom attribute writer method checking allowed values (enum).
321
- def disconnect_type=(disconnect_type)
322
- allowed_values = ["ENDPOINT", "CLIENT", "SYSTEM", "TRANSFER", "TRANSFER_CONFERENCE", "TRANSFER_CONSULT", "ERROR", "PEER", "OTHER"]
323
- if disconnect_type && !allowed_values.include?(disconnect_type)
324
- fail "invalid value for 'disconnect_type', must be one of #{allowed_values}"
325
- end
326
- @disconnect_type = disconnect_type
327
- end
328
-
329
- # Check equality by comparing each attribute.
330
- def ==(o)
331
- return true if self.equal?(o)
332
- self.class == o.class &&
333
- id == o.id &&
334
- name == o.name &&
335
- address == o.address &&
336
- start_time == o.start_time &&
337
- connected_time == o.connected_time &&
338
- end_time == o.end_time &&
339
- start_hold_time == o.start_hold_time &&
340
- purpose == o.purpose &&
341
- state == o.state &&
342
- direction == o.direction &&
343
- disconnect_type == o.disconnect_type &&
344
- held == o.held &&
345
- wrapup_required == o.wrapup_required &&
346
- wrapup_prompt == o.wrapup_prompt &&
347
- user == o.user &&
348
- queue == o.queue &&
349
- attributes == o.attributes &&
350
- error_info == o.error_info &&
351
- script == o.script &&
352
- wrapup_timeout_ms == o.wrapup_timeout_ms &&
353
- wrapup_skipped == o.wrapup_skipped &&
354
- social_media_id == o.social_media_id &&
355
- social_media_hub == o.social_media_hub &&
356
- social_user_name == o.social_user_name &&
357
- preview_text == o.preview_text
358
- end
359
-
360
- # @see the `==` method
361
- def eql?(o)
362
- self == o
363
- end
364
-
365
- # Calculate hash code according to all attributes.
366
- def hash
367
- [id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, social_media_id, social_media_hub, social_user_name, preview_text].hash
368
- end
369
-
370
- # build the object from hash
371
- def build_from_hash(attributes)
372
- return nil unless attributes.is_a?(Hash)
373
- self.class.swagger_types.each_pair do |key, type|
374
- if type =~ /^Array<(.*)>/i
375
- if attributes[self.class.attribute_map[key]].is_a?(Array)
376
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
377
- else
378
- #TODO show warning in debug mode
379
- end
380
- elsif !attributes[self.class.attribute_map[key]].nil?
381
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
382
- else
383
- # data not found in attributes(hash), not an issue as the data can be optional
384
- end
385
- end
386
-
387
- self
388
- end
389
-
390
- def _deserialize(type, value)
391
- case type.to_sym
392
- when :DateTime
393
- DateTime.parse(value)
394
- when :Date
395
- Date.parse(value)
396
- when :String
397
- value.to_s
398
- when :Integer
399
- value.to_i
400
- when :Float
401
- value.to_f
402
- when :BOOLEAN
403
- if value.to_s =~ /^(true|t|yes|y|1)$/i
404
- true
405
- else
406
- false
407
- end
408
- when :Object
409
- # generic object (usually a Hash), return directly
410
- value
411
- when /\AArray<(?<inner_type>.+)>\z/
412
- inner_type = Regexp.last_match[:inner_type]
413
- value.map { |v| _deserialize(inner_type, v) }
414
- when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
415
- k_type = Regexp.last_match[:k_type]
416
- v_type = Regexp.last_match[:v_type]
417
- {}.tap do |hash|
418
- value.each do |k, v|
419
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
420
- end
421
- end
422
- else # model
423
- _model = Object.const_get("PureCloud").const_get(type).new
424
- _model.build_from_hash(value)
425
- end
426
- end
427
-
428
- def to_s
429
- to_hash.to_s
430
- end
431
-
432
- # to_body is an alias to to_body (backward compatibility))
433
- def to_body
434
- to_hash
435
- end
436
-
437
- # return the object in the form of hash
438
- def to_hash
439
- hash = {}
440
- self.class.attribute_map.each_pair do |attr, param|
441
- value = self.send(attr)
442
- next if value.nil?
443
- hash[param] = _to_hash(value)
444
- end
445
- hash
446
- end
447
-
448
- # Method to output non-array value in the form of hash
449
- # For object, use to_hash. Otherwise, just return the value
450
- def _to_hash(value)
451
- if value.is_a?(Array)
452
- value.compact.map{ |v| _to_hash(v) }
453
- elsif value.is_a?(Hash)
454
- {}.tap do |hash|
455
- value.each { |k, v| hash[k] = _to_hash(v) }
456
- end
457
- elsif value.respond_to? :to_hash
458
- value.to_hash
459
- else
460
- value
461
- end
462
- end
463
-
464
- end
465
- end
@@ -1,197 +0,0 @@
1
- =begin
2
- PureCloud Platform API
3
-
4
- With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
-
6
- OpenAPI spec version: v2
7
- Contact: DeveloperEvangelists@inin.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
10
- License: ININ
11
- http://www.inin.com
12
-
13
- Terms of Service: https://developer.mypurecloud.com/tos
14
-
15
- =end
16
-
17
- require 'date'
18
-
19
- module PureCloud
20
- class SocializeEntityFilter
21
- # The fieldName the filter will be applied to.
22
- attr_accessor :field_name
23
-
24
- # The operator to apply when filtering.
25
- attr_accessor :operator
26
-
27
- # The value to filter on.
28
- attr_accessor :field_value
29
-
30
- # Attribute mapping from ruby-style variable name to JSON key.
31
- def self.attribute_map
32
- {
33
-
34
- :'field_name' => :'fieldName',
35
-
36
- :'operator' => :'operator',
37
-
38
- :'field_value' => :'fieldValue'
39
-
40
- }
41
- end
42
-
43
- # Attribute type mapping.
44
- def self.swagger_types
45
- {
46
- :'field_name' => :'String',
47
- :'operator' => :'String',
48
- :'field_value' => :'String'
49
-
50
- }
51
- end
52
-
53
- def initialize(attributes = {})
54
- return unless attributes.is_a?(Hash)
55
-
56
- # convert string to symbol for hash key
57
- attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
58
-
59
-
60
- if attributes[:'fieldName']
61
- self.field_name = attributes[:'fieldName']
62
- end
63
-
64
- if attributes[:'operator']
65
- self.operator = attributes[:'operator']
66
- end
67
-
68
- if attributes[:'fieldValue']
69
- self.field_value = attributes[:'fieldValue']
70
- end
71
-
72
- end
73
-
74
- # Custom attribute writer method checking allowed values (enum).
75
- def operator=(operator)
76
- allowed_values = ["EQ", "NEG_EQ", "CONTAINS", "NEG_CONTAINS", "STARTS_WITH", "NEG_STARTS_WITH", "ENDS_WITH", "NEG_ENDS_WITH", "BT", "GT", "LT", "GE", "LE", "IN"]
77
- if operator && !allowed_values.include?(operator)
78
- fail "invalid value for 'operator', must be one of #{allowed_values}"
79
- end
80
- @operator = operator
81
- end
82
-
83
- # Check equality by comparing each attribute.
84
- def ==(o)
85
- return true if self.equal?(o)
86
- self.class == o.class &&
87
- field_name == o.field_name &&
88
- operator == o.operator &&
89
- field_value == o.field_value
90
- end
91
-
92
- # @see the `==` method
93
- def eql?(o)
94
- self == o
95
- end
96
-
97
- # Calculate hash code according to all attributes.
98
- def hash
99
- [field_name, operator, field_value].hash
100
- end
101
-
102
- # build the object from hash
103
- def build_from_hash(attributes)
104
- return nil unless attributes.is_a?(Hash)
105
- self.class.swagger_types.each_pair do |key, type|
106
- if type =~ /^Array<(.*)>/i
107
- if attributes[self.class.attribute_map[key]].is_a?(Array)
108
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
109
- else
110
- #TODO show warning in debug mode
111
- end
112
- elsif !attributes[self.class.attribute_map[key]].nil?
113
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
114
- else
115
- # data not found in attributes(hash), not an issue as the data can be optional
116
- end
117
- end
118
-
119
- self
120
- end
121
-
122
- def _deserialize(type, value)
123
- case type.to_sym
124
- when :DateTime
125
- DateTime.parse(value)
126
- when :Date
127
- Date.parse(value)
128
- when :String
129
- value.to_s
130
- when :Integer
131
- value.to_i
132
- when :Float
133
- value.to_f
134
- when :BOOLEAN
135
- if value.to_s =~ /^(true|t|yes|y|1)$/i
136
- true
137
- else
138
- false
139
- end
140
- when :Object
141
- # generic object (usually a Hash), return directly
142
- value
143
- when /\AArray<(?<inner_type>.+)>\z/
144
- inner_type = Regexp.last_match[:inner_type]
145
- value.map { |v| _deserialize(inner_type, v) }
146
- when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
147
- k_type = Regexp.last_match[:k_type]
148
- v_type = Regexp.last_match[:v_type]
149
- {}.tap do |hash|
150
- value.each do |k, v|
151
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
152
- end
153
- end
154
- else # model
155
- _model = Object.const_get("PureCloud").const_get(type).new
156
- _model.build_from_hash(value)
157
- end
158
- end
159
-
160
- def to_s
161
- to_hash.to_s
162
- end
163
-
164
- # to_body is an alias to to_body (backward compatibility))
165
- def to_body
166
- to_hash
167
- end
168
-
169
- # return the object in the form of hash
170
- def to_hash
171
- hash = {}
172
- self.class.attribute_map.each_pair do |attr, param|
173
- value = self.send(attr)
174
- next if value.nil?
175
- hash[param] = _to_hash(value)
176
- end
177
- hash
178
- end
179
-
180
- # Method to output non-array value in the form of hash
181
- # For object, use to_hash. Otherwise, just return the value
182
- def _to_hash(value)
183
- if value.is_a?(Array)
184
- value.compact.map{ |v| _to_hash(v) }
185
- elsif value.is_a?(Hash)
186
- {}.tap do |hash|
187
- value.each { |k, v| hash[k] = _to_hash(v) }
188
- end
189
- elsif value.respond_to? :to_hash
190
- value.to_hash
191
- else
192
- value
193
- end
194
- end
195
-
196
- end
197
- end