lib/docusign_esign/models/email.rb in docusign_esign-3.0.0 vs lib/docusign_esign/models/email.rb in docusign_esign-3.1.0.pre.rc1
- old
+ new
@@ -12,10 +12,15 @@
require 'date'
module DocuSign_eSign
class Email
+ #
+ attr_accessor :anchor_allow_white_space_in_characters
+
+ attr_accessor :anchor_allow_white_space_in_characters_metadata
+
# When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.
attr_accessor :anchor_case_sensitive
attr_accessor :anchor_case_sensitive_metadata
@@ -201,10 +206,12 @@
# When set to **true**, this custom tab is shared.
attr_accessor :shared
attr_accessor :shared_metadata
+ attr_accessor :smart_contract_information
+
# 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
attr_accessor :status_metadata
@@ -285,10 +292,12 @@
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
+ :'anchor_allow_white_space_in_characters' => :'anchorAllowWhiteSpaceInCharacters',
+ :'anchor_allow_white_space_in_characters_metadata' => :'anchorAllowWhiteSpaceInCharactersMetadata',
:'anchor_case_sensitive' => :'anchorCaseSensitive',
:'anchor_case_sensitive_metadata' => :'anchorCaseSensitiveMetadata',
:'anchor_horizontal_alignment' => :'anchorHorizontalAlignment',
:'anchor_horizontal_alignment_metadata' => :'anchorHorizontalAlignmentMetadata',
:'anchor_ignore_if_not_present' => :'anchorIgnoreIfNotPresent',
@@ -361,10 +370,11 @@
:'require_initial_on_shared_change_metadata' => :'requireInitialOnSharedChangeMetadata',
:'sender_required' => :'senderRequired',
:'sender_required_metadata' => :'senderRequiredMetadata',
:'shared' => :'shared',
:'shared_metadata' => :'sharedMetadata',
+ :'smart_contract_information' => :'smartContractInformation',
:'status' => :'status',
:'status_metadata' => :'statusMetadata',
:'tab_group_labels' => :'tabGroupLabels',
:'tab_group_labels_metadata' => :'tabGroupLabelsMetadata',
:'tab_id' => :'tabId',
@@ -399,10 +409,12 @@
end
# Attribute type mapping.
def self.swagger_types
{
+ :'anchor_allow_white_space_in_characters' => :'String',
+ :'anchor_allow_white_space_in_characters_metadata' => :'PropertyMetadata',
:'anchor_case_sensitive' => :'String',
:'anchor_case_sensitive_metadata' => :'PropertyMetadata',
:'anchor_horizontal_alignment' => :'String',
:'anchor_horizontal_alignment_metadata' => :'PropertyMetadata',
:'anchor_ignore_if_not_present' => :'String',
@@ -475,10 +487,11 @@
:'require_initial_on_shared_change_metadata' => :'PropertyMetadata',
:'sender_required' => :'String',
:'sender_required_metadata' => :'PropertyMetadata',
:'shared' => :'String',
:'shared_metadata' => :'PropertyMetadata',
+ :'smart_contract_information' => :'SmartContractInformation',
:'status' => :'String',
:'status_metadata' => :'PropertyMetadata',
:'tab_group_labels' => :'Array<String>',
:'tab_group_labels_metadata' => :'PropertyMetadata',
:'tab_id' => :'String',
@@ -518,10 +531,18 @@
return unless attributes.is_a?(Hash)
# convert string to symbol for hash key
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
+ if attributes.has_key?(:'anchorAllowWhiteSpaceInCharacters')
+ self.anchor_allow_white_space_in_characters = attributes[:'anchorAllowWhiteSpaceInCharacters']
+ end
+
+ if attributes.has_key?(:'anchorAllowWhiteSpaceInCharactersMetadata')
+ self.anchor_allow_white_space_in_characters_metadata = attributes[:'anchorAllowWhiteSpaceInCharactersMetadata']
+ end
+
if attributes.has_key?(:'anchorCaseSensitive')
self.anchor_case_sensitive = attributes[:'anchorCaseSensitive']
end
if attributes.has_key?(:'anchorCaseSensitiveMetadata')
@@ -822,10 +843,14 @@
if attributes.has_key?(:'sharedMetadata')
self.shared_metadata = attributes[:'sharedMetadata']
end
+ if attributes.has_key?(:'smartContractInformation')
+ self.smart_contract_information = attributes[:'smartContractInformation']
+ end
+
if attributes.has_key?(:'status')
self.status = attributes[:'status']
end
if attributes.has_key?(:'statusMetadata')
@@ -972,10 +997,12 @@
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
+ anchor_allow_white_space_in_characters == o.anchor_allow_white_space_in_characters &&
+ anchor_allow_white_space_in_characters_metadata == o.anchor_allow_white_space_in_characters_metadata &&
anchor_case_sensitive == o.anchor_case_sensitive &&
anchor_case_sensitive_metadata == o.anchor_case_sensitive_metadata &&
anchor_horizontal_alignment == o.anchor_horizontal_alignment &&
anchor_horizontal_alignment_metadata == o.anchor_horizontal_alignment_metadata &&
anchor_ignore_if_not_present == o.anchor_ignore_if_not_present &&
@@ -1048,10 +1075,11 @@
require_initial_on_shared_change_metadata == o.require_initial_on_shared_change_metadata &&
sender_required == o.sender_required &&
sender_required_metadata == o.sender_required_metadata &&
shared == o.shared &&
shared_metadata == o.shared_metadata &&
+ smart_contract_information == o.smart_contract_information &&
status == o.status &&
status_metadata == o.status_metadata &&
tab_group_labels == o.tab_group_labels &&
tab_group_labels_metadata == o.tab_group_labels_metadata &&
tab_id == o.tab_id &&
@@ -1091,10 +1119,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [anchor_case_sensitive, anchor_case_sensitive_metadata, anchor_horizontal_alignment, anchor_horizontal_alignment_metadata, anchor_ignore_if_not_present, anchor_ignore_if_not_present_metadata, anchor_match_whole_word, anchor_match_whole_word_metadata, anchor_string, anchor_string_metadata, anchor_tab_processor_version, anchor_tab_processor_version_metadata, anchor_units, anchor_units_metadata, anchor_x_offset, anchor_x_offset_metadata, anchor_y_offset, anchor_y_offset_metadata, bold, bold_metadata, conceal_value_on_document, conceal_value_on_document_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, disable_auto_size, disable_auto_size_metadata, document_id, document_id_metadata, error_details, font, font_color, font_color_metadata, font_metadata, font_size, font_size_metadata, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, height, height_metadata, italic, italic_metadata, locale_policy, locked, locked_metadata, max_length, max_length_metadata, merge_field, merge_field_xml, name, name_metadata, original_value, original_value_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, require_all, require_all_metadata, required, required_metadata, require_initial_on_shared_change, require_initial_on_shared_change_metadata, sender_required, sender_required_metadata, shared, shared_metadata, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label, tab_label_metadata, tab_order, tab_order_metadata, tab_type, tab_type_metadata, template_locked, template_locked_metadata, template_required, template_required_metadata, tooltip, tool_tip_metadata, underline, underline_metadata, validation_message, validation_message_metadata, validation_pattern, validation_pattern_metadata, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
+ [anchor_allow_white_space_in_characters, anchor_allow_white_space_in_characters_metadata, anchor_case_sensitive, anchor_case_sensitive_metadata, anchor_horizontal_alignment, anchor_horizontal_alignment_metadata, anchor_ignore_if_not_present, anchor_ignore_if_not_present_metadata, anchor_match_whole_word, anchor_match_whole_word_metadata, anchor_string, anchor_string_metadata, anchor_tab_processor_version, anchor_tab_processor_version_metadata, anchor_units, anchor_units_metadata, anchor_x_offset, anchor_x_offset_metadata, anchor_y_offset, anchor_y_offset_metadata, bold, bold_metadata, conceal_value_on_document, conceal_value_on_document_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, disable_auto_size, disable_auto_size_metadata, document_id, document_id_metadata, error_details, font, font_color, font_color_metadata, font_metadata, font_size, font_size_metadata, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, height, height_metadata, italic, italic_metadata, locale_policy, locked, locked_metadata, max_length, max_length_metadata, merge_field, merge_field_xml, name, name_metadata, original_value, original_value_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, require_all, require_all_metadata, required, required_metadata, require_initial_on_shared_change, require_initial_on_shared_change_metadata, sender_required, sender_required_metadata, shared, shared_metadata, smart_contract_information, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label, tab_label_metadata, tab_order, tab_order_metadata, tab_type, tab_type_metadata, template_locked, template_locked_metadata, template_required, template_required_metadata, tooltip, tool_tip_metadata, underline, underline_metadata, validation_message, validation_message_metadata, validation_pattern, validation_pattern_metadata, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself