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 FlowConfigMetaDataEntityListing
|
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<FlowConfigMetaData>',
|
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,307 +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
|
-
# Details about the current state of a Flow Instance
|
21
|
-
class FlowDetails
|
22
|
-
# The globally unique identifier for the object.
|
23
|
-
attr_accessor :id
|
24
|
-
|
25
|
-
attr_accessor :name
|
26
|
-
|
27
|
-
# The FlowConfigId that was used to launch this flow.
|
28
|
-
attr_accessor :flow_config_id
|
29
|
-
|
30
|
-
# The time the flow was launched. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
31
|
-
attr_accessor :launch_time
|
32
|
-
|
33
|
-
# The launch mode for this flow instance.
|
34
|
-
attr_accessor :launch_type
|
35
|
-
|
36
|
-
# The user who launched the flow, if the flow was launched as the result of that user's action.
|
37
|
-
attr_accessor :launched_by
|
38
|
-
|
39
|
-
# The flow's running status, which indicates whether the flow is running normally or completed, etc.
|
40
|
-
attr_accessor :status
|
41
|
-
|
42
|
-
# The documents associated with this flow.
|
43
|
-
attr_accessor :associated_documents
|
44
|
-
|
45
|
-
# The time the flow completed, if applicable. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
46
|
-
attr_accessor :flow_completion_time
|
47
|
-
|
48
|
-
# The completion reason set at the flow completion time, if applicable.
|
49
|
-
attr_accessor :flow_completion_reason
|
50
|
-
|
51
|
-
# Additional information if the flow is in error
|
52
|
-
attr_accessor :flow_error_info
|
53
|
-
|
54
|
-
# The URI for this object
|
55
|
-
attr_accessor :self_uri
|
56
|
-
|
57
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
58
|
-
def self.attribute_map
|
59
|
-
{
|
60
|
-
|
61
|
-
:'id' => :'id',
|
62
|
-
|
63
|
-
:'name' => :'name',
|
64
|
-
|
65
|
-
:'flow_config_id' => :'flowConfigId',
|
66
|
-
|
67
|
-
:'launch_time' => :'launchTime',
|
68
|
-
|
69
|
-
:'launch_type' => :'launchType',
|
70
|
-
|
71
|
-
:'launched_by' => :'launchedBy',
|
72
|
-
|
73
|
-
:'status' => :'status',
|
74
|
-
|
75
|
-
:'associated_documents' => :'associatedDocuments',
|
76
|
-
|
77
|
-
:'flow_completion_time' => :'flowCompletionTime',
|
78
|
-
|
79
|
-
:'flow_completion_reason' => :'flowCompletionReason',
|
80
|
-
|
81
|
-
:'flow_error_info' => :'flowErrorInfo',
|
82
|
-
|
83
|
-
:'self_uri' => :'selfUri'
|
84
|
-
|
85
|
-
}
|
86
|
-
end
|
87
|
-
|
88
|
-
# Attribute type mapping.
|
89
|
-
def self.swagger_types
|
90
|
-
{
|
91
|
-
:'id' => :'String',
|
92
|
-
:'name' => :'String',
|
93
|
-
:'flow_config_id' => :'FlowConfigId',
|
94
|
-
:'launch_time' => :'DateTime',
|
95
|
-
:'launch_type' => :'String',
|
96
|
-
:'launched_by' => :'User',
|
97
|
-
:'status' => :'String',
|
98
|
-
:'associated_documents' => :'Array<AssociatedDocument>',
|
99
|
-
:'flow_completion_time' => :'DateTime',
|
100
|
-
:'flow_completion_reason' => :'String',
|
101
|
-
:'flow_error_info' => :'ErrorBody',
|
102
|
-
:'self_uri' => :'String'
|
103
|
-
|
104
|
-
}
|
105
|
-
end
|
106
|
-
|
107
|
-
def initialize(attributes = {})
|
108
|
-
return unless attributes.is_a?(Hash)
|
109
|
-
|
110
|
-
# convert string to symbol for hash key
|
111
|
-
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
112
|
-
|
113
|
-
|
114
|
-
if attributes[:'id']
|
115
|
-
self.id = attributes[:'id']
|
116
|
-
end
|
117
|
-
|
118
|
-
if attributes[:'name']
|
119
|
-
self.name = attributes[:'name']
|
120
|
-
end
|
121
|
-
|
122
|
-
if attributes[:'flowConfigId']
|
123
|
-
self.flow_config_id = attributes[:'flowConfigId']
|
124
|
-
end
|
125
|
-
|
126
|
-
if attributes[:'launchTime']
|
127
|
-
self.launch_time = attributes[:'launchTime']
|
128
|
-
end
|
129
|
-
|
130
|
-
if attributes[:'launchType']
|
131
|
-
self.launch_type = attributes[:'launchType']
|
132
|
-
end
|
133
|
-
|
134
|
-
if attributes[:'launchedBy']
|
135
|
-
self.launched_by = attributes[:'launchedBy']
|
136
|
-
end
|
137
|
-
|
138
|
-
if attributes[:'status']
|
139
|
-
self.status = attributes[:'status']
|
140
|
-
end
|
141
|
-
|
142
|
-
if attributes[:'associatedDocuments']
|
143
|
-
if (value = attributes[:'associatedDocuments']).is_a?(Array)
|
144
|
-
self.associated_documents = value
|
145
|
-
end
|
146
|
-
end
|
147
|
-
|
148
|
-
if attributes[:'flowCompletionTime']
|
149
|
-
self.flow_completion_time = attributes[:'flowCompletionTime']
|
150
|
-
end
|
151
|
-
|
152
|
-
if attributes[:'flowCompletionReason']
|
153
|
-
self.flow_completion_reason = attributes[:'flowCompletionReason']
|
154
|
-
end
|
155
|
-
|
156
|
-
if attributes[:'flowErrorInfo']
|
157
|
-
self.flow_error_info = attributes[:'flowErrorInfo']
|
158
|
-
end
|
159
|
-
|
160
|
-
if attributes[:'selfUri']
|
161
|
-
self.self_uri = attributes[:'selfUri']
|
162
|
-
end
|
163
|
-
|
164
|
-
end
|
165
|
-
|
166
|
-
# Custom attribute writer method checking allowed values (enum).
|
167
|
-
def launch_type=(launch_type)
|
168
|
-
allowed_values = ["UNKNOWN", "NORMAL", "TEST", "AUTOMATIC"]
|
169
|
-
if launch_type && !allowed_values.include?(launch_type)
|
170
|
-
fail "invalid value for 'launch_type', must be one of #{allowed_values}"
|
171
|
-
end
|
172
|
-
@launch_type = launch_type
|
173
|
-
end
|
174
|
-
|
175
|
-
# Custom attribute writer method checking allowed values (enum).
|
176
|
-
def status=(status)
|
177
|
-
allowed_values = ["UNKNOWN", "RUNNING", "ERROR", "TERMINATED", "COMPLETED"]
|
178
|
-
if status && !allowed_values.include?(status)
|
179
|
-
fail "invalid value for 'status', must be one of #{allowed_values}"
|
180
|
-
end
|
181
|
-
@status = status
|
182
|
-
end
|
183
|
-
|
184
|
-
# Check equality by comparing each attribute.
|
185
|
-
def ==(o)
|
186
|
-
return true if self.equal?(o)
|
187
|
-
self.class == o.class &&
|
188
|
-
id == o.id &&
|
189
|
-
name == o.name &&
|
190
|
-
flow_config_id == o.flow_config_id &&
|
191
|
-
launch_time == o.launch_time &&
|
192
|
-
launch_type == o.launch_type &&
|
193
|
-
launched_by == o.launched_by &&
|
194
|
-
status == o.status &&
|
195
|
-
associated_documents == o.associated_documents &&
|
196
|
-
flow_completion_time == o.flow_completion_time &&
|
197
|
-
flow_completion_reason == o.flow_completion_reason &&
|
198
|
-
flow_error_info == o.flow_error_info &&
|
199
|
-
self_uri == o.self_uri
|
200
|
-
end
|
201
|
-
|
202
|
-
# @see the `==` method
|
203
|
-
def eql?(o)
|
204
|
-
self == o
|
205
|
-
end
|
206
|
-
|
207
|
-
# Calculate hash code according to all attributes.
|
208
|
-
def hash
|
209
|
-
[id, name, flow_config_id, launch_time, launch_type, launched_by, status, associated_documents, flow_completion_time, flow_completion_reason, flow_error_info, self_uri].hash
|
210
|
-
end
|
211
|
-
|
212
|
-
# build the object from hash
|
213
|
-
def build_from_hash(attributes)
|
214
|
-
return nil unless attributes.is_a?(Hash)
|
215
|
-
self.class.swagger_types.each_pair do |key, type|
|
216
|
-
if type =~ /^Array<(.*)>/i
|
217
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
218
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
219
|
-
else
|
220
|
-
#TODO show warning in debug mode
|
221
|
-
end
|
222
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
223
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
224
|
-
else
|
225
|
-
# data not found in attributes(hash), not an issue as the data can be optional
|
226
|
-
end
|
227
|
-
end
|
228
|
-
|
229
|
-
self
|
230
|
-
end
|
231
|
-
|
232
|
-
def _deserialize(type, value)
|
233
|
-
case type.to_sym
|
234
|
-
when :DateTime
|
235
|
-
DateTime.parse(value)
|
236
|
-
when :Date
|
237
|
-
Date.parse(value)
|
238
|
-
when :String
|
239
|
-
value.to_s
|
240
|
-
when :Integer
|
241
|
-
value.to_i
|
242
|
-
when :Float
|
243
|
-
value.to_f
|
244
|
-
when :BOOLEAN
|
245
|
-
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
246
|
-
true
|
247
|
-
else
|
248
|
-
false
|
249
|
-
end
|
250
|
-
when :Object
|
251
|
-
# generic object (usually a Hash), return directly
|
252
|
-
value
|
253
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
254
|
-
inner_type = Regexp.last_match[:inner_type]
|
255
|
-
value.map { |v| _deserialize(inner_type, v) }
|
256
|
-
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
257
|
-
k_type = Regexp.last_match[:k_type]
|
258
|
-
v_type = Regexp.last_match[:v_type]
|
259
|
-
{}.tap do |hash|
|
260
|
-
value.each do |k, v|
|
261
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
262
|
-
end
|
263
|
-
end
|
264
|
-
else # model
|
265
|
-
_model = Object.const_get("PureCloud").const_get(type).new
|
266
|
-
_model.build_from_hash(value)
|
267
|
-
end
|
268
|
-
end
|
269
|
-
|
270
|
-
def to_s
|
271
|
-
to_hash.to_s
|
272
|
-
end
|
273
|
-
|
274
|
-
# to_body is an alias to to_body (backward compatibility))
|
275
|
-
def to_body
|
276
|
-
to_hash
|
277
|
-
end
|
278
|
-
|
279
|
-
# return the object in the form of hash
|
280
|
-
def to_hash
|
281
|
-
hash = {}
|
282
|
-
self.class.attribute_map.each_pair do |attr, param|
|
283
|
-
value = self.send(attr)
|
284
|
-
next if value.nil?
|
285
|
-
hash[param] = _to_hash(value)
|
286
|
-
end
|
287
|
-
hash
|
288
|
-
end
|
289
|
-
|
290
|
-
# Method to output non-array value in the form of hash
|
291
|
-
# For object, use to_hash. Otherwise, just return the value
|
292
|
-
def _to_hash(value)
|
293
|
-
if value.is_a?(Array)
|
294
|
-
value.compact.map{ |v| _to_hash(v) }
|
295
|
-
elsif value.is_a?(Hash)
|
296
|
-
{}.tap do |hash|
|
297
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
298
|
-
end
|
299
|
-
elsif value.respond_to? :to_hash
|
300
|
-
value.to_hash
|
301
|
-
else
|
302
|
-
value
|
303
|
-
end
|
304
|
-
end
|
305
|
-
|
306
|
-
end
|
307
|
-
end
|