docusign_esign 3.16.0 → 3.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/lib/docusign_esign/api/accounts_api.rb +15 -66
  4. data/lib/docusign_esign/api/envelopes_api.rb +6 -6
  5. data/lib/docusign_esign/client/api_client.rb +1 -1
  6. data/lib/docusign_esign/models/account_role_settings.rb +20 -1
  7. data/lib/docusign_esign/models/account_settings_information.rb +82 -3
  8. data/lib/docusign_esign/models/account_ui_settings.rb +13 -13
  9. data/lib/docusign_esign/models/approve.rb +20 -1
  10. data/lib/docusign_esign/models/billing_invoices_summary.rb +21 -1
  11. data/lib/docusign_esign/models/billing_plan_information.rb +21 -1
  12. data/lib/docusign_esign/models/bulk_send_batch_status.rb +11 -1
  13. data/lib/docusign_esign/models/bulk_send_envelopes_info.rb +101 -1
  14. data/lib/docusign_esign/models/bulk_send_error_status.rb +11 -1
  15. data/lib/docusign_esign/models/checkbox.rb +20 -1
  16. data/lib/docusign_esign/models/comment_thread.rb +20 -1
  17. data/lib/docusign_esign/models/commission_county.rb +20 -1
  18. data/lib/docusign_esign/models/commission_expiration.rb +20 -1
  19. data/lib/docusign_esign/models/commission_number.rb +20 -1
  20. data/lib/docusign_esign/models/commission_state.rb +20 -1
  21. data/lib/docusign_esign/models/company.rb +20 -1
  22. data/lib/docusign_esign/models/connect_custom_configuration.rb +23 -1
  23. data/lib/docusign_esign/models/currency.rb +20 -1
  24. data/lib/docusign_esign/models/date.rb +20 -1
  25. data/lib/docusign_esign/models/date_signed.rb +20 -1
  26. data/lib/docusign_esign/models/decline.rb +20 -1
  27. data/lib/docusign_esign/models/draw.rb +20 -1
  28. data/lib/docusign_esign/models/email.rb +20 -1
  29. data/lib/docusign_esign/models/email_address.rb +20 -1
  30. data/lib/docusign_esign/models/envelope_id.rb +20 -1
  31. data/lib/docusign_esign/models/first_name.rb +20 -1
  32. data/lib/docusign_esign/models/formula_tab.rb +20 -1
  33. data/lib/docusign_esign/models/full_name.rb +20 -1
  34. data/lib/docusign_esign/models/id_evidence_resource_token.rb +194 -0
  35. data/lib/docusign_esign/models/id_evidence_view_link.rb +184 -0
  36. data/lib/docusign_esign/models/initial_here.rb +20 -1
  37. data/lib/docusign_esign/models/last_name.rb +20 -1
  38. data/lib/docusign_esign/models/list.rb +20 -1
  39. data/lib/docusign_esign/models/new_account_definition.rb +21 -1
  40. data/lib/docusign_esign/models/notarize.rb +20 -1
  41. data/lib/docusign_esign/models/notary_seal.rb +20 -1
  42. data/lib/docusign_esign/models/note.rb +20 -1
  43. data/lib/docusign_esign/models/number.rb +20 -1
  44. data/lib/docusign_esign/models/participant.rb +896 -0
  45. data/lib/docusign_esign/models/phone_number.rb +20 -1
  46. data/lib/docusign_esign/models/poly_line_overlay.rb +20 -1
  47. data/lib/docusign_esign/models/radio.rb +20 -1
  48. data/lib/docusign_esign/models/recipient_token_client_ur_ls.rb +102 -2
  49. data/lib/docusign_esign/models/recipients.rb +13 -1
  50. data/lib/docusign_esign/models/sender_company.rb +20 -1
  51. data/lib/docusign_esign/models/sender_name.rb +20 -1
  52. data/lib/docusign_esign/models/sign_here.rb +20 -1
  53. data/lib/docusign_esign/models/signer_attachment.rb +20 -1
  54. data/lib/docusign_esign/models/smart_section.rb +20 -1
  55. data/lib/docusign_esign/models/ssn.rb +20 -1
  56. data/lib/docusign_esign/models/tab_group.rb +20 -1
  57. data/lib/docusign_esign/models/template_recipients.rb +13 -1
  58. data/lib/docusign_esign/models/text.rb +20 -1
  59. data/lib/docusign_esign/models/title.rb +20 -1
  60. data/lib/docusign_esign/models/user_settings_information.rb +20 -1
  61. data/lib/docusign_esign/models/view.rb +20 -1
  62. data/lib/docusign_esign/models/zip.rb +20 -1
  63. data/lib/docusign_esign/version.rb +1 -1
  64. data/lib/docusign_esign.rb +3 -3
  65. data/tests/spec/unit_tests_using_jwt_spec.rb +4 -4
  66. metadata +5 -2
@@ -68,6 +68,11 @@ module DocuSign_eSign
68
68
 
69
69
  attr_accessor :bold_metadata
70
70
 
71
+ #
72
+ attr_accessor :caption
73
+
74
+ attr_accessor :caption_metadata
75
+
71
76
  # For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.
72
77
  attr_accessor :conditional_parent_label
73
78
 
@@ -257,6 +262,8 @@ module DocuSign_eSign
257
262
  :'anchor_y_offset_metadata' => :'anchorYOffsetMetadata',
258
263
  :'bold' => :'bold',
259
264
  :'bold_metadata' => :'boldMetadata',
265
+ :'caption' => :'caption',
266
+ :'caption_metadata' => :'captionMetadata',
260
267
  :'conditional_parent_label' => :'conditionalParentLabel',
261
268
  :'conditional_parent_label_metadata' => :'conditionalParentLabelMetadata',
262
269
  :'conditional_parent_value' => :'conditionalParentValue',
@@ -351,6 +358,8 @@ module DocuSign_eSign
351
358
  :'anchor_y_offset_metadata' => :'PropertyMetadata',
352
359
  :'bold' => :'String',
353
360
  :'bold_metadata' => :'PropertyMetadata',
361
+ :'caption' => :'String',
362
+ :'caption_metadata' => :'PropertyMetadata',
354
363
  :'conditional_parent_label' => :'String',
355
364
  :'conditional_parent_label_metadata' => :'PropertyMetadata',
356
365
  :'conditional_parent_value' => :'String',
@@ -516,6 +525,14 @@ module DocuSign_eSign
516
525
  self.bold_metadata = attributes[:'boldMetadata']
517
526
  end
518
527
 
528
+ if attributes.has_key?(:'caption')
529
+ self.caption = attributes[:'caption']
530
+ end
531
+
532
+ if attributes.has_key?(:'captionMetadata')
533
+ self.caption_metadata = attributes[:'captionMetadata']
534
+ end
535
+
519
536
  if attributes.has_key?(:'conditionalParentLabel')
520
537
  self.conditional_parent_label = attributes[:'conditionalParentLabel']
521
538
  end
@@ -823,6 +840,8 @@ module DocuSign_eSign
823
840
  anchor_y_offset_metadata == o.anchor_y_offset_metadata &&
824
841
  bold == o.bold &&
825
842
  bold_metadata == o.bold_metadata &&
843
+ caption == o.caption &&
844
+ caption_metadata == o.caption_metadata &&
826
845
  conditional_parent_label == o.conditional_parent_label &&
827
846
  conditional_parent_label_metadata == o.conditional_parent_label_metadata &&
828
847
  conditional_parent_value == o.conditional_parent_value &&
@@ -900,7 +919,7 @@ module DocuSign_eSign
900
919
  # Calculates hash code according to all attributes.
901
920
  # @return [Fixnum] Hash code
902
921
  def hash
903
- [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, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_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, merge_field, merge_field_xml, name, name_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, smart_contract_information, source, 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, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
922
+ [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, caption, caption_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_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, merge_field, merge_field_xml, name, name_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, smart_contract_information, source, 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, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
904
923
  end
905
924
 
906
925
  # Builds the object from hash
@@ -0,0 +1,194 @@
1
+ =begin
2
+ #DocuSign REST API
3
+
4
+ #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
+
6
+ OpenAPI spec version: v2.1
7
+ Contact: devcenter@docusign.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module DocuSign_eSign
15
+ class IdEvidenceResourceToken
16
+ #
17
+ attr_accessor :proof_base_uri
18
+
19
+ #
20
+ attr_accessor :resource_token
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'proof_base_uri' => :'proofBaseURI',
26
+ :'resource_token' => :'resourceToken'
27
+ }
28
+ end
29
+
30
+ # Attribute type mapping.
31
+ def self.swagger_types
32
+ {
33
+ :'proof_base_uri' => :'String',
34
+ :'resource_token' => :'String'
35
+ }
36
+ end
37
+
38
+ # Initializes the object
39
+ # @param [Hash] attributes Model attributes in the form of hash
40
+ def initialize(attributes = {})
41
+ return unless attributes.is_a?(Hash)
42
+
43
+ # convert string to symbol for hash key
44
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
45
+
46
+ if attributes.has_key?(:'proofBaseURI')
47
+ self.proof_base_uri = attributes[:'proofBaseURI']
48
+ end
49
+
50
+ if attributes.has_key?(:'resourceToken')
51
+ self.resource_token = attributes[:'resourceToken']
52
+ end
53
+ end
54
+
55
+ # Show invalid properties with the reasons. Usually used together with valid?
56
+ # @return Array for valid properties with the reasons
57
+ def list_invalid_properties
58
+ invalid_properties = Array.new
59
+ invalid_properties
60
+ end
61
+
62
+ # Check to see if the all the properties in the model are valid
63
+ # @return true if the model is valid
64
+ def valid?
65
+ true
66
+ end
67
+
68
+ # Checks equality by comparing each attribute.
69
+ # @param [Object] Object to be compared
70
+ def ==(o)
71
+ return true if self.equal?(o)
72
+ self.class == o.class &&
73
+ proof_base_uri == o.proof_base_uri &&
74
+ resource_token == o.resource_token
75
+ end
76
+
77
+ # @see the `==` method
78
+ # @param [Object] Object to be compared
79
+ def eql?(o)
80
+ self == o
81
+ end
82
+
83
+ # Calculates hash code according to all attributes.
84
+ # @return [Fixnum] Hash code
85
+ def hash
86
+ [proof_base_uri, resource_token].hash
87
+ end
88
+
89
+ # Builds the object from hash
90
+ # @param [Hash] attributes Model attributes in the form of hash
91
+ # @return [Object] Returns the model itself
92
+ def build_from_hash(attributes)
93
+ return nil unless attributes.is_a?(Hash)
94
+ self.class.swagger_types.each_pair do |key, type|
95
+ if type =~ /\AArray<(.*)>/i
96
+ # check to ensure the input is an array given that the attribute
97
+ # is documented as an array but the input is not
98
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
99
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
100
+ end
101
+ elsif !attributes[self.class.attribute_map[key]].nil?
102
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
103
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
104
+ end
105
+
106
+ self
107
+ end
108
+
109
+ # Deserializes the data based on type
110
+ # @param string type Data type
111
+ # @param string value Value to be deserialized
112
+ # @return [Object] Deserialized data
113
+ def _deserialize(type, value)
114
+ case type.to_sym
115
+ when :DateTime
116
+ DateTime.parse(value)
117
+ when :Date
118
+ Date.parse(value)
119
+ when :String
120
+ value.to_s
121
+ when :Integer
122
+ value.to_i
123
+ when :Float
124
+ value.to_f
125
+ when :BOOLEAN
126
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
127
+ true
128
+ else
129
+ false
130
+ end
131
+ when :Object
132
+ # generic object (usually a Hash), return directly
133
+ value
134
+ when /\AArray<(?<inner_type>.+)>\z/
135
+ inner_type = Regexp.last_match[:inner_type]
136
+ value.map { |v| _deserialize(inner_type, v) }
137
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
138
+ k_type = Regexp.last_match[:k_type]
139
+ v_type = Regexp.last_match[:v_type]
140
+ {}.tap do |hash|
141
+ value.each do |k, v|
142
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
143
+ end
144
+ end
145
+ else # model
146
+ temp_model = DocuSign_eSign.const_get(type).new
147
+ temp_model.build_from_hash(value)
148
+ end
149
+ end
150
+
151
+ # Returns the string representation of the object
152
+ # @return [String] String presentation of the object
153
+ def to_s
154
+ to_hash.to_s
155
+ end
156
+
157
+ # to_body is an alias to to_hash (backward compatibility)
158
+ # @return [Hash] Returns the object in the form of hash
159
+ def to_body
160
+ to_hash
161
+ end
162
+
163
+ # Returns the object in the form of hash
164
+ # @return [Hash] Returns the object in the form of hash
165
+ def to_hash
166
+ hash = {}
167
+ self.class.attribute_map.each_pair do |attr, param|
168
+ value = self.send(attr)
169
+ next if value.nil?
170
+ hash[param] = _to_hash(value)
171
+ end
172
+ hash
173
+ end
174
+
175
+ # Outputs non-array value in the form of hash
176
+ # For object, use to_hash. Otherwise, just return the value
177
+ # @param [Object] value Any valid value
178
+ # @return [Hash] Returns the value in the form of hash
179
+ def _to_hash(value)
180
+ if value.is_a?(Array)
181
+ value.compact.map { |v| _to_hash(v) }
182
+ elsif value.is_a?(Hash)
183
+ {}.tap do |hash|
184
+ value.each { |k, v| hash[k] = _to_hash(v) }
185
+ end
186
+ elsif value.respond_to? :to_hash
187
+ value.to_hash
188
+ else
189
+ value
190
+ end
191
+ end
192
+
193
+ end
194
+ end
@@ -0,0 +1,184 @@
1
+ =begin
2
+ #DocuSign REST API
3
+
4
+ #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
+
6
+ OpenAPI spec version: v2.1
7
+ Contact: devcenter@docusign.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module DocuSign_eSign
15
+ class IdEvidenceViewLink
16
+ #
17
+ attr_accessor :view_link
18
+
19
+ # Attribute mapping from ruby-style variable name to JSON key.
20
+ def self.attribute_map
21
+ {
22
+ :'view_link' => :'ViewLink'
23
+ }
24
+ end
25
+
26
+ # Attribute type mapping.
27
+ def self.swagger_types
28
+ {
29
+ :'view_link' => :'String'
30
+ }
31
+ end
32
+
33
+ # Initializes the object
34
+ # @param [Hash] attributes Model attributes in the form of hash
35
+ def initialize(attributes = {})
36
+ return unless attributes.is_a?(Hash)
37
+
38
+ # convert string to symbol for hash key
39
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
40
+
41
+ if attributes.has_key?(:'ViewLink')
42
+ self.view_link = attributes[:'ViewLink']
43
+ end
44
+ end
45
+
46
+ # Show invalid properties with the reasons. Usually used together with valid?
47
+ # @return Array for valid properties with the reasons
48
+ def list_invalid_properties
49
+ invalid_properties = Array.new
50
+ invalid_properties
51
+ end
52
+
53
+ # Check to see if the all the properties in the model are valid
54
+ # @return true if the model is valid
55
+ def valid?
56
+ true
57
+ end
58
+
59
+ # Checks equality by comparing each attribute.
60
+ # @param [Object] Object to be compared
61
+ def ==(o)
62
+ return true if self.equal?(o)
63
+ self.class == o.class &&
64
+ view_link == o.view_link
65
+ end
66
+
67
+ # @see the `==` method
68
+ # @param [Object] Object to be compared
69
+ def eql?(o)
70
+ self == o
71
+ end
72
+
73
+ # Calculates hash code according to all attributes.
74
+ # @return [Fixnum] Hash code
75
+ def hash
76
+ [view_link].hash
77
+ end
78
+
79
+ # Builds the object from hash
80
+ # @param [Hash] attributes Model attributes in the form of hash
81
+ # @return [Object] Returns the model itself
82
+ def build_from_hash(attributes)
83
+ return nil unless attributes.is_a?(Hash)
84
+ self.class.swagger_types.each_pair do |key, type|
85
+ if type =~ /\AArray<(.*)>/i
86
+ # check to ensure the input is an array given that the attribute
87
+ # is documented as an array but the input is not
88
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
89
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
90
+ end
91
+ elsif !attributes[self.class.attribute_map[key]].nil?
92
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
93
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
94
+ end
95
+
96
+ self
97
+ end
98
+
99
+ # Deserializes the data based on type
100
+ # @param string type Data type
101
+ # @param string value Value to be deserialized
102
+ # @return [Object] Deserialized data
103
+ def _deserialize(type, value)
104
+ case type.to_sym
105
+ when :DateTime
106
+ DateTime.parse(value)
107
+ when :Date
108
+ Date.parse(value)
109
+ when :String
110
+ value.to_s
111
+ when :Integer
112
+ value.to_i
113
+ when :Float
114
+ value.to_f
115
+ when :BOOLEAN
116
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
117
+ true
118
+ else
119
+ false
120
+ end
121
+ when :Object
122
+ # generic object (usually a Hash), return directly
123
+ value
124
+ when /\AArray<(?<inner_type>.+)>\z/
125
+ inner_type = Regexp.last_match[:inner_type]
126
+ value.map { |v| _deserialize(inner_type, v) }
127
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
128
+ k_type = Regexp.last_match[:k_type]
129
+ v_type = Regexp.last_match[:v_type]
130
+ {}.tap do |hash|
131
+ value.each do |k, v|
132
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
133
+ end
134
+ end
135
+ else # model
136
+ temp_model = DocuSign_eSign.const_get(type).new
137
+ temp_model.build_from_hash(value)
138
+ end
139
+ end
140
+
141
+ # Returns the string representation of the object
142
+ # @return [String] String presentation of the object
143
+ def to_s
144
+ to_hash.to_s
145
+ end
146
+
147
+ # to_body is an alias to to_hash (backward compatibility)
148
+ # @return [Hash] Returns the object in the form of hash
149
+ def to_body
150
+ to_hash
151
+ end
152
+
153
+ # Returns the object in the form of hash
154
+ # @return [Hash] Returns the object in the form of hash
155
+ def to_hash
156
+ hash = {}
157
+ self.class.attribute_map.each_pair do |attr, param|
158
+ value = self.send(attr)
159
+ next if value.nil?
160
+ hash[param] = _to_hash(value)
161
+ end
162
+ hash
163
+ end
164
+
165
+ # Outputs non-array value in the form of hash
166
+ # For object, use to_hash. Otherwise, just return the value
167
+ # @param [Object] value Any valid value
168
+ # @return [Hash] Returns the value in the form of hash
169
+ def _to_hash(value)
170
+ if value.is_a?(Array)
171
+ value.compact.map { |v| _to_hash(v) }
172
+ elsif value.is_a?(Hash)
173
+ {}.tap do |hash|
174
+ value.each { |k, v| hash[k] = _to_hash(v) }
175
+ end
176
+ elsif value.respond_to? :to_hash
177
+ value.to_hash
178
+ else
179
+ value
180
+ end
181
+ end
182
+
183
+ end
184
+ end
@@ -63,6 +63,11 @@ module DocuSign_eSign
63
63
 
64
64
  attr_accessor :anchor_y_offset_metadata
65
65
 
66
+ #
67
+ attr_accessor :caption
68
+
69
+ attr_accessor :caption_metadata
70
+
66
71
  # For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.
67
72
  attr_accessor :conditional_parent_label
68
73
 
@@ -231,6 +236,8 @@ module DocuSign_eSign
231
236
  :'anchor_x_offset_metadata' => :'anchorXOffsetMetadata',
232
237
  :'anchor_y_offset' => :'anchorYOffset',
233
238
  :'anchor_y_offset_metadata' => :'anchorYOffsetMetadata',
239
+ :'caption' => :'caption',
240
+ :'caption_metadata' => :'captionMetadata',
234
241
  :'conditional_parent_label' => :'conditionalParentLabel',
235
242
  :'conditional_parent_label_metadata' => :'conditionalParentLabelMetadata',
236
243
  :'conditional_parent_value' => :'conditionalParentValue',
@@ -315,6 +322,8 @@ module DocuSign_eSign
315
322
  :'anchor_x_offset_metadata' => :'PropertyMetadata',
316
323
  :'anchor_y_offset' => :'String',
317
324
  :'anchor_y_offset_metadata' => :'PropertyMetadata',
325
+ :'caption' => :'String',
326
+ :'caption_metadata' => :'PropertyMetadata',
318
327
  :'conditional_parent_label' => :'String',
319
328
  :'conditional_parent_label_metadata' => :'PropertyMetadata',
320
329
  :'conditional_parent_value' => :'String',
@@ -464,6 +473,14 @@ module DocuSign_eSign
464
473
  self.anchor_y_offset_metadata = attributes[:'anchorYOffsetMetadata']
465
474
  end
466
475
 
476
+ if attributes.has_key?(:'caption')
477
+ self.caption = attributes[:'caption']
478
+ end
479
+
480
+ if attributes.has_key?(:'captionMetadata')
481
+ self.caption_metadata = attributes[:'captionMetadata']
482
+ end
483
+
467
484
  if attributes.has_key?(:'conditionalParentLabel')
468
485
  self.conditional_parent_label = attributes[:'conditionalParentLabel']
469
486
  end
@@ -737,6 +754,8 @@ module DocuSign_eSign
737
754
  anchor_x_offset_metadata == o.anchor_x_offset_metadata &&
738
755
  anchor_y_offset == o.anchor_y_offset &&
739
756
  anchor_y_offset_metadata == o.anchor_y_offset_metadata &&
757
+ caption == o.caption &&
758
+ caption_metadata == o.caption_metadata &&
740
759
  conditional_parent_label == o.conditional_parent_label &&
741
760
  conditional_parent_label_metadata == o.conditional_parent_label_metadata &&
742
761
  conditional_parent_value == o.conditional_parent_value &&
@@ -806,7 +825,7 @@ module DocuSign_eSign
806
825
  # Calculates hash code according to all attributes.
807
826
  # @return [Fixnum] Hash code
808
827
  def hash
809
- [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, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, document_id, document_id_metadata, error_details, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, hand_draw_required, height, height_metadata, merge_field, merge_field_xml, name, name_metadata, optional, optional_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, scale_value, scale_value_metadata, smart_contract_information, source, 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, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
828
+ [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, caption, caption_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, document_id, document_id_metadata, error_details, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, hand_draw_required, height, height_metadata, merge_field, merge_field_xml, name, name_metadata, optional, optional_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, scale_value, scale_value_metadata, smart_contract_information, source, 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, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
810
829
  end
811
830
 
812
831
  # Builds the object from hash
@@ -68,6 +68,11 @@ module DocuSign_eSign
68
68
 
69
69
  attr_accessor :bold_metadata
70
70
 
71
+ #
72
+ attr_accessor :caption
73
+
74
+ attr_accessor :caption_metadata
75
+
71
76
  # For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.
72
77
  attr_accessor :conditional_parent_label
73
78
 
@@ -257,6 +262,8 @@ module DocuSign_eSign
257
262
  :'anchor_y_offset_metadata' => :'anchorYOffsetMetadata',
258
263
  :'bold' => :'bold',
259
264
  :'bold_metadata' => :'boldMetadata',
265
+ :'caption' => :'caption',
266
+ :'caption_metadata' => :'captionMetadata',
260
267
  :'conditional_parent_label' => :'conditionalParentLabel',
261
268
  :'conditional_parent_label_metadata' => :'conditionalParentLabelMetadata',
262
269
  :'conditional_parent_value' => :'conditionalParentValue',
@@ -351,6 +358,8 @@ module DocuSign_eSign
351
358
  :'anchor_y_offset_metadata' => :'PropertyMetadata',
352
359
  :'bold' => :'String',
353
360
  :'bold_metadata' => :'PropertyMetadata',
361
+ :'caption' => :'String',
362
+ :'caption_metadata' => :'PropertyMetadata',
354
363
  :'conditional_parent_label' => :'String',
355
364
  :'conditional_parent_label_metadata' => :'PropertyMetadata',
356
365
  :'conditional_parent_value' => :'String',
@@ -516,6 +525,14 @@ module DocuSign_eSign
516
525
  self.bold_metadata = attributes[:'boldMetadata']
517
526
  end
518
527
 
528
+ if attributes.has_key?(:'caption')
529
+ self.caption = attributes[:'caption']
530
+ end
531
+
532
+ if attributes.has_key?(:'captionMetadata')
533
+ self.caption_metadata = attributes[:'captionMetadata']
534
+ end
535
+
519
536
  if attributes.has_key?(:'conditionalParentLabel')
520
537
  self.conditional_parent_label = attributes[:'conditionalParentLabel']
521
538
  end
@@ -823,6 +840,8 @@ module DocuSign_eSign
823
840
  anchor_y_offset_metadata == o.anchor_y_offset_metadata &&
824
841
  bold == o.bold &&
825
842
  bold_metadata == o.bold_metadata &&
843
+ caption == o.caption &&
844
+ caption_metadata == o.caption_metadata &&
826
845
  conditional_parent_label == o.conditional_parent_label &&
827
846
  conditional_parent_label_metadata == o.conditional_parent_label_metadata &&
828
847
  conditional_parent_value == o.conditional_parent_value &&
@@ -900,7 +919,7 @@ module DocuSign_eSign
900
919
  # Calculates hash code according to all attributes.
901
920
  # @return [Fixnum] Hash code
902
921
  def hash
903
- [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, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_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, merge_field, merge_field_xml, name, name_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, smart_contract_information, source, 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, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
922
+ [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, caption, caption_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_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, merge_field, merge_field_xml, name, name_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, smart_contract_information, source, 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, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
904
923
  end
905
924
 
906
925
  # Builds the object from hash
@@ -68,6 +68,11 @@ module DocuSign_eSign
68
68
 
69
69
  attr_accessor :bold_metadata
70
70
 
71
+ #
72
+ attr_accessor :caption
73
+
74
+ attr_accessor :caption_metadata
75
+
71
76
  # For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.
72
77
  attr_accessor :conditional_parent_label
73
78
 
@@ -300,6 +305,8 @@ module DocuSign_eSign
300
305
  :'anchor_y_offset_metadata' => :'anchorYOffsetMetadata',
301
306
  :'bold' => :'bold',
302
307
  :'bold_metadata' => :'boldMetadata',
308
+ :'caption' => :'caption',
309
+ :'caption_metadata' => :'captionMetadata',
303
310
  :'conditional_parent_label' => :'conditionalParentLabel',
304
311
  :'conditional_parent_label_metadata' => :'conditionalParentLabelMetadata',
305
312
  :'conditional_parent_value' => :'conditionalParentValue',
@@ -411,6 +418,8 @@ module DocuSign_eSign
411
418
  :'anchor_y_offset_metadata' => :'PropertyMetadata',
412
419
  :'bold' => :'String',
413
420
  :'bold_metadata' => :'PropertyMetadata',
421
+ :'caption' => :'String',
422
+ :'caption_metadata' => :'PropertyMetadata',
414
423
  :'conditional_parent_label' => :'String',
415
424
  :'conditional_parent_label_metadata' => :'PropertyMetadata',
416
425
  :'conditional_parent_value' => :'String',
@@ -593,6 +602,14 @@ module DocuSign_eSign
593
602
  self.bold_metadata = attributes[:'boldMetadata']
594
603
  end
595
604
 
605
+ if attributes.has_key?(:'caption')
606
+ self.caption = attributes[:'caption']
607
+ end
608
+
609
+ if attributes.has_key?(:'captionMetadata')
610
+ self.caption_metadata = attributes[:'captionMetadata']
611
+ end
612
+
596
613
  if attributes.has_key?(:'conditionalParentLabel')
597
614
  self.conditional_parent_label = attributes[:'conditionalParentLabel']
598
615
  end
@@ -970,6 +987,8 @@ module DocuSign_eSign
970
987
  anchor_y_offset_metadata == o.anchor_y_offset_metadata &&
971
988
  bold == o.bold &&
972
989
  bold_metadata == o.bold_metadata &&
990
+ caption == o.caption &&
991
+ caption_metadata == o.caption_metadata &&
973
992
  conditional_parent_label == o.conditional_parent_label &&
974
993
  conditional_parent_label_metadata == o.conditional_parent_label_metadata &&
975
994
  conditional_parent_value == o.conditional_parent_value &&
@@ -1064,7 +1083,7 @@ module DocuSign_eSign
1064
1083
  # Calculates hash code according to all attributes.
1065
1084
  # @return [Fixnum] Hash code
1066
1085
  def hash
1067
- [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, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_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, list_items, list_selected_value, list_selected_value_metadata, locale_policy, locked, locked_metadata, merge_field, merge_field_xml, 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, share_to_recipients, share_to_recipients_metadata, smart_contract_information, source, 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, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
1086
+ [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, caption, caption_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_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, list_items, list_selected_value, list_selected_value_metadata, locale_policy, locked, locked_metadata, merge_field, merge_field_xml, 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, share_to_recipients, share_to_recipients_metadata, smart_contract_information, source, 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, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
1068
1087
  end
1069
1088
 
1070
1089
  # Builds the object from hash