docusign_esign 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/LICENSE +21 -0
- data/README.md +101 -0
- data/Rakefile +8 -0
- data/docs/AccountAddress.md +19 -0
- data/docs/AccountBillingPlan.md +27 -0
- data/docs/AccountBillingPlanResponse.md +13 -0
- data/docs/AccountInformation.md +38 -0
- data/docs/AccountRoleSettings.md +71 -0
- data/docs/AccountSettingsInformation.md +8 -0
- data/docs/AccountSharedAccess.md +16 -0
- data/docs/AccountSignatureProvider.md +14 -0
- data/docs/AccountSignatureProviderOption.md +10 -0
- data/docs/AccountSignatureProviders.md +8 -0
- data/docs/AccountsApi.md +1997 -0
- data/docs/AddOn.md +11 -0
- data/docs/AddressInformation.md +15 -0
- data/docs/AddressInformationInput.md +10 -0
- data/docs/AddressInformationV2.md +15 -0
- data/docs/Agent.md +49 -0
- data/docs/ApiRequestLog.md +11 -0
- data/docs/ApiRequestLogsResult.md +8 -0
- data/docs/AppStoreProduct.md +9 -0
- data/docs/AppStoreReceipt.md +9 -0
- data/docs/Approve.md +40 -0
- data/docs/Attachment.md +14 -0
- data/docs/AuthenticationApi.md +356 -0
- data/docs/AuthenticationMethod.md +11 -0
- data/docs/AuthenticationStatus.md +24 -0
- data/docs/BccEmailAddress.md +9 -0
- data/docs/BillingApi.md +569 -0
- data/docs/BillingCharge.md +20 -0
- data/docs/BillingChargeResponse.md +8 -0
- data/docs/BillingDiscount.md +10 -0
- data/docs/BillingInvoice.md +17 -0
- data/docs/BillingInvoiceItem.md +12 -0
- data/docs/BillingInvoicesResponse.md +10 -0
- data/docs/BillingInvoicesSummary.md +10 -0
- data/docs/BillingPayment.md +10 -0
- data/docs/BillingPaymentItem.md +12 -0
- data/docs/BillingPaymentRequest.md +8 -0
- data/docs/BillingPaymentResponse.md +8 -0
- data/docs/BillingPaymentsResponse.md +10 -0
- data/docs/BillingPlan.md +22 -0
- data/docs/BillingPlanInformation.md +22 -0
- data/docs/BillingPlanPreview.md +13 -0
- data/docs/BillingPlanResponse.md +9 -0
- data/docs/BillingPlanUpdateResponse.md +14 -0
- data/docs/BillingPlansResponse.md +8 -0
- data/docs/BillingPrice.md +10 -0
- data/docs/Brand.md +20 -0
- data/docs/BrandEmailContent.md +11 -0
- data/docs/BrandLink.md +11 -0
- data/docs/BrandLogos.md +10 -0
- data/docs/BrandRequest.md +8 -0
- data/docs/BrandResourceUrls.md +11 -0
- data/docs/BrandResources.md +14 -0
- data/docs/BrandResourcesList.md +8 -0
- data/docs/BrandsRequest.md +8 -0
- data/docs/BrandsResponse.md +10 -0
- data/docs/BulkEnvelope.md +16 -0
- data/docs/BulkEnvelopeStatus.md +21 -0
- data/docs/BulkEnvelopesApi.md +295 -0
- data/docs/BulkEnvelopesResponse.md +14 -0
- data/docs/BulkRecipient.md +17 -0
- data/docs/BulkRecipientSignatureProvider.md +9 -0
- data/docs/BulkRecipientTabLabel.md +9 -0
- data/docs/BulkRecipientsRequest.md +8 -0
- data/docs/BulkRecipientsResponse.md +14 -0
- data/docs/BulkRecipientsSummaryResponse.md +11 -0
- data/docs/BulkRecipientsUpdateResponse.md +8 -0
- data/docs/CaptiveRecipient.md +11 -0
- data/docs/CaptiveRecipientInformation.md +8 -0
- data/docs/CarbonCopy.md +49 -0
- data/docs/CertifiedDelivery.md +49 -0
- data/docs/Checkbox.md +37 -0
- data/docs/ChunkedUploadPart.md +9 -0
- data/docs/ChunkedUploadRequest.md +9 -0
- data/docs/ChunkedUploadResponse.md +14 -0
- data/docs/CloudStorageApi.md +424 -0
- data/docs/CloudStorageProvider.md +12 -0
- data/docs/CloudStorageProviders.md +8 -0
- data/docs/Company.md +46 -0
- data/docs/CompositeTemplate.md +12 -0
- data/docs/ConnectApi.md +891 -0
- data/docs/ConnectConfigResults.md +9 -0
- data/docs/ConnectCustomConfiguration.md +28 -0
- data/docs/ConnectDebugLog.md +12 -0
- data/docs/ConnectFailureFilter.md +9 -0
- data/docs/ConnectFailureResult.md +12 -0
- data/docs/ConnectFailureResults.md +8 -0
- data/docs/ConnectLog.md +25 -0
- data/docs/ConnectLogs.md +11 -0
- data/docs/ConsoleViewRequest.md +9 -0
- data/docs/ConsumerDisclosure.md +37 -0
- data/docs/Contact.md +16 -0
- data/docs/ContactGetResponse.md +14 -0
- data/docs/ContactModRequest.md +8 -0
- data/docs/ContactUpdateResponse.md +8 -0
- data/docs/CorrectViewRequest.md +9 -0
- data/docs/Country.md +11 -0
- data/docs/CreditCardInformation.md +13 -0
- data/docs/CreditCardTypes.md +8 -0
- data/docs/CurrencyFeatureSetPrice.md +12 -0
- data/docs/CurrencyPlanPrice.md +13 -0
- data/docs/CustomFieldV2.md +14 -0
- data/docs/CustomFields.md +9 -0
- data/docs/CustomFieldsEnvelope.md +9 -0
- data/docs/CustomSettingsInformation.md +8 -0
- data/docs/CustomTabsApi.md +268 -0
- data/docs/Date.md +52 -0
- data/docs/DateSigned.md +39 -0
- data/docs/Decline.md +41 -0
- data/docs/DiagnosticsApi.md +321 -0
- data/docs/DiagnosticsSettingsInformation.md +10 -0
- data/docs/DobInformationInput.md +10 -0
- data/docs/Document.md +27 -0
- data/docs/DocumentFieldsInformation.md +8 -0
- data/docs/DocumentTemplate.md +12 -0
- data/docs/DocumentTemplateList.md +8 -0
- data/docs/DocumentVisibility.md +12 -0
- data/docs/DocumentVisibilityList.md +8 -0
- data/docs/ENoteConfiguration.md +12 -0
- data/docs/Editor.md +48 -0
- data/docs/Email.md +52 -0
- data/docs/EmailAddress.md +38 -0
- data/docs/EmailSettings.md +10 -0
- data/docs/Envelope.md +54 -0
- data/docs/EnvelopeAttachment.md +13 -0
- data/docs/EnvelopeAttachmentsRequest.md +8 -0
- data/docs/EnvelopeAttachmentsResult.md +8 -0
- data/docs/EnvelopeAuditEvent.md +8 -0
- data/docs/EnvelopeAuditEventResponse.md +8 -0
- data/docs/EnvelopeDefinition.md +63 -0
- data/docs/EnvelopeDocument.md +24 -0
- data/docs/EnvelopeDocumentsResult.md +9 -0
- data/docs/EnvelopeEvent.md +9 -0
- data/docs/EnvelopeFormData.md +13 -0
- data/docs/EnvelopeId.md +38 -0
- data/docs/EnvelopeIdsRequest.md +9 -0
- data/docs/EnvelopeNotificationRequest.md +10 -0
- data/docs/EnvelopeSummary.md +11 -0
- data/docs/EnvelopeTemplate.md +56 -0
- data/docs/EnvelopeTemplateDefinition.md +22 -0
- data/docs/EnvelopeTemplateResult.md +68 -0
- data/docs/EnvelopeTemplateResults.md +15 -0
- data/docs/EnvelopeTransactionStatus.md +11 -0
- data/docs/EnvelopeUpdateSummary.md +15 -0
- data/docs/EnvelopesApi.md +4306 -0
- data/docs/EnvelopesInformation.md +15 -0
- data/docs/ErrorDetails.md +9 -0
- data/docs/EventNotification.md +22 -0
- data/docs/EventResult.md +11 -0
- data/docs/Expirations.md +10 -0
- data/docs/ExternalDocServiceErrorDetails.md +10 -0
- data/docs/ExternalFile.md +15 -0
- data/docs/ExternalFolder.md +17 -0
- data/docs/FeatureSet.md +16 -0
- data/docs/FileType.md +9 -0
- data/docs/FileTypeList.md +8 -0
- data/docs/Filter.md +18 -0
- data/docs/FirstName.md +38 -0
- data/docs/Folder.md +19 -0
- data/docs/FolderItem.md +28 -0
- data/docs/FolderItemResponse.md +14 -0
- data/docs/FolderItemV2.md +27 -0
- data/docs/FolderItemsResponse.md +14 -0
- data/docs/FoldersApi.md +261 -0
- data/docs/FoldersRequest.md +9 -0
- data/docs/FoldersResponse.md +8 -0
- data/docs/ForgottenPasswordInformation.md +15 -0
- data/docs/FormulaTab.md +56 -0
- data/docs/FullName.md +38 -0
- data/docs/Group.md +13 -0
- data/docs/GroupInformation.md +14 -0
- data/docs/GroupsApi.md +552 -0
- data/docs/IdCheckInformationInput.md +11 -0
- data/docs/InPersonSigner.md +62 -0
- data/docs/InitialHere.md +34 -0
- data/docs/InlineTemplate.md +12 -0
- data/docs/IntegratedUserInfoList.md +15 -0
- data/docs/Intermediary.md +49 -0
- data/docs/LastName.md +38 -0
- data/docs/List.md +46 -0
- data/docs/ListCustomField.md +15 -0
- data/docs/ListItem.md +10 -0
- data/docs/LockInformation.md +15 -0
- data/docs/LockRequest.md +12 -0
- data/docs/LoginAccount.md +18 -0
- data/docs/LoginInformation.md +9 -0
- data/docs/MatchBox.md +12 -0
- data/docs/MemberGroupSharedItem.md +10 -0
- data/docs/MemberSharedItems.md +11 -0
- data/docs/MergeField.md +12 -0
- data/docs/MobileNotifierConfiguration.md +10 -0
- data/docs/MobileNotifierConfigurationInformation.md +8 -0
- data/docs/Money.md +10 -0
- data/docs/NameValue.md +11 -0
- data/docs/NewAccountDefinition.md +17 -0
- data/docs/NewAccountSummary.md +14 -0
- data/docs/NewUser.md +17 -0
- data/docs/NewUsersDefinition.md +8 -0
- data/docs/NewUsersSummary.md +8 -0
- data/docs/NotaryHost.md +47 -0
- data/docs/Note.md +42 -0
- data/docs/Notification.md +10 -0
- data/docs/Number.md +54 -0
- data/docs/OauthAccess.md +13 -0
- data/docs/OfflineAttributes.md +13 -0
- data/docs/Page.md +15 -0
- data/docs/PageImages.md +14 -0
- data/docs/PageRequest.md +9 -0
- data/docs/PaymentDetails.md +12 -0
- data/docs/PaymentLineItem.md +11 -0
- data/docs/PermissionProfile.md +14 -0
- data/docs/PermissionProfileInformation.md +8 -0
- data/docs/PlanInformation.md +13 -0
- data/docs/PostTransactionsRequest.md +11 -0
- data/docs/PostTransactionsResponse.md +9 -0
- data/docs/PowerForm.md +31 -0
- data/docs/PowerFormFormDataEnvelope.md +9 -0
- data/docs/PowerFormFormDataRecipient.md +11 -0
- data/docs/PowerFormRecipient.md +20 -0
- data/docs/PowerFormSendersResponse.md +14 -0
- data/docs/PowerFormsApi.md +419 -0
- data/docs/PowerFormsFormDataResponse.md +8 -0
- data/docs/PowerFormsRequest.md +8 -0
- data/docs/PowerFormsResponse.md +14 -0
- data/docs/PropertyMetadata.md +9 -0
- data/docs/Province.md +9 -0
- data/docs/ProvisioningInformation.md +14 -0
- data/docs/PurchasedEnvelopesInformation.md +16 -0
- data/docs/Radio.md +25 -0
- data/docs/RadioGroup.md +16 -0
- data/docs/RecipientAttachment.md +13 -0
- data/docs/RecipientDomain.md +11 -0
- data/docs/RecipientEmailNotification.md +10 -0
- data/docs/RecipientEvent.md +9 -0
- data/docs/RecipientFormData.md +15 -0
- data/docs/RecipientNamesResponse.md +10 -0
- data/docs/RecipientPhoneAuthentication.md +11 -0
- data/docs/RecipientSAMLAuthentication.md +8 -0
- data/docs/RecipientSMSAuthentication.md +8 -0
- data/docs/RecipientSignatureInformation.md +10 -0
- data/docs/RecipientSignatureProvider.md +9 -0
- data/docs/RecipientSignatureProviderOptions.md +11 -0
- data/docs/RecipientUpdateResponse.md +10 -0
- data/docs/RecipientViewRequest.md +21 -0
- data/docs/Recipients.md +17 -0
- data/docs/RecipientsUpdateSummary.md +8 -0
- data/docs/ReferralInformation.md +25 -0
- data/docs/Reminders.md +10 -0
- data/docs/ResourceInformation.md +8 -0
- data/docs/ReturnUrlRequest.md +8 -0
- data/docs/SamlAssertionAttribute.md +11 -0
- data/docs/SeatDiscount.md +10 -0
- data/docs/SenderEmailNotifications.md +14 -0
- data/docs/ServerTemplate.md +9 -0
- data/docs/ServiceInformation.md +13 -0
- data/docs/ServiceVersion.md +9 -0
- data/docs/SettingsMetadata.md +13 -0
- data/docs/SharedItem.md +10 -0
- data/docs/SignHere.md +34 -0
- data/docs/SignatureProviderRequiredOption.md +9 -0
- data/docs/SignatureType.md +9 -0
- data/docs/Signer.md +63 -0
- data/docs/SignerAttachment.md +34 -0
- data/docs/SignerEmailNotifications.md +21 -0
- data/docs/SigningGroup.md +17 -0
- data/docs/SigningGroupInformation.md +8 -0
- data/docs/SigningGroupUser.md +10 -0
- data/docs/SigningGroupUsers.md +8 -0
- data/docs/SigningGroupsApi.md +485 -0
- data/docs/SocialAccountInformation.md +12 -0
- data/docs/SocialAuthentication.md +8 -0
- data/docs/Ssn.md +52 -0
- data/docs/Ssn4InformationInput.md +10 -0
- data/docs/Ssn9InformationInput.md +9 -0
- data/docs/TabAccountSettings.md +45 -0
- data/docs/TabMetadata.md +46 -0
- data/docs/TabMetadataList.md +8 -0
- data/docs/Tabs.md +32 -0
- data/docs/TemplateCustomFields.md +9 -0
- data/docs/TemplateDocumentVisibilityList.md +8 -0
- data/docs/TemplateDocumentsResult.md +9 -0
- data/docs/TemplateInformation.md +8 -0
- data/docs/TemplateMatch.md +10 -0
- data/docs/TemplateNotificationRequest.md +11 -0
- data/docs/TemplateRecipients.md +17 -0
- data/docs/TemplateRole.md +19 -0
- data/docs/TemplateSharedItem.md +14 -0
- data/docs/TemplateSummary.md +14 -0
- data/docs/TemplateTabs.md +32 -0
- data/docs/TemplateUpdateSummary.md +15 -0
- data/docs/TemplatesApi.md +2349 -0
- data/docs/Text.md +55 -0
- data/docs/TextCustomField.md +14 -0
- data/docs/Title.md +46 -0
- data/docs/UsageHistory.md +11 -0
- data/docs/UserAccountManagementGranularInformation.md +15 -0
- data/docs/UserInfo.md +17 -0
- data/docs/UserInfoList.md +8 -0
- data/docs/UserInformation.md +41 -0
- data/docs/UserInformationList.md +14 -0
- data/docs/UserPasswordInformation.md +11 -0
- data/docs/UserProfile.md +19 -0
- data/docs/UserSettingsInformation.md +11 -0
- data/docs/UserSharedItem.md +10 -0
- data/docs/UserSignature.md +20 -0
- data/docs/UserSignatureDefinition.md +11 -0
- data/docs/UserSignaturesInformation.md +8 -0
- data/docs/UserSocialIdResult.md +9 -0
- data/docs/UsersApi.md +1566 -0
- data/docs/UsersResponse.md +14 -0
- data/docs/View.md +42 -0
- data/docs/ViewLinkRequest.md +9 -0
- data/docs/ViewUrl.md +8 -0
- data/docs/Workspace.md +18 -0
- data/docs/WorkspaceFolderContents.md +15 -0
- data/docs/WorkspaceItem.md +26 -0
- data/docs/WorkspaceItemList.md +8 -0
- data/docs/WorkspaceList.md +12 -0
- data/docs/WorkspaceUser.md +23 -0
- data/docs/WorkspaceUserAuthorization.md +18 -0
- data/docs/WorkspacesApi.md +630 -0
- data/docs/Zip.md +53 -0
- data/docusign_esign-1.0.0.gem +0 -0
- data/docusign_esign.gemspec +47 -0
- data/git_push.sh +55 -0
- data/lib/docusign_esign/.DS_Store +0 -0
- data/lib/docusign_esign/api/accounts_api.rb +2230 -0
- data/lib/docusign_esign/api/authentication_api.rb +393 -0
- data/lib/docusign_esign/api/billing_api.rb +636 -0
- data/lib/docusign_esign/api/bulk_envelopes_api.rb +355 -0
- data/lib/docusign_esign/api/cloud_storage_api.rb +507 -0
- data/lib/docusign_esign/api/connect_api.rb +967 -0
- data/lib/docusign_esign/api/custom_tabs_api.rb +296 -0
- data/lib/docusign_esign/api/diagnostics_api.rb +356 -0
- data/lib/docusign_esign/api/envelopes_api.rb +4737 -0
- data/lib/docusign_esign/api/folders_api.rb +342 -0
- data/lib/docusign_esign/api/groups_api.rb +596 -0
- data/lib/docusign_esign/api/power_forms_api.rb +489 -0
- data/lib/docusign_esign/api/signing_groups_api.rb +513 -0
- data/lib/docusign_esign/api/templates_api.rb +2555 -0
- data/lib/docusign_esign/api/users_api.rb +1694 -0
- data/lib/docusign_esign/api/workspaces_api.rb +719 -0
- data/lib/docusign_esign/api_client.rb +421 -0
- data/lib/docusign_esign/api_error.rb +37 -0
- data/lib/docusign_esign/configuration.rb +195 -0
- data/lib/docusign_esign/models/account_address.rb +300 -0
- data/lib/docusign_esign/models/account_billing_plan.rb +384 -0
- data/lib/docusign_esign/models/account_billing_plan_response.rb +236 -0
- data/lib/docusign_esign/models/account_information.rb +488 -0
- data/lib/docusign_esign/models/account_role_settings.rb +786 -0
- data/lib/docusign_esign/models/account_settings_information.rb +190 -0
- data/lib/docusign_esign/models/account_shared_access.rb +269 -0
- data/lib/docusign_esign/models/account_signature_provider.rb +252 -0
- data/lib/docusign_esign/models/account_signature_provider_option.rb +208 -0
- data/lib/docusign_esign/models/account_signature_providers.rb +190 -0
- data/lib/docusign_esign/models/add_on.rb +218 -0
- data/lib/docusign_esign/models/address_information.rb +258 -0
- data/lib/docusign_esign/models/address_information_input.rb +207 -0
- data/lib/docusign_esign/models/address_information_v2.rb +258 -0
- data/lib/docusign_esign/models/agent.rb +603 -0
- data/lib/docusign_esign/models/api_request_log.rb +218 -0
- data/lib/docusign_esign/models/api_request_logs_result.rb +190 -0
- data/lib/docusign_esign/models/app_store_product.rb +198 -0
- data/lib/docusign_esign/models/app_store_receipt.rb +198 -0
- data/lib/docusign_esign/models/approve.rb +506 -0
- data/lib/docusign_esign/models/attachment.rb +248 -0
- data/lib/docusign_esign/models/authentication_method.rb +218 -0
- data/lib/docusign_esign/models/authentication_status.rb +331 -0
- data/lib/docusign_esign/models/bcc_email_address.rb +198 -0
- data/lib/docusign_esign/models/billing_charge.rb +312 -0
- data/lib/docusign_esign/models/billing_charge_response.rb +190 -0
- data/lib/docusign_esign/models/billing_discount.rb +208 -0
- data/lib/docusign_esign/models/billing_invoice.rb +280 -0
- data/lib/docusign_esign/models/billing_invoice_item.rb +228 -0
- data/lib/docusign_esign/models/billing_invoices_response.rb +210 -0
- data/lib/docusign_esign/models/billing_invoices_summary.rb +210 -0
- data/lib/docusign_esign/models/billing_payment.rb +208 -0
- data/lib/docusign_esign/models/billing_payment_item.rb +228 -0
- data/lib/docusign_esign/models/billing_payment_request.rb +188 -0
- data/lib/docusign_esign/models/billing_payment_response.rb +190 -0
- data/lib/docusign_esign/models/billing_payments_response.rb +210 -0
- data/lib/docusign_esign/models/billing_plan.rb +336 -0
- data/lib/docusign_esign/models/billing_plan_information.rb +323 -0
- data/lib/docusign_esign/models/billing_plan_preview.rb +237 -0
- data/lib/docusign_esign/models/billing_plan_response.rb +199 -0
- data/lib/docusign_esign/models/billing_plan_update_response.rb +247 -0
- data/lib/docusign_esign/models/billing_plans_response.rb +190 -0
- data/lib/docusign_esign/models/billing_price.rb +208 -0
- data/lib/docusign_esign/models/brand.rb +313 -0
- data/lib/docusign_esign/models/brand_email_content.rb +218 -0
- data/lib/docusign_esign/models/brand_link.rb +218 -0
- data/lib/docusign_esign/models/brand_logos.rb +208 -0
- data/lib/docusign_esign/models/brand_request.rb +188 -0
- data/lib/docusign_esign/models/brand_resource_urls.rb +218 -0
- data/lib/docusign_esign/models/brand_resources.rb +248 -0
- data/lib/docusign_esign/models/brand_resources_list.rb +190 -0
- data/lib/docusign_esign/models/brands_request.rb +190 -0
- data/lib/docusign_esign/models/brands_response.rb +210 -0
- data/lib/docusign_esign/models/bulk_envelope.rb +267 -0
- data/lib/docusign_esign/models/bulk_envelope_status.rb +320 -0
- data/lib/docusign_esign/models/bulk_envelopes_response.rb +250 -0
- data/lib/docusign_esign/models/bulk_recipient.rb +284 -0
- data/lib/docusign_esign/models/bulk_recipient_signature_provider.rb +198 -0
- data/lib/docusign_esign/models/bulk_recipient_tab_label.rb +198 -0
- data/lib/docusign_esign/models/bulk_recipients_request.rb +190 -0
- data/lib/docusign_esign/models/bulk_recipients_response.rb +250 -0
- data/lib/docusign_esign/models/bulk_recipients_summary_response.rb +222 -0
- data/lib/docusign_esign/models/bulk_recipients_update_response.rb +187 -0
- data/lib/docusign_esign/models/captive_recipient.rb +217 -0
- data/lib/docusign_esign/models/captive_recipient_information.rb +190 -0
- data/lib/docusign_esign/models/carbon_copy.rb +603 -0
- data/lib/docusign_esign/models/certified_delivery.rb +603 -0
- data/lib/docusign_esign/models/checkbox.rb +476 -0
- data/lib/docusign_esign/models/chunked_upload_part.rb +198 -0
- data/lib/docusign_esign/models/chunked_upload_request.rb +198 -0
- data/lib/docusign_esign/models/chunked_upload_response.rb +250 -0
- data/lib/docusign_esign/models/cloud_storage_provider.rb +227 -0
- data/lib/docusign_esign/models/cloud_storage_providers.rb +190 -0
- data/lib/docusign_esign/models/company.rb +566 -0
- data/lib/docusign_esign/models/composite_template.rb +231 -0
- data/lib/docusign_esign/models/connect_config_results.rb +200 -0
- data/lib/docusign_esign/models/connect_custom_configuration.rb +388 -0
- data/lib/docusign_esign/models/connect_debug_log.rb +227 -0
- data/lib/docusign_esign/models/connect_failure_filter.rb +200 -0
- data/lib/docusign_esign/models/connect_failure_result.rb +228 -0
- data/lib/docusign_esign/models/connect_failure_results.rb +190 -0
- data/lib/docusign_esign/models/connect_log.rb +360 -0
- data/lib/docusign_esign/models/connect_logs.rb +222 -0
- data/lib/docusign_esign/models/console_view_request.rb +198 -0
- data/lib/docusign_esign/models/consumer_disclosure.rb +478 -0
- data/lib/docusign_esign/models/contact.rb +269 -0
- data/lib/docusign_esign/models/contact_get_response.rb +250 -0
- data/lib/docusign_esign/models/contact_mod_request.rb +190 -0
- data/lib/docusign_esign/models/contact_update_response.rb +190 -0
- data/lib/docusign_esign/models/correct_view_request.rb +198 -0
- data/lib/docusign_esign/models/country.rb +220 -0
- data/lib/docusign_esign/models/credit_card_information.rb +237 -0
- data/lib/docusign_esign/models/credit_card_types.rb +190 -0
- data/lib/docusign_esign/models/currency_feature_set_price.rb +228 -0
- data/lib/docusign_esign/models/currency_plan_price.rb +237 -0
- data/lib/docusign_esign/models/custom_field_v2.rb +247 -0
- data/lib/docusign_esign/models/custom_fields.rb +202 -0
- data/lib/docusign_esign/models/custom_fields_envelope.rb +202 -0
- data/lib/docusign_esign/models/custom_settings_information.rb +190 -0
- data/lib/docusign_esign/models/date.rb +626 -0
- data/lib/docusign_esign/models/date_signed.rb +496 -0
- data/lib/docusign_esign/models/decline.rb +516 -0
- data/lib/docusign_esign/models/diagnostics_settings_information.rb +208 -0
- data/lib/docusign_esign/models/dob_information_input.rb +208 -0
- data/lib/docusign_esign/models/document.rb +382 -0
- data/lib/docusign_esign/models/document_fields_information.rb +190 -0
- data/lib/docusign_esign/models/document_template.rb +227 -0
- data/lib/docusign_esign/models/document_template_list.rb +190 -0
- data/lib/docusign_esign/models/document_visibility.rb +227 -0
- data/lib/docusign_esign/models/document_visibility_list.rb +190 -0
- data/lib/docusign_esign/models/e_note_configuration.rb +228 -0
- data/lib/docusign_esign/models/editor.rb +591 -0
- data/lib/docusign_esign/models/email.rb +626 -0
- data/lib/docusign_esign/models/email_address.rb +486 -0
- data/lib/docusign_esign/models/email_settings.rb +210 -0
- data/lib/docusign_esign/models/envelope.rb +643 -0
- data/lib/docusign_esign/models/envelope_attachment.rb +237 -0
- data/lib/docusign_esign/models/envelope_attachments_request.rb +190 -0
- data/lib/docusign_esign/models/envelope_attachments_result.rb +190 -0
- data/lib/docusign_esign/models/envelope_audit_event.rb +190 -0
- data/lib/docusign_esign/models/envelope_audit_event_response.rb +190 -0
- data/lib/docusign_esign/models/envelope_definition.rb +740 -0
- data/lib/docusign_esign/models/envelope_document.rb +351 -0
- data/lib/docusign_esign/models/envelope_documents_result.rb +200 -0
- data/lib/docusign_esign/models/envelope_event.rb +198 -0
- data/lib/docusign_esign/models/envelope_form_data.rb +242 -0
- data/lib/docusign_esign/models/envelope_id.rb +486 -0
- data/lib/docusign_esign/models/envelope_ids_request.rb +202 -0
- data/lib/docusign_esign/models/envelope_notification_request.rb +206 -0
- data/lib/docusign_esign/models/envelope_summary.rb +218 -0
- data/lib/docusign_esign/models/envelope_template.rb +664 -0
- data/lib/docusign_esign/models/envelope_template_definition.rb +326 -0
- data/lib/docusign_esign/models/envelope_template_result.rb +784 -0
- data/lib/docusign_esign/models/envelope_template_results.rb +262 -0
- data/lib/docusign_esign/models/envelope_transaction_status.rb +217 -0
- data/lib/docusign_esign/models/envelope_update_summary.rb +260 -0
- data/lib/docusign_esign/models/envelopes_information.rb +262 -0
- data/lib/docusign_esign/models/error_details.rb +198 -0
- data/lib/docusign_esign/models/event_notification.rb +332 -0
- data/lib/docusign_esign/models/event_result.rb +218 -0
- data/lib/docusign_esign/models/expirations.rb +208 -0
- data/lib/docusign_esign/models/external_doc_service_error_details.rb +208 -0
- data/lib/docusign_esign/models/external_file.rb +258 -0
- data/lib/docusign_esign/models/external_folder.rb +279 -0
- data/lib/docusign_esign/models/feature_set.rb +270 -0
- data/lib/docusign_esign/models/file_type.rb +198 -0
- data/lib/docusign_esign/models/file_type_list.rb +190 -0
- data/lib/docusign_esign/models/filter.rb +288 -0
- data/lib/docusign_esign/models/first_name.rb +486 -0
- data/lib/docusign_esign/models/folder.rb +298 -0
- data/lib/docusign_esign/models/folder_item.rb +390 -0
- data/lib/docusign_esign/models/folder_item_response.rb +250 -0
- data/lib/docusign_esign/models/folder_item_v2.rb +377 -0
- data/lib/docusign_esign/models/folder_items_response.rb +250 -0
- data/lib/docusign_esign/models/folders_request.rb +200 -0
- data/lib/docusign_esign/models/folders_response.rb +190 -0
- data/lib/docusign_esign/models/forgotten_password_information.rb +258 -0
- data/lib/docusign_esign/models/formula_tab.rb +665 -0
- data/lib/docusign_esign/models/full_name.rb +486 -0
- data/lib/docusign_esign/models/group.rb +239 -0
- data/lib/docusign_esign/models/group_information.rb +250 -0
- data/lib/docusign_esign/models/id_check_information_input.rb +214 -0
- data/lib/docusign_esign/models/in_person_signer.rb +729 -0
- data/lib/docusign_esign/models/initial_here.rb +446 -0
- data/lib/docusign_esign/models/inline_template.rb +227 -0
- data/lib/docusign_esign/models/integrated_user_info_list.rb +260 -0
- data/lib/docusign_esign/models/intermediary.rb +603 -0
- data/lib/docusign_esign/models/last_name.rb +486 -0
- data/lib/docusign_esign/models/list.rb +568 -0
- data/lib/docusign_esign/models/list_custom_field.rb +259 -0
- data/lib/docusign_esign/models/list_item.rb +208 -0
- data/lib/docusign_esign/models/lock_information.rb +256 -0
- data/lib/docusign_esign/models/lock_request.rb +228 -0
- data/lib/docusign_esign/models/login_account.rb +292 -0
- data/lib/docusign_esign/models/login_information.rb +200 -0
- data/lib/docusign_esign/models/match_box.rb +228 -0
- data/lib/docusign_esign/models/member_group_shared_item.rb +206 -0
- data/lib/docusign_esign/models/member_shared_items.rb +220 -0
- data/lib/docusign_esign/models/merge_field.rb +228 -0
- data/lib/docusign_esign/models/mobile_notifier_configuration.rb +207 -0
- data/lib/docusign_esign/models/mobile_notifier_configuration_information.rb +190 -0
- data/lib/docusign_esign/models/money.rb +208 -0
- data/lib/docusign_esign/models/name_value.rb +217 -0
- data/lib/docusign_esign/models/new_account_definition.rb +274 -0
- data/lib/docusign_esign/models/new_account_summary.rb +247 -0
- data/lib/docusign_esign/models/new_user.rb +277 -0
- data/lib/docusign_esign/models/new_users_definition.rb +190 -0
- data/lib/docusign_esign/models/new_users_summary.rb +190 -0
- data/lib/docusign_esign/models/notary_host.rb +577 -0
- data/lib/docusign_esign/models/note.rb +526 -0
- data/lib/docusign_esign/models/notification.rb +206 -0
- data/lib/docusign_esign/models/number.rb +646 -0
- data/lib/docusign_esign/models/oauth_access.rb +240 -0
- data/lib/docusign_esign/models/offline_attributes.rb +238 -0
- data/lib/docusign_esign/models/page.rb +257 -0
- data/lib/docusign_esign/models/page_images.rb +250 -0
- data/lib/docusign_esign/models/page_request.rb +198 -0
- data/lib/docusign_esign/models/payment_details.rb +229 -0
- data/lib/docusign_esign/models/payment_line_item.rb +218 -0
- data/lib/docusign_esign/models/permission_profile.rb +249 -0
- data/lib/docusign_esign/models/permission_profile_information.rb +190 -0
- data/lib/docusign_esign/models/plan_information.rb +244 -0
- data/lib/docusign_esign/models/post_transactions_request.rb +218 -0
- data/lib/docusign_esign/models/post_transactions_response.rb +198 -0
- data/lib/docusign_esign/models/power_form.rb +421 -0
- data/lib/docusign_esign/models/power_form_form_data_envelope.rb +200 -0
- data/lib/docusign_esign/models/power_form_form_data_recipient.rb +220 -0
- data/lib/docusign_esign/models/power_form_recipient.rb +308 -0
- data/lib/docusign_esign/models/power_form_senders_response.rb +250 -0
- data/lib/docusign_esign/models/power_forms_form_data_response.rb +190 -0
- data/lib/docusign_esign/models/power_forms_request.rb +190 -0
- data/lib/docusign_esign/models/power_forms_response.rb +250 -0
- data/lib/docusign_esign/models/property_metadata.rb +200 -0
- data/lib/docusign_esign/models/province.rb +198 -0
- data/lib/docusign_esign/models/provisioning_information.rb +248 -0
- data/lib/docusign_esign/models/purchased_envelopes_information.rb +268 -0
- data/lib/docusign_esign/models/radio.rb +357 -0
- data/lib/docusign_esign/models/radio_group.rb +270 -0
- data/lib/docusign_esign/models/recipient_attachment.rb +238 -0
- data/lib/docusign_esign/models/recipient_domain.rb +218 -0
- data/lib/docusign_esign/models/recipient_email_notification.rb +208 -0
- data/lib/docusign_esign/models/recipient_event.rb +198 -0
- data/lib/docusign_esign/models/recipient_form_data.rb +260 -0
- data/lib/docusign_esign/models/recipient_names_response.rb +210 -0
- data/lib/docusign_esign/models/recipient_phone_authentication.rb +220 -0
- data/lib/docusign_esign/models/recipient_saml_authentication.rb +190 -0
- data/lib/docusign_esign/models/recipient_signature_information.rb +208 -0
- data/lib/docusign_esign/models/recipient_signature_provider.rb +197 -0
- data/lib/docusign_esign/models/recipient_signature_provider_options.rb +218 -0
- data/lib/docusign_esign/models/recipient_sms_authentication.rb +190 -0
- data/lib/docusign_esign/models/recipient_update_response.rb +206 -0
- data/lib/docusign_esign/models/recipient_view_request.rb +318 -0
- data/lib/docusign_esign/models/recipients.rb +291 -0
- data/lib/docusign_esign/models/recipients_update_summary.rb +190 -0
- data/lib/docusign_esign/models/referral_information.rb +358 -0
- data/lib/docusign_esign/models/reminders.rb +208 -0
- data/lib/docusign_esign/models/resource_information.rb +190 -0
- data/lib/docusign_esign/models/return_url_request.rb +188 -0
- data/lib/docusign_esign/models/saml_assertion_attribute.rb +217 -0
- data/lib/docusign_esign/models/seat_discount.rb +208 -0
- data/lib/docusign_esign/models/sender_email_notifications.rb +248 -0
- data/lib/docusign_esign/models/server_template.rb +198 -0
- data/lib/docusign_esign/models/service_information.rb +242 -0
- data/lib/docusign_esign/models/service_version.rb +198 -0
- data/lib/docusign_esign/models/settings_metadata.rb +240 -0
- data/lib/docusign_esign/models/shared_item.rb +206 -0
- data/lib/docusign_esign/models/sign_here.rb +446 -0
- data/lib/docusign_esign/models/signature_provider_required_option.rb +200 -0
- data/lib/docusign_esign/models/signature_type.rb +198 -0
- data/lib/docusign_esign/models/signer.rb +742 -0
- data/lib/docusign_esign/models/signer_attachment.rb +446 -0
- data/lib/docusign_esign/models/signer_email_notifications.rb +318 -0
- data/lib/docusign_esign/models/signing_group.rb +279 -0
- data/lib/docusign_esign/models/signing_group_information.rb +190 -0
- data/lib/docusign_esign/models/signing_group_user.rb +207 -0
- data/lib/docusign_esign/models/signing_group_users.rb +190 -0
- data/lib/docusign_esign/models/social_account_information.rb +227 -0
- data/lib/docusign_esign/models/social_authentication.rb +188 -0
- data/lib/docusign_esign/models/ssn.rb +626 -0
- data/lib/docusign_esign/models/ssn4_information_input.rb +208 -0
- data/lib/docusign_esign/models/ssn9_information_input.rb +198 -0
- data/lib/docusign_esign/models/tab_account_settings.rb +539 -0
- data/lib/docusign_esign/models/tab_metadata.rb +569 -0
- data/lib/docusign_esign/models/tab_metadata_list.rb +190 -0
- data/lib/docusign_esign/models/tabs.rb +478 -0
- data/lib/docusign_esign/models/template_custom_fields.rb +202 -0
- data/lib/docusign_esign/models/template_document_visibility_list.rb +190 -0
- data/lib/docusign_esign/models/template_documents_result.rb +200 -0
- data/lib/docusign_esign/models/template_information.rb +190 -0
- data/lib/docusign_esign/models/template_match.rb +208 -0
- data/lib/docusign_esign/models/template_notification_request.rb +216 -0
- data/lib/docusign_esign/models/template_recipients.rb +291 -0
- data/lib/docusign_esign/models/template_role.rb +296 -0
- data/lib/docusign_esign/models/template_shared_item.rb +250 -0
- data/lib/docusign_esign/models/template_summary.rb +247 -0
- data/lib/docusign_esign/models/template_tabs.rb +478 -0
- data/lib/docusign_esign/models/template_update_summary.rb +260 -0
- data/lib/docusign_esign/models/text.rb +656 -0
- data/lib/docusign_esign/models/text_custom_field.rb +247 -0
- data/lib/docusign_esign/models/title.rb +566 -0
- data/lib/docusign_esign/models/usage_history.rb +218 -0
- data/lib/docusign_esign/models/user_account_management_granular_information.rb +254 -0
- data/lib/docusign_esign/models/user_info.rb +277 -0
- data/lib/docusign_esign/models/user_info_list.rb +190 -0
- data/lib/docusign_esign/models/user_information.rb +519 -0
- data/lib/docusign_esign/models/user_information_list.rb +250 -0
- data/lib/docusign_esign/models/user_password_information.rb +217 -0
- data/lib/docusign_esign/models/user_profile.rb +297 -0
- data/lib/docusign_esign/models/user_settings_information.rb +217 -0
- data/lib/docusign_esign/models/user_shared_item.rb +206 -0
- data/lib/docusign_esign/models/user_signature.rb +307 -0
- data/lib/docusign_esign/models/user_signature_definition.rb +218 -0
- data/lib/docusign_esign/models/user_signatures_information.rb +190 -0
- data/lib/docusign_esign/models/user_social_id_result.rb +200 -0
- data/lib/docusign_esign/models/users_response.rb +250 -0
- data/lib/docusign_esign/models/view.rb +526 -0
- data/lib/docusign_esign/models/view_link_request.rb +198 -0
- data/lib/docusign_esign/models/view_url.rb +188 -0
- data/lib/docusign_esign/models/workspace.rb +286 -0
- data/lib/docusign_esign/models/workspace_folder_contents.rb +261 -0
- data/lib/docusign_esign/models/workspace_item.rb +365 -0
- data/lib/docusign_esign/models/workspace_item_list.rb +190 -0
- data/lib/docusign_esign/models/workspace_list.rb +230 -0
- data/lib/docusign_esign/models/workspace_user.rb +337 -0
- data/lib/docusign_esign/models/workspace_user_authorization.rb +286 -0
- data/lib/docusign_esign/models/zip.rb +636 -0
- data/lib/docusign_esign/version.rb +14 -0
- data/lib/docusign_esign.rb +360 -0
- data/spec/api/accounts_api_spec.rb +556 -0
- data/spec/api/authentication_api_spec.rb +125 -0
- data/spec/api/billing_api_spec.rb +178 -0
- data/spec/api/bulk_envelopes_api_spec.rb +110 -0
- data/spec/api/cloud_storage_api_spec.rb +146 -0
- data/spec/api/connect_api_spec.rb +261 -0
- data/spec/api/custom_tabs_api_spec.rb +100 -0
- data/spec/api/diagnostics_api_spec.rb +114 -0
- data/spec/api/envelopes_api_spec.rb +1171 -0
- data/spec/api/folders_api_spec.rb +107 -0
- data/spec/api/groups_api_spec.rb +174 -0
- data/spec/api/power_forms_api_spec.rb +144 -0
- data/spec/api/signing_groups_api_spec.rb +155 -0
- data/spec/api/templates_api_spec.rb +649 -0
- data/spec/api/users_api_spec.rb +442 -0
- data/spec/api/workspaces_api_spec.rb +201 -0
- data/spec/api_client_spec.rb +225 -0
- data/spec/configuration_spec.rb +41 -0
- data/spec/models/account_address_spec.rb +107 -0
- data/spec/models/account_billing_plan_response_spec.rb +71 -0
- data/spec/models/account_billing_plan_spec.rb +155 -0
- data/spec/models/account_information_spec.rb +221 -0
- data/spec/models/account_role_settings_spec.rb +419 -0
- data/spec/models/account_settings_information_spec.rb +41 -0
- data/spec/models/account_shared_access_spec.rb +89 -0
- data/spec/models/account_signature_provider_option_spec.rb +53 -0
- data/spec/models/account_signature_provider_spec.rb +77 -0
- data/spec/models/account_signature_providers_spec.rb +41 -0
- data/spec/models/add_on_spec.rb +59 -0
- data/spec/models/address_information_input_spec.rb +53 -0
- data/spec/models/address_information_spec.rb +83 -0
- data/spec/models/address_information_v2_spec.rb +83 -0
- data/spec/models/agent_spec.rb +287 -0
- data/spec/models/api_request_log_spec.rb +59 -0
- data/spec/models/api_request_logs_result_spec.rb +41 -0
- data/spec/models/app_store_product_spec.rb +47 -0
- data/spec/models/app_store_receipt_spec.rb +47 -0
- data/spec/models/approve_spec.rb +233 -0
- data/spec/models/attachment_spec.rb +77 -0
- data/spec/models/authentication_method_spec.rb +59 -0
- data/spec/models/authentication_status_spec.rb +137 -0
- data/spec/models/bcc_email_address_spec.rb +47 -0
- data/spec/models/billing_charge_response_spec.rb +41 -0
- data/spec/models/billing_charge_spec.rb +113 -0
- data/spec/models/billing_discount_spec.rb +53 -0
- data/spec/models/billing_invoice_item_spec.rb +65 -0
- data/spec/models/billing_invoice_spec.rb +95 -0
- data/spec/models/billing_invoices_response_spec.rb +53 -0
- data/spec/models/billing_invoices_summary_spec.rb +53 -0
- data/spec/models/billing_payment_item_spec.rb +65 -0
- data/spec/models/billing_payment_request_spec.rb +41 -0
- data/spec/models/billing_payment_response_spec.rb +41 -0
- data/spec/models/billing_payment_spec.rb +53 -0
- data/spec/models/billing_payments_response_spec.rb +53 -0
- data/spec/models/billing_plan_information_spec.rb +125 -0
- data/spec/models/billing_plan_preview_spec.rb +71 -0
- data/spec/models/billing_plan_response_spec.rb +47 -0
- data/spec/models/billing_plan_spec.rb +125 -0
- data/spec/models/billing_plan_update_response_spec.rb +77 -0
- data/spec/models/billing_plans_response_spec.rb +41 -0
- data/spec/models/billing_price_spec.rb +53 -0
- data/spec/models/brand_email_content_spec.rb +59 -0
- data/spec/models/brand_link_spec.rb +59 -0
- data/spec/models/brand_logos_spec.rb +53 -0
- data/spec/models/brand_request_spec.rb +41 -0
- data/spec/models/brand_resource_urls_spec.rb +59 -0
- data/spec/models/brand_resources_list_spec.rb +41 -0
- data/spec/models/brand_resources_spec.rb +77 -0
- data/spec/models/brand_spec.rb +113 -0
- data/spec/models/brands_request_spec.rb +41 -0
- data/spec/models/brands_response_spec.rb +53 -0
- data/spec/models/bulk_envelope_spec.rb +89 -0
- data/spec/models/bulk_envelope_status_spec.rb +119 -0
- data/spec/models/bulk_envelopes_response_spec.rb +77 -0
- data/spec/models/bulk_recipient_signature_provider_spec.rb +47 -0
- data/spec/models/bulk_recipient_spec.rb +95 -0
- data/spec/models/bulk_recipient_tab_label_spec.rb +47 -0
- data/spec/models/bulk_recipients_request_spec.rb +41 -0
- data/spec/models/bulk_recipients_response_spec.rb +77 -0
- data/spec/models/bulk_recipients_summary_response_spec.rb +59 -0
- data/spec/models/bulk_recipients_update_response_spec.rb +41 -0
- data/spec/models/captive_recipient_information_spec.rb +41 -0
- data/spec/models/captive_recipient_spec.rb +59 -0
- data/spec/models/carbon_copy_spec.rb +287 -0
- data/spec/models/certified_delivery_spec.rb +287 -0
- data/spec/models/checkbox_spec.rb +215 -0
- data/spec/models/chunked_upload_part_spec.rb +47 -0
- data/spec/models/chunked_upload_request_spec.rb +47 -0
- data/spec/models/chunked_upload_response_spec.rb +77 -0
- data/spec/models/cloud_storage_provider_spec.rb +65 -0
- data/spec/models/cloud_storage_providers_spec.rb +41 -0
- data/spec/models/company_spec.rb +269 -0
- data/spec/models/composite_template_spec.rb +65 -0
- data/spec/models/connect_config_results_spec.rb +47 -0
- data/spec/models/connect_custom_configuration_spec.rb +161 -0
- data/spec/models/connect_debug_log_spec.rb +65 -0
- data/spec/models/connect_failure_filter_spec.rb +47 -0
- data/spec/models/connect_failure_result_spec.rb +65 -0
- data/spec/models/connect_failure_results_spec.rb +41 -0
- data/spec/models/connect_log_spec.rb +143 -0
- data/spec/models/connect_logs_spec.rb +59 -0
- data/spec/models/console_view_request_spec.rb +47 -0
- data/spec/models/consumer_disclosure_spec.rb +215 -0
- data/spec/models/contact_get_response_spec.rb +77 -0
- data/spec/models/contact_mod_request_spec.rb +41 -0
- data/spec/models/contact_spec.rb +89 -0
- data/spec/models/contact_update_response_spec.rb +41 -0
- data/spec/models/correct_view_request_spec.rb +47 -0
- data/spec/models/country_spec.rb +59 -0
- data/spec/models/credit_card_information_spec.rb +71 -0
- data/spec/models/credit_card_types_spec.rb +41 -0
- data/spec/models/currency_feature_set_price_spec.rb +65 -0
- data/spec/models/currency_plan_price_spec.rb +71 -0
- data/spec/models/custom_field_v2_spec.rb +77 -0
- data/spec/models/custom_fields_envelope_spec.rb +47 -0
- data/spec/models/custom_fields_spec.rb +47 -0
- data/spec/models/custom_settings_information_spec.rb +41 -0
- data/spec/models/date_signed_spec.rb +227 -0
- data/spec/models/date_spec.rb +305 -0
- data/spec/models/decline_spec.rb +239 -0
- data/spec/models/diagnostics_settings_information_spec.rb +53 -0
- data/spec/models/dob_information_input_spec.rb +53 -0
- data/spec/models/document_fields_information_spec.rb +41 -0
- data/spec/models/document_spec.rb +155 -0
- data/spec/models/document_template_list_spec.rb +41 -0
- data/spec/models/document_template_spec.rb +65 -0
- data/spec/models/document_visibility_list_spec.rb +41 -0
- data/spec/models/document_visibility_spec.rb +65 -0
- data/spec/models/e_note_configuration_spec.rb +65 -0
- data/spec/models/editor_spec.rb +281 -0
- data/spec/models/email_address_spec.rb +221 -0
- data/spec/models/email_settings_spec.rb +53 -0
- data/spec/models/email_spec.rb +305 -0
- data/spec/models/envelope_attachment_spec.rb +71 -0
- data/spec/models/envelope_attachments_request_spec.rb +41 -0
- data/spec/models/envelope_attachments_result_spec.rb +41 -0
- data/spec/models/envelope_audit_event_response_spec.rb +41 -0
- data/spec/models/envelope_audit_event_spec.rb +41 -0
- data/spec/models/envelope_definition_spec.rb +371 -0
- data/spec/models/envelope_document_spec.rb +137 -0
- data/spec/models/envelope_documents_result_spec.rb +47 -0
- data/spec/models/envelope_event_spec.rb +47 -0
- data/spec/models/envelope_form_data_spec.rb +71 -0
- data/spec/models/envelope_id_spec.rb +221 -0
- data/spec/models/envelope_ids_request_spec.rb +47 -0
- data/spec/models/envelope_notification_request_spec.rb +53 -0
- data/spec/models/envelope_spec.rb +317 -0
- data/spec/models/envelope_summary_spec.rb +59 -0
- data/spec/models/envelope_template_definition_spec.rb +125 -0
- data/spec/models/envelope_template_result_spec.rb +401 -0
- data/spec/models/envelope_template_results_spec.rb +83 -0
- data/spec/models/envelope_template_spec.rb +329 -0
- data/spec/models/envelope_transaction_status_spec.rb +59 -0
- data/spec/models/envelope_update_summary_spec.rb +83 -0
- data/spec/models/envelopes_information_spec.rb +83 -0
- data/spec/models/error_details_spec.rb +47 -0
- data/spec/models/event_notification_spec.rb +125 -0
- data/spec/models/event_result_spec.rb +59 -0
- data/spec/models/expirations_spec.rb +53 -0
- data/spec/models/external_doc_service_error_details_spec.rb +53 -0
- data/spec/models/external_file_spec.rb +83 -0
- data/spec/models/external_folder_spec.rb +95 -0
- data/spec/models/feature_set_spec.rb +89 -0
- data/spec/models/file_type_list_spec.rb +41 -0
- data/spec/models/file_type_spec.rb +47 -0
- data/spec/models/filter_spec.rb +101 -0
- data/spec/models/first_name_spec.rb +221 -0
- data/spec/models/folder_item_response_spec.rb +77 -0
- data/spec/models/folder_item_spec.rb +161 -0
- data/spec/models/folder_item_v2_spec.rb +155 -0
- data/spec/models/folder_items_response_spec.rb +77 -0
- data/spec/models/folder_spec.rb +107 -0
- data/spec/models/folders_request_spec.rb +47 -0
- data/spec/models/folders_response_spec.rb +41 -0
- data/spec/models/forgotten_password_information_spec.rb +83 -0
- data/spec/models/formula_tab_spec.rb +329 -0
- data/spec/models/full_name_spec.rb +221 -0
- data/spec/models/group_information_spec.rb +77 -0
- data/spec/models/group_spec.rb +71 -0
- data/spec/models/id_check_information_input_spec.rb +59 -0
- data/spec/models/in_person_signer_spec.rb +365 -0
- data/spec/models/initial_here_spec.rb +197 -0
- data/spec/models/inline_template_spec.rb +65 -0
- data/spec/models/integrated_user_info_list_spec.rb +83 -0
- data/spec/models/intermediary_spec.rb +287 -0
- data/spec/models/last_name_spec.rb +221 -0
- data/spec/models/list_custom_field_spec.rb +83 -0
- data/spec/models/list_item_spec.rb +53 -0
- data/spec/models/list_spec.rb +269 -0
- data/spec/models/lock_information_spec.rb +83 -0
- data/spec/models/lock_request_spec.rb +65 -0
- data/spec/models/login_account_spec.rb +101 -0
- data/spec/models/login_information_spec.rb +47 -0
- data/spec/models/match_box_spec.rb +65 -0
- data/spec/models/member_group_shared_item_spec.rb +53 -0
- data/spec/models/member_shared_items_spec.rb +59 -0
- data/spec/models/merge_field_spec.rb +65 -0
- data/spec/models/mobile_notifier_configuration_information_spec.rb +41 -0
- data/spec/models/mobile_notifier_configuration_spec.rb +53 -0
- data/spec/models/money_spec.rb +53 -0
- data/spec/models/name_value_spec.rb +59 -0
- data/spec/models/new_account_definition_spec.rb +95 -0
- data/spec/models/new_account_summary_spec.rb +77 -0
- data/spec/models/new_user_spec.rb +95 -0
- data/spec/models/new_users_definition_spec.rb +41 -0
- data/spec/models/new_users_summary_spec.rb +41 -0
- data/spec/models/notary_host_spec.rb +275 -0
- data/spec/models/note_spec.rb +245 -0
- data/spec/models/notification_spec.rb +53 -0
- data/spec/models/number_spec.rb +317 -0
- data/spec/models/oauth_access_spec.rb +71 -0
- data/spec/models/offline_attributes_spec.rb +71 -0
- data/spec/models/page_images_spec.rb +77 -0
- data/spec/models/page_request_spec.rb +47 -0
- data/spec/models/page_spec.rb +83 -0
- data/spec/models/payment_details_spec.rb +65 -0
- data/spec/models/payment_line_item_spec.rb +59 -0
- data/spec/models/permission_profile_information_spec.rb +41 -0
- data/spec/models/permission_profile_spec.rb +77 -0
- data/spec/models/plan_information_spec.rb +71 -0
- data/spec/models/post_transactions_request_spec.rb +59 -0
- data/spec/models/post_transactions_response_spec.rb +47 -0
- data/spec/models/power_form_form_data_envelope_spec.rb +47 -0
- data/spec/models/power_form_form_data_recipient_spec.rb +59 -0
- data/spec/models/power_form_recipient_spec.rb +113 -0
- data/spec/models/power_form_senders_response_spec.rb +77 -0
- data/spec/models/power_form_spec.rb +179 -0
- data/spec/models/power_forms_form_data_response_spec.rb +41 -0
- data/spec/models/power_forms_request_spec.rb +41 -0
- data/spec/models/power_forms_response_spec.rb +77 -0
- data/spec/models/property_metadata_spec.rb +47 -0
- data/spec/models/province_spec.rb +47 -0
- data/spec/models/provisioning_information_spec.rb +77 -0
- data/spec/models/purchased_envelopes_information_spec.rb +89 -0
- data/spec/models/radio_group_spec.rb +89 -0
- data/spec/models/radio_spec.rb +143 -0
- data/spec/models/recipient_attachment_spec.rb +71 -0
- data/spec/models/recipient_domain_spec.rb +59 -0
- data/spec/models/recipient_email_notification_spec.rb +53 -0
- data/spec/models/recipient_event_spec.rb +47 -0
- data/spec/models/recipient_form_data_spec.rb +83 -0
- data/spec/models/recipient_names_response_spec.rb +53 -0
- data/spec/models/recipient_phone_authentication_spec.rb +59 -0
- data/spec/models/recipient_saml_authentication_spec.rb +41 -0
- data/spec/models/recipient_signature_information_spec.rb +53 -0
- data/spec/models/recipient_signature_provider_options_spec.rb +59 -0
- data/spec/models/recipient_signature_provider_spec.rb +47 -0
- data/spec/models/recipient_sms_authentication_spec.rb +41 -0
- data/spec/models/recipient_update_response_spec.rb +53 -0
- data/spec/models/recipient_view_request_spec.rb +119 -0
- data/spec/models/recipients_spec.rb +95 -0
- data/spec/models/recipients_update_summary_spec.rb +41 -0
- data/spec/models/referral_information_spec.rb +143 -0
- data/spec/models/reminders_spec.rb +53 -0
- data/spec/models/resource_information_spec.rb +41 -0
- data/spec/models/return_url_request_spec.rb +41 -0
- data/spec/models/saml_assertion_attribute_spec.rb +59 -0
- data/spec/models/seat_discount_spec.rb +53 -0
- data/spec/models/sender_email_notifications_spec.rb +77 -0
- data/spec/models/server_template_spec.rb +47 -0
- data/spec/models/service_information_spec.rb +71 -0
- data/spec/models/service_version_spec.rb +47 -0
- data/spec/models/settings_metadata_spec.rb +71 -0
- data/spec/models/shared_item_spec.rb +53 -0
- data/spec/models/sign_here_spec.rb +197 -0
- data/spec/models/signature_provider_required_option_spec.rb +47 -0
- data/spec/models/signature_type_spec.rb +47 -0
- data/spec/models/signer_attachment_spec.rb +197 -0
- data/spec/models/signer_email_notifications_spec.rb +119 -0
- data/spec/models/signer_spec.rb +371 -0
- data/spec/models/signing_group_information_spec.rb +41 -0
- data/spec/models/signing_group_spec.rb +95 -0
- data/spec/models/signing_group_user_spec.rb +53 -0
- data/spec/models/signing_group_users_spec.rb +41 -0
- data/spec/models/social_account_information_spec.rb +65 -0
- data/spec/models/social_authentication_spec.rb +41 -0
- data/spec/models/ssn4_information_input_spec.rb +53 -0
- data/spec/models/ssn9_information_input_spec.rb +47 -0
- data/spec/models/ssn_spec.rb +305 -0
- data/spec/models/tab_account_settings_spec.rb +263 -0
- data/spec/models/tab_metadata_list_spec.rb +41 -0
- data/spec/models/tab_metadata_spec.rb +269 -0
- data/spec/models/tabs_spec.rb +185 -0
- data/spec/models/template_custom_fields_spec.rb +47 -0
- data/spec/models/template_document_visibility_list_spec.rb +41 -0
- data/spec/models/template_documents_result_spec.rb +47 -0
- data/spec/models/template_information_spec.rb +41 -0
- data/spec/models/template_match_spec.rb +53 -0
- data/spec/models/template_notification_request_spec.rb +59 -0
- data/spec/models/template_recipients_spec.rb +95 -0
- data/spec/models/template_role_spec.rb +107 -0
- data/spec/models/template_shared_item_spec.rb +77 -0
- data/spec/models/template_summary_spec.rb +77 -0
- data/spec/models/template_tabs_spec.rb +185 -0
- data/spec/models/template_update_summary_spec.rb +83 -0
- data/spec/models/text_custom_field_spec.rb +77 -0
- data/spec/models/text_spec.rb +323 -0
- data/spec/models/title_spec.rb +269 -0
- data/spec/models/usage_history_spec.rb +59 -0
- data/spec/models/user_account_management_granular_information_spec.rb +83 -0
- data/spec/models/user_info_list_spec.rb +41 -0
- data/spec/models/user_info_spec.rb +95 -0
- data/spec/models/user_information_list_spec.rb +77 -0
- data/spec/models/user_information_spec.rb +239 -0
- data/spec/models/user_password_information_spec.rb +59 -0
- data/spec/models/user_profile_spec.rb +107 -0
- data/spec/models/user_settings_information_spec.rb +59 -0
- data/spec/models/user_shared_item_spec.rb +53 -0
- data/spec/models/user_signature_definition_spec.rb +59 -0
- data/spec/models/user_signature_spec.rb +113 -0
- data/spec/models/user_signatures_information_spec.rb +41 -0
- data/spec/models/user_social_id_result_spec.rb +47 -0
- data/spec/models/users_response_spec.rb +77 -0
- data/spec/models/view_link_request_spec.rb +47 -0
- data/spec/models/view_spec.rb +245 -0
- data/spec/models/view_url_spec.rb +41 -0
- data/spec/models/workspace_folder_contents_spec.rb +83 -0
- data/spec/models/workspace_item_list_spec.rb +41 -0
- data/spec/models/workspace_item_spec.rb +149 -0
- data/spec/models/workspace_list_spec.rb +65 -0
- data/spec/models/workspace_spec.rb +101 -0
- data/spec/models/workspace_user_authorization_spec.rb +101 -0
- data/spec/models/workspace_user_spec.rb +131 -0
- data/spec/models/zip_spec.rb +311 -0
- data/spec/spec_helper.rb +110 -0
- data/tests/.DS_Store +0 -0
- data/tests/Gemfile +5 -0
- data/tests/Gemfile.lock +42 -0
- data/tests/docs/Test.pdf +0 -0
- data/tests/rsa_keys/private.pem +27 -0
- data/tests/rsa_keys/public.pem +9 -0
- data/tests/spec/unit_tests_spec.rb +360 -0
- data/tests/spec/unit_tests_using_jwt_spec.rb +361 -0
- metadata +1560 -0
@@ -0,0 +1,210 @@
|
|
1
|
+
=begin
|
2
|
+
#DocuSign REST API
|
3
|
+
|
4
|
+
#The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2
|
7
|
+
Contact: devcenter@docusign.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
module DocuSign_eSign
|
15
|
+
# A complex element that allows the sender to override some envelope email setting information. This can be used to override the Reply To email address and name associated with the envelope and to override the BCC email addresses to which an envelope is sent. When the emailSettings information is used for an envelope, it only applies to that envelope. **IMPORTANT**: The emailSettings information is not returned in the GET for envelope status. Use GET /email_settings to return information about the emailSettings. EmailSettings consists of: * replyEmailAddressOverride - The Reply To email used for the envelope. DocuSign will verify that a correct email format is used, but does not verify that the email is active. Maximum Length: 100 characters. * replyEmailNameOverride - The name associated with the Reply To email address. Maximum Length: 100 characters. * bccEmailAddresses - An array of up to five email addresses to which the envelope is sent to as a BCC email. Only users with canManageAccount setting set to true can use this option. DocuSign verifies that the email format is correct, but does not verify that the email is active. Using this overrides the BCC for Email Archive information setting for this envelope. Maximum Length: 100 characters. *Example*: if your account has BCC for Email Archive set up for the email address ‘archive@mycompany.com’ and you send an envelope using the BCC Email Override to send a BCC email to ‘salesarchive@mycompany.com’, then a copy of the envelope is only sent to the ‘salesarchive@mycompany.com’ email address.
|
16
|
+
class EmailSettings
|
17
|
+
# A list of email addresses that receive a copy of all email communications for an envelope. You can use this for archiving purposes.
|
18
|
+
attr_accessor :bcc_email_addresses
|
19
|
+
|
20
|
+
#
|
21
|
+
attr_accessor :reply_email_address_override
|
22
|
+
|
23
|
+
#
|
24
|
+
attr_accessor :reply_email_name_override
|
25
|
+
|
26
|
+
|
27
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
28
|
+
def self.attribute_map
|
29
|
+
{
|
30
|
+
:'bcc_email_addresses' => :'bccEmailAddresses',
|
31
|
+
:'reply_email_address_override' => :'replyEmailAddressOverride',
|
32
|
+
:'reply_email_name_override' => :'replyEmailNameOverride'
|
33
|
+
}
|
34
|
+
end
|
35
|
+
|
36
|
+
# Attribute type mapping.
|
37
|
+
def self.swagger_types
|
38
|
+
{
|
39
|
+
:'bcc_email_addresses' => :'Array<BccEmailAddress>',
|
40
|
+
:'reply_email_address_override' => :'String',
|
41
|
+
:'reply_email_name_override' => :'String'
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
# Initializes the object
|
46
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
47
|
+
def initialize(attributes = {})
|
48
|
+
return unless attributes.is_a?(Hash)
|
49
|
+
|
50
|
+
# convert string to symbol for hash key
|
51
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
52
|
+
|
53
|
+
if attributes.has_key?(:'bccEmailAddresses')
|
54
|
+
if (value = attributes[:'bccEmailAddresses']).is_a?(Array)
|
55
|
+
self.bcc_email_addresses = value
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
if attributes.has_key?(:'replyEmailAddressOverride')
|
60
|
+
self.reply_email_address_override = attributes[:'replyEmailAddressOverride']
|
61
|
+
end
|
62
|
+
|
63
|
+
if attributes.has_key?(:'replyEmailNameOverride')
|
64
|
+
self.reply_email_name_override = attributes[:'replyEmailNameOverride']
|
65
|
+
end
|
66
|
+
|
67
|
+
end
|
68
|
+
|
69
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
70
|
+
# @return Array for valid properies with the reasons
|
71
|
+
def list_invalid_properties
|
72
|
+
invalid_properties = Array.new
|
73
|
+
return invalid_properties
|
74
|
+
end
|
75
|
+
|
76
|
+
# Check to see if the all the properties in the model are valid
|
77
|
+
# @return true if the model is valid
|
78
|
+
def valid?
|
79
|
+
return true
|
80
|
+
end
|
81
|
+
|
82
|
+
# Checks equality by comparing each attribute.
|
83
|
+
# @param [Object] Object to be compared
|
84
|
+
def ==(o)
|
85
|
+
return true if self.equal?(o)
|
86
|
+
self.class == o.class &&
|
87
|
+
bcc_email_addresses == o.bcc_email_addresses &&
|
88
|
+
reply_email_address_override == o.reply_email_address_override &&
|
89
|
+
reply_email_name_override == o.reply_email_name_override
|
90
|
+
end
|
91
|
+
|
92
|
+
# @see the `==` method
|
93
|
+
# @param [Object] Object to be compared
|
94
|
+
def eql?(o)
|
95
|
+
self == o
|
96
|
+
end
|
97
|
+
|
98
|
+
# Calculates hash code according to all attributes.
|
99
|
+
# @return [Fixnum] Hash code
|
100
|
+
def hash
|
101
|
+
[bcc_email_addresses, reply_email_address_override, reply_email_name_override].hash
|
102
|
+
end
|
103
|
+
|
104
|
+
# Builds the object from hash
|
105
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
106
|
+
# @return [Object] Returns the model itself
|
107
|
+
def build_from_hash(attributes)
|
108
|
+
return nil unless attributes.is_a?(Hash)
|
109
|
+
self.class.swagger_types.each_pair do |key, type|
|
110
|
+
if type =~ /\AArray<(.*)>/i
|
111
|
+
# check to ensure the input is an array given that the the attribute
|
112
|
+
# is documented as an array but the input is not
|
113
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
114
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
115
|
+
end
|
116
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
117
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
118
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
119
|
+
end
|
120
|
+
|
121
|
+
self
|
122
|
+
end
|
123
|
+
|
124
|
+
# Deserializes the data based on type
|
125
|
+
# @param string type Data type
|
126
|
+
# @param string value Value to be deserialized
|
127
|
+
# @return [Object] Deserialized data
|
128
|
+
def _deserialize(type, value)
|
129
|
+
case type.to_sym
|
130
|
+
when :DateTime
|
131
|
+
DateTime.parse(value)
|
132
|
+
when :Date
|
133
|
+
Date.parse(value)
|
134
|
+
when :String
|
135
|
+
value.to_s
|
136
|
+
when :Integer
|
137
|
+
value.to_i
|
138
|
+
when :Float
|
139
|
+
value.to_f
|
140
|
+
when :BOOLEAN
|
141
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
142
|
+
true
|
143
|
+
else
|
144
|
+
false
|
145
|
+
end
|
146
|
+
when :Object
|
147
|
+
# generic object (usually a Hash), return directly
|
148
|
+
value
|
149
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
150
|
+
inner_type = Regexp.last_match[:inner_type]
|
151
|
+
value.map { |v| _deserialize(inner_type, v) }
|
152
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
153
|
+
k_type = Regexp.last_match[:k_type]
|
154
|
+
v_type = Regexp.last_match[:v_type]
|
155
|
+
{}.tap do |hash|
|
156
|
+
value.each do |k, v|
|
157
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
158
|
+
end
|
159
|
+
end
|
160
|
+
else # model
|
161
|
+
temp_model = DocuSign_eSign.const_get(type).new
|
162
|
+
temp_model.build_from_hash(value)
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
# Returns the string representation of the object
|
167
|
+
# @return [String] String presentation of the object
|
168
|
+
def to_s
|
169
|
+
to_hash.to_s
|
170
|
+
end
|
171
|
+
|
172
|
+
# to_body is an alias to to_hash (backward compatibility)
|
173
|
+
# @return [Hash] Returns the object in the form of hash
|
174
|
+
def to_body
|
175
|
+
to_hash
|
176
|
+
end
|
177
|
+
|
178
|
+
# Returns the object in the form of hash
|
179
|
+
# @return [Hash] Returns the object in the form of hash
|
180
|
+
def to_hash
|
181
|
+
hash = {}
|
182
|
+
self.class.attribute_map.each_pair do |attr, param|
|
183
|
+
value = self.send(attr)
|
184
|
+
next if value.nil?
|
185
|
+
hash[param] = _to_hash(value)
|
186
|
+
end
|
187
|
+
hash
|
188
|
+
end
|
189
|
+
|
190
|
+
# Outputs non-array value in the form of hash
|
191
|
+
# For object, use to_hash. Otherwise, just return the value
|
192
|
+
# @param [Object] value Any valid value
|
193
|
+
# @return [Hash] Returns the value in the form of hash
|
194
|
+
def _to_hash(value)
|
195
|
+
if value.is_a?(Array)
|
196
|
+
value.compact.map{ |v| _to_hash(v) }
|
197
|
+
elsif value.is_a?(Hash)
|
198
|
+
{}.tap do |hash|
|
199
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
200
|
+
end
|
201
|
+
elsif value.respond_to? :to_hash
|
202
|
+
value.to_hash
|
203
|
+
else
|
204
|
+
value
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
208
|
+
end
|
209
|
+
|
210
|
+
end
|
@@ -0,0 +1,643 @@
|
|
1
|
+
=begin
|
2
|
+
#DocuSign REST API
|
3
|
+
|
4
|
+
#The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2
|
7
|
+
Contact: devcenter@docusign.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
module DocuSign_eSign
|
15
|
+
|
16
|
+
class Envelope
|
17
|
+
# When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this
|
18
|
+
attr_accessor :allow_markup
|
19
|
+
|
20
|
+
# When set to **true**, the recipient can redirect an envelope to a more appropriate recipient.
|
21
|
+
attr_accessor :allow_reassign
|
22
|
+
|
23
|
+
# When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed.
|
24
|
+
attr_accessor :asynchronous
|
25
|
+
|
26
|
+
#
|
27
|
+
attr_accessor :attachments_uri
|
28
|
+
|
29
|
+
# Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.
|
30
|
+
attr_accessor :authoritative_copy
|
31
|
+
|
32
|
+
#
|
33
|
+
attr_accessor :auto_navigation
|
34
|
+
|
35
|
+
#
|
36
|
+
attr_accessor :brand_id
|
37
|
+
|
38
|
+
#
|
39
|
+
attr_accessor :brand_lock
|
40
|
+
|
41
|
+
# Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.
|
42
|
+
attr_accessor :certificate_uri
|
43
|
+
|
44
|
+
# Specifies the date and time this item was completed.
|
45
|
+
attr_accessor :completed_date_time
|
46
|
+
|
47
|
+
# Indicates the date and time the item was created.
|
48
|
+
attr_accessor :created_date_time
|
49
|
+
|
50
|
+
attr_accessor :custom_fields
|
51
|
+
|
52
|
+
# Contains a URI for an endpoint that you can use to retrieve the custom fields.
|
53
|
+
attr_accessor :custom_fields_uri
|
54
|
+
|
55
|
+
# The date and time the recipient declined the document.
|
56
|
+
attr_accessor :declined_date_time
|
57
|
+
|
58
|
+
# Specifies the data and time the item was deleted.
|
59
|
+
attr_accessor :deleted_date_time
|
60
|
+
|
61
|
+
# Reserved: For DocuSign use only.
|
62
|
+
attr_accessor :delivered_date_time
|
63
|
+
|
64
|
+
#
|
65
|
+
attr_accessor :documents_combined_uri
|
66
|
+
|
67
|
+
# Contains a URI for an endpoint that you can use to retrieve the documents.
|
68
|
+
attr_accessor :documents_uri
|
69
|
+
|
70
|
+
# This is the same as the email body. If specified it is included in email body for all envelope recipients.
|
71
|
+
attr_accessor :email_blurb
|
72
|
+
|
73
|
+
attr_accessor :email_settings
|
74
|
+
|
75
|
+
# Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.
|
76
|
+
attr_accessor :email_subject
|
77
|
+
|
78
|
+
# When set to **true**, the signer is allowed to print the document and sign it on paper.
|
79
|
+
attr_accessor :enable_wet_sign
|
80
|
+
|
81
|
+
# When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this.
|
82
|
+
attr_accessor :enforce_signer_visibility
|
83
|
+
|
84
|
+
# The envelope ID of the envelope status that failed to post.
|
85
|
+
attr_accessor :envelope_id
|
86
|
+
|
87
|
+
# When set to **true**, Envelope ID Stamping is enabled.
|
88
|
+
attr_accessor :envelope_id_stamping
|
89
|
+
|
90
|
+
# Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.
|
91
|
+
attr_accessor :envelope_uri
|
92
|
+
|
93
|
+
#
|
94
|
+
attr_accessor :initial_sent_date_time
|
95
|
+
|
96
|
+
# When set to **true**, indicates that this module is enabled on the account.
|
97
|
+
attr_accessor :is21_cfr_part11
|
98
|
+
|
99
|
+
#
|
100
|
+
attr_accessor :is_signature_provider_envelope
|
101
|
+
|
102
|
+
# The date and time the item was last modified.
|
103
|
+
attr_accessor :last_modified_date_time
|
104
|
+
|
105
|
+
attr_accessor :lock_information
|
106
|
+
|
107
|
+
# When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope.
|
108
|
+
attr_accessor :message_lock
|
109
|
+
|
110
|
+
attr_accessor :notification
|
111
|
+
|
112
|
+
# Contains a URI for an endpoint that you can use to retrieve the notifications.
|
113
|
+
attr_accessor :notification_uri
|
114
|
+
|
115
|
+
#
|
116
|
+
attr_accessor :purge_state
|
117
|
+
|
118
|
+
attr_accessor :recipients
|
119
|
+
|
120
|
+
# When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope.
|
121
|
+
attr_accessor :recipients_lock
|
122
|
+
|
123
|
+
# Contains a URI for an endpoint that you can use to retrieve the recipients.
|
124
|
+
attr_accessor :recipients_uri
|
125
|
+
|
126
|
+
# The date and time the envelope was sent.
|
127
|
+
attr_accessor :sent_date_time
|
128
|
+
|
129
|
+
# Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.
|
130
|
+
attr_accessor :signing_location
|
131
|
+
|
132
|
+
# Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. *created - The envelope is saved as a draft and can be modified and sent later.
|
133
|
+
attr_accessor :status
|
134
|
+
|
135
|
+
# The data and time the status changed.
|
136
|
+
attr_accessor :status_changed_date_time
|
137
|
+
|
138
|
+
# Contains a URI for an endpoint which you can use to retrieve the templates.
|
139
|
+
attr_accessor :templates_uri
|
140
|
+
|
141
|
+
# Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.
|
142
|
+
attr_accessor :transaction_id
|
143
|
+
|
144
|
+
# When set to **true**, the disclosure is shown to recipients in accordance with the account’s Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information.
|
145
|
+
attr_accessor :use_disclosure
|
146
|
+
|
147
|
+
# The date and time the envelope or template was voided.
|
148
|
+
attr_accessor :voided_date_time
|
149
|
+
|
150
|
+
# The reason the envelope or template was voided.
|
151
|
+
attr_accessor :voided_reason
|
152
|
+
|
153
|
+
|
154
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
155
|
+
def self.attribute_map
|
156
|
+
{
|
157
|
+
:'allow_markup' => :'allowMarkup',
|
158
|
+
:'allow_reassign' => :'allowReassign',
|
159
|
+
:'asynchronous' => :'asynchronous',
|
160
|
+
:'attachments_uri' => :'attachmentsUri',
|
161
|
+
:'authoritative_copy' => :'authoritativeCopy',
|
162
|
+
:'auto_navigation' => :'autoNavigation',
|
163
|
+
:'brand_id' => :'brandId',
|
164
|
+
:'brand_lock' => :'brandLock',
|
165
|
+
:'certificate_uri' => :'certificateUri',
|
166
|
+
:'completed_date_time' => :'completedDateTime',
|
167
|
+
:'created_date_time' => :'createdDateTime',
|
168
|
+
:'custom_fields' => :'customFields',
|
169
|
+
:'custom_fields_uri' => :'customFieldsUri',
|
170
|
+
:'declined_date_time' => :'declinedDateTime',
|
171
|
+
:'deleted_date_time' => :'deletedDateTime',
|
172
|
+
:'delivered_date_time' => :'deliveredDateTime',
|
173
|
+
:'documents_combined_uri' => :'documentsCombinedUri',
|
174
|
+
:'documents_uri' => :'documentsUri',
|
175
|
+
:'email_blurb' => :'emailBlurb',
|
176
|
+
:'email_settings' => :'emailSettings',
|
177
|
+
:'email_subject' => :'emailSubject',
|
178
|
+
:'enable_wet_sign' => :'enableWetSign',
|
179
|
+
:'enforce_signer_visibility' => :'enforceSignerVisibility',
|
180
|
+
:'envelope_id' => :'envelopeId',
|
181
|
+
:'envelope_id_stamping' => :'envelopeIdStamping',
|
182
|
+
:'envelope_uri' => :'envelopeUri',
|
183
|
+
:'initial_sent_date_time' => :'initialSentDateTime',
|
184
|
+
:'is21_cfr_part11' => :'is21CFRPart11',
|
185
|
+
:'is_signature_provider_envelope' => :'isSignatureProviderEnvelope',
|
186
|
+
:'last_modified_date_time' => :'lastModifiedDateTime',
|
187
|
+
:'lock_information' => :'lockInformation',
|
188
|
+
:'message_lock' => :'messageLock',
|
189
|
+
:'notification' => :'notification',
|
190
|
+
:'notification_uri' => :'notificationUri',
|
191
|
+
:'purge_state' => :'purgeState',
|
192
|
+
:'recipients' => :'recipients',
|
193
|
+
:'recipients_lock' => :'recipientsLock',
|
194
|
+
:'recipients_uri' => :'recipientsUri',
|
195
|
+
:'sent_date_time' => :'sentDateTime',
|
196
|
+
:'signing_location' => :'signingLocation',
|
197
|
+
:'status' => :'status',
|
198
|
+
:'status_changed_date_time' => :'statusChangedDateTime',
|
199
|
+
:'templates_uri' => :'templatesUri',
|
200
|
+
:'transaction_id' => :'transactionId',
|
201
|
+
:'use_disclosure' => :'useDisclosure',
|
202
|
+
:'voided_date_time' => :'voidedDateTime',
|
203
|
+
:'voided_reason' => :'voidedReason'
|
204
|
+
}
|
205
|
+
end
|
206
|
+
|
207
|
+
# Attribute type mapping.
|
208
|
+
def self.swagger_types
|
209
|
+
{
|
210
|
+
:'allow_markup' => :'String',
|
211
|
+
:'allow_reassign' => :'String',
|
212
|
+
:'asynchronous' => :'String',
|
213
|
+
:'attachments_uri' => :'String',
|
214
|
+
:'authoritative_copy' => :'String',
|
215
|
+
:'auto_navigation' => :'String',
|
216
|
+
:'brand_id' => :'String',
|
217
|
+
:'brand_lock' => :'String',
|
218
|
+
:'certificate_uri' => :'String',
|
219
|
+
:'completed_date_time' => :'String',
|
220
|
+
:'created_date_time' => :'String',
|
221
|
+
:'custom_fields' => :'CustomFields',
|
222
|
+
:'custom_fields_uri' => :'String',
|
223
|
+
:'declined_date_time' => :'String',
|
224
|
+
:'deleted_date_time' => :'String',
|
225
|
+
:'delivered_date_time' => :'String',
|
226
|
+
:'documents_combined_uri' => :'String',
|
227
|
+
:'documents_uri' => :'String',
|
228
|
+
:'email_blurb' => :'String',
|
229
|
+
:'email_settings' => :'EmailSettings',
|
230
|
+
:'email_subject' => :'String',
|
231
|
+
:'enable_wet_sign' => :'String',
|
232
|
+
:'enforce_signer_visibility' => :'String',
|
233
|
+
:'envelope_id' => :'String',
|
234
|
+
:'envelope_id_stamping' => :'String',
|
235
|
+
:'envelope_uri' => :'String',
|
236
|
+
:'initial_sent_date_time' => :'String',
|
237
|
+
:'is21_cfr_part11' => :'String',
|
238
|
+
:'is_signature_provider_envelope' => :'String',
|
239
|
+
:'last_modified_date_time' => :'String',
|
240
|
+
:'lock_information' => :'LockInformation',
|
241
|
+
:'message_lock' => :'String',
|
242
|
+
:'notification' => :'Notification',
|
243
|
+
:'notification_uri' => :'String',
|
244
|
+
:'purge_state' => :'String',
|
245
|
+
:'recipients' => :'Recipients',
|
246
|
+
:'recipients_lock' => :'String',
|
247
|
+
:'recipients_uri' => :'String',
|
248
|
+
:'sent_date_time' => :'String',
|
249
|
+
:'signing_location' => :'String',
|
250
|
+
:'status' => :'String',
|
251
|
+
:'status_changed_date_time' => :'String',
|
252
|
+
:'templates_uri' => :'String',
|
253
|
+
:'transaction_id' => :'String',
|
254
|
+
:'use_disclosure' => :'String',
|
255
|
+
:'voided_date_time' => :'String',
|
256
|
+
:'voided_reason' => :'String'
|
257
|
+
}
|
258
|
+
end
|
259
|
+
|
260
|
+
# Initializes the object
|
261
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
262
|
+
def initialize(attributes = {})
|
263
|
+
return unless attributes.is_a?(Hash)
|
264
|
+
|
265
|
+
# convert string to symbol for hash key
|
266
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
267
|
+
|
268
|
+
if attributes.has_key?(:'allowMarkup')
|
269
|
+
self.allow_markup = attributes[:'allowMarkup']
|
270
|
+
end
|
271
|
+
|
272
|
+
if attributes.has_key?(:'allowReassign')
|
273
|
+
self.allow_reassign = attributes[:'allowReassign']
|
274
|
+
end
|
275
|
+
|
276
|
+
if attributes.has_key?(:'asynchronous')
|
277
|
+
self.asynchronous = attributes[:'asynchronous']
|
278
|
+
end
|
279
|
+
|
280
|
+
if attributes.has_key?(:'attachmentsUri')
|
281
|
+
self.attachments_uri = attributes[:'attachmentsUri']
|
282
|
+
end
|
283
|
+
|
284
|
+
if attributes.has_key?(:'authoritativeCopy')
|
285
|
+
self.authoritative_copy = attributes[:'authoritativeCopy']
|
286
|
+
end
|
287
|
+
|
288
|
+
if attributes.has_key?(:'autoNavigation')
|
289
|
+
self.auto_navigation = attributes[:'autoNavigation']
|
290
|
+
end
|
291
|
+
|
292
|
+
if attributes.has_key?(:'brandId')
|
293
|
+
self.brand_id = attributes[:'brandId']
|
294
|
+
end
|
295
|
+
|
296
|
+
if attributes.has_key?(:'brandLock')
|
297
|
+
self.brand_lock = attributes[:'brandLock']
|
298
|
+
end
|
299
|
+
|
300
|
+
if attributes.has_key?(:'certificateUri')
|
301
|
+
self.certificate_uri = attributes[:'certificateUri']
|
302
|
+
end
|
303
|
+
|
304
|
+
if attributes.has_key?(:'completedDateTime')
|
305
|
+
self.completed_date_time = attributes[:'completedDateTime']
|
306
|
+
end
|
307
|
+
|
308
|
+
if attributes.has_key?(:'createdDateTime')
|
309
|
+
self.created_date_time = attributes[:'createdDateTime']
|
310
|
+
end
|
311
|
+
|
312
|
+
if attributes.has_key?(:'customFields')
|
313
|
+
self.custom_fields = attributes[:'customFields']
|
314
|
+
end
|
315
|
+
|
316
|
+
if attributes.has_key?(:'customFieldsUri')
|
317
|
+
self.custom_fields_uri = attributes[:'customFieldsUri']
|
318
|
+
end
|
319
|
+
|
320
|
+
if attributes.has_key?(:'declinedDateTime')
|
321
|
+
self.declined_date_time = attributes[:'declinedDateTime']
|
322
|
+
end
|
323
|
+
|
324
|
+
if attributes.has_key?(:'deletedDateTime')
|
325
|
+
self.deleted_date_time = attributes[:'deletedDateTime']
|
326
|
+
end
|
327
|
+
|
328
|
+
if attributes.has_key?(:'deliveredDateTime')
|
329
|
+
self.delivered_date_time = attributes[:'deliveredDateTime']
|
330
|
+
end
|
331
|
+
|
332
|
+
if attributes.has_key?(:'documentsCombinedUri')
|
333
|
+
self.documents_combined_uri = attributes[:'documentsCombinedUri']
|
334
|
+
end
|
335
|
+
|
336
|
+
if attributes.has_key?(:'documentsUri')
|
337
|
+
self.documents_uri = attributes[:'documentsUri']
|
338
|
+
end
|
339
|
+
|
340
|
+
if attributes.has_key?(:'emailBlurb')
|
341
|
+
self.email_blurb = attributes[:'emailBlurb']
|
342
|
+
end
|
343
|
+
|
344
|
+
if attributes.has_key?(:'emailSettings')
|
345
|
+
self.email_settings = attributes[:'emailSettings']
|
346
|
+
end
|
347
|
+
|
348
|
+
if attributes.has_key?(:'emailSubject')
|
349
|
+
self.email_subject = attributes[:'emailSubject']
|
350
|
+
end
|
351
|
+
|
352
|
+
if attributes.has_key?(:'enableWetSign')
|
353
|
+
self.enable_wet_sign = attributes[:'enableWetSign']
|
354
|
+
end
|
355
|
+
|
356
|
+
if attributes.has_key?(:'enforceSignerVisibility')
|
357
|
+
self.enforce_signer_visibility = attributes[:'enforceSignerVisibility']
|
358
|
+
end
|
359
|
+
|
360
|
+
if attributes.has_key?(:'envelopeId')
|
361
|
+
self.envelope_id = attributes[:'envelopeId']
|
362
|
+
end
|
363
|
+
|
364
|
+
if attributes.has_key?(:'envelopeIdStamping')
|
365
|
+
self.envelope_id_stamping = attributes[:'envelopeIdStamping']
|
366
|
+
end
|
367
|
+
|
368
|
+
if attributes.has_key?(:'envelopeUri')
|
369
|
+
self.envelope_uri = attributes[:'envelopeUri']
|
370
|
+
end
|
371
|
+
|
372
|
+
if attributes.has_key?(:'initialSentDateTime')
|
373
|
+
self.initial_sent_date_time = attributes[:'initialSentDateTime']
|
374
|
+
end
|
375
|
+
|
376
|
+
if attributes.has_key?(:'is21CFRPart11')
|
377
|
+
self.is21_cfr_part11 = attributes[:'is21CFRPart11']
|
378
|
+
end
|
379
|
+
|
380
|
+
if attributes.has_key?(:'isSignatureProviderEnvelope')
|
381
|
+
self.is_signature_provider_envelope = attributes[:'isSignatureProviderEnvelope']
|
382
|
+
end
|
383
|
+
|
384
|
+
if attributes.has_key?(:'lastModifiedDateTime')
|
385
|
+
self.last_modified_date_time = attributes[:'lastModifiedDateTime']
|
386
|
+
end
|
387
|
+
|
388
|
+
if attributes.has_key?(:'lockInformation')
|
389
|
+
self.lock_information = attributes[:'lockInformation']
|
390
|
+
end
|
391
|
+
|
392
|
+
if attributes.has_key?(:'messageLock')
|
393
|
+
self.message_lock = attributes[:'messageLock']
|
394
|
+
end
|
395
|
+
|
396
|
+
if attributes.has_key?(:'notification')
|
397
|
+
self.notification = attributes[:'notification']
|
398
|
+
end
|
399
|
+
|
400
|
+
if attributes.has_key?(:'notificationUri')
|
401
|
+
self.notification_uri = attributes[:'notificationUri']
|
402
|
+
end
|
403
|
+
|
404
|
+
if attributes.has_key?(:'purgeState')
|
405
|
+
self.purge_state = attributes[:'purgeState']
|
406
|
+
end
|
407
|
+
|
408
|
+
if attributes.has_key?(:'recipients')
|
409
|
+
self.recipients = attributes[:'recipients']
|
410
|
+
end
|
411
|
+
|
412
|
+
if attributes.has_key?(:'recipientsLock')
|
413
|
+
self.recipients_lock = attributes[:'recipientsLock']
|
414
|
+
end
|
415
|
+
|
416
|
+
if attributes.has_key?(:'recipientsUri')
|
417
|
+
self.recipients_uri = attributes[:'recipientsUri']
|
418
|
+
end
|
419
|
+
|
420
|
+
if attributes.has_key?(:'sentDateTime')
|
421
|
+
self.sent_date_time = attributes[:'sentDateTime']
|
422
|
+
end
|
423
|
+
|
424
|
+
if attributes.has_key?(:'signingLocation')
|
425
|
+
self.signing_location = attributes[:'signingLocation']
|
426
|
+
end
|
427
|
+
|
428
|
+
if attributes.has_key?(:'status')
|
429
|
+
self.status = attributes[:'status']
|
430
|
+
end
|
431
|
+
|
432
|
+
if attributes.has_key?(:'statusChangedDateTime')
|
433
|
+
self.status_changed_date_time = attributes[:'statusChangedDateTime']
|
434
|
+
end
|
435
|
+
|
436
|
+
if attributes.has_key?(:'templatesUri')
|
437
|
+
self.templates_uri = attributes[:'templatesUri']
|
438
|
+
end
|
439
|
+
|
440
|
+
if attributes.has_key?(:'transactionId')
|
441
|
+
self.transaction_id = attributes[:'transactionId']
|
442
|
+
end
|
443
|
+
|
444
|
+
if attributes.has_key?(:'useDisclosure')
|
445
|
+
self.use_disclosure = attributes[:'useDisclosure']
|
446
|
+
end
|
447
|
+
|
448
|
+
if attributes.has_key?(:'voidedDateTime')
|
449
|
+
self.voided_date_time = attributes[:'voidedDateTime']
|
450
|
+
end
|
451
|
+
|
452
|
+
if attributes.has_key?(:'voidedReason')
|
453
|
+
self.voided_reason = attributes[:'voidedReason']
|
454
|
+
end
|
455
|
+
|
456
|
+
end
|
457
|
+
|
458
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
459
|
+
# @return Array for valid properies with the reasons
|
460
|
+
def list_invalid_properties
|
461
|
+
invalid_properties = Array.new
|
462
|
+
return invalid_properties
|
463
|
+
end
|
464
|
+
|
465
|
+
# Check to see if the all the properties in the model are valid
|
466
|
+
# @return true if the model is valid
|
467
|
+
def valid?
|
468
|
+
return true
|
469
|
+
end
|
470
|
+
|
471
|
+
# Checks equality by comparing each attribute.
|
472
|
+
# @param [Object] Object to be compared
|
473
|
+
def ==(o)
|
474
|
+
return true if self.equal?(o)
|
475
|
+
self.class == o.class &&
|
476
|
+
allow_markup == o.allow_markup &&
|
477
|
+
allow_reassign == o.allow_reassign &&
|
478
|
+
asynchronous == o.asynchronous &&
|
479
|
+
attachments_uri == o.attachments_uri &&
|
480
|
+
authoritative_copy == o.authoritative_copy &&
|
481
|
+
auto_navigation == o.auto_navigation &&
|
482
|
+
brand_id == o.brand_id &&
|
483
|
+
brand_lock == o.brand_lock &&
|
484
|
+
certificate_uri == o.certificate_uri &&
|
485
|
+
completed_date_time == o.completed_date_time &&
|
486
|
+
created_date_time == o.created_date_time &&
|
487
|
+
custom_fields == o.custom_fields &&
|
488
|
+
custom_fields_uri == o.custom_fields_uri &&
|
489
|
+
declined_date_time == o.declined_date_time &&
|
490
|
+
deleted_date_time == o.deleted_date_time &&
|
491
|
+
delivered_date_time == o.delivered_date_time &&
|
492
|
+
documents_combined_uri == o.documents_combined_uri &&
|
493
|
+
documents_uri == o.documents_uri &&
|
494
|
+
email_blurb == o.email_blurb &&
|
495
|
+
email_settings == o.email_settings &&
|
496
|
+
email_subject == o.email_subject &&
|
497
|
+
enable_wet_sign == o.enable_wet_sign &&
|
498
|
+
enforce_signer_visibility == o.enforce_signer_visibility &&
|
499
|
+
envelope_id == o.envelope_id &&
|
500
|
+
envelope_id_stamping == o.envelope_id_stamping &&
|
501
|
+
envelope_uri == o.envelope_uri &&
|
502
|
+
initial_sent_date_time == o.initial_sent_date_time &&
|
503
|
+
is21_cfr_part11 == o.is21_cfr_part11 &&
|
504
|
+
is_signature_provider_envelope == o.is_signature_provider_envelope &&
|
505
|
+
last_modified_date_time == o.last_modified_date_time &&
|
506
|
+
lock_information == o.lock_information &&
|
507
|
+
message_lock == o.message_lock &&
|
508
|
+
notification == o.notification &&
|
509
|
+
notification_uri == o.notification_uri &&
|
510
|
+
purge_state == o.purge_state &&
|
511
|
+
recipients == o.recipients &&
|
512
|
+
recipients_lock == o.recipients_lock &&
|
513
|
+
recipients_uri == o.recipients_uri &&
|
514
|
+
sent_date_time == o.sent_date_time &&
|
515
|
+
signing_location == o.signing_location &&
|
516
|
+
status == o.status &&
|
517
|
+
status_changed_date_time == o.status_changed_date_time &&
|
518
|
+
templates_uri == o.templates_uri &&
|
519
|
+
transaction_id == o.transaction_id &&
|
520
|
+
use_disclosure == o.use_disclosure &&
|
521
|
+
voided_date_time == o.voided_date_time &&
|
522
|
+
voided_reason == o.voided_reason
|
523
|
+
end
|
524
|
+
|
525
|
+
# @see the `==` method
|
526
|
+
# @param [Object] Object to be compared
|
527
|
+
def eql?(o)
|
528
|
+
self == o
|
529
|
+
end
|
530
|
+
|
531
|
+
# Calculates hash code according to all attributes.
|
532
|
+
# @return [Fixnum] Hash code
|
533
|
+
def hash
|
534
|
+
[allow_markup, allow_reassign, asynchronous, attachments_uri, authoritative_copy, auto_navigation, brand_id, brand_lock, certificate_uri, completed_date_time, created_date_time, custom_fields, custom_fields_uri, declined_date_time, deleted_date_time, delivered_date_time, documents_combined_uri, documents_uri, email_blurb, email_settings, email_subject, enable_wet_sign, enforce_signer_visibility, envelope_id, envelope_id_stamping, envelope_uri, initial_sent_date_time, is21_cfr_part11, is_signature_provider_envelope, last_modified_date_time, lock_information, message_lock, notification, notification_uri, purge_state, recipients, recipients_lock, recipients_uri, sent_date_time, signing_location, status, status_changed_date_time, templates_uri, transaction_id, use_disclosure, voided_date_time, voided_reason].hash
|
535
|
+
end
|
536
|
+
|
537
|
+
# Builds the object from hash
|
538
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
539
|
+
# @return [Object] Returns the model itself
|
540
|
+
def build_from_hash(attributes)
|
541
|
+
return nil unless attributes.is_a?(Hash)
|
542
|
+
self.class.swagger_types.each_pair do |key, type|
|
543
|
+
if type =~ /\AArray<(.*)>/i
|
544
|
+
# check to ensure the input is an array given that the the attribute
|
545
|
+
# is documented as an array but the input is not
|
546
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
547
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
548
|
+
end
|
549
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
550
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
551
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
552
|
+
end
|
553
|
+
|
554
|
+
self
|
555
|
+
end
|
556
|
+
|
557
|
+
# Deserializes the data based on type
|
558
|
+
# @param string type Data type
|
559
|
+
# @param string value Value to be deserialized
|
560
|
+
# @return [Object] Deserialized data
|
561
|
+
def _deserialize(type, value)
|
562
|
+
case type.to_sym
|
563
|
+
when :DateTime
|
564
|
+
DateTime.parse(value)
|
565
|
+
when :Date
|
566
|
+
Date.parse(value)
|
567
|
+
when :String
|
568
|
+
value.to_s
|
569
|
+
when :Integer
|
570
|
+
value.to_i
|
571
|
+
when :Float
|
572
|
+
value.to_f
|
573
|
+
when :BOOLEAN
|
574
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
575
|
+
true
|
576
|
+
else
|
577
|
+
false
|
578
|
+
end
|
579
|
+
when :Object
|
580
|
+
# generic object (usually a Hash), return directly
|
581
|
+
value
|
582
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
583
|
+
inner_type = Regexp.last_match[:inner_type]
|
584
|
+
value.map { |v| _deserialize(inner_type, v) }
|
585
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
586
|
+
k_type = Regexp.last_match[:k_type]
|
587
|
+
v_type = Regexp.last_match[:v_type]
|
588
|
+
{}.tap do |hash|
|
589
|
+
value.each do |k, v|
|
590
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
591
|
+
end
|
592
|
+
end
|
593
|
+
else # model
|
594
|
+
temp_model = DocuSign_eSign.const_get(type).new
|
595
|
+
temp_model.build_from_hash(value)
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
599
|
+
# Returns the string representation of the object
|
600
|
+
# @return [String] String presentation of the object
|
601
|
+
def to_s
|
602
|
+
to_hash.to_s
|
603
|
+
end
|
604
|
+
|
605
|
+
# to_body is an alias to to_hash (backward compatibility)
|
606
|
+
# @return [Hash] Returns the object in the form of hash
|
607
|
+
def to_body
|
608
|
+
to_hash
|
609
|
+
end
|
610
|
+
|
611
|
+
# Returns the object in the form of hash
|
612
|
+
# @return [Hash] Returns the object in the form of hash
|
613
|
+
def to_hash
|
614
|
+
hash = {}
|
615
|
+
self.class.attribute_map.each_pair do |attr, param|
|
616
|
+
value = self.send(attr)
|
617
|
+
next if value.nil?
|
618
|
+
hash[param] = _to_hash(value)
|
619
|
+
end
|
620
|
+
hash
|
621
|
+
end
|
622
|
+
|
623
|
+
# Outputs non-array value in the form of hash
|
624
|
+
# For object, use to_hash. Otherwise, just return the value
|
625
|
+
# @param [Object] value Any valid value
|
626
|
+
# @return [Hash] Returns the value in the form of hash
|
627
|
+
def _to_hash(value)
|
628
|
+
if value.is_a?(Array)
|
629
|
+
value.compact.map{ |v| _to_hash(v) }
|
630
|
+
elsif value.is_a?(Hash)
|
631
|
+
{}.tap do |hash|
|
632
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
633
|
+
end
|
634
|
+
elsif value.respond_to? :to_hash
|
635
|
+
value.to_hash
|
636
|
+
else
|
637
|
+
value
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
641
|
+
end
|
642
|
+
|
643
|
+
end
|