docusign_esign 3.13.0 → 3.14.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/docusign_esign.gemspec +5 -5
- data/lib/docusign_esign/api/accounts_api.rb +26 -325
- data/lib/docusign_esign/api/connect_api.rb +7 -7
- data/lib/docusign_esign/api/envelopes_api.rb +10 -10
- data/lib/docusign_esign/api/organizations_api.rb +8 -60
- data/lib/docusign_esign/api/users_api.rb +4 -0
- data/lib/docusign_esign/client/api_client.rb +16 -10
- data/lib/docusign_esign/client/api_error.rb +1 -1
- data/lib/docusign_esign/client/auth/oauth.rb +1 -1
- data/lib/docusign_esign/models/account_billing_plan_response.rb +7 -8
- data/lib/docusign_esign/models/account_settings_information.rb +145 -1
- data/lib/docusign_esign/models/billing_entity_information_response.rb +214 -0
- data/lib/docusign_esign/models/bulk_send_batch_status.rb +10 -1
- data/lib/docusign_esign/models/bulk_send_envelopes_info.rb +204 -0
- data/lib/docusign_esign/models/checkbox.rb +21 -1
- data/lib/docusign_esign/models/connect_custom_configuration.rb +13 -1
- data/lib/docusign_esign/models/connect_user_info.rb +1 -11
- data/lib/docusign_esign/models/contact.rb +11 -1
- data/lib/docusign_esign/models/delayed_routing_api_model.rb +206 -0
- data/lib/docusign_esign/models/delegation_info.rb +214 -0
- data/lib/docusign_esign/models/envelope_delay_rule_api_model.rb +194 -0
- data/lib/docusign_esign/models/event_notification.rb +13 -1
- data/lib/docusign_esign/models/external_primary_account_recipient_auth_requirements.rb +214 -0
- data/lib/docusign_esign/models/integrated_connect_user_info_list.rb +6 -6
- data/lib/docusign_esign/models/linked_external_primary_account.rb +10 -1
- data/lib/docusign_esign/models/notary_recipient.rb +32 -1
- data/lib/docusign_esign/models/reserved_domain_existence.rb +194 -0
- data/lib/docusign_esign/models/scheduled_sending_api_model.rb +206 -0
- data/lib/docusign_esign/models/sender_email_notifications.rb +11 -1
- data/lib/docusign_esign/models/signer.rb +32 -1
- data/lib/docusign_esign/models/tab_account_settings.rb +20 -1
- data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -1
- data/lib/docusign_esign/models/witness.rb +32 -1
- data/lib/docusign_esign/models/workflow.rb +20 -1
- data/lib/docusign_esign/models/workflow_step.rb +10 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/lib/docusign_esign.rb +8 -12
- metadata +14 -6
@@ -0,0 +1,214 @@
|
|
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 BillingEntityInformationResponse
|
16
|
+
#
|
17
|
+
attr_accessor :billing_profile
|
18
|
+
|
19
|
+
#
|
20
|
+
attr_accessor :entity_name
|
21
|
+
|
22
|
+
#
|
23
|
+
attr_accessor :external_entity_id
|
24
|
+
|
25
|
+
#
|
26
|
+
attr_accessor :is_externally_billed
|
27
|
+
|
28
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
29
|
+
def self.attribute_map
|
30
|
+
{
|
31
|
+
:'billing_profile' => :'billingProfile',
|
32
|
+
:'entity_name' => :'entityName',
|
33
|
+
:'external_entity_id' => :'externalEntityId',
|
34
|
+
:'is_externally_billed' => :'isExternallyBilled'
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
# Attribute type mapping.
|
39
|
+
def self.swagger_types
|
40
|
+
{
|
41
|
+
:'billing_profile' => :'String',
|
42
|
+
:'entity_name' => :'String',
|
43
|
+
:'external_entity_id' => :'String',
|
44
|
+
:'is_externally_billed' => :'String'
|
45
|
+
}
|
46
|
+
end
|
47
|
+
|
48
|
+
# Initializes the object
|
49
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
50
|
+
def initialize(attributes = {})
|
51
|
+
return unless attributes.is_a?(Hash)
|
52
|
+
|
53
|
+
# convert string to symbol for hash key
|
54
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
55
|
+
|
56
|
+
if attributes.has_key?(:'billingProfile')
|
57
|
+
self.billing_profile = attributes[:'billingProfile']
|
58
|
+
end
|
59
|
+
|
60
|
+
if attributes.has_key?(:'entityName')
|
61
|
+
self.entity_name = attributes[:'entityName']
|
62
|
+
end
|
63
|
+
|
64
|
+
if attributes.has_key?(:'externalEntityId')
|
65
|
+
self.external_entity_id = attributes[:'externalEntityId']
|
66
|
+
end
|
67
|
+
|
68
|
+
if attributes.has_key?(:'isExternallyBilled')
|
69
|
+
self.is_externally_billed = attributes[:'isExternallyBilled']
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
74
|
+
# @return Array for valid properties with the reasons
|
75
|
+
def list_invalid_properties
|
76
|
+
invalid_properties = Array.new
|
77
|
+
invalid_properties
|
78
|
+
end
|
79
|
+
|
80
|
+
# Check to see if the all the properties in the model are valid
|
81
|
+
# @return true if the model is valid
|
82
|
+
def valid?
|
83
|
+
true
|
84
|
+
end
|
85
|
+
|
86
|
+
# Checks equality by comparing each attribute.
|
87
|
+
# @param [Object] Object to be compared
|
88
|
+
def ==(o)
|
89
|
+
return true if self.equal?(o)
|
90
|
+
self.class == o.class &&
|
91
|
+
billing_profile == o.billing_profile &&
|
92
|
+
entity_name == o.entity_name &&
|
93
|
+
external_entity_id == o.external_entity_id &&
|
94
|
+
is_externally_billed == o.is_externally_billed
|
95
|
+
end
|
96
|
+
|
97
|
+
# @see the `==` method
|
98
|
+
# @param [Object] Object to be compared
|
99
|
+
def eql?(o)
|
100
|
+
self == o
|
101
|
+
end
|
102
|
+
|
103
|
+
# Calculates hash code according to all attributes.
|
104
|
+
# @return [Fixnum] Hash code
|
105
|
+
def hash
|
106
|
+
[billing_profile, entity_name, external_entity_id, is_externally_billed].hash
|
107
|
+
end
|
108
|
+
|
109
|
+
# Builds the object from hash
|
110
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
111
|
+
# @return [Object] Returns the model itself
|
112
|
+
def build_from_hash(attributes)
|
113
|
+
return nil unless attributes.is_a?(Hash)
|
114
|
+
self.class.swagger_types.each_pair do |key, type|
|
115
|
+
if type =~ /\AArray<(.*)>/i
|
116
|
+
# check to ensure the input is an array given that the attribute
|
117
|
+
# is documented as an array but the input is not
|
118
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
119
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
120
|
+
end
|
121
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
122
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
123
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
124
|
+
end
|
125
|
+
|
126
|
+
self
|
127
|
+
end
|
128
|
+
|
129
|
+
# Deserializes the data based on type
|
130
|
+
# @param string type Data type
|
131
|
+
# @param string value Value to be deserialized
|
132
|
+
# @return [Object] Deserialized data
|
133
|
+
def _deserialize(type, value)
|
134
|
+
case type.to_sym
|
135
|
+
when :DateTime
|
136
|
+
DateTime.parse(value)
|
137
|
+
when :Date
|
138
|
+
Date.parse(value)
|
139
|
+
when :String
|
140
|
+
value.to_s
|
141
|
+
when :Integer
|
142
|
+
value.to_i
|
143
|
+
when :Float
|
144
|
+
value.to_f
|
145
|
+
when :BOOLEAN
|
146
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
147
|
+
true
|
148
|
+
else
|
149
|
+
false
|
150
|
+
end
|
151
|
+
when :Object
|
152
|
+
# generic object (usually a Hash), return directly
|
153
|
+
value
|
154
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
155
|
+
inner_type = Regexp.last_match[:inner_type]
|
156
|
+
value.map { |v| _deserialize(inner_type, v) }
|
157
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
158
|
+
k_type = Regexp.last_match[:k_type]
|
159
|
+
v_type = Regexp.last_match[:v_type]
|
160
|
+
{}.tap do |hash|
|
161
|
+
value.each do |k, v|
|
162
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
163
|
+
end
|
164
|
+
end
|
165
|
+
else # model
|
166
|
+
temp_model = DocuSign_eSign.const_get(type).new
|
167
|
+
temp_model.build_from_hash(value)
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
# Returns the string representation of the object
|
172
|
+
# @return [String] String presentation of the object
|
173
|
+
def to_s
|
174
|
+
to_hash.to_s
|
175
|
+
end
|
176
|
+
|
177
|
+
# to_body is an alias to to_hash (backward compatibility)
|
178
|
+
# @return [Hash] Returns the object in the form of hash
|
179
|
+
def to_body
|
180
|
+
to_hash
|
181
|
+
end
|
182
|
+
|
183
|
+
# Returns the object in the form of hash
|
184
|
+
# @return [Hash] Returns the object in the form of hash
|
185
|
+
def to_hash
|
186
|
+
hash = {}
|
187
|
+
self.class.attribute_map.each_pair do |attr, param|
|
188
|
+
value = self.send(attr)
|
189
|
+
next if value.nil?
|
190
|
+
hash[param] = _to_hash(value)
|
191
|
+
end
|
192
|
+
hash
|
193
|
+
end
|
194
|
+
|
195
|
+
# Outputs non-array value in the form of hash
|
196
|
+
# For object, use to_hash. Otherwise, just return the value
|
197
|
+
# @param [Object] value Any valid value
|
198
|
+
# @return [Hash] Returns the value in the form of hash
|
199
|
+
def _to_hash(value)
|
200
|
+
if value.is_a?(Array)
|
201
|
+
value.compact.map { |v| _to_hash(v) }
|
202
|
+
elsif value.is_a?(Hash)
|
203
|
+
{}.tap do |hash|
|
204
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
205
|
+
end
|
206
|
+
elsif value.respond_to? :to_hash
|
207
|
+
value.to_hash
|
208
|
+
else
|
209
|
+
value
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
end
|
214
|
+
end
|
@@ -28,6 +28,8 @@ module DocuSign_eSign
|
|
28
28
|
#
|
29
29
|
attr_accessor :envelope_id_or_template_id
|
30
30
|
|
31
|
+
attr_accessor :envelopes_info
|
32
|
+
|
31
33
|
#
|
32
34
|
attr_accessor :envelopes_uri
|
33
35
|
|
@@ -63,6 +65,7 @@ module DocuSign_eSign
|
|
63
65
|
:'batch_size' => :'batchSize',
|
64
66
|
:'bulk_errors' => :'bulkErrors',
|
65
67
|
:'envelope_id_or_template_id' => :'envelopeIdOrTemplateId',
|
68
|
+
:'envelopes_info' => :'envelopesInfo',
|
66
69
|
:'envelopes_uri' => :'envelopesUri',
|
67
70
|
:'failed' => :'failed',
|
68
71
|
:'mailing_list_id' => :'mailingListId',
|
@@ -83,6 +86,7 @@ module DocuSign_eSign
|
|
83
86
|
:'batch_size' => :'String',
|
84
87
|
:'bulk_errors' => :'Array<BulkSendErrorStatus>',
|
85
88
|
:'envelope_id_or_template_id' => :'String',
|
89
|
+
:'envelopes_info' => :'BulkSendEnvelopesInfo',
|
86
90
|
:'envelopes_uri' => :'String',
|
87
91
|
:'failed' => :'String',
|
88
92
|
:'mailing_list_id' => :'String',
|
@@ -125,6 +129,10 @@ module DocuSign_eSign
|
|
125
129
|
self.envelope_id_or_template_id = attributes[:'envelopeIdOrTemplateId']
|
126
130
|
end
|
127
131
|
|
132
|
+
if attributes.has_key?(:'envelopesInfo')
|
133
|
+
self.envelopes_info = attributes[:'envelopesInfo']
|
134
|
+
end
|
135
|
+
|
128
136
|
if attributes.has_key?(:'envelopesUri')
|
129
137
|
self.envelopes_uri = attributes[:'envelopesUri']
|
130
138
|
end
|
@@ -185,6 +193,7 @@ module DocuSign_eSign
|
|
185
193
|
batch_size == o.batch_size &&
|
186
194
|
bulk_errors == o.bulk_errors &&
|
187
195
|
envelope_id_or_template_id == o.envelope_id_or_template_id &&
|
196
|
+
envelopes_info == o.envelopes_info &&
|
188
197
|
envelopes_uri == o.envelopes_uri &&
|
189
198
|
failed == o.failed &&
|
190
199
|
mailing_list_id == o.mailing_list_id &&
|
@@ -205,7 +214,7 @@ module DocuSign_eSign
|
|
205
214
|
# Calculates hash code according to all attributes.
|
206
215
|
# @return [Fixnum] Hash code
|
207
216
|
def hash
|
208
|
-
[batch_id, batch_name, batch_size, bulk_errors, envelope_id_or_template_id, envelopes_uri, failed, mailing_list_id, mailing_list_name, owner_user_id, queued, sender_user_id, sent, submitted_date].hash
|
217
|
+
[batch_id, batch_name, batch_size, bulk_errors, envelope_id_or_template_id, envelopes_info, envelopes_uri, failed, mailing_list_id, mailing_list_name, owner_user_id, queued, sender_user_id, sent, submitted_date].hash
|
209
218
|
end
|
210
219
|
|
211
220
|
# Builds the object from hash
|
@@ -0,0 +1,204 @@
|
|
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 BulkSendEnvelopesInfo
|
16
|
+
#
|
17
|
+
attr_accessor :completed
|
18
|
+
|
19
|
+
#
|
20
|
+
attr_accessor :declined
|
21
|
+
|
22
|
+
#
|
23
|
+
attr_accessor :voided
|
24
|
+
|
25
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
26
|
+
def self.attribute_map
|
27
|
+
{
|
28
|
+
:'completed' => :'completed',
|
29
|
+
:'declined' => :'declined',
|
30
|
+
:'voided' => :'voided'
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
# Attribute type mapping.
|
35
|
+
def self.swagger_types
|
36
|
+
{
|
37
|
+
:'completed' => :'String',
|
38
|
+
:'declined' => :'String',
|
39
|
+
:'voided' => :'String'
|
40
|
+
}
|
41
|
+
end
|
42
|
+
|
43
|
+
# Initializes the object
|
44
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
45
|
+
def initialize(attributes = {})
|
46
|
+
return unless attributes.is_a?(Hash)
|
47
|
+
|
48
|
+
# convert string to symbol for hash key
|
49
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
50
|
+
|
51
|
+
if attributes.has_key?(:'completed')
|
52
|
+
self.completed = attributes[:'completed']
|
53
|
+
end
|
54
|
+
|
55
|
+
if attributes.has_key?(:'declined')
|
56
|
+
self.declined = attributes[:'declined']
|
57
|
+
end
|
58
|
+
|
59
|
+
if attributes.has_key?(:'voided')
|
60
|
+
self.voided = attributes[:'voided']
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
65
|
+
# @return Array for valid properties with the reasons
|
66
|
+
def list_invalid_properties
|
67
|
+
invalid_properties = Array.new
|
68
|
+
invalid_properties
|
69
|
+
end
|
70
|
+
|
71
|
+
# Check to see if the all the properties in the model are valid
|
72
|
+
# @return true if the model is valid
|
73
|
+
def valid?
|
74
|
+
true
|
75
|
+
end
|
76
|
+
|
77
|
+
# Checks equality by comparing each attribute.
|
78
|
+
# @param [Object] Object to be compared
|
79
|
+
def ==(o)
|
80
|
+
return true if self.equal?(o)
|
81
|
+
self.class == o.class &&
|
82
|
+
completed == o.completed &&
|
83
|
+
declined == o.declined &&
|
84
|
+
voided == o.voided
|
85
|
+
end
|
86
|
+
|
87
|
+
# @see the `==` method
|
88
|
+
# @param [Object] Object to be compared
|
89
|
+
def eql?(o)
|
90
|
+
self == o
|
91
|
+
end
|
92
|
+
|
93
|
+
# Calculates hash code according to all attributes.
|
94
|
+
# @return [Fixnum] Hash code
|
95
|
+
def hash
|
96
|
+
[completed, declined, voided].hash
|
97
|
+
end
|
98
|
+
|
99
|
+
# Builds the object from hash
|
100
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
101
|
+
# @return [Object] Returns the model itself
|
102
|
+
def build_from_hash(attributes)
|
103
|
+
return nil unless attributes.is_a?(Hash)
|
104
|
+
self.class.swagger_types.each_pair do |key, type|
|
105
|
+
if type =~ /\AArray<(.*)>/i
|
106
|
+
# check to ensure the input is an array given that the attribute
|
107
|
+
# is documented as an array but the input is not
|
108
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
109
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
110
|
+
end
|
111
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
112
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
113
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
114
|
+
end
|
115
|
+
|
116
|
+
self
|
117
|
+
end
|
118
|
+
|
119
|
+
# Deserializes the data based on type
|
120
|
+
# @param string type Data type
|
121
|
+
# @param string value Value to be deserialized
|
122
|
+
# @return [Object] Deserialized data
|
123
|
+
def _deserialize(type, value)
|
124
|
+
case type.to_sym
|
125
|
+
when :DateTime
|
126
|
+
DateTime.parse(value)
|
127
|
+
when :Date
|
128
|
+
Date.parse(value)
|
129
|
+
when :String
|
130
|
+
value.to_s
|
131
|
+
when :Integer
|
132
|
+
value.to_i
|
133
|
+
when :Float
|
134
|
+
value.to_f
|
135
|
+
when :BOOLEAN
|
136
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
137
|
+
true
|
138
|
+
else
|
139
|
+
false
|
140
|
+
end
|
141
|
+
when :Object
|
142
|
+
# generic object (usually a Hash), return directly
|
143
|
+
value
|
144
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
145
|
+
inner_type = Regexp.last_match[:inner_type]
|
146
|
+
value.map { |v| _deserialize(inner_type, v) }
|
147
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
148
|
+
k_type = Regexp.last_match[:k_type]
|
149
|
+
v_type = Regexp.last_match[:v_type]
|
150
|
+
{}.tap do |hash|
|
151
|
+
value.each do |k, v|
|
152
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
153
|
+
end
|
154
|
+
end
|
155
|
+
else # model
|
156
|
+
temp_model = DocuSign_eSign.const_get(type).new
|
157
|
+
temp_model.build_from_hash(value)
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
# Returns the string representation of the object
|
162
|
+
# @return [String] String presentation of the object
|
163
|
+
def to_s
|
164
|
+
to_hash.to_s
|
165
|
+
end
|
166
|
+
|
167
|
+
# to_body is an alias to to_hash (backward compatibility)
|
168
|
+
# @return [Hash] Returns the object in the form of hash
|
169
|
+
def to_body
|
170
|
+
to_hash
|
171
|
+
end
|
172
|
+
|
173
|
+
# Returns the object in the form of hash
|
174
|
+
# @return [Hash] Returns the object in the form of hash
|
175
|
+
def to_hash
|
176
|
+
hash = {}
|
177
|
+
self.class.attribute_map.each_pair do |attr, param|
|
178
|
+
value = self.send(attr)
|
179
|
+
next if value.nil?
|
180
|
+
hash[param] = _to_hash(value)
|
181
|
+
end
|
182
|
+
hash
|
183
|
+
end
|
184
|
+
|
185
|
+
# Outputs non-array value in the form of hash
|
186
|
+
# For object, use to_hash. Otherwise, just return the value
|
187
|
+
# @param [Object] value Any valid value
|
188
|
+
# @return [Hash] Returns the value in the form of hash
|
189
|
+
def _to_hash(value)
|
190
|
+
if value.is_a?(Array)
|
191
|
+
value.compact.map { |v| _to_hash(v) }
|
192
|
+
elsif value.is_a?(Hash)
|
193
|
+
{}.tap do |hash|
|
194
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
195
|
+
end
|
196
|
+
elsif value.respond_to? :to_hash
|
197
|
+
value.to_hash
|
198
|
+
else
|
199
|
+
value
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
end
|
204
|
+
end
|
@@ -145,6 +145,9 @@ module DocuSign_eSign
|
|
145
145
|
|
146
146
|
attr_accessor :name_metadata
|
147
147
|
|
148
|
+
# The initial value of the tab when it was sent to the recipient.
|
149
|
+
attr_accessor :original_value
|
150
|
+
|
148
151
|
# Specifies the page number on which the tab is located.
|
149
152
|
attr_accessor :page_number
|
150
153
|
|
@@ -240,6 +243,9 @@ module DocuSign_eSign
|
|
240
243
|
|
241
244
|
attr_accessor :underline_metadata
|
242
245
|
|
246
|
+
# Specifies the value of the tab.
|
247
|
+
attr_accessor :value
|
248
|
+
|
243
249
|
# Width of the tab in pixels.
|
244
250
|
attr_accessor :width
|
245
251
|
|
@@ -311,6 +317,7 @@ module DocuSign_eSign
|
|
311
317
|
:'merge_field_xml' => :'mergeFieldXml',
|
312
318
|
:'name' => :'name',
|
313
319
|
:'name_metadata' => :'nameMetadata',
|
320
|
+
:'original_value' => :'originalValue',
|
314
321
|
:'page_number' => :'pageNumber',
|
315
322
|
:'page_number_metadata' => :'pageNumberMetadata',
|
316
323
|
:'recipient_id' => :'recipientId',
|
@@ -349,6 +356,7 @@ module DocuSign_eSign
|
|
349
356
|
:'tool_tip_metadata' => :'toolTipMetadata',
|
350
357
|
:'underline' => :'underline',
|
351
358
|
:'underline_metadata' => :'underlineMetadata',
|
359
|
+
:'value' => :'value',
|
352
360
|
:'width' => :'width',
|
353
361
|
:'width_metadata' => :'widthMetadata',
|
354
362
|
:'x_position' => :'xPosition',
|
@@ -414,6 +422,7 @@ module DocuSign_eSign
|
|
414
422
|
:'merge_field_xml' => :'String',
|
415
423
|
:'name' => :'String',
|
416
424
|
:'name_metadata' => :'PropertyMetadata',
|
425
|
+
:'original_value' => :'String',
|
417
426
|
:'page_number' => :'String',
|
418
427
|
:'page_number_metadata' => :'PropertyMetadata',
|
419
428
|
:'recipient_id' => :'String',
|
@@ -452,6 +461,7 @@ module DocuSign_eSign
|
|
452
461
|
:'tool_tip_metadata' => :'PropertyMetadata',
|
453
462
|
:'underline' => :'String',
|
454
463
|
:'underline_metadata' => :'PropertyMetadata',
|
464
|
+
:'value' => :'String',
|
455
465
|
:'width' => :'String',
|
456
466
|
:'width_metadata' => :'PropertyMetadata',
|
457
467
|
:'x_position' => :'String',
|
@@ -681,6 +691,10 @@ module DocuSign_eSign
|
|
681
691
|
self.name_metadata = attributes[:'nameMetadata']
|
682
692
|
end
|
683
693
|
|
694
|
+
if attributes.has_key?(:'originalValue')
|
695
|
+
self.original_value = attributes[:'originalValue']
|
696
|
+
end
|
697
|
+
|
684
698
|
if attributes.has_key?(:'pageNumber')
|
685
699
|
self.page_number = attributes[:'pageNumber']
|
686
700
|
end
|
@@ -835,6 +849,10 @@ module DocuSign_eSign
|
|
835
849
|
self.underline_metadata = attributes[:'underlineMetadata']
|
836
850
|
end
|
837
851
|
|
852
|
+
if attributes.has_key?(:'value')
|
853
|
+
self.value = attributes[:'value']
|
854
|
+
end
|
855
|
+
|
838
856
|
if attributes.has_key?(:'width')
|
839
857
|
self.width = attributes[:'width']
|
840
858
|
end
|
@@ -931,6 +949,7 @@ module DocuSign_eSign
|
|
931
949
|
merge_field_xml == o.merge_field_xml &&
|
932
950
|
name == o.name &&
|
933
951
|
name_metadata == o.name_metadata &&
|
952
|
+
original_value == o.original_value &&
|
934
953
|
page_number == o.page_number &&
|
935
954
|
page_number_metadata == o.page_number_metadata &&
|
936
955
|
recipient_id == o.recipient_id &&
|
@@ -969,6 +988,7 @@ module DocuSign_eSign
|
|
969
988
|
tool_tip_metadata == o.tool_tip_metadata &&
|
970
989
|
underline == o.underline &&
|
971
990
|
underline_metadata == o.underline_metadata &&
|
991
|
+
value == o.value &&
|
972
992
|
width == o.width &&
|
973
993
|
width_metadata == o.width_metadata &&
|
974
994
|
x_position == o.x_position &&
|
@@ -986,7 +1006,7 @@ module DocuSign_eSign
|
|
986
1006
|
# Calculates hash code according to all attributes.
|
987
1007
|
# @return [Fixnum] Hash code
|
988
1008
|
def hash
|
989
|
-
[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, locked, locked_metadata, 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, required, required_metadata, require_initial_on_shared_change, require_initial_on_shared_change_metadata, selected, selected_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, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
|
1009
|
+
[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, locked, locked_metadata, merge_field, merge_field_xml, name, name_metadata, original_value, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, required, required_metadata, require_initial_on_shared_change, require_initial_on_shared_change_metadata, selected, selected_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, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
|
990
1010
|
end
|
991
1011
|
|
992
1012
|
# Builds the object from hash
|
@@ -39,6 +39,9 @@ module DocuSign_eSign
|
|
39
39
|
|
40
40
|
attr_accessor :event_data
|
41
41
|
|
42
|
+
#
|
43
|
+
attr_accessor :events
|
44
|
+
|
42
45
|
#
|
43
46
|
attr_accessor :external_folder_id
|
44
47
|
|
@@ -135,6 +138,7 @@ module DocuSign_eSign
|
|
135
138
|
:'enable_log' => :'enableLog',
|
136
139
|
:'envelope_events' => :'envelopeEvents',
|
137
140
|
:'event_data' => :'eventData',
|
141
|
+
:'events' => :'events',
|
138
142
|
:'external_folder_id' => :'externalFolderId',
|
139
143
|
:'external_folder_label' => :'externalFolderLabel',
|
140
144
|
:'include_certificate_of_completion' => :'includeCertificateOfCompletion',
|
@@ -178,6 +182,7 @@ module DocuSign_eSign
|
|
178
182
|
:'enable_log' => :'String',
|
179
183
|
:'envelope_events' => :'Array<String>',
|
180
184
|
:'event_data' => :'ConnectEventData',
|
185
|
+
:'events' => :'Array<String>',
|
181
186
|
:'external_folder_id' => :'String',
|
182
187
|
:'external_folder_label' => :'String',
|
183
188
|
:'include_certificate_of_completion' => :'String',
|
@@ -255,6 +260,12 @@ module DocuSign_eSign
|
|
255
260
|
self.event_data = attributes[:'eventData']
|
256
261
|
end
|
257
262
|
|
263
|
+
if attributes.has_key?(:'events')
|
264
|
+
if (value = attributes[:'events']).is_a?(Array)
|
265
|
+
self.events = value
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
258
269
|
if attributes.has_key?(:'externalFolderId')
|
259
270
|
self.external_folder_id = attributes[:'externalFolderId']
|
260
271
|
end
|
@@ -403,6 +414,7 @@ module DocuSign_eSign
|
|
403
414
|
enable_log == o.enable_log &&
|
404
415
|
envelope_events == o.envelope_events &&
|
405
416
|
event_data == o.event_data &&
|
417
|
+
events == o.events &&
|
406
418
|
external_folder_id == o.external_folder_id &&
|
407
419
|
external_folder_label == o.external_folder_label &&
|
408
420
|
include_certificate_of_completion == o.include_certificate_of_completion &&
|
@@ -442,7 +454,7 @@ module DocuSign_eSign
|
|
442
454
|
# Calculates hash code according to all attributes.
|
443
455
|
# @return [Fixnum] Hash code
|
444
456
|
def hash
|
445
|
-
[allow_envelope_publish, allow_salesforce_publish, all_users, configuration_type, connect_id, delivery_mode, enable_log, envelope_events, event_data, external_folder_id, external_folder_label, include_certificate_of_completion, include_cert_soap_header, include_document_fields, include_documents, include_envelope_void_reason, include_hmac, include_sender_accountas_custom_field, include_time_zone_information, name, password, recipient_events, require_mutual_tls, requires_acknowledgement, salesforce_api_version, salesforce_authcode, salesforce_call_back_url, salesforce_documents_as_content_files, sender_override, sender_selectable_items, sf_objects, sign_message_with_x509_certificate, soap_namespace, url_to_publish_to, user_ids, user_name, use_soap_interface].hash
|
457
|
+
[allow_envelope_publish, allow_salesforce_publish, all_users, configuration_type, connect_id, delivery_mode, enable_log, envelope_events, event_data, events, external_folder_id, external_folder_label, include_certificate_of_completion, include_cert_soap_header, include_document_fields, include_documents, include_envelope_void_reason, include_hmac, include_sender_accountas_custom_field, include_time_zone_information, name, password, recipient_events, require_mutual_tls, requires_acknowledgement, salesforce_api_version, salesforce_authcode, salesforce_call_back_url, salesforce_documents_as_content_files, sender_override, sender_selectable_items, sf_objects, sign_message_with_x509_certificate, soap_namespace, url_to_publish_to, user_ids, user_name, use_soap_interface].hash
|
446
458
|
end
|
447
459
|
|
448
460
|
# Builds the object from hash
|
@@ -19,9 +19,6 @@ module DocuSign_eSign
|
|
19
19
|
#
|
20
20
|
attr_accessor :is_included
|
21
21
|
|
22
|
-
#
|
23
|
-
attr_accessor :is_part_of_domain
|
24
|
-
|
25
22
|
#
|
26
23
|
attr_accessor :user_id
|
27
24
|
|
@@ -33,7 +30,6 @@ module DocuSign_eSign
|
|
33
30
|
{
|
34
31
|
:'email' => :'email',
|
35
32
|
:'is_included' => :'isIncluded',
|
36
|
-
:'is_part_of_domain' => :'isPartOfDomain',
|
37
33
|
:'user_id' => :'userId',
|
38
34
|
:'user_name' => :'userName'
|
39
35
|
}
|
@@ -44,7 +40,6 @@ module DocuSign_eSign
|
|
44
40
|
{
|
45
41
|
:'email' => :'String',
|
46
42
|
:'is_included' => :'String',
|
47
|
-
:'is_part_of_domain' => :'String',
|
48
43
|
:'user_id' => :'String',
|
49
44
|
:'user_name' => :'String'
|
50
45
|
}
|
@@ -66,10 +61,6 @@ module DocuSign_eSign
|
|
66
61
|
self.is_included = attributes[:'isIncluded']
|
67
62
|
end
|
68
63
|
|
69
|
-
if attributes.has_key?(:'isPartOfDomain')
|
70
|
-
self.is_part_of_domain = attributes[:'isPartOfDomain']
|
71
|
-
end
|
72
|
-
|
73
64
|
if attributes.has_key?(:'userId')
|
74
65
|
self.user_id = attributes[:'userId']
|
75
66
|
end
|
@@ -99,7 +90,6 @@ module DocuSign_eSign
|
|
99
90
|
self.class == o.class &&
|
100
91
|
email == o.email &&
|
101
92
|
is_included == o.is_included &&
|
102
|
-
is_part_of_domain == o.is_part_of_domain &&
|
103
93
|
user_id == o.user_id &&
|
104
94
|
user_name == o.user_name
|
105
95
|
end
|
@@ -113,7 +103,7 @@ module DocuSign_eSign
|
|
113
103
|
# Calculates hash code according to all attributes.
|
114
104
|
# @return [Fixnum] Hash code
|
115
105
|
def hash
|
116
|
-
[email, is_included,
|
106
|
+
[email, is_included, user_id, user_name].hash
|
117
107
|
end
|
118
108
|
|
119
109
|
# Builds the object from hash
|