lib/docusign_esign/models/envelope.rb in docusign_esign-1.0.2 vs lib/docusign_esign/models/envelope.rb in docusign_esign-2.0.0
- old
+ new
@@ -18,20 +18,26 @@
attr_accessor :allow_markup
# When set to **true**, the recipient can redirect an envelope to a more appropriate recipient.
attr_accessor :allow_reassign
+ #
+ attr_accessor :allow_view_history
+
# 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.
attr_accessor :asynchronous
#
attr_accessor :attachments_uri
# Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.
attr_accessor :authoritative_copy
#
+ attr_accessor :authoritative_copy_default
+
+ #
attr_accessor :auto_navigation
#
attr_accessor :brand_id
@@ -124,10 +130,13 @@
attr_accessor :recipients_uri
# The date and time the envelope was sent.
attr_accessor :sent_date_time
+ #
+ attr_accessor :signer_can_sign_on_mobile
+
# Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.
attr_accessor :signing_location
# 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.
attr_accessor :status
@@ -139,11 +148,11 @@
attr_accessor :templates_uri
# 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.
attr_accessor :transaction_id
- # 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.
+ # 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.
attr_accessor :use_disclosure
# The date and time the envelope or template was voided.
attr_accessor :voided_date_time
@@ -154,13 +163,15 @@
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'allow_markup' => :'allowMarkup',
:'allow_reassign' => :'allowReassign',
+ :'allow_view_history' => :'allowViewHistory',
:'asynchronous' => :'asynchronous',
:'attachments_uri' => :'attachmentsUri',
:'authoritative_copy' => :'authoritativeCopy',
+ :'authoritative_copy_default' => :'authoritativeCopyDefault',
:'auto_navigation' => :'autoNavigation',
:'brand_id' => :'brandId',
:'brand_lock' => :'brandLock',
:'certificate_uri' => :'certificateUri',
:'completed_date_time' => :'completedDateTime',
@@ -191,10 +202,11 @@
:'purge_state' => :'purgeState',
:'recipients' => :'recipients',
:'recipients_lock' => :'recipientsLock',
:'recipients_uri' => :'recipientsUri',
:'sent_date_time' => :'sentDateTime',
+ :'signer_can_sign_on_mobile' => :'signerCanSignOnMobile',
:'signing_location' => :'signingLocation',
:'status' => :'status',
:'status_changed_date_time' => :'statusChangedDateTime',
:'templates_uri' => :'templatesUri',
:'transaction_id' => :'transactionId',
@@ -207,13 +219,15 @@
# Attribute type mapping.
def self.swagger_types
{
:'allow_markup' => :'String',
:'allow_reassign' => :'String',
+ :'allow_view_history' => :'String',
:'asynchronous' => :'String',
:'attachments_uri' => :'String',
:'authoritative_copy' => :'String',
+ :'authoritative_copy_default' => :'String',
:'auto_navigation' => :'String',
:'brand_id' => :'String',
:'brand_lock' => :'String',
:'certificate_uri' => :'String',
:'completed_date_time' => :'String',
@@ -244,10 +258,11 @@
:'purge_state' => :'String',
:'recipients' => :'Recipients',
:'recipients_lock' => :'String',
:'recipients_uri' => :'String',
:'sent_date_time' => :'String',
+ :'signer_can_sign_on_mobile' => :'String',
:'signing_location' => :'String',
:'status' => :'String',
:'status_changed_date_time' => :'String',
:'templates_uri' => :'String',
:'transaction_id' => :'String',
@@ -271,10 +286,14 @@
if attributes.has_key?(:'allowReassign')
self.allow_reassign = attributes[:'allowReassign']
end
+ if attributes.has_key?(:'allowViewHistory')
+ self.allow_view_history = attributes[:'allowViewHistory']
+ end
+
if attributes.has_key?(:'asynchronous')
self.asynchronous = attributes[:'asynchronous']
end
if attributes.has_key?(:'attachmentsUri')
@@ -283,10 +302,14 @@
if attributes.has_key?(:'authoritativeCopy')
self.authoritative_copy = attributes[:'authoritativeCopy']
end
+ if attributes.has_key?(:'authoritativeCopyDefault')
+ self.authoritative_copy_default = attributes[:'authoritativeCopyDefault']
+ end
+
if attributes.has_key?(:'autoNavigation')
self.auto_navigation = attributes[:'autoNavigation']
end
if attributes.has_key?(:'brandId')
@@ -419,10 +442,14 @@
if attributes.has_key?(:'sentDateTime')
self.sent_date_time = attributes[:'sentDateTime']
end
+ if attributes.has_key?(:'signerCanSignOnMobile')
+ self.signer_can_sign_on_mobile = attributes[:'signerCanSignOnMobile']
+ end
+
if attributes.has_key?(:'signingLocation')
self.signing_location = attributes[:'signingLocation']
end
if attributes.has_key?(:'status')
@@ -473,13 +500,15 @@
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
allow_markup == o.allow_markup &&
allow_reassign == o.allow_reassign &&
+ allow_view_history == o.allow_view_history &&
asynchronous == o.asynchronous &&
attachments_uri == o.attachments_uri &&
authoritative_copy == o.authoritative_copy &&
+ authoritative_copy_default == o.authoritative_copy_default &&
auto_navigation == o.auto_navigation &&
brand_id == o.brand_id &&
brand_lock == o.brand_lock &&
certificate_uri == o.certificate_uri &&
completed_date_time == o.completed_date_time &&
@@ -510,10 +539,11 @@
purge_state == o.purge_state &&
recipients == o.recipients &&
recipients_lock == o.recipients_lock &&
recipients_uri == o.recipients_uri &&
sent_date_time == o.sent_date_time &&
+ signer_can_sign_on_mobile == o.signer_can_sign_on_mobile &&
signing_location == o.signing_location &&
status == o.status &&
status_changed_date_time == o.status_changed_date_time &&
templates_uri == o.templates_uri &&
transaction_id == o.transaction_id &&
@@ -529,10 +559,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [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
+ [allow_markup, allow_reassign, allow_view_history, asynchronous, attachments_uri, authoritative_copy, authoritative_copy_default, 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, signer_can_sign_on_mobile, signing_location, status, status_changed_date_time, templates_uri, transaction_id, use_disclosure, voided_date_time, voided_reason].hash
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself