lib/docusign_esign/models/envelope.rb in docusign_esign-3.14.0.rc1 vs lib/docusign_esign/models/envelope.rb in docusign_esign-3.14.0
- old
+ new
@@ -105,10 +105,12 @@
attr_accessor :enforce_signer_visibility
#
attr_accessor :envelope_attachments
+ attr_accessor :envelope_custom_metadata
+
#
attr_accessor :envelope_documents
# The envelope ID of the envelope status that failed to post.
attr_accessor :envelope_id
@@ -268,10 +270,11 @@
:'email_settings' => :'emailSettings',
:'email_subject' => :'emailSubject',
:'enable_wet_sign' => :'enableWetSign',
:'enforce_signer_visibility' => :'enforceSignerVisibility',
:'envelope_attachments' => :'envelopeAttachments',
+ :'envelope_custom_metadata' => :'envelopeCustomMetadata',
:'envelope_documents' => :'envelopeDocuments',
:'envelope_id' => :'envelopeId',
:'envelope_id_stamping' => :'envelopeIdStamping',
:'envelope_location' => :'envelopeLocation',
:'envelope_metadata' => :'envelopeMetadata',
@@ -351,10 +354,11 @@
:'email_settings' => :'EmailSettings',
:'email_subject' => :'String',
:'enable_wet_sign' => :'String',
:'enforce_signer_visibility' => :'String',
:'envelope_attachments' => :'Array<Attachment>',
+ :'envelope_custom_metadata' => :'EnvelopeCustomMetadata',
:'envelope_documents' => :'Array<EnvelopeDocument>',
:'envelope_id' => :'String',
:'envelope_id_stamping' => :'String',
:'envelope_location' => :'String',
:'envelope_metadata' => :'EnvelopeMetadata',
@@ -537,10 +541,14 @@
if (value = attributes[:'envelopeAttachments']).is_a?(Array)
self.envelope_attachments = value
end
end
+ if attributes.has_key?(:'envelopeCustomMetadata')
+ self.envelope_custom_metadata = attributes[:'envelopeCustomMetadata']
+ end
+
if attributes.has_key?(:'envelopeDocuments')
if (value = attributes[:'envelopeDocuments']).is_a?(Array)
self.envelope_documents = value
end
end
@@ -772,10 +780,11 @@
email_settings == o.email_settings &&
email_subject == o.email_subject &&
enable_wet_sign == o.enable_wet_sign &&
enforce_signer_visibility == o.enforce_signer_visibility &&
envelope_attachments == o.envelope_attachments &&
+ envelope_custom_metadata == o.envelope_custom_metadata &&
envelope_documents == o.envelope_documents &&
envelope_id == o.envelope_id &&
envelope_id_stamping == o.envelope_id_stamping &&
envelope_location == o.envelope_location &&
envelope_metadata == o.envelope_metadata &&
@@ -828,10 +837,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [access_control_list_base64, allow_comments, allow_markup, allow_reassign, allow_view_history, any_signer, asynchronous, attachments_uri, authoritative_copy, authoritative_copy_default, auto_navigation, brand_id, brand_lock, certificate_uri, completed_date_time, copy_recipient_data, created_date_time, custom_fields, custom_fields_uri, declined_date_time, deleted_date_time, delivered_date_time, disable_responsive_document, document_base64, documents_combined_uri, documents_uri, email_blurb, email_settings, email_subject, enable_wet_sign, enforce_signer_visibility, envelope_attachments, envelope_documents, envelope_id, envelope_id_stamping, envelope_location, envelope_metadata, envelope_uri, expire_after, expire_date_time, expire_enabled, external_envelope_id, folders, has_comments, has_form_data_changed, has_wav_file, holder, initial_sent_date_time, is21_cfr_part11, is_dynamic_envelope, is_signature_provider_envelope, last_modified_date_time, location, lock_information, message_lock, notification, notification_uri, power_form, purge_completed_date, purge_request_date, purge_state, recipients, recipients_lock, recipients_uri, sender, sent_date_time, signer_can_sign_on_mobile, signing_location, status, status_changed_date_time, status_date_time, templates_uri, transaction_id, use_disclosure, voided_date_time, voided_reason, workflow].hash
+ [access_control_list_base64, allow_comments, allow_markup, allow_reassign, allow_view_history, any_signer, asynchronous, attachments_uri, authoritative_copy, authoritative_copy_default, auto_navigation, brand_id, brand_lock, certificate_uri, completed_date_time, copy_recipient_data, created_date_time, custom_fields, custom_fields_uri, declined_date_time, deleted_date_time, delivered_date_time, disable_responsive_document, document_base64, documents_combined_uri, documents_uri, email_blurb, email_settings, email_subject, enable_wet_sign, enforce_signer_visibility, envelope_attachments, envelope_custom_metadata, envelope_documents, envelope_id, envelope_id_stamping, envelope_location, envelope_metadata, envelope_uri, expire_after, expire_date_time, expire_enabled, external_envelope_id, folders, has_comments, has_form_data_changed, has_wav_file, holder, initial_sent_date_time, is21_cfr_part11, is_dynamic_envelope, is_signature_provider_envelope, last_modified_date_time, location, lock_information, message_lock, notification, notification_uri, power_form, purge_completed_date, purge_request_date, purge_state, recipients, recipients_lock, recipients_uri, sender, sent_date_time, signer_can_sign_on_mobile, signing_location, status, status_changed_date_time, status_date_time, templates_uri, transaction_id, use_disclosure, voided_date_time, voided_reason, workflow].hash
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself