lib/docusign_esign/models/document.rb in docusign_esign-3.1.0.rc2 vs lib/docusign_esign/models/document.rb in docusign_esign-3.2.0.rc1

- old
+ new

@@ -24,13 +24,10 @@ attr_accessor :document_base64 # attr_accessor :document_fields - # - attr_accessor :document_group - # Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. attr_accessor :document_id # When set to **true**, the document is been already encrypted by the sender for use with the DocuSign Key Manager Security Appliance. attr_accessor :encrypted_with_key_manager @@ -89,10 +86,13 @@ attr_accessor :remote_url # attr_accessor :signer_must_acknowledge + # + attr_accessor :signer_must_acknowledge_use_account_default + attr_accessor :tabs # When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. attr_accessor :template_locked @@ -111,11 +111,10 @@ { :'apply_anchor_tabs' => :'applyAnchorTabs', :'display' => :'display', :'document_base64' => :'documentBase64', :'document_fields' => :'documentFields', - :'document_group' => :'documentGroup', :'document_id' => :'documentId', :'encrypted_with_key_manager' => :'encryptedWithKeyManager', :'file_extension' => :'fileExtension', :'file_format_hint' => :'fileFormatHint', :'html_definition' => :'htmlDefinition', @@ -133,10 +132,11 @@ :'pdf_fields_data' => :'pdfFieldsData', :'pdf_form_field_option' => :'pdfFormFieldOption', :'pdf_widgets_base64' => :'pdfWidgetsBase64', :'remote_url' => :'remoteUrl', :'signer_must_acknowledge' => :'signerMustAcknowledge', + :'signer_must_acknowledge_use_account_default' => :'signerMustAcknowledgeUseAccountDefault', :'tabs' => :'tabs', :'template_locked' => :'templateLocked', :'template_required' => :'templateRequired', :'transform_pdf_fields' => :'transformPdfFields', :'uri' => :'uri' @@ -148,11 +148,10 @@ { :'apply_anchor_tabs' => :'String', :'display' => :'String', :'document_base64' => :'String', :'document_fields' => :'Array<NameValue>', - :'document_group' => :'String', :'document_id' => :'String', :'encrypted_with_key_manager' => :'String', :'file_extension' => :'String', :'file_format_hint' => :'String', :'html_definition' => :'DocumentHtmlDefinition', @@ -170,10 +169,11 @@ :'pdf_fields_data' => :'String', :'pdf_form_field_option' => :'String', :'pdf_widgets_base64' => :'String', :'remote_url' => :'String', :'signer_must_acknowledge' => :'String', + :'signer_must_acknowledge_use_account_default' => :'BOOLEAN', :'tabs' => :'Tabs', :'template_locked' => :'String', :'template_required' => :'String', :'transform_pdf_fields' => :'String', :'uri' => :'String' @@ -204,14 +204,10 @@ if (value = attributes[:'documentFields']).is_a?(Array) self.document_fields = value end end - if attributes.has_key?(:'documentGroup') - self.document_group = attributes[:'documentGroup'] - end - if attributes.has_key?(:'documentId') self.document_id = attributes[:'documentId'] end if attributes.has_key?(:'encryptedWithKeyManager') @@ -298,10 +294,14 @@ if attributes.has_key?(:'signerMustAcknowledge') self.signer_must_acknowledge = attributes[:'signerMustAcknowledge'] end + if attributes.has_key?(:'signerMustAcknowledgeUseAccountDefault') + self.signer_must_acknowledge_use_account_default = attributes[:'signerMustAcknowledgeUseAccountDefault'] + end + if attributes.has_key?(:'tabs') self.tabs = attributes[:'tabs'] end if attributes.has_key?(:'templateLocked') @@ -342,11 +342,10 @@ self.class == o.class && apply_anchor_tabs == o.apply_anchor_tabs && display == o.display && document_base64 == o.document_base64 && document_fields == o.document_fields && - document_group == o.document_group && document_id == o.document_id && encrypted_with_key_manager == o.encrypted_with_key_manager && file_extension == o.file_extension && file_format_hint == o.file_format_hint && html_definition == o.html_definition && @@ -364,10 +363,11 @@ pdf_fields_data == o.pdf_fields_data && pdf_form_field_option == o.pdf_form_field_option && pdf_widgets_base64 == o.pdf_widgets_base64 && remote_url == o.remote_url && signer_must_acknowledge == o.signer_must_acknowledge && + signer_must_acknowledge_use_account_default == o.signer_must_acknowledge_use_account_default && tabs == o.tabs && template_locked == o.template_locked && template_required == o.template_required && transform_pdf_fields == o.transform_pdf_fields && uri == o.uri @@ -380,10 +380,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [apply_anchor_tabs, display, document_base64, document_fields, document_group, document_id, encrypted_with_key_manager, file_extension, file_format_hint, html_definition, include_in_download, is_dynamic_xfa, is_static_xfa, match_boxes, name, ocr_requests, order, page_count, pages, page_sizes, password, pdf_fields_data, pdf_form_field_option, pdf_widgets_base64, remote_url, signer_must_acknowledge, tabs, template_locked, template_required, transform_pdf_fields, uri].hash + [apply_anchor_tabs, display, document_base64, document_fields, document_id, encrypted_with_key_manager, file_extension, file_format_hint, html_definition, include_in_download, is_dynamic_xfa, is_static_xfa, match_boxes, name, ocr_requests, order, page_count, pages, page_sizes, password, pdf_fields_data, pdf_form_field_option, pdf_widgets_base64, remote_url, signer_must_acknowledge, signer_must_acknowledge_use_account_default, tabs, template_locked, template_required, transform_pdf_fields, uri].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself