purecloud 0.45.1 → 0.46.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/config-ruby.json +1 -1
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/version.rb +1 -1
- data/lib/purecloud.rb +0 -269
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +2 -540
- data/doc_out/Account.html.md +0 -42
- data/doc_out/AccountManager.html.md +0 -16
- data/doc_out/AccountOverview.html.md +0 -20
- data/doc_out/AccountStatus.html.md +0 -21
- data/doc_out/AddressListing.html.md +0 -22
- data/doc_out/App.html.md +0 -14
- data/doc_out/ArchitectAuditMessage.html.md +0 -17
- data/doc_out/ArchitectAuditMessageListing.html.md +0 -17
- data/doc_out/Asset.html.md +0 -17
- data/doc_out/AssetEntityListing.html.md +0 -22
- data/doc_out/AssociatedDocument.html.md +0 -14
- data/doc_out/AuthzGrant.html.md +0 -15
- data/doc_out/AuthzGrantPolicy.html.md +0 -16
- data/doc_out/AuthzGrantRole.html.md +0 -17
- data/doc_out/AuthzObject.html.md +0 -17
- data/doc_out/AuthzPerm.html.md +0 -14
- data/doc_out/AuthzPermissionContext.html.md +0 -14
- data/doc_out/AuthzSubject.html.md +0 -16
- data/doc_out/AvailableAdditionalService.html.md +0 -22
- data/doc_out/AvailableAdditionalServiceListing.html.md +0 -22
- data/doc_out/BackendFlowAvailableActions.html.md +0 -13
- data/doc_out/BasicTransform.html.md +0 -14
- data/doc_out/BatchCommand.html.md +0 -14
- data/doc_out/BatchItem.html.md +0 -15
- data/doc_out/BatchItemBody.html.md +0 -13
- data/doc_out/BatchReply.html.md +0 -13
- data/doc_out/BatchReplyItem.html.md +0 -15
- data/doc_out/BillingAddress.html.md +0 -20
- data/doc_out/BillingContact.html.md +0 -20
- data/doc_out/BillingContactListing.html.md +0 -22
- data/doc_out/BillingPendingTask.html.md +0 -16
- data/doc_out/BillingPeriod.html.md +0 -17
- data/doc_out/BillingTaskResult.html.md +0 -21
- data/doc_out/Carrier.html.md +0 -20
- data/doc_out/CarrierAddress.html.md +0 -17
- data/doc_out/CarrierEntityListing.html.md +0 -22
- data/doc_out/Charge.html.md +0 -20
- data/doc_out/ClientSpreadsheetTransform.html.md +0 -19
- data/doc_out/ClientTextTableTransform.html.md +0 -20
- data/doc_out/CodesRequest.html.md +0 -14
- data/doc_out/ColumnCollapse.html.md +0 -14
- data/doc_out/ComposerTemplate.html.md +0 -22
- data/doc_out/ConsumedResourcesEntityListing.html.md +0 -22
- data/doc_out/ConsumingResourcesEntityListing.html.md +0 -22
- data/doc_out/ContactAddress.html.md +0 -18
- data/doc_out/ContactListing.html.md +0 -22
- data/doc_out/ContactSales.html.md +0 -25
- data/doc_out/ContactSalesResponse.html.md +0 -16
- data/doc_out/Contract.html.md +0 -18
- data/doc_out/ContractJob.html.md +0 -17
- data/doc_out/Control.html.md +0 -19
- data/doc_out/ControlOptions.html.md +0 -14
- data/doc_out/ConversationAssociation.html.md +0 -15
- data/doc_out/CreateIntegrationRequest.html.md +0 -16
- data/doc_out/CreateTemplateFromScriptRequestData.html.md +0 -17
- data/doc_out/CsvSchema.html.md +0 -19
- data/doc_out/Currency.html.md +0 -16
- data/doc_out/CustomerAccount.html.md +0 -21
- data/doc_out/DataItem.html.md +0 -15
- data/doc_out/DataValueInfo.html.md +0 -13
- data/doc_out/DeltaDocument.html.md +0 -19
- data/doc_out/DeltaRequest.html.md +0 -13
- data/doc_out/DeltaResponse.html.md +0 -15
- data/doc_out/Dependency.html.md +0 -19
- data/doc_out/DependencyObject.html.md +0 -21
- data/doc_out/DependencyObjectEntityListing.html.md +0 -22
- data/doc_out/DependencyStatus.html.md +0 -21
- data/doc_out/DependencyType.html.md +0 -16
- data/doc_out/DependencyTypeEntityListing.html.md +0 -22
- data/doc_out/Deployment.html.md +0 -17
- data/doc_out/DeploymentEntityListing.html.md +0 -22
- data/doc_out/DiagnosticEmail.html.md +0 -19
- data/doc_out/Discount.html.md +0 -20
- data/doc_out/Dns.html.md +0 -15
- data/doc_out/DocusignTemplateMapping.html.md +0 -16
- data/doc_out/DomainBillingPeriodEntityListing.html.md +0 -22
- data/doc_out/DomainInvoiceEntityListing.html.md +0 -22
- data/doc_out/DomainThirdPartyAccountEntityListing.html.md +0 -22
- data/doc_out/DomainThirdPartySubscriptionEntityListing.html.md +0 -22
- data/doc_out/DomainVoiceRateExtendedResponseItemEntityListing.html.md +0 -22
- data/doc_out/DomainVoiceRateInternationalResponseItemEntityListing.html.md +0 -22
- data/doc_out/DomainVoiceRateResponseItemEntityListing.html.md +0 -22
- data/doc_out/EmbeddedSignatureView.html.md +0 -14
- data/doc_out/ExpressionResponse.html.md +0 -23
- data/doc_out/ExternalContact.html.md +0 -32
- data/doc_out/ExternalDataSource.html.md +0 -14
- data/doc_out/ExternalOrganization.html.md +0 -30
- data/doc_out/ExternalOrganizationListing.html.md +0 -22
- data/doc_out/FacetRequest.html.md +0 -19
- data/doc_out/FacetResult.html.md +0 -17
- data/doc_out/FacetResultItem.html.md +0 -19
- data/doc_out/FailedObject.html.md +0 -16
- data/doc_out/FavoriteTemplateRequestData.html.md +0 -13
- data/doc_out/FilterItem.html.md +0 -17
- data/doc_out/Flow.html.md +0 -29
- data/doc_out/FlowBody.html.md +0 -14
- data/doc_out/FlowBodyFormat.html.md +0 -14
- data/doc_out/FlowConfigId.html.md +0 -16
- data/doc_out/FlowConfigMetaData.html.md +0 -23
- data/doc_out/FlowConfigMetaDataEntityListing.html.md +0 -22
- data/doc_out/FlowDetails.html.md +0 -24
- data/doc_out/FlowDetailsSearchResult.html.md +0 -14
- data/doc_out/FlowEntityListing.html.md +0 -22
- data/doc_out/FlowExecId.html.md +0 -15
- data/doc_out/FlowHistoryDataItem.html.md +0 -15
- data/doc_out/FlowHistoryItem.html.md +0 -20
- data/doc_out/FlowHistoryResultItem.html.md +0 -15
- data/doc_out/FlowInputData.html.md +0 -13
- data/doc_out/FlowLaunchRequest.html.md +0 -16
- data/doc_out/FlowPublish.html.md +0 -17
- data/doc_out/FlowReportResultItem.html.md +0 -24
- data/doc_out/FlowSearchRequest.html.md +0 -19
- data/doc_out/FlowState.html.md +0 -15
- data/doc_out/FlowTerminateRequest.html.md +0 -13
- data/doc_out/FlowUploadResponse.html.md +0 -14
- data/doc_out/FlowVersion.html.md +0 -23
- data/doc_out/FlowVersionConfigMetaData.html.md +0 -20
- data/doc_out/FlowVersionConfigMetaDataEntityListing.html.md +0 -22
- data/doc_out/FlowVersionEntityListing.html.md +0 -22
- data/doc_out/Form.html.md +0 -13
- data/doc_out/Gateway.html.md +0 -15
- data/doc_out/Gistener.html.md +0 -25
- data/doc_out/GroupTag.html.md +0 -19
- data/doc_out/HIPAAConfig.html.md +0 -16
- data/doc_out/HardwareRate.html.md +0 -18
- data/doc_out/HardwareRateListing.html.md +0 -22
- data/doc_out/HealthCheckInfo.html.md +0 -21
- data/doc_out/IVR.html.md +0 -31
- data/doc_out/IVREntityListing.html.md +0 -22
- data/doc_out/IndexedTransform.html.md +0 -16
- data/doc_out/Integration.html.md +0 -20
- data/doc_out/IntegrationConfiguration.html.md +0 -20
- data/doc_out/IntegrationEntityListing.html.md +0 -22
- data/doc_out/IntegrationStatusInfo.html.md +0 -16
- data/doc_out/IntegrationType.html.md +0 -20
- data/doc_out/IntegrationTypeEntityListing.html.md +0 -22
- data/doc_out/Invoice.html.md +0 -21
- data/doc_out/License.html.md +0 -14
- data/doc_out/LicensesByPermission.html.md +0 -15
- data/doc_out/LinkedEntityListingFlowDetails.html.md +0 -22
- data/doc_out/LinkedEntityListingWorkItemSearchDetails.html.md +0 -22
- data/doc_out/ManagementUnit.html.md +0 -18
- data/doc_out/ManagementUnitTimezone.html.md +0 -13
- data/doc_out/NocSupport.html.md +0 -14
- data/doc_out/Note.html.md +0 -18
- data/doc_out/NoteListing.html.md +0 -22
- data/doc_out/NumberOrder.html.md +0 -29
- data/doc_out/NumberOrderRequest.html.md +0 -17
- data/doc_out/Operation.html.md +0 -16
- data/doc_out/Order.html.md +0 -17
- data/doc_out/OrgLicenseAssignment.html.md +0 -16
- data/doc_out/OrganizationCreate.html.md +0 -18
- data/doc_out/Page.html.md +0 -20
- data/doc_out/PaymentMethod.html.md +0 -21
- data/doc_out/PaymentMethodListing.html.md +0 -22
- data/doc_out/PaymentTokenProvider.html.md +0 -16
- data/doc_out/Permissions.html.md +0 -15
- data/doc_out/PhoneNumber.html.md +0 -18
- data/doc_out/PortBillingAddress.html.md +0 -17
- data/doc_out/PortContact.html.md +0 -14
- data/doc_out/Product.html.md +0 -17
- data/doc_out/Prompt.html.md +0 -18
- data/doc_out/PromptAsset.html.md +0 -24
- data/doc_out/PromptAssetEntityListing.html.md +0 -22
- data/doc_out/PromptEntityListing.html.md +0 -22
- data/doc_out/Publication.html.md +0 -20
- data/doc_out/PublishScriptRequestData.html.md +0 -14
- data/doc_out/PublishedResult.html.md +0 -18
- data/doc_out/Quote.html.md +0 -32
- data/doc_out/QuoteCharge.html.md +0 -25
- data/doc_out/QuoteListing.html.md +0 -22
- data/doc_out/Rate.html.md +0 -17
- data/doc_out/Relationship.html.md +0 -18
- data/doc_out/RelationshipListing.html.md +0 -22
- data/doc_out/ReportRequest.html.md +0 -18
- data/doc_out/Reservation.html.md +0 -16
- data/doc_out/Scene.html.md +0 -22
- data/doc_out/SceneEntityListing.html.md +0 -22
- data/doc_out/SceneGroup.html.md +0 -16
- data/doc_out/SceneGroupEntityListing.html.md +0 -22
- data/doc_out/Schedule.html.md +0 -28
- data/doc_out/ScheduleEntityListing.html.md +0 -22
- data/doc_out/ScheduleGroup.html.md +0 -27
- data/doc_out/ScheduleGroupEntityListing.html.md +0 -22
- data/doc_out/Script.html.md +0 -26
- data/doc_out/ScriptEntityListing.html.md +0 -22
- data/doc_out/Service.html.md +0 -22
- data/doc_out/ServiceEntityListing.html.md +0 -22
- data/doc_out/ServiceType.html.md +0 -19
- data/doc_out/SharedResponse.html.md +0 -17
- data/doc_out/SheetSchema.html.md +0 -18
- data/doc_out/SheetTransform.html.md +0 -15
- data/doc_out/SignatureDocumentInfo.html.md +0 -16
- data/doc_out/Snapshot.html.md +0 -15
- data/doc_out/SocialAccount.html.md +0 -24
- data/doc_out/SocialConversation.html.md +0 -17
- data/doc_out/SocialConversationEntityListing.html.md +0 -22
- data/doc_out/SocialMediaParticipant.html.md +0 -37
- data/doc_out/SocializeEntityFilter.html.md +0 -15
- data/doc_out/SocializeFilterRequest.html.md +0 -17
- data/doc_out/SortField.html.md +0 -14
- data/doc_out/SpreadsheetTransform.html.md +0 -21
- data/doc_out/SpreadsheetTransformEntityListing.html.md +0 -22
- data/doc_out/SubDataItem.html.md +0 -17
- data/doc_out/Support.html.md +0 -15
- data/doc_out/SupportCredit.html.md +0 -16
- data/doc_out/SupportCreditListing.html.md +0 -22
- data/doc_out/SystemPrompt.html.md +0 -17
- data/doc_out/SystemPromptAsset.html.md +0 -25
- data/doc_out/SystemPromptAssetEntityListing.html.md +0 -22
- data/doc_out/SystemPromptEntityListing.html.md +0 -22
- data/doc_out/TableTransform.html.md +0 -18
- data/doc_out/TagModel.html.md +0 -14
- data/doc_out/TemplateEntityListing.html.md +0 -22
- data/doc_out/TextTableTransform.html.md +0 -21
- data/doc_out/TextTableTransformEntityListing.html.md +0 -22
- data/doc_out/ThirdPartyAccount.html.md +0 -19
- data/doc_out/ThirdPartySubscription.html.md +0 -18
- data/doc_out/Thumbnail.html.md +0 -16
- data/doc_out/Ticker.html.md +0 -14
- data/doc_out/Tier.html.md +0 -14
- data/doc_out/TimeOffRequest.html.md +0 -30
- data/doc_out/TimeOffRequestList.html.md +0 -16
- data/doc_out/TimeOffRequestPatch.html.md +0 -13
- data/doc_out/Trace.html.md +0 -19
- data/doc_out/TraceList.html.md +0 -14
- data/doc_out/TransformEndpoint.html.md +0 -24
- data/doc_out/TransformLens.html.md +0 -14
- data/doc_out/TwitterExpression.html.md +0 -36
- data/doc_out/TwitterExpressionBuffer.html.md +0 -13
- data/doc_out/TwitterId.html.md +0 -17
- data/doc_out/UnpivotColumns.html.md +0 -13
- data/doc_out/UploadProgress.html.md +0 -19
- data/doc_out/UrlResponse.html.md +0 -13
- data/doc_out/UserActionCategory.html.md +0 -15
- data/doc_out/UserActionCategoryEntityListing.html.md +0 -22
- data/doc_out/UserActionMetadata.html.md +0 -22
- data/doc_out/UserActionMetadataEntityListing.html.md +0 -20
- data/doc_out/UserActionMetadataRequest.html.md +0 -18
- data/doc_out/UserLicenseAssignment.html.md +0 -17
- data/doc_out/Value.html.md +0 -19
- data/doc_out/VendorConnectionRequest.html.md +0 -15
- data/doc_out/VideoConversation.html.md +0 -17
- data/doc_out/VideoConversationEntityListing.html.md +0 -22
- data/doc_out/VideoMediaParticipant.html.md +0 -38
- data/doc_out/View.html.md +0 -13
- data/doc_out/VoiceRate.html.md +0 -22
- data/doc_out/VoiceRateExtended.html.md +0 -31
- data/doc_out/VoiceRateInternational.html.md +0 -24
- data/doc_out/VoiceRateInternationalEntityListing.html.md +0 -22
- data/doc_out/VoiceRateUpdate.html.md +0 -25
- data/doc_out/VoiceRatesCsv.html.md +0 -16
- data/doc_out/VoiceXmlOperation.html.md +0 -25
- data/doc_out/VoiceXmlOperationEntityListing.html.md +0 -22
- data/doc_out/Vpn.html.md +0 -15
- data/doc_out/Waypoint.html.md +0 -20
- data/doc_out/WaypointEntityListing.html.md +0 -22
- data/doc_out/WorkItem.html.md +0 -15
- data/doc_out/WorkItemActions.html.md +0 -13
- data/doc_out/WorkItemCache.html.md +0 -17
- data/doc_out/WorkItemCommand.html.md +0 -14
- data/doc_out/WorkItemCommandGroup.html.md +0 -15
- data/doc_out/WorkItemDefinition.html.md +0 -16
- data/doc_out/WorkItemDetails.html.md +0 -32
- data/doc_out/WorkItemSearchDetails.html.md +0 -13
- data/doc_out/WorkItemSearchDetailsSearchResult.html.md +0 -14
- data/doc_out/WorkItemSubmitRequest.html.md +0 -14
- data/doc_out/WorkItemTransferRequest.html.md +0 -14
- data/doc_out/XlsxSchema.html.md +0 -15
- data/lib/purecloud/models/account.rb +0 -481
- data/lib/purecloud/models/account_manager.rb +0 -195
- data/lib/purecloud/models/account_overview.rb +0 -243
- data/lib/purecloud/models/account_status.rb +0 -249
- data/lib/purecloud/models/address_listing.rb +0 -257
- data/lib/purecloud/models/app.rb +0 -175
- data/lib/purecloud/models/architect_audit_message.rb +0 -218
- data/lib/purecloud/models/architect_audit_message_listing.rb +0 -207
- data/lib/purecloud/models/asset.rb +0 -207
- data/lib/purecloud/models/asset_entity_listing.rb +0 -257
- data/lib/purecloud/models/associated_document.rb +0 -187
- data/lib/purecloud/models/authz_grant.rb +0 -186
- data/lib/purecloud/models/authz_grant_policy.rb +0 -197
- data/lib/purecloud/models/authz_grant_role.rb +0 -209
- data/lib/purecloud/models/authz_object.rb +0 -210
- data/lib/purecloud/models/authz_perm.rb +0 -177
- data/lib/purecloud/models/authz_permission_context.rb +0 -175
- data/lib/purecloud/models/authz_subject.rb +0 -199
- data/lib/purecloud/models/available_additional_service.rb +0 -272
- data/lib/purecloud/models/available_additional_service_listing.rb +0 -257
- data/lib/purecloud/models/backend_flow_available_actions.rb +0 -167
- data/lib/purecloud/models/basic_transform.rb +0 -179
- data/lib/purecloud/models/batch_command.rb +0 -177
- data/lib/purecloud/models/batch_item.rb +0 -185
- data/lib/purecloud/models/batch_item_body.rb +0 -165
- data/lib/purecloud/models/batch_reply.rb +0 -167
- data/lib/purecloud/models/batch_reply_item.rb +0 -185
- data/lib/purecloud/models/billing_address.rb +0 -242
- data/lib/purecloud/models/billing_contact.rb +0 -237
- data/lib/purecloud/models/billing_contact_listing.rb +0 -257
- data/lib/purecloud/models/billing_pending_task.rb +0 -197
- data/lib/purecloud/models/billing_period.rb +0 -209
- data/lib/purecloud/models/billing_task_result.rb +0 -265
- data/lib/purecloud/models/carrier.rb +0 -239
- data/lib/purecloud/models/carrier_address.rb +0 -205
- data/lib/purecloud/models/carrier_entity_listing.rb +0 -257
- data/lib/purecloud/models/charge.rb +0 -235
- data/lib/purecloud/models/client_spreadsheet_transform.rb +0 -233
- data/lib/purecloud/models/client_text_table_transform.rb +0 -239
- data/lib/purecloud/models/codes_request.rb +0 -175
- data/lib/purecloud/models/column_collapse.rb +0 -177
- data/lib/purecloud/models/composer_template.rb +0 -272
- data/lib/purecloud/models/consumed_resources_entity_listing.rb +0 -257
- data/lib/purecloud/models/consuming_resources_entity_listing.rb +0 -257
- data/lib/purecloud/models/contact_address.rb +0 -215
- data/lib/purecloud/models/contact_listing.rb +0 -257
- data/lib/purecloud/models/contact_sales.rb +0 -297
- data/lib/purecloud/models/contact_sales_response.rb +0 -197
- data/lib/purecloud/models/contract.rb +0 -220
- data/lib/purecloud/models/contract_job.rb +0 -217
- data/lib/purecloud/models/control.rb +0 -240
- data/lib/purecloud/models/control_options.rb +0 -175
- data/lib/purecloud/models/conversation_association.rb +0 -197
- data/lib/purecloud/models/create_integration_request.rb +0 -200
- data/lib/purecloud/models/create_template_from_script_request_data.rb +0 -207
- data/lib/purecloud/models/csv_schema.rb +0 -243
- data/lib/purecloud/models/currency.rb +0 -197
- data/lib/purecloud/models/customer_account.rb +0 -257
- data/lib/purecloud/models/data_item.rb +0 -185
- data/lib/purecloud/models/data_value_info.rb +0 -167
- data/lib/purecloud/models/delta_document.rb +0 -235
- data/lib/purecloud/models/delta_request.rb +0 -165
- data/lib/purecloud/models/delta_response.rb +0 -189
- data/lib/purecloud/models/dependency.rb +0 -240
- data/lib/purecloud/models/dependency_object.rb +0 -264
- data/lib/purecloud/models/dependency_object_entity_listing.rb +0 -257
- data/lib/purecloud/models/dependency_status.rb +0 -260
- data/lib/purecloud/models/dependency_type.rb +0 -199
- data/lib/purecloud/models/dependency_type_entity_listing.rb +0 -257
- data/lib/purecloud/models/deployment.rb +0 -209
- data/lib/purecloud/models/deployment_entity_listing.rb +0 -257
- data/lib/purecloud/models/diagnostic_email.rb +0 -258
- data/lib/purecloud/models/discount.rb +0 -239
- data/lib/purecloud/models/dns.rb +0 -185
- data/lib/purecloud/models/docusign_template_mapping.rb +0 -197
- data/lib/purecloud/models/domain_billing_period_entity_listing.rb +0 -257
- data/lib/purecloud/models/domain_invoice_entity_listing.rb +0 -257
- data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +0 -257
- data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +0 -257
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +0 -257
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +0 -257
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +0 -257
- data/lib/purecloud/models/embedded_signature_view.rb +0 -176
- data/lib/purecloud/models/expression_response.rb +0 -275
- data/lib/purecloud/models/external_contact.rb +0 -362
- data/lib/purecloud/models/external_data_source.rb +0 -176
- data/lib/purecloud/models/external_organization.rb +0 -348
- data/lib/purecloud/models/external_organization_listing.rb +0 -257
- data/lib/purecloud/models/facet_request.rb +0 -251
- data/lib/purecloud/models/facet_result.rb +0 -230
- data/lib/purecloud/models/facet_result_item.rb +0 -227
- data/lib/purecloud/models/failed_object.rb +0 -195
- data/lib/purecloud/models/favorite_template_request_data.rb +0 -165
- data/lib/purecloud/models/filter_item.rb +0 -227
- data/lib/purecloud/models/flow.rb +0 -351
- data/lib/purecloud/models/flow_body.rb +0 -179
- data/lib/purecloud/models/flow_body_format.rb +0 -175
- data/lib/purecloud/models/flow_config_id.rb +0 -199
- data/lib/purecloud/models/flow_config_meta_data.rb +0 -298
- data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +0 -257
- data/lib/purecloud/models/flow_details.rb +0 -307
- data/lib/purecloud/models/flow_details_search_result.rb +0 -180
- data/lib/purecloud/models/flow_entity_listing.rb +0 -257
- data/lib/purecloud/models/flow_exec_id.rb +0 -188
- data/lib/purecloud/models/flow_history_data_item.rb +0 -189
- data/lib/purecloud/models/flow_history_item.rb +0 -257
- data/lib/purecloud/models/flow_history_result_item.rb +0 -191
- data/lib/purecloud/models/flow_input_data.rb +0 -169
- data/lib/purecloud/models/flow_launch_request.rb +0 -209
- data/lib/purecloud/models/flow_publish.rb +0 -210
- data/lib/purecloud/models/flow_report_result_item.rb +0 -299
- data/lib/purecloud/models/flow_search_request.rb +0 -241
- data/lib/purecloud/models/flow_state.rb +0 -189
- data/lib/purecloud/models/flow_terminate_request.rb +0 -167
- data/lib/purecloud/models/flow_upload_response.rb +0 -178
- data/lib/purecloud/models/flow_version.rb +0 -276
- data/lib/purecloud/models/flow_version_config_meta_data.rb +0 -243
- data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +0 -257
- data/lib/purecloud/models/flow_version_entity_listing.rb +0 -257
- data/lib/purecloud/models/form.rb +0 -167
- data/lib/purecloud/models/gateway.rb +0 -185
- data/lib/purecloud/models/gistener.rb +0 -301
- data/lib/purecloud/models/group_tag.rb +0 -242
- data/lib/purecloud/models/hardware_rate.rb +0 -217
- data/lib/purecloud/models/hardware_rate_listing.rb +0 -257
- data/lib/purecloud/models/health_check_info.rb +0 -257
- data/lib/purecloud/models/hipaa_config.rb +0 -199
- data/lib/purecloud/models/indexed_transform.rb +0 -199
- data/lib/purecloud/models/integration.rb +0 -253
- data/lib/purecloud/models/integration_configuration.rb +0 -243
- data/lib/purecloud/models/integration_entity_listing.rb +0 -257
- data/lib/purecloud/models/integration_status_info.rb +0 -209
- data/lib/purecloud/models/integration_type.rb +0 -245
- data/lib/purecloud/models/integration_type_entity_listing.rb +0 -257
- data/lib/purecloud/models/invoice.rb +0 -249
- data/lib/purecloud/models/ivr.rb +0 -360
- data/lib/purecloud/models/ivr_entity_listing.rb +0 -257
- data/lib/purecloud/models/license.rb +0 -176
- data/lib/purecloud/models/licenses_by_permission.rb +0 -188
- data/lib/purecloud/models/linked_entity_listing_flow_details.rb +0 -257
- data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +0 -257
- data/lib/purecloud/models/management_unit.rb +0 -218
- data/lib/purecloud/models/management_unit_timezone.rb +0 -165
- data/lib/purecloud/models/noc_support.rb +0 -175
- data/lib/purecloud/models/note.rb +0 -219
- data/lib/purecloud/models/note_listing.rb +0 -257
- data/lib/purecloud/models/number_order.rb +0 -361
- data/lib/purecloud/models/number_order_request.rb +0 -220
- data/lib/purecloud/models/operation.rb +0 -195
- data/lib/purecloud/models/order.rb +0 -209
- data/lib/purecloud/models/org_license_assignment.rb +0 -197
- data/lib/purecloud/models/organization_create.rb +0 -224
- data/lib/purecloud/models/page.rb +0 -243
- data/lib/purecloud/models/payment_method.rb +0 -270
- data/lib/purecloud/models/payment_method_listing.rb +0 -257
- data/lib/purecloud/models/payment_token_provider.rb +0 -199
- data/lib/purecloud/models/permissions.rb +0 -188
- data/lib/purecloud/models/phone_number.rb +0 -217
- data/lib/purecloud/models/port_billing_address.rb +0 -205
- data/lib/purecloud/models/port_contact.rb +0 -175
- data/lib/purecloud/models/product.rb +0 -218
- data/lib/purecloud/models/prompt.rb +0 -219
- data/lib/purecloud/models/prompt_asset.rb +0 -281
- data/lib/purecloud/models/prompt_asset_entity_listing.rb +0 -257
- data/lib/purecloud/models/prompt_entity_listing.rb +0 -257
- data/lib/purecloud/models/publication.rb +0 -243
- data/lib/purecloud/models/publish_script_request_data.rb +0 -175
- data/lib/purecloud/models/published_result.rb +0 -227
- data/lib/purecloud/models/quote.rb +0 -390
- data/lib/purecloud/models/quote_charge.rb +0 -300
- data/lib/purecloud/models/quote_listing.rb +0 -257
- data/lib/purecloud/models/rate.rb +0 -209
- data/lib/purecloud/models/relationship.rb +0 -220
- data/lib/purecloud/models/relationship_listing.rb +0 -257
- data/lib/purecloud/models/report_request.rb +0 -229
- data/lib/purecloud/models/reservation.rb +0 -206
- data/lib/purecloud/models/scene.rb +0 -270
- data/lib/purecloud/models/scene_entity_listing.rb +0 -257
- data/lib/purecloud/models/scene_group.rb +0 -197
- data/lib/purecloud/models/scene_group_entity_listing.rb +0 -257
- data/lib/purecloud/models/schedule.rb +0 -333
- data/lib/purecloud/models/schedule_entity_listing.rb +0 -257
- data/lib/purecloud/models/schedule_group.rb +0 -322
- data/lib/purecloud/models/schedule_group_entity_listing.rb +0 -257
- data/lib/purecloud/models/script.rb +0 -303
- data/lib/purecloud/models/script_entity_listing.rb +0 -257
- data/lib/purecloud/models/service.rb +0 -264
- data/lib/purecloud/models/service_entity_listing.rb +0 -257
- data/lib/purecloud/models/service_type.rb +0 -230
- data/lib/purecloud/models/shared_response.rb +0 -205
- data/lib/purecloud/models/sheet_schema.rb +0 -232
- data/lib/purecloud/models/sheet_transform.rb +0 -185
- data/lib/purecloud/models/signature_document_info.rb +0 -196
- data/lib/purecloud/models/snapshot.rb +0 -187
- data/lib/purecloud/models/social_account.rb +0 -292
- data/lib/purecloud/models/social_conversation.rb +0 -213
- data/lib/purecloud/models/social_conversation_entity_listing.rb +0 -257
- data/lib/purecloud/models/social_media_participant.rb +0 -465
- data/lib/purecloud/models/socialize_entity_filter.rb +0 -197
- data/lib/purecloud/models/socialize_filter_request.rb +0 -217
- data/lib/purecloud/models/sort_field.rb +0 -184
- data/lib/purecloud/models/spreadsheet_transform.rb +0 -255
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +0 -257
- data/lib/purecloud/models/sub_data_item.rb +0 -211
- data/lib/purecloud/models/support.rb +0 -185
- data/lib/purecloud/models/support_credit.rb +0 -197
- data/lib/purecloud/models/support_credit_listing.rb +0 -257
- data/lib/purecloud/models/system_prompt.rb +0 -209
- data/lib/purecloud/models/system_prompt_asset.rb +0 -302
- data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +0 -257
- data/lib/purecloud/models/system_prompt_entity_listing.rb +0 -257
- data/lib/purecloud/models/table_transform.rb +0 -223
- data/lib/purecloud/models/tag_model.rb +0 -175
- data/lib/purecloud/models/template_entity_listing.rb +0 -257
- data/lib/purecloud/models/text_table_transform.rb +0 -251
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +0 -257
- data/lib/purecloud/models/third_party_account.rb +0 -231
- data/lib/purecloud/models/third_party_subscription.rb +0 -218
- data/lib/purecloud/models/thumbnail.rb +0 -197
- data/lib/purecloud/models/ticker.rb +0 -177
- data/lib/purecloud/models/tier.rb +0 -175
- data/lib/purecloud/models/time_off_request.rb +0 -356
- data/lib/purecloud/models/time_off_request_list.rb +0 -199
- data/lib/purecloud/models/time_off_request_patch.rb +0 -167
- data/lib/purecloud/models/trace.rb +0 -235
- data/lib/purecloud/models/trace_list.rb +0 -177
- data/lib/purecloud/models/transform_endpoint.rb +0 -290
- data/lib/purecloud/models/transform_lens.rb +0 -175
- data/lib/purecloud/models/twitter_expression.rb +0 -431
- data/lib/purecloud/models/twitter_expression_buffer.rb +0 -168
- data/lib/purecloud/models/twitter_id.rb +0 -213
- data/lib/purecloud/models/unpivot_columns.rb +0 -167
- data/lib/purecloud/models/upload_progress.rb +0 -232
- data/lib/purecloud/models/url_response.rb +0 -165
- data/lib/purecloud/models/user_action_category.rb +0 -187
- data/lib/purecloud/models/user_action_category_entity_listing.rb +0 -257
- data/lib/purecloud/models/user_action_metadata.rb +0 -265
- data/lib/purecloud/models/user_action_metadata_entity_listing.rb +0 -237
- data/lib/purecloud/models/user_action_metadata_request.rb +0 -215
- data/lib/purecloud/models/user_license_assignment.rb +0 -207
- data/lib/purecloud/models/value.rb +0 -239
- data/lib/purecloud/models/vendor_connection_request.rb +0 -185
- data/lib/purecloud/models/video_conversation.rb +0 -213
- data/lib/purecloud/models/video_conversation_entity_listing.rb +0 -257
- data/lib/purecloud/models/video_media_participant.rb +0 -482
- data/lib/purecloud/models/view.rb +0 -165
- data/lib/purecloud/models/voice_rate.rb +0 -273
- data/lib/purecloud/models/voice_rate_extended.rb +0 -374
- data/lib/purecloud/models/voice_rate_international.rb +0 -295
- data/lib/purecloud/models/voice_rate_international_entity_listing.rb +0 -257
- data/lib/purecloud/models/voice_rate_update.rb +0 -301
- data/lib/purecloud/models/voice_rates_csv.rb +0 -199
- data/lib/purecloud/models/voice_xml_operation.rb +0 -314
- data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +0 -257
- data/lib/purecloud/models/vpn.rb +0 -185
- data/lib/purecloud/models/waypoint.rb +0 -237
- data/lib/purecloud/models/waypoint_entity_listing.rb +0 -257
- data/lib/purecloud/models/work_item.rb +0 -189
- data/lib/purecloud/models/work_item_actions.rb +0 -167
- data/lib/purecloud/models/work_item_cache.rb +0 -212
- data/lib/purecloud/models/work_item_command.rb +0 -175
- data/lib/purecloud/models/work_item_command_group.rb +0 -187
- data/lib/purecloud/models/work_item_definition.rb +0 -200
- data/lib/purecloud/models/work_item_details.rb +0 -380
- data/lib/purecloud/models/work_item_search_details.rb +0 -166
- data/lib/purecloud/models/work_item_search_details_search_result.rb +0 -180
- data/lib/purecloud/models/work_item_submit_request.rb +0 -180
- data/lib/purecloud/models/work_item_transfer_request.rb +0 -187
- data/lib/purecloud/models/xlsx_schema.rb +0 -190
@@ -1,257 +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 ScheduleGroupEntityListing
|
21
|
-
attr_accessor :page_size
|
22
|
-
|
23
|
-
attr_accessor :page_number
|
24
|
-
|
25
|
-
attr_accessor :total
|
26
|
-
|
27
|
-
attr_accessor :entities
|
28
|
-
|
29
|
-
attr_accessor :self_uri
|
30
|
-
|
31
|
-
attr_accessor :previous_uri
|
32
|
-
|
33
|
-
attr_accessor :first_uri
|
34
|
-
|
35
|
-
attr_accessor :last_uri
|
36
|
-
|
37
|
-
attr_accessor :next_uri
|
38
|
-
|
39
|
-
attr_accessor :page_count
|
40
|
-
|
41
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
42
|
-
def self.attribute_map
|
43
|
-
{
|
44
|
-
|
45
|
-
:'page_size' => :'pageSize',
|
46
|
-
|
47
|
-
:'page_number' => :'pageNumber',
|
48
|
-
|
49
|
-
:'total' => :'total',
|
50
|
-
|
51
|
-
:'entities' => :'entities',
|
52
|
-
|
53
|
-
:'self_uri' => :'selfUri',
|
54
|
-
|
55
|
-
:'previous_uri' => :'previousUri',
|
56
|
-
|
57
|
-
:'first_uri' => :'firstUri',
|
58
|
-
|
59
|
-
:'last_uri' => :'lastUri',
|
60
|
-
|
61
|
-
:'next_uri' => :'nextUri',
|
62
|
-
|
63
|
-
:'page_count' => :'pageCount'
|
64
|
-
|
65
|
-
}
|
66
|
-
end
|
67
|
-
|
68
|
-
# Attribute type mapping.
|
69
|
-
def self.swagger_types
|
70
|
-
{
|
71
|
-
:'page_size' => :'Integer',
|
72
|
-
:'page_number' => :'Integer',
|
73
|
-
:'total' => :'Integer',
|
74
|
-
:'entities' => :'Array<ScheduleGroup>',
|
75
|
-
:'self_uri' => :'String',
|
76
|
-
:'previous_uri' => :'String',
|
77
|
-
:'first_uri' => :'String',
|
78
|
-
:'last_uri' => :'String',
|
79
|
-
:'next_uri' => :'String',
|
80
|
-
:'page_count' => :'Integer'
|
81
|
-
|
82
|
-
}
|
83
|
-
end
|
84
|
-
|
85
|
-
def initialize(attributes = {})
|
86
|
-
return unless attributes.is_a?(Hash)
|
87
|
-
|
88
|
-
# convert string to symbol for hash key
|
89
|
-
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
90
|
-
|
91
|
-
|
92
|
-
if attributes[:'pageSize']
|
93
|
-
self.page_size = attributes[:'pageSize']
|
94
|
-
end
|
95
|
-
|
96
|
-
if attributes[:'pageNumber']
|
97
|
-
self.page_number = attributes[:'pageNumber']
|
98
|
-
end
|
99
|
-
|
100
|
-
if attributes[:'total']
|
101
|
-
self.total = attributes[:'total']
|
102
|
-
end
|
103
|
-
|
104
|
-
if attributes[:'entities']
|
105
|
-
if (value = attributes[:'entities']).is_a?(Array)
|
106
|
-
self.entities = value
|
107
|
-
end
|
108
|
-
end
|
109
|
-
|
110
|
-
if attributes[:'selfUri']
|
111
|
-
self.self_uri = attributes[:'selfUri']
|
112
|
-
end
|
113
|
-
|
114
|
-
if attributes[:'previousUri']
|
115
|
-
self.previous_uri = attributes[:'previousUri']
|
116
|
-
end
|
117
|
-
|
118
|
-
if attributes[:'firstUri']
|
119
|
-
self.first_uri = attributes[:'firstUri']
|
120
|
-
end
|
121
|
-
|
122
|
-
if attributes[:'lastUri']
|
123
|
-
self.last_uri = attributes[:'lastUri']
|
124
|
-
end
|
125
|
-
|
126
|
-
if attributes[:'nextUri']
|
127
|
-
self.next_uri = attributes[:'nextUri']
|
128
|
-
end
|
129
|
-
|
130
|
-
if attributes[:'pageCount']
|
131
|
-
self.page_count = attributes[:'pageCount']
|
132
|
-
end
|
133
|
-
|
134
|
-
end
|
135
|
-
|
136
|
-
# Check equality by comparing each attribute.
|
137
|
-
def ==(o)
|
138
|
-
return true if self.equal?(o)
|
139
|
-
self.class == o.class &&
|
140
|
-
page_size == o.page_size &&
|
141
|
-
page_number == o.page_number &&
|
142
|
-
total == o.total &&
|
143
|
-
entities == o.entities &&
|
144
|
-
self_uri == o.self_uri &&
|
145
|
-
previous_uri == o.previous_uri &&
|
146
|
-
first_uri == o.first_uri &&
|
147
|
-
last_uri == o.last_uri &&
|
148
|
-
next_uri == o.next_uri &&
|
149
|
-
page_count == o.page_count
|
150
|
-
end
|
151
|
-
|
152
|
-
# @see the `==` method
|
153
|
-
def eql?(o)
|
154
|
-
self == o
|
155
|
-
end
|
156
|
-
|
157
|
-
# Calculate hash code according to all attributes.
|
158
|
-
def hash
|
159
|
-
[page_size, page_number, total, entities, self_uri, previous_uri, first_uri, last_uri, next_uri, page_count].hash
|
160
|
-
end
|
161
|
-
|
162
|
-
# build the object from hash
|
163
|
-
def build_from_hash(attributes)
|
164
|
-
return nil unless attributes.is_a?(Hash)
|
165
|
-
self.class.swagger_types.each_pair do |key, type|
|
166
|
-
if type =~ /^Array<(.*)>/i
|
167
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
168
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
169
|
-
else
|
170
|
-
#TODO show warning in debug mode
|
171
|
-
end
|
172
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
173
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
174
|
-
else
|
175
|
-
# data not found in attributes(hash), not an issue as the data can be optional
|
176
|
-
end
|
177
|
-
end
|
178
|
-
|
179
|
-
self
|
180
|
-
end
|
181
|
-
|
182
|
-
def _deserialize(type, value)
|
183
|
-
case type.to_sym
|
184
|
-
when :DateTime
|
185
|
-
DateTime.parse(value)
|
186
|
-
when :Date
|
187
|
-
Date.parse(value)
|
188
|
-
when :String
|
189
|
-
value.to_s
|
190
|
-
when :Integer
|
191
|
-
value.to_i
|
192
|
-
when :Float
|
193
|
-
value.to_f
|
194
|
-
when :BOOLEAN
|
195
|
-
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
196
|
-
true
|
197
|
-
else
|
198
|
-
false
|
199
|
-
end
|
200
|
-
when :Object
|
201
|
-
# generic object (usually a Hash), return directly
|
202
|
-
value
|
203
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
204
|
-
inner_type = Regexp.last_match[:inner_type]
|
205
|
-
value.map { |v| _deserialize(inner_type, v) }
|
206
|
-
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
207
|
-
k_type = Regexp.last_match[:k_type]
|
208
|
-
v_type = Regexp.last_match[:v_type]
|
209
|
-
{}.tap do |hash|
|
210
|
-
value.each do |k, v|
|
211
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
212
|
-
end
|
213
|
-
end
|
214
|
-
else # model
|
215
|
-
_model = Object.const_get("PureCloud").const_get(type).new
|
216
|
-
_model.build_from_hash(value)
|
217
|
-
end
|
218
|
-
end
|
219
|
-
|
220
|
-
def to_s
|
221
|
-
to_hash.to_s
|
222
|
-
end
|
223
|
-
|
224
|
-
# to_body is an alias to to_body (backward compatibility))
|
225
|
-
def to_body
|
226
|
-
to_hash
|
227
|
-
end
|
228
|
-
|
229
|
-
# return the object in the form of hash
|
230
|
-
def to_hash
|
231
|
-
hash = {}
|
232
|
-
self.class.attribute_map.each_pair do |attr, param|
|
233
|
-
value = self.send(attr)
|
234
|
-
next if value.nil?
|
235
|
-
hash[param] = _to_hash(value)
|
236
|
-
end
|
237
|
-
hash
|
238
|
-
end
|
239
|
-
|
240
|
-
# Method to output non-array value in the form of hash
|
241
|
-
# For object, use to_hash. Otherwise, just return the value
|
242
|
-
def _to_hash(value)
|
243
|
-
if value.is_a?(Array)
|
244
|
-
value.compact.map{ |v| _to_hash(v) }
|
245
|
-
elsif value.is_a?(Hash)
|
246
|
-
{}.tap do |hash|
|
247
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
248
|
-
end
|
249
|
-
elsif value.respond_to? :to_hash
|
250
|
-
value.to_hash
|
251
|
-
else
|
252
|
-
value
|
253
|
-
end
|
254
|
-
end
|
255
|
-
|
256
|
-
end
|
257
|
-
end
|
@@ -1,303 +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 Script
|
21
|
-
# The globally unique identifier for the object.
|
22
|
-
attr_accessor :id
|
23
|
-
|
24
|
-
attr_accessor :name
|
25
|
-
|
26
|
-
attr_accessor :version_id
|
27
|
-
|
28
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
29
|
-
attr_accessor :created_date
|
30
|
-
|
31
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
32
|
-
attr_accessor :modified_date
|
33
|
-
|
34
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
35
|
-
attr_accessor :published_date
|
36
|
-
|
37
|
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
38
|
-
attr_accessor :version_date
|
39
|
-
|
40
|
-
attr_accessor :start_page_id
|
41
|
-
|
42
|
-
attr_accessor :start_page_name
|
43
|
-
|
44
|
-
attr_accessor :features
|
45
|
-
|
46
|
-
attr_accessor :variables
|
47
|
-
|
48
|
-
attr_accessor :custom_actions
|
49
|
-
|
50
|
-
attr_accessor :pages
|
51
|
-
|
52
|
-
# The URI for this object
|
53
|
-
attr_accessor :self_uri
|
54
|
-
|
55
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
56
|
-
def self.attribute_map
|
57
|
-
{
|
58
|
-
|
59
|
-
:'id' => :'id',
|
60
|
-
|
61
|
-
:'name' => :'name',
|
62
|
-
|
63
|
-
:'version_id' => :'versionId',
|
64
|
-
|
65
|
-
:'created_date' => :'createdDate',
|
66
|
-
|
67
|
-
:'modified_date' => :'modifiedDate',
|
68
|
-
|
69
|
-
:'published_date' => :'publishedDate',
|
70
|
-
|
71
|
-
:'version_date' => :'versionDate',
|
72
|
-
|
73
|
-
:'start_page_id' => :'startPageId',
|
74
|
-
|
75
|
-
:'start_page_name' => :'startPageName',
|
76
|
-
|
77
|
-
:'features' => :'features',
|
78
|
-
|
79
|
-
:'variables' => :'variables',
|
80
|
-
|
81
|
-
:'custom_actions' => :'customActions',
|
82
|
-
|
83
|
-
:'pages' => :'pages',
|
84
|
-
|
85
|
-
:'self_uri' => :'selfUri'
|
86
|
-
|
87
|
-
}
|
88
|
-
end
|
89
|
-
|
90
|
-
# Attribute type mapping.
|
91
|
-
def self.swagger_types
|
92
|
-
{
|
93
|
-
:'id' => :'String',
|
94
|
-
:'name' => :'String',
|
95
|
-
:'version_id' => :'String',
|
96
|
-
:'created_date' => :'DateTime',
|
97
|
-
:'modified_date' => :'DateTime',
|
98
|
-
:'published_date' => :'DateTime',
|
99
|
-
:'version_date' => :'DateTime',
|
100
|
-
:'start_page_id' => :'String',
|
101
|
-
:'start_page_name' => :'String',
|
102
|
-
:'features' => :'Object',
|
103
|
-
:'variables' => :'Object',
|
104
|
-
:'custom_actions' => :'Object',
|
105
|
-
:'pages' => :'Array<Page>',
|
106
|
-
:'self_uri' => :'String'
|
107
|
-
|
108
|
-
}
|
109
|
-
end
|
110
|
-
|
111
|
-
def initialize(attributes = {})
|
112
|
-
return unless attributes.is_a?(Hash)
|
113
|
-
|
114
|
-
# convert string to symbol for hash key
|
115
|
-
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
116
|
-
|
117
|
-
|
118
|
-
if attributes[:'id']
|
119
|
-
self.id = attributes[:'id']
|
120
|
-
end
|
121
|
-
|
122
|
-
if attributes[:'name']
|
123
|
-
self.name = attributes[:'name']
|
124
|
-
end
|
125
|
-
|
126
|
-
if attributes[:'versionId']
|
127
|
-
self.version_id = attributes[:'versionId']
|
128
|
-
end
|
129
|
-
|
130
|
-
if attributes[:'createdDate']
|
131
|
-
self.created_date = attributes[:'createdDate']
|
132
|
-
end
|
133
|
-
|
134
|
-
if attributes[:'modifiedDate']
|
135
|
-
self.modified_date = attributes[:'modifiedDate']
|
136
|
-
end
|
137
|
-
|
138
|
-
if attributes[:'publishedDate']
|
139
|
-
self.published_date = attributes[:'publishedDate']
|
140
|
-
end
|
141
|
-
|
142
|
-
if attributes[:'versionDate']
|
143
|
-
self.version_date = attributes[:'versionDate']
|
144
|
-
end
|
145
|
-
|
146
|
-
if attributes[:'startPageId']
|
147
|
-
self.start_page_id = attributes[:'startPageId']
|
148
|
-
end
|
149
|
-
|
150
|
-
if attributes[:'startPageName']
|
151
|
-
self.start_page_name = attributes[:'startPageName']
|
152
|
-
end
|
153
|
-
|
154
|
-
if attributes[:'features']
|
155
|
-
self.features = attributes[:'features']
|
156
|
-
end
|
157
|
-
|
158
|
-
if attributes[:'variables']
|
159
|
-
self.variables = attributes[:'variables']
|
160
|
-
end
|
161
|
-
|
162
|
-
if attributes[:'customActions']
|
163
|
-
self.custom_actions = attributes[:'customActions']
|
164
|
-
end
|
165
|
-
|
166
|
-
if attributes[:'pages']
|
167
|
-
if (value = attributes[:'pages']).is_a?(Array)
|
168
|
-
self.pages = value
|
169
|
-
end
|
170
|
-
end
|
171
|
-
|
172
|
-
if attributes[:'selfUri']
|
173
|
-
self.self_uri = attributes[:'selfUri']
|
174
|
-
end
|
175
|
-
|
176
|
-
end
|
177
|
-
|
178
|
-
# Check equality by comparing each attribute.
|
179
|
-
def ==(o)
|
180
|
-
return true if self.equal?(o)
|
181
|
-
self.class == o.class &&
|
182
|
-
id == o.id &&
|
183
|
-
name == o.name &&
|
184
|
-
version_id == o.version_id &&
|
185
|
-
created_date == o.created_date &&
|
186
|
-
modified_date == o.modified_date &&
|
187
|
-
published_date == o.published_date &&
|
188
|
-
version_date == o.version_date &&
|
189
|
-
start_page_id == o.start_page_id &&
|
190
|
-
start_page_name == o.start_page_name &&
|
191
|
-
features == o.features &&
|
192
|
-
variables == o.variables &&
|
193
|
-
custom_actions == o.custom_actions &&
|
194
|
-
pages == o.pages &&
|
195
|
-
self_uri == o.self_uri
|
196
|
-
end
|
197
|
-
|
198
|
-
# @see the `==` method
|
199
|
-
def eql?(o)
|
200
|
-
self == o
|
201
|
-
end
|
202
|
-
|
203
|
-
# Calculate hash code according to all attributes.
|
204
|
-
def hash
|
205
|
-
[id, name, version_id, created_date, modified_date, published_date, version_date, start_page_id, start_page_name, features, variables, custom_actions, pages, self_uri].hash
|
206
|
-
end
|
207
|
-
|
208
|
-
# build the object from hash
|
209
|
-
def build_from_hash(attributes)
|
210
|
-
return nil unless attributes.is_a?(Hash)
|
211
|
-
self.class.swagger_types.each_pair do |key, type|
|
212
|
-
if type =~ /^Array<(.*)>/i
|
213
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
214
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
215
|
-
else
|
216
|
-
#TODO show warning in debug mode
|
217
|
-
end
|
218
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
219
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
220
|
-
else
|
221
|
-
# data not found in attributes(hash), not an issue as the data can be optional
|
222
|
-
end
|
223
|
-
end
|
224
|
-
|
225
|
-
self
|
226
|
-
end
|
227
|
-
|
228
|
-
def _deserialize(type, value)
|
229
|
-
case type.to_sym
|
230
|
-
when :DateTime
|
231
|
-
DateTime.parse(value)
|
232
|
-
when :Date
|
233
|
-
Date.parse(value)
|
234
|
-
when :String
|
235
|
-
value.to_s
|
236
|
-
when :Integer
|
237
|
-
value.to_i
|
238
|
-
when :Float
|
239
|
-
value.to_f
|
240
|
-
when :BOOLEAN
|
241
|
-
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
242
|
-
true
|
243
|
-
else
|
244
|
-
false
|
245
|
-
end
|
246
|
-
when :Object
|
247
|
-
# generic object (usually a Hash), return directly
|
248
|
-
value
|
249
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
250
|
-
inner_type = Regexp.last_match[:inner_type]
|
251
|
-
value.map { |v| _deserialize(inner_type, v) }
|
252
|
-
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
253
|
-
k_type = Regexp.last_match[:k_type]
|
254
|
-
v_type = Regexp.last_match[:v_type]
|
255
|
-
{}.tap do |hash|
|
256
|
-
value.each do |k, v|
|
257
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
258
|
-
end
|
259
|
-
end
|
260
|
-
else # model
|
261
|
-
_model = Object.const_get("PureCloud").const_get(type).new
|
262
|
-
_model.build_from_hash(value)
|
263
|
-
end
|
264
|
-
end
|
265
|
-
|
266
|
-
def to_s
|
267
|
-
to_hash.to_s
|
268
|
-
end
|
269
|
-
|
270
|
-
# to_body is an alias to to_body (backward compatibility))
|
271
|
-
def to_body
|
272
|
-
to_hash
|
273
|
-
end
|
274
|
-
|
275
|
-
# return the object in the form of hash
|
276
|
-
def to_hash
|
277
|
-
hash = {}
|
278
|
-
self.class.attribute_map.each_pair do |attr, param|
|
279
|
-
value = self.send(attr)
|
280
|
-
next if value.nil?
|
281
|
-
hash[param] = _to_hash(value)
|
282
|
-
end
|
283
|
-
hash
|
284
|
-
end
|
285
|
-
|
286
|
-
# Method to output non-array value in the form of hash
|
287
|
-
# For object, use to_hash. Otherwise, just return the value
|
288
|
-
def _to_hash(value)
|
289
|
-
if value.is_a?(Array)
|
290
|
-
value.compact.map{ |v| _to_hash(v) }
|
291
|
-
elsif value.is_a?(Hash)
|
292
|
-
{}.tap do |hash|
|
293
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
294
|
-
end
|
295
|
-
elsif value.respond_to? :to_hash
|
296
|
-
value.to_hash
|
297
|
-
else
|
298
|
-
value
|
299
|
-
end
|
300
|
-
end
|
301
|
-
|
302
|
-
end
|
303
|
-
end
|