lib/docusign_esign/models/envelope.rb in docusign_esign-3.4.0 vs lib/docusign_esign/models/envelope.rb in docusign_esign-3.5.0.rc1
- old
+ new
@@ -229,10 +229,12 @@
attr_accessor :voided_date_time
# The reason the envelope or template was voided.
attr_accessor :voided_reason
+ attr_accessor :workflow
+
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'access_control_list_base64' => :'accessControlListBase64',
:'allow_comments' => :'allowComments',
@@ -306,11 +308,12 @@
:'status_date_time' => :'statusDateTime',
:'templates_uri' => :'templatesUri',
:'transaction_id' => :'transactionId',
:'use_disclosure' => :'useDisclosure',
:'voided_date_time' => :'voidedDateTime',
- :'voided_reason' => :'voidedReason'
+ :'voided_reason' => :'voidedReason',
+ :'workflow' => :'workflow'
}
end
# Attribute type mapping.
def self.swagger_types
@@ -387,11 +390,12 @@
:'status_date_time' => :'String',
:'templates_uri' => :'String',
:'transaction_id' => :'String',
:'use_disclosure' => :'String',
:'voided_date_time' => :'String',
- :'voided_reason' => :'String'
+ :'voided_reason' => :'String',
+ :'workflow' => :'Workflow'
}
end
# Initializes the object
# @param [Hash] attributes Model attributes in the form of hash
@@ -704,10 +708,14 @@
end
if attributes.has_key?(:'voidedReason')
self.voided_reason = attributes[:'voidedReason']
end
+
+ if attributes.has_key?(:'workflow')
+ self.workflow = attributes[:'workflow']
+ end
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properties with the reasons
def list_invalid_properties
@@ -798,11 +806,12 @@
status_date_time == o.status_date_time &&
templates_uri == o.templates_uri &&
transaction_id == o.transaction_id &&
use_disclosure == o.use_disclosure &&
voided_date_time == o.voided_date_time &&
- voided_reason == o.voided_reason
+ voided_reason == o.voided_reason &&
+ workflow == o.workflow
end
# @see the `==` method
# @param [Object] Object to be compared
def eql?(o)
@@ -810,10 +819,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, 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].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, 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
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself