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,167 +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 DataValueInfo
21
- attr_accessor :data_items
22
-
23
- # Attribute mapping from ruby-style variable name to JSON key.
24
- def self.attribute_map
25
- {
26
-
27
- :'data_items' => :'dataItems'
28
-
29
- }
30
- end
31
-
32
- # Attribute type mapping.
33
- def self.swagger_types
34
- {
35
- :'data_items' => :'Array<DataItem>'
36
-
37
- }
38
- end
39
-
40
- def initialize(attributes = {})
41
- return unless attributes.is_a?(Hash)
42
-
43
- # convert string to symbol for hash key
44
- attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
45
-
46
-
47
- if attributes[:'dataItems']
48
- if (value = attributes[:'dataItems']).is_a?(Array)
49
- self.data_items = value
50
- end
51
- end
52
-
53
- end
54
-
55
- # Check equality by comparing each attribute.
56
- def ==(o)
57
- return true if self.equal?(o)
58
- self.class == o.class &&
59
- data_items == o.data_items
60
- end
61
-
62
- # @see the `==` method
63
- def eql?(o)
64
- self == o
65
- end
66
-
67
- # Calculate hash code according to all attributes.
68
- def hash
69
- [data_items].hash
70
- end
71
-
72
- # build the object from hash
73
- def build_from_hash(attributes)
74
- return nil unless attributes.is_a?(Hash)
75
- self.class.swagger_types.each_pair do |key, type|
76
- if type =~ /^Array<(.*)>/i
77
- if attributes[self.class.attribute_map[key]].is_a?(Array)
78
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
79
- else
80
- #TODO show warning in debug mode
81
- end
82
- elsif !attributes[self.class.attribute_map[key]].nil?
83
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
84
- else
85
- # data not found in attributes(hash), not an issue as the data can be optional
86
- end
87
- end
88
-
89
- self
90
- end
91
-
92
- def _deserialize(type, value)
93
- case type.to_sym
94
- when :DateTime
95
- DateTime.parse(value)
96
- when :Date
97
- Date.parse(value)
98
- when :String
99
- value.to_s
100
- when :Integer
101
- value.to_i
102
- when :Float
103
- value.to_f
104
- when :BOOLEAN
105
- if value.to_s =~ /^(true|t|yes|y|1)$/i
106
- true
107
- else
108
- false
109
- end
110
- when :Object
111
- # generic object (usually a Hash), return directly
112
- value
113
- when /\AArray<(?<inner_type>.+)>\z/
114
- inner_type = Regexp.last_match[:inner_type]
115
- value.map { |v| _deserialize(inner_type, v) }
116
- when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
117
- k_type = Regexp.last_match[:k_type]
118
- v_type = Regexp.last_match[:v_type]
119
- {}.tap do |hash|
120
- value.each do |k, v|
121
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
122
- end
123
- end
124
- else # model
125
- _model = Object.const_get("PureCloud").const_get(type).new
126
- _model.build_from_hash(value)
127
- end
128
- end
129
-
130
- def to_s
131
- to_hash.to_s
132
- end
133
-
134
- # to_body is an alias to to_body (backward compatibility))
135
- def to_body
136
- to_hash
137
- end
138
-
139
- # return the object in the form of hash
140
- def to_hash
141
- hash = {}
142
- self.class.attribute_map.each_pair do |attr, param|
143
- value = self.send(attr)
144
- next if value.nil?
145
- hash[param] = _to_hash(value)
146
- end
147
- hash
148
- end
149
-
150
- # Method to output non-array value in the form of hash
151
- # For object, use to_hash. Otherwise, just return the value
152
- def _to_hash(value)
153
- if value.is_a?(Array)
154
- value.compact.map{ |v| _to_hash(v) }
155
- elsif value.is_a?(Hash)
156
- {}.tap do |hash|
157
- value.each { |k, v| hash[k] = _to_hash(v) }
158
- end
159
- elsif value.respond_to? :to_hash
160
- value.to_hash
161
- else
162
- value
163
- end
164
- end
165
-
166
- end
167
- end
@@ -1,235 +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 DeltaDocument
21
- attr_accessor :id
22
-
23
- attr_accessor :name
24
-
25
- attr_accessor :filename
26
-
27
- attr_accessor :content_type
28
-
29
- attr_accessor :content_length_bytes
30
-
31
- attr_accessor :operation
32
-
33
- # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
34
- attr_accessor :date_modified
35
-
36
- # Attribute mapping from ruby-style variable name to JSON key.
37
- def self.attribute_map
38
- {
39
-
40
- :'id' => :'id',
41
-
42
- :'name' => :'name',
43
-
44
- :'filename' => :'filename',
45
-
46
- :'content_type' => :'contentType',
47
-
48
- :'content_length_bytes' => :'contentLengthBytes',
49
-
50
- :'operation' => :'operation',
51
-
52
- :'date_modified' => :'dateModified'
53
-
54
- }
55
- end
56
-
57
- # Attribute type mapping.
58
- def self.swagger_types
59
- {
60
- :'id' => :'String',
61
- :'name' => :'String',
62
- :'filename' => :'String',
63
- :'content_type' => :'String',
64
- :'content_length_bytes' => :'Integer',
65
- :'operation' => :'String',
66
- :'date_modified' => :'DateTime'
67
-
68
- }
69
- end
70
-
71
- def initialize(attributes = {})
72
- return unless attributes.is_a?(Hash)
73
-
74
- # convert string to symbol for hash key
75
- attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
76
-
77
-
78
- if attributes[:'id']
79
- self.id = attributes[:'id']
80
- end
81
-
82
- if attributes[:'name']
83
- self.name = attributes[:'name']
84
- end
85
-
86
- if attributes[:'filename']
87
- self.filename = attributes[:'filename']
88
- end
89
-
90
- if attributes[:'contentType']
91
- self.content_type = attributes[:'contentType']
92
- end
93
-
94
- if attributes[:'contentLengthBytes']
95
- self.content_length_bytes = attributes[:'contentLengthBytes']
96
- end
97
-
98
- if attributes[:'operation']
99
- self.operation = attributes[:'operation']
100
- end
101
-
102
- if attributes[:'dateModified']
103
- self.date_modified = attributes[:'dateModified']
104
- end
105
-
106
- end
107
-
108
- # Custom attribute writer method checking allowed values (enum).
109
- def operation=(operation)
110
- allowed_values = ["CREATED", "UPDATED", "REPLACED", "DELETED"]
111
- if operation && !allowed_values.include?(operation)
112
- fail "invalid value for 'operation', must be one of #{allowed_values}"
113
- end
114
- @operation = operation
115
- end
116
-
117
- # Check equality by comparing each attribute.
118
- def ==(o)
119
- return true if self.equal?(o)
120
- self.class == o.class &&
121
- id == o.id &&
122
- name == o.name &&
123
- filename == o.filename &&
124
- content_type == o.content_type &&
125
- content_length_bytes == o.content_length_bytes &&
126
- operation == o.operation &&
127
- date_modified == o.date_modified
128
- end
129
-
130
- # @see the `==` method
131
- def eql?(o)
132
- self == o
133
- end
134
-
135
- # Calculate hash code according to all attributes.
136
- def hash
137
- [id, name, filename, content_type, content_length_bytes, operation, date_modified].hash
138
- end
139
-
140
- # build the object from hash
141
- def build_from_hash(attributes)
142
- return nil unless attributes.is_a?(Hash)
143
- self.class.swagger_types.each_pair do |key, type|
144
- if type =~ /^Array<(.*)>/i
145
- if attributes[self.class.attribute_map[key]].is_a?(Array)
146
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
147
- else
148
- #TODO show warning in debug mode
149
- end
150
- elsif !attributes[self.class.attribute_map[key]].nil?
151
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
152
- else
153
- # data not found in attributes(hash), not an issue as the data can be optional
154
- end
155
- end
156
-
157
- self
158
- end
159
-
160
- def _deserialize(type, value)
161
- case type.to_sym
162
- when :DateTime
163
- DateTime.parse(value)
164
- when :Date
165
- Date.parse(value)
166
- when :String
167
- value.to_s
168
- when :Integer
169
- value.to_i
170
- when :Float
171
- value.to_f
172
- when :BOOLEAN
173
- if value.to_s =~ /^(true|t|yes|y|1)$/i
174
- true
175
- else
176
- false
177
- end
178
- when :Object
179
- # generic object (usually a Hash), return directly
180
- value
181
- when /\AArray<(?<inner_type>.+)>\z/
182
- inner_type = Regexp.last_match[:inner_type]
183
- value.map { |v| _deserialize(inner_type, v) }
184
- when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
185
- k_type = Regexp.last_match[:k_type]
186
- v_type = Regexp.last_match[:v_type]
187
- {}.tap do |hash|
188
- value.each do |k, v|
189
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
190
- end
191
- end
192
- else # model
193
- _model = Object.const_get("PureCloud").const_get(type).new
194
- _model.build_from_hash(value)
195
- end
196
- end
197
-
198
- def to_s
199
- to_hash.to_s
200
- end
201
-
202
- # to_body is an alias to to_body (backward compatibility))
203
- def to_body
204
- to_hash
205
- end
206
-
207
- # return the object in the form of hash
208
- def to_hash
209
- hash = {}
210
- self.class.attribute_map.each_pair do |attr, param|
211
- value = self.send(attr)
212
- next if value.nil?
213
- hash[param] = _to_hash(value)
214
- end
215
- hash
216
- end
217
-
218
- # Method to output non-array value in the form of hash
219
- # For object, use to_hash. Otherwise, just return the value
220
- def _to_hash(value)
221
- if value.is_a?(Array)
222
- value.compact.map{ |v| _to_hash(v) }
223
- elsif value.is_a?(Hash)
224
- {}.tap do |hash|
225
- value.each { |k, v| hash[k] = _to_hash(v) }
226
- end
227
- elsif value.respond_to? :to_hash
228
- value.to_hash
229
- else
230
- value
231
- end
232
- end
233
-
234
- end
235
- end
@@ -1,165 +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 DeltaRequest
21
- attr_accessor :context_token
22
-
23
- # Attribute mapping from ruby-style variable name to JSON key.
24
- def self.attribute_map
25
- {
26
-
27
- :'context_token' => :'contextToken'
28
-
29
- }
30
- end
31
-
32
- # Attribute type mapping.
33
- def self.swagger_types
34
- {
35
- :'context_token' => :'String'
36
-
37
- }
38
- end
39
-
40
- def initialize(attributes = {})
41
- return unless attributes.is_a?(Hash)
42
-
43
- # convert string to symbol for hash key
44
- attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
45
-
46
-
47
- if attributes[:'contextToken']
48
- self.context_token = attributes[:'contextToken']
49
- end
50
-
51
- end
52
-
53
- # Check equality by comparing each attribute.
54
- def ==(o)
55
- return true if self.equal?(o)
56
- self.class == o.class &&
57
- context_token == o.context_token
58
- end
59
-
60
- # @see the `==` method
61
- def eql?(o)
62
- self == o
63
- end
64
-
65
- # Calculate hash code according to all attributes.
66
- def hash
67
- [context_token].hash
68
- end
69
-
70
- # build the object from hash
71
- def build_from_hash(attributes)
72
- return nil unless attributes.is_a?(Hash)
73
- self.class.swagger_types.each_pair do |key, type|
74
- if type =~ /^Array<(.*)>/i
75
- if attributes[self.class.attribute_map[key]].is_a?(Array)
76
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
77
- else
78
- #TODO show warning in debug mode
79
- end
80
- elsif !attributes[self.class.attribute_map[key]].nil?
81
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
82
- else
83
- # data not found in attributes(hash), not an issue as the data can be optional
84
- end
85
- end
86
-
87
- self
88
- end
89
-
90
- def _deserialize(type, value)
91
- case type.to_sym
92
- when :DateTime
93
- DateTime.parse(value)
94
- when :Date
95
- Date.parse(value)
96
- when :String
97
- value.to_s
98
- when :Integer
99
- value.to_i
100
- when :Float
101
- value.to_f
102
- when :BOOLEAN
103
- if value.to_s =~ /^(true|t|yes|y|1)$/i
104
- true
105
- else
106
- false
107
- end
108
- when :Object
109
- # generic object (usually a Hash), return directly
110
- value
111
- when /\AArray<(?<inner_type>.+)>\z/
112
- inner_type = Regexp.last_match[:inner_type]
113
- value.map { |v| _deserialize(inner_type, v) }
114
- when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
115
- k_type = Regexp.last_match[:k_type]
116
- v_type = Regexp.last_match[:v_type]
117
- {}.tap do |hash|
118
- value.each do |k, v|
119
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
120
- end
121
- end
122
- else # model
123
- _model = Object.const_get("PureCloud").const_get(type).new
124
- _model.build_from_hash(value)
125
- end
126
- end
127
-
128
- def to_s
129
- to_hash.to_s
130
- end
131
-
132
- # to_body is an alias to to_body (backward compatibility))
133
- def to_body
134
- to_hash
135
- end
136
-
137
- # return the object in the form of hash
138
- def to_hash
139
- hash = {}
140
- self.class.attribute_map.each_pair do |attr, param|
141
- value = self.send(attr)
142
- next if value.nil?
143
- hash[param] = _to_hash(value)
144
- end
145
- hash
146
- end
147
-
148
- # Method to output non-array value in the form of hash
149
- # For object, use to_hash. Otherwise, just return the value
150
- def _to_hash(value)
151
- if value.is_a?(Array)
152
- value.compact.map{ |v| _to_hash(v) }
153
- elsif value.is_a?(Hash)
154
- {}.tap do |hash|
155
- value.each { |k, v| hash[k] = _to_hash(v) }
156
- end
157
- elsif value.respond_to? :to_hash
158
- value.to_hash
159
- else
160
- value
161
- end
162
- end
163
-
164
- end
165
- end