lib/docusign_esign/models/decline.rb in docusign_esign-1.0.2 vs lib/docusign_esign/models/decline.rb in docusign_esign-2.0.0

- old
+ new

@@ -30,14 +30,14 @@ attr_accessor :anchor_string # Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. attr_accessor :anchor_units - # Specifies the X axis location of the tab, in achorUnits, relative to the anchorString. + # Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. attr_accessor :anchor_x_offset - # Specifies the Y axis location of the tab, in achorUnits, relative to the anchorString. + # Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. attr_accessor :anchor_y_offset # When set to **true**, the information in the tab is bold. attr_accessor :bold @@ -85,10 +85,13 @@ attr_accessor :recipient_id # 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 :tab_group_labels + # The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. attr_accessor :tab_id # The label string associated with the tab. attr_accessor :tab_label @@ -100,10 +103,13 @@ attr_accessor :template_locked # When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. attr_accessor :template_required + # + attr_accessor :tooltip + # When set to **true**, the information in the tab is underlined. attr_accessor :underline # Width of the tab in pixels. attr_accessor :width @@ -141,15 +147,17 @@ :'italic' => :'italic', :'merge_field' => :'mergeField', :'page_number' => :'pageNumber', :'recipient_id' => :'recipientId', :'status' => :'status', + :'tab_group_labels' => :'tabGroupLabels', :'tab_id' => :'tabId', :'tab_label' => :'tabLabel', :'tab_order' => :'tabOrder', :'template_locked' => :'templateLocked', :'template_required' => :'templateRequired', + :'tooltip' => :'tooltip', :'underline' => :'underline', :'width' => :'width', :'x_position' => :'xPosition', :'y_position' => :'yPosition' } @@ -181,15 +189,17 @@ :'italic' => :'String', :'merge_field' => :'MergeField', :'page_number' => :'String', :'recipient_id' => :'String', :'status' => :'String', + :'tab_group_labels' => :'Array<String>', :'tab_id' => :'String', :'tab_label' => :'String', :'tab_order' => :'String', :'template_locked' => :'String', :'template_required' => :'String', + :'tooltip' => :'String', :'underline' => :'String', :'width' => :'Integer', :'x_position' => :'String', :'y_position' => :'String' } @@ -301,10 +311,16 @@ if attributes.has_key?(:'status') self.status = attributes[:'status'] end + if attributes.has_key?(:'tabGroupLabels') + if (value = attributes[:'tabGroupLabels']).is_a?(Array) + self.tab_group_labels = value + end + end + if attributes.has_key?(:'tabId') self.tab_id = attributes[:'tabId'] end if attributes.has_key?(:'tabLabel') @@ -321,10 +337,14 @@ if attributes.has_key?(:'templateRequired') self.template_required = attributes[:'templateRequired'] end + if attributes.has_key?(:'tooltip') + self.tooltip = attributes[:'tooltip'] + end + if attributes.has_key?(:'underline') self.underline = attributes[:'underline'] end if attributes.has_key?(:'width') @@ -382,15 +402,17 @@ italic == o.italic && merge_field == o.merge_field && page_number == o.page_number && recipient_id == o.recipient_id && status == o.status && + tab_group_labels == o.tab_group_labels && tab_id == o.tab_id && tab_label == o.tab_label && tab_order == o.tab_order && template_locked == o.template_locked && template_required == o.template_required && + tooltip == o.tooltip && underline == o.underline && width == o.width && x_position == o.x_position && y_position == o.y_position end @@ -402,10 +424,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [anchor_case_sensitive, anchor_horizontal_alignment, anchor_ignore_if_not_present, anchor_match_whole_word, anchor_string, anchor_units, anchor_x_offset, anchor_y_offset, bold, button_text, conditional_parent_label, conditional_parent_value, custom_tab_id, decline_reason, document_id, error_details, font, font_color, font_size, height, italic, merge_field, page_number, recipient_id, status, tab_id, tab_label, tab_order, template_locked, template_required, underline, width, x_position, y_position].hash + [anchor_case_sensitive, anchor_horizontal_alignment, anchor_ignore_if_not_present, anchor_match_whole_word, anchor_string, anchor_units, anchor_x_offset, anchor_y_offset, bold, button_text, conditional_parent_label, conditional_parent_value, custom_tab_id, decline_reason, document_id, error_details, font, font_color, font_size, height, italic, merge_field, page_number, recipient_id, status, tab_group_labels, tab_id, tab_label, tab_order, template_locked, template_required, tooltip, underline, width, x_position, y_position].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself