docusign_esign 3.11.0.rc1 → 3.13.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +12 -1
- data/docusign_esign.gemspec +1 -0
- data/lib/docusign_esign/api/accounts_api.rb +4 -4
- data/lib/docusign_esign/api/billing_api.rb +6 -2
- data/lib/docusign_esign/api/connect_api.rb +85 -0
- data/lib/docusign_esign/api/envelopes_api.rb +137 -3
- data/lib/docusign_esign/client/api_client.rb +3 -2
- data/lib/docusign_esign/configuration.rb +2 -1
- data/lib/docusign_esign/models/account_billing_plan.rb +21 -1
- data/lib/docusign_esign/models/account_billing_plan_response.rb +20 -1
- data/lib/docusign_esign/models/account_settings_information.rb +39 -1
- data/lib/docusign_esign/models/account_signature_definition.rb +11 -1
- data/lib/docusign_esign/models/agent.rb +1 -10
- data/lib/docusign_esign/models/app_store_receipt.rb +21 -1
- data/lib/docusign_esign/models/billing_charge.rb +1 -1
- data/lib/docusign_esign/models/carbon_copy.rb +1 -10
- data/lib/docusign_esign/models/certified_delivery.rb +1 -10
- data/lib/docusign_esign/models/checkbox.rb +20 -1
- data/lib/docusign_esign/models/connect_custom_configuration.rb +14 -4
- data/lib/docusign_esign/models/connect_user_info.rb +224 -0
- data/lib/docusign_esign/models/credit_card_information.rb +24 -4
- data/lib/docusign_esign/models/date.rb +20 -1
- data/lib/docusign_esign/models/downgrade_billing_plan_information.rb +44 -4
- data/lib/docusign_esign/models/downgrade_plan_update_response.rb +64 -4
- data/lib/docusign_esign/models/downgrade_request_information.rb +204 -0
- data/lib/docusign_esign/models/editor.rb +1 -10
- data/lib/docusign_esign/models/email.rb +20 -1
- data/lib/docusign_esign/models/event_notification.rb +11 -1
- data/lib/docusign_esign/models/formula_tab.rb +20 -1
- data/lib/docusign_esign/models/integrated_connect_user_info_list.rb +246 -0
- data/lib/docusign_esign/models/intermediary.rb +1 -10
- data/lib/docusign_esign/models/list.rb +20 -1
- data/lib/docusign_esign/models/notary_recipient.rb +1 -10
- data/lib/docusign_esign/models/number.rb +20 -1
- data/lib/docusign_esign/models/radio_group.rb +20 -1
- data/lib/docusign_esign/models/recipient_identity_phone_number.rb +41 -4
- data/lib/docusign_esign/models/recipient_identity_verification.rb +13 -4
- data/lib/docusign_esign/models/recipient_proof_file.rb +11 -1
- data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +31 -1
- data/lib/docusign_esign/models/signer.rb +1 -10
- data/lib/docusign_esign/models/ssn.rb +20 -1
- data/lib/docusign_esign/models/template_role.rb +10 -1
- data/lib/docusign_esign/models/text.rb +20 -1
- data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -1
- data/lib/docusign_esign/models/user_signature_definition.rb +11 -1
- data/lib/docusign_esign/models/witness.rb +1 -10
- data/lib/docusign_esign/models/zip.rb +20 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/lib/docusign_esign.rb +3 -1
- data/runLinter.sh +1 -0
- metadata +124 -79
- checksums.yaml +0 -7
- data/Gemfile.lock +0 -73
- data/docusign_esign-2.11.0.rc1.gem +0 -0
- data/lib/docusign_esign/.DS_Store +0 -0
- data/lib/docusign_esign/api/.DS_Store +0 -0
- data/lib/docusign_esign/client/.DS_Store +0 -0
- data/tests/.DS_Store +0 -0
- data/tests/Gemfile.lock +0 -42
- data/tests/docs/private.pem +0 -27
@@ -0,0 +1,246 @@
|
|
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 IntegratedConnectUserInfoList
|
16
|
+
#
|
17
|
+
attr_accessor :end_position
|
18
|
+
|
19
|
+
#
|
20
|
+
attr_accessor :next_uri
|
21
|
+
|
22
|
+
#
|
23
|
+
attr_accessor :previous_uri
|
24
|
+
|
25
|
+
#
|
26
|
+
attr_accessor :result_set_size
|
27
|
+
|
28
|
+
#
|
29
|
+
attr_accessor :start_position
|
30
|
+
|
31
|
+
#
|
32
|
+
attr_accessor :total_set_size
|
33
|
+
|
34
|
+
#
|
35
|
+
attr_accessor :users
|
36
|
+
|
37
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
38
|
+
def self.attribute_map
|
39
|
+
{
|
40
|
+
:'end_position' => :'endPosition',
|
41
|
+
:'next_uri' => :'nextUri',
|
42
|
+
:'previous_uri' => :'previousUri',
|
43
|
+
:'result_set_size' => :'resultSetSize',
|
44
|
+
:'start_position' => :'startPosition',
|
45
|
+
:'total_set_size' => :'totalSetSize',
|
46
|
+
:'users' => :'users'
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
# Attribute type mapping.
|
51
|
+
def self.swagger_types
|
52
|
+
{
|
53
|
+
:'end_position' => :'String',
|
54
|
+
:'next_uri' => :'String',
|
55
|
+
:'previous_uri' => :'String',
|
56
|
+
:'result_set_size' => :'String',
|
57
|
+
:'start_position' => :'String',
|
58
|
+
:'total_set_size' => :'String',
|
59
|
+
:'users' => :'Array<ConnectUserInfo>'
|
60
|
+
}
|
61
|
+
end
|
62
|
+
|
63
|
+
# Initializes the object
|
64
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
65
|
+
def initialize(attributes = {})
|
66
|
+
return unless attributes.is_a?(Hash)
|
67
|
+
|
68
|
+
# convert string to symbol for hash key
|
69
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
70
|
+
|
71
|
+
if attributes.has_key?(:'endPosition')
|
72
|
+
self.end_position = attributes[:'endPosition']
|
73
|
+
end
|
74
|
+
|
75
|
+
if attributes.has_key?(:'nextUri')
|
76
|
+
self.next_uri = attributes[:'nextUri']
|
77
|
+
end
|
78
|
+
|
79
|
+
if attributes.has_key?(:'previousUri')
|
80
|
+
self.previous_uri = attributes[:'previousUri']
|
81
|
+
end
|
82
|
+
|
83
|
+
if attributes.has_key?(:'resultSetSize')
|
84
|
+
self.result_set_size = attributes[:'resultSetSize']
|
85
|
+
end
|
86
|
+
|
87
|
+
if attributes.has_key?(:'startPosition')
|
88
|
+
self.start_position = attributes[:'startPosition']
|
89
|
+
end
|
90
|
+
|
91
|
+
if attributes.has_key?(:'totalSetSize')
|
92
|
+
self.total_set_size = attributes[:'totalSetSize']
|
93
|
+
end
|
94
|
+
|
95
|
+
if attributes.has_key?(:'users')
|
96
|
+
if (value = attributes[:'users']).is_a?(Array)
|
97
|
+
self.users = value
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
103
|
+
# @return Array for valid properties with the reasons
|
104
|
+
def list_invalid_properties
|
105
|
+
invalid_properties = Array.new
|
106
|
+
invalid_properties
|
107
|
+
end
|
108
|
+
|
109
|
+
# Check to see if the all the properties in the model are valid
|
110
|
+
# @return true if the model is valid
|
111
|
+
def valid?
|
112
|
+
true
|
113
|
+
end
|
114
|
+
|
115
|
+
# Checks equality by comparing each attribute.
|
116
|
+
# @param [Object] Object to be compared
|
117
|
+
def ==(o)
|
118
|
+
return true if self.equal?(o)
|
119
|
+
self.class == o.class &&
|
120
|
+
end_position == o.end_position &&
|
121
|
+
next_uri == o.next_uri &&
|
122
|
+
previous_uri == o.previous_uri &&
|
123
|
+
result_set_size == o.result_set_size &&
|
124
|
+
start_position == o.start_position &&
|
125
|
+
total_set_size == o.total_set_size &&
|
126
|
+
users == o.users
|
127
|
+
end
|
128
|
+
|
129
|
+
# @see the `==` method
|
130
|
+
# @param [Object] Object to be compared
|
131
|
+
def eql?(o)
|
132
|
+
self == o
|
133
|
+
end
|
134
|
+
|
135
|
+
# Calculates hash code according to all attributes.
|
136
|
+
# @return [Fixnum] Hash code
|
137
|
+
def hash
|
138
|
+
[end_position, next_uri, previous_uri, result_set_size, start_position, total_set_size, users].hash
|
139
|
+
end
|
140
|
+
|
141
|
+
# Builds the object from hash
|
142
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
143
|
+
# @return [Object] Returns the model itself
|
144
|
+
def build_from_hash(attributes)
|
145
|
+
return nil unless attributes.is_a?(Hash)
|
146
|
+
self.class.swagger_types.each_pair do |key, type|
|
147
|
+
if type =~ /\AArray<(.*)>/i
|
148
|
+
# check to ensure the input is an array given that the attribute
|
149
|
+
# is documented as an array but the input is not
|
150
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
151
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
152
|
+
end
|
153
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
154
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
155
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
156
|
+
end
|
157
|
+
|
158
|
+
self
|
159
|
+
end
|
160
|
+
|
161
|
+
# Deserializes the data based on type
|
162
|
+
# @param string type Data type
|
163
|
+
# @param string value Value to be deserialized
|
164
|
+
# @return [Object] Deserialized data
|
165
|
+
def _deserialize(type, value)
|
166
|
+
case type.to_sym
|
167
|
+
when :DateTime
|
168
|
+
DateTime.parse(value)
|
169
|
+
when :Date
|
170
|
+
Date.parse(value)
|
171
|
+
when :String
|
172
|
+
value.to_s
|
173
|
+
when :Integer
|
174
|
+
value.to_i
|
175
|
+
when :Float
|
176
|
+
value.to_f
|
177
|
+
when :BOOLEAN
|
178
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
179
|
+
true
|
180
|
+
else
|
181
|
+
false
|
182
|
+
end
|
183
|
+
when :Object
|
184
|
+
# generic object (usually a Hash), return directly
|
185
|
+
value
|
186
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
187
|
+
inner_type = Regexp.last_match[:inner_type]
|
188
|
+
value.map { |v| _deserialize(inner_type, v) }
|
189
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
190
|
+
k_type = Regexp.last_match[:k_type]
|
191
|
+
v_type = Regexp.last_match[:v_type]
|
192
|
+
{}.tap do |hash|
|
193
|
+
value.each do |k, v|
|
194
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
195
|
+
end
|
196
|
+
end
|
197
|
+
else # model
|
198
|
+
temp_model = DocuSign_eSign.const_get(type).new
|
199
|
+
temp_model.build_from_hash(value)
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
# Returns the string representation of the object
|
204
|
+
# @return [String] String presentation of the object
|
205
|
+
def to_s
|
206
|
+
to_hash.to_s
|
207
|
+
end
|
208
|
+
|
209
|
+
# to_body is an alias to to_hash (backward compatibility)
|
210
|
+
# @return [Hash] Returns the object in the form of hash
|
211
|
+
def to_body
|
212
|
+
to_hash
|
213
|
+
end
|
214
|
+
|
215
|
+
# Returns the object in the form of hash
|
216
|
+
# @return [Hash] Returns the object in the form of hash
|
217
|
+
def to_hash
|
218
|
+
hash = {}
|
219
|
+
self.class.attribute_map.each_pair do |attr, param|
|
220
|
+
value = self.send(attr)
|
221
|
+
next if value.nil?
|
222
|
+
hash[param] = _to_hash(value)
|
223
|
+
end
|
224
|
+
hash
|
225
|
+
end
|
226
|
+
|
227
|
+
# Outputs non-array value in the form of hash
|
228
|
+
# For object, use to_hash. Otherwise, just return the value
|
229
|
+
# @param [Object] value Any valid value
|
230
|
+
# @return [Hash] Returns the value in the form of hash
|
231
|
+
def _to_hash(value)
|
232
|
+
if value.is_a?(Array)
|
233
|
+
value.compact.map { |v| _to_hash(v) }
|
234
|
+
elsif value.is_a?(Hash)
|
235
|
+
{}.tap do |hash|
|
236
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
237
|
+
end
|
238
|
+
elsif value.respond_to? :to_hash
|
239
|
+
value.to_hash
|
240
|
+
else
|
241
|
+
value
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
end
|
246
|
+
end
|
@@ -129,8 +129,6 @@ module DocuSign_eSign
|
|
129
129
|
|
130
130
|
attr_accessor :phone_number
|
131
131
|
|
132
|
-
attr_accessor :phone_number_metadata
|
133
|
-
|
134
132
|
# Reserved:
|
135
133
|
attr_accessor :recipient_attachments
|
136
134
|
|
@@ -253,7 +251,6 @@ module DocuSign_eSign
|
|
253
251
|
:'note_metadata' => :'noteMetadata',
|
254
252
|
:'phone_authentication' => :'phoneAuthentication',
|
255
253
|
:'phone_number' => :'phoneNumber',
|
256
|
-
:'phone_number_metadata' => :'phoneNumberMetadata',
|
257
254
|
:'recipient_attachments' => :'recipientAttachments',
|
258
255
|
:'recipient_authentication_status' => :'recipientAuthenticationStatus',
|
259
256
|
:'recipient_feature_metadata' => :'recipientFeatureMetadata',
|
@@ -331,7 +328,6 @@ module DocuSign_eSign
|
|
331
328
|
:'note_metadata' => :'PropertyMetadata',
|
332
329
|
:'phone_authentication' => :'RecipientPhoneAuthentication',
|
333
330
|
:'phone_number' => :'RecipientPhoneNumber',
|
334
|
-
:'phone_number_metadata' => :'PropertyMetadata',
|
335
331
|
:'recipient_attachments' => :'Array<RecipientAttachment>',
|
336
332
|
:'recipient_authentication_status' => :'AuthenticationStatus',
|
337
333
|
:'recipient_feature_metadata' => :'Array<FeatureAvailableMetadata>',
|
@@ -554,10 +550,6 @@ module DocuSign_eSign
|
|
554
550
|
self.phone_number = attributes[:'phoneNumber']
|
555
551
|
end
|
556
552
|
|
557
|
-
if attributes.has_key?(:'phoneNumberMetadata')
|
558
|
-
self.phone_number_metadata = attributes[:'phoneNumberMetadata']
|
559
|
-
end
|
560
|
-
|
561
553
|
if attributes.has_key?(:'recipientAttachments')
|
562
554
|
if (value = attributes[:'recipientAttachments']).is_a?(Array)
|
563
555
|
self.recipient_attachments = value
|
@@ -737,7 +729,6 @@ module DocuSign_eSign
|
|
737
729
|
note_metadata == o.note_metadata &&
|
738
730
|
phone_authentication == o.phone_authentication &&
|
739
731
|
phone_number == o.phone_number &&
|
740
|
-
phone_number_metadata == o.phone_number_metadata &&
|
741
732
|
recipient_attachments == o.recipient_attachments &&
|
742
733
|
recipient_authentication_status == o.recipient_authentication_status &&
|
743
734
|
recipient_feature_metadata == o.recipient_feature_metadata &&
|
@@ -776,7 +767,7 @@ module DocuSign_eSign
|
|
776
767
|
# Calculates hash code according to all attributes.
|
777
768
|
# @return [Fixnum] Hash code
|
778
769
|
def hash
|
779
|
-
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, allow_system_override_for_locked_recipient, auto_responded_reason, client_user_id, completed_count, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, phone_authentication, phone_number,
|
770
|
+
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, allow_system_override_for_locked_recipient, auto_responded_reason, client_user_id, completed_count, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, phone_authentication, phone_number, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, role_name, routing_order, routing_order_metadata, sent_date_time, signed_date_time, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, template_locked, template_required, total_tab_count, user_id].hash
|
780
771
|
end
|
781
772
|
|
782
773
|
# Builds the object from hash
|
@@ -190,6 +190,11 @@ module DocuSign_eSign
|
|
190
190
|
|
191
191
|
attr_accessor :shared_metadata
|
192
192
|
|
193
|
+
#
|
194
|
+
attr_accessor :share_to_recipients
|
195
|
+
|
196
|
+
attr_accessor :share_to_recipients_metadata
|
197
|
+
|
193
198
|
attr_accessor :smart_contract_information
|
194
199
|
|
195
200
|
#
|
@@ -339,6 +344,8 @@ module DocuSign_eSign
|
|
339
344
|
:'sender_required_metadata' => :'senderRequiredMetadata',
|
340
345
|
:'shared' => :'shared',
|
341
346
|
:'shared_metadata' => :'sharedMetadata',
|
347
|
+
:'share_to_recipients' => :'shareToRecipients',
|
348
|
+
:'share_to_recipients_metadata' => :'shareToRecipientsMetadata',
|
342
349
|
:'smart_contract_information' => :'smartContractInformation',
|
343
350
|
:'source' => :'source',
|
344
351
|
:'status' => :'status',
|
@@ -446,6 +453,8 @@ module DocuSign_eSign
|
|
446
453
|
:'sender_required_metadata' => :'PropertyMetadata',
|
447
454
|
:'shared' => :'String',
|
448
455
|
:'shared_metadata' => :'PropertyMetadata',
|
456
|
+
:'share_to_recipients' => :'String',
|
457
|
+
:'share_to_recipients_metadata' => :'PropertyMetadata',
|
449
458
|
:'smart_contract_information' => :'SmartContractInformation',
|
450
459
|
:'source' => :'String',
|
451
460
|
:'status' => :'String',
|
@@ -773,6 +782,14 @@ module DocuSign_eSign
|
|
773
782
|
self.shared_metadata = attributes[:'sharedMetadata']
|
774
783
|
end
|
775
784
|
|
785
|
+
if attributes.has_key?(:'shareToRecipients')
|
786
|
+
self.share_to_recipients = attributes[:'shareToRecipients']
|
787
|
+
end
|
788
|
+
|
789
|
+
if attributes.has_key?(:'shareToRecipientsMetadata')
|
790
|
+
self.share_to_recipients_metadata = attributes[:'shareToRecipientsMetadata']
|
791
|
+
end
|
792
|
+
|
776
793
|
if attributes.has_key?(:'smartContractInformation')
|
777
794
|
self.smart_contract_information = attributes[:'smartContractInformation']
|
778
795
|
end
|
@@ -985,6 +1002,8 @@ module DocuSign_eSign
|
|
985
1002
|
sender_required_metadata == o.sender_required_metadata &&
|
986
1003
|
shared == o.shared &&
|
987
1004
|
shared_metadata == o.shared_metadata &&
|
1005
|
+
share_to_recipients == o.share_to_recipients &&
|
1006
|
+
share_to_recipients_metadata == o.share_to_recipients_metadata &&
|
988
1007
|
smart_contract_information == o.smart_contract_information &&
|
989
1008
|
source == o.source &&
|
990
1009
|
status == o.status &&
|
@@ -1026,7 +1045,7 @@ module DocuSign_eSign
|
|
1026
1045
|
# Calculates hash code according to all attributes.
|
1027
1046
|
# @return [Fixnum] Hash code
|
1028
1047
|
def hash
|
1029
|
-
[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, 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, 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
|
1048
|
+
[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, 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
|
1030
1049
|
end
|
1031
1050
|
|
1032
1051
|
# Builds the object from hash
|
@@ -169,8 +169,6 @@ module DocuSign_eSign
|
|
169
169
|
|
170
170
|
attr_accessor :phone_number
|
171
171
|
|
172
|
-
attr_accessor :phone_number_metadata
|
173
|
-
|
174
172
|
attr_accessor :proof_file
|
175
173
|
|
176
174
|
# Reserved:
|
@@ -333,7 +331,6 @@ module DocuSign_eSign
|
|
333
331
|
:'offline_attributes' => :'offlineAttributes',
|
334
332
|
:'phone_authentication' => :'phoneAuthentication',
|
335
333
|
:'phone_number' => :'phoneNumber',
|
336
|
-
:'phone_number_metadata' => :'phoneNumberMetadata',
|
337
334
|
:'proof_file' => :'proofFile',
|
338
335
|
:'recipient_attachments' => :'recipientAttachments',
|
339
336
|
:'recipient_authentication_status' => :'recipientAuthenticationStatus',
|
@@ -435,7 +432,6 @@ module DocuSign_eSign
|
|
435
432
|
:'offline_attributes' => :'OfflineAttributes',
|
436
433
|
:'phone_authentication' => :'RecipientPhoneAuthentication',
|
437
434
|
:'phone_number' => :'RecipientPhoneNumber',
|
438
|
-
:'phone_number_metadata' => :'PropertyMetadata',
|
439
435
|
:'proof_file' => :'RecipientProofFile',
|
440
436
|
:'recipient_attachments' => :'Array<RecipientAttachment>',
|
441
437
|
:'recipient_authentication_status' => :'AuthenticationStatus',
|
@@ -726,10 +722,6 @@ module DocuSign_eSign
|
|
726
722
|
self.phone_number = attributes[:'phoneNumber']
|
727
723
|
end
|
728
724
|
|
729
|
-
if attributes.has_key?(:'phoneNumberMetadata')
|
730
|
-
self.phone_number_metadata = attributes[:'phoneNumberMetadata']
|
731
|
-
end
|
732
|
-
|
733
725
|
if attributes.has_key?(:'proofFile')
|
734
726
|
self.proof_file = attributes[:'proofFile']
|
735
727
|
end
|
@@ -965,7 +957,6 @@ module DocuSign_eSign
|
|
965
957
|
offline_attributes == o.offline_attributes &&
|
966
958
|
phone_authentication == o.phone_authentication &&
|
967
959
|
phone_number == o.phone_number &&
|
968
|
-
phone_number_metadata == o.phone_number_metadata &&
|
969
960
|
proof_file == o.proof_file &&
|
970
961
|
recipient_attachments == o.recipient_attachments &&
|
971
962
|
recipient_authentication_status == o.recipient_authentication_status &&
|
@@ -1014,7 +1005,7 @@ module DocuSign_eSign
|
|
1014
1005
|
# Calculates hash code according to all attributes.
|
1015
1006
|
# @return [Fixnum] Hash code
|
1016
1007
|
def hash
|
1017
|
-
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_navigation, auto_responded_reason, bulk_recipients_uri, can_sign_offline, client_user_id, completed_count, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, is_bulk_recipient, is_bulk_recipient_metadata, last_name, last_name_metadata, live_oak_start_url, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, notary_id, notary_signers, notary_type, note, note_metadata, offline_attributes, phone_authentication, phone_number,
|
1008
|
+
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_navigation, auto_responded_reason, bulk_recipients_uri, can_sign_offline, client_user_id, completed_count, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, is_bulk_recipient, is_bulk_recipient_metadata, last_name, last_name_metadata, live_oak_start_url, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, notary_id, notary_signers, notary_type, note, note_metadata, offline_attributes, phone_authentication, phone_number, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, require_signer_certificate, require_sign_on_paper, require_upload_signature, role_name, routing_order, routing_order_metadata, sent_date_time, signature_info, signed_date_time, sign_in_each_location, sign_in_each_location_metadata, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id].hash
|
1018
1009
|
end
|
1019
1010
|
|
1020
1011
|
# Builds the object from hash
|
@@ -217,6 +217,11 @@ module DocuSign_eSign
|
|
217
217
|
|
218
218
|
attr_accessor :shared_metadata
|
219
219
|
|
220
|
+
#
|
221
|
+
attr_accessor :share_to_recipients
|
222
|
+
|
223
|
+
attr_accessor :share_to_recipients_metadata
|
224
|
+
|
220
225
|
attr_accessor :smart_contract_information
|
221
226
|
|
222
227
|
#
|
@@ -387,6 +392,8 @@ module DocuSign_eSign
|
|
387
392
|
:'sender_required_metadata' => :'senderRequiredMetadata',
|
388
393
|
:'shared' => :'shared',
|
389
394
|
:'shared_metadata' => :'sharedMetadata',
|
395
|
+
:'share_to_recipients' => :'shareToRecipients',
|
396
|
+
:'share_to_recipients_metadata' => :'shareToRecipientsMetadata',
|
390
397
|
:'smart_contract_information' => :'smartContractInformation',
|
391
398
|
:'source' => :'source',
|
392
399
|
:'status' => :'status',
|
@@ -509,6 +516,8 @@ module DocuSign_eSign
|
|
509
516
|
:'sender_required_metadata' => :'PropertyMetadata',
|
510
517
|
:'shared' => :'String',
|
511
518
|
:'shared_metadata' => :'PropertyMetadata',
|
519
|
+
:'share_to_recipients' => :'String',
|
520
|
+
:'share_to_recipients_metadata' => :'PropertyMetadata',
|
512
521
|
:'smart_contract_information' => :'SmartContractInformation',
|
513
522
|
:'source' => :'String',
|
514
523
|
:'status' => :'String',
|
@@ -882,6 +891,14 @@ module DocuSign_eSign
|
|
882
891
|
self.shared_metadata = attributes[:'sharedMetadata']
|
883
892
|
end
|
884
893
|
|
894
|
+
if attributes.has_key?(:'shareToRecipients')
|
895
|
+
self.share_to_recipients = attributes[:'shareToRecipients']
|
896
|
+
end
|
897
|
+
|
898
|
+
if attributes.has_key?(:'shareToRecipientsMetadata')
|
899
|
+
self.share_to_recipients_metadata = attributes[:'shareToRecipientsMetadata']
|
900
|
+
end
|
901
|
+
|
885
902
|
if attributes.has_key?(:'smartContractInformation')
|
886
903
|
self.smart_contract_information = attributes[:'smartContractInformation']
|
887
904
|
end
|
@@ -1121,6 +1138,8 @@ module DocuSign_eSign
|
|
1121
1138
|
sender_required_metadata == o.sender_required_metadata &&
|
1122
1139
|
shared == o.shared &&
|
1123
1140
|
shared_metadata == o.shared_metadata &&
|
1141
|
+
share_to_recipients == o.share_to_recipients &&
|
1142
|
+
share_to_recipients_metadata == o.share_to_recipients_metadata &&
|
1124
1143
|
smart_contract_information == o.smart_contract_information &&
|
1125
1144
|
source == o.source &&
|
1126
1145
|
status == o.status &&
|
@@ -1166,7 +1185,7 @@ module DocuSign_eSign
|
|
1166
1185
|
# Calculates hash code according to all attributes.
|
1167
1186
|
# @return [Fixnum] Hash code
|
1168
1187
|
def hash
|
1169
|
-
[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, formula, formula_metadata, height, height_metadata, is_payment_amount, is_payment_amount_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, 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, 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
|
1188
|
+
[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, formula, formula_metadata, height, height_metadata, is_payment_amount, is_payment_amount_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, 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, 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
|
1170
1189
|
end
|
1171
1190
|
|
1172
1191
|
# Builds the object from hash
|
@@ -61,6 +61,11 @@ module DocuSign_eSign
|
|
61
61
|
|
62
62
|
attr_accessor :shared_metadata
|
63
63
|
|
64
|
+
#
|
65
|
+
attr_accessor :share_to_recipients
|
66
|
+
|
67
|
+
attr_accessor :share_to_recipients_metadata
|
68
|
+
|
64
69
|
#
|
65
70
|
attr_accessor :tab_type
|
66
71
|
|
@@ -103,6 +108,8 @@ module DocuSign_eSign
|
|
103
108
|
:'require_initial_on_shared_change_metadata' => :'requireInitialOnSharedChangeMetadata',
|
104
109
|
:'shared' => :'shared',
|
105
110
|
:'shared_metadata' => :'sharedMetadata',
|
111
|
+
:'share_to_recipients' => :'shareToRecipients',
|
112
|
+
:'share_to_recipients_metadata' => :'shareToRecipientsMetadata',
|
106
113
|
:'tab_type' => :'tabType',
|
107
114
|
:'tab_type_metadata' => :'tabTypeMetadata',
|
108
115
|
:'template_locked' => :'templateLocked',
|
@@ -136,6 +143,8 @@ module DocuSign_eSign
|
|
136
143
|
:'require_initial_on_shared_change_metadata' => :'PropertyMetadata',
|
137
144
|
:'shared' => :'String',
|
138
145
|
:'shared_metadata' => :'PropertyMetadata',
|
146
|
+
:'share_to_recipients' => :'String',
|
147
|
+
:'share_to_recipients_metadata' => :'PropertyMetadata',
|
139
148
|
:'tab_type' => :'String',
|
140
149
|
:'tab_type_metadata' => :'PropertyMetadata',
|
141
150
|
:'template_locked' => :'String',
|
@@ -233,6 +242,14 @@ module DocuSign_eSign
|
|
233
242
|
self.shared_metadata = attributes[:'sharedMetadata']
|
234
243
|
end
|
235
244
|
|
245
|
+
if attributes.has_key?(:'shareToRecipients')
|
246
|
+
self.share_to_recipients = attributes[:'shareToRecipients']
|
247
|
+
end
|
248
|
+
|
249
|
+
if attributes.has_key?(:'shareToRecipientsMetadata')
|
250
|
+
self.share_to_recipients_metadata = attributes[:'shareToRecipientsMetadata']
|
251
|
+
end
|
252
|
+
|
236
253
|
if attributes.has_key?(:'tabType')
|
237
254
|
self.tab_type = attributes[:'tabType']
|
238
255
|
end
|
@@ -303,6 +320,8 @@ module DocuSign_eSign
|
|
303
320
|
require_initial_on_shared_change_metadata == o.require_initial_on_shared_change_metadata &&
|
304
321
|
shared == o.shared &&
|
305
322
|
shared_metadata == o.shared_metadata &&
|
323
|
+
share_to_recipients == o.share_to_recipients &&
|
324
|
+
share_to_recipients_metadata == o.share_to_recipients_metadata &&
|
306
325
|
tab_type == o.tab_type &&
|
307
326
|
tab_type_metadata == o.tab_type_metadata &&
|
308
327
|
template_locked == o.template_locked &&
|
@@ -322,7 +341,7 @@ module DocuSign_eSign
|
|
322
341
|
# Calculates hash code according to all attributes.
|
323
342
|
# @return [Fixnum] Hash code
|
324
343
|
def hash
|
325
|
-
[conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, document_id, document_id_metadata, group_name, group_name_metadata, radios, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, require_all, require_all_metadata, require_initial_on_shared_change, require_initial_on_shared_change_metadata, shared, shared_metadata, tab_type, tab_type_metadata, template_locked, template_locked_metadata, template_required, template_required_metadata, tooltip, tooltip_metadata].hash
|
344
|
+
[conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, document_id, document_id_metadata, group_name, group_name_metadata, radios, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, require_all, require_all_metadata, require_initial_on_shared_change, require_initial_on_shared_change_metadata, shared, shared_metadata, share_to_recipients, share_to_recipients_metadata, tab_type, tab_type_metadata, template_locked, template_locked_metadata, template_required, template_required_metadata, tooltip, tooltip_metadata].hash
|
326
345
|
end
|
327
346
|
|
328
347
|
# Builds the object from hash
|
@@ -16,18 +16,31 @@ module DocuSign_eSign
|
|
16
16
|
#
|
17
17
|
attr_accessor :country_code
|
18
18
|
|
19
|
+
#
|
20
|
+
attr_accessor :country_code_lock
|
21
|
+
|
22
|
+
attr_accessor :country_code_metadata
|
23
|
+
|
19
24
|
#
|
20
25
|
attr_accessor :extension
|
21
26
|
|
27
|
+
attr_accessor :extension_metadata
|
28
|
+
|
22
29
|
#
|
23
30
|
attr_accessor :number
|
24
31
|
|
32
|
+
attr_accessor :number_metadata
|
33
|
+
|
25
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
35
|
def self.attribute_map
|
27
36
|
{
|
28
37
|
:'country_code' => :'countryCode',
|
38
|
+
:'country_code_lock' => :'countryCodeLock',
|
39
|
+
:'country_code_metadata' => :'countryCodeMetadata',
|
29
40
|
:'extension' => :'extension',
|
30
|
-
:'
|
41
|
+
:'extension_metadata' => :'extensionMetadata',
|
42
|
+
:'number' => :'number',
|
43
|
+
:'number_metadata' => :'numberMetadata'
|
31
44
|
}
|
32
45
|
end
|
33
46
|
|
@@ -35,8 +48,12 @@ module DocuSign_eSign
|
|
35
48
|
def self.swagger_types
|
36
49
|
{
|
37
50
|
:'country_code' => :'String',
|
51
|
+
:'country_code_lock' => :'String',
|
52
|
+
:'country_code_metadata' => :'PropertyMetadata',
|
38
53
|
:'extension' => :'String',
|
39
|
-
:'
|
54
|
+
:'extension_metadata' => :'PropertyMetadata',
|
55
|
+
:'number' => :'String',
|
56
|
+
:'number_metadata' => :'PropertyMetadata'
|
40
57
|
}
|
41
58
|
end
|
42
59
|
|
@@ -52,13 +69,29 @@ module DocuSign_eSign
|
|
52
69
|
self.country_code = attributes[:'countryCode']
|
53
70
|
end
|
54
71
|
|
72
|
+
if attributes.has_key?(:'countryCodeLock')
|
73
|
+
self.country_code_lock = attributes[:'countryCodeLock']
|
74
|
+
end
|
75
|
+
|
76
|
+
if attributes.has_key?(:'countryCodeMetadata')
|
77
|
+
self.country_code_metadata = attributes[:'countryCodeMetadata']
|
78
|
+
end
|
79
|
+
|
55
80
|
if attributes.has_key?(:'extension')
|
56
81
|
self.extension = attributes[:'extension']
|
57
82
|
end
|
58
83
|
|
84
|
+
if attributes.has_key?(:'extensionMetadata')
|
85
|
+
self.extension_metadata = attributes[:'extensionMetadata']
|
86
|
+
end
|
87
|
+
|
59
88
|
if attributes.has_key?(:'number')
|
60
89
|
self.number = attributes[:'number']
|
61
90
|
end
|
91
|
+
|
92
|
+
if attributes.has_key?(:'numberMetadata')
|
93
|
+
self.number_metadata = attributes[:'numberMetadata']
|
94
|
+
end
|
62
95
|
end
|
63
96
|
|
64
97
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -80,8 +113,12 @@ module DocuSign_eSign
|
|
80
113
|
return true if self.equal?(o)
|
81
114
|
self.class == o.class &&
|
82
115
|
country_code == o.country_code &&
|
116
|
+
country_code_lock == o.country_code_lock &&
|
117
|
+
country_code_metadata == o.country_code_metadata &&
|
83
118
|
extension == o.extension &&
|
84
|
-
|
119
|
+
extension_metadata == o.extension_metadata &&
|
120
|
+
number == o.number &&
|
121
|
+
number_metadata == o.number_metadata
|
85
122
|
end
|
86
123
|
|
87
124
|
# @see the `==` method
|
@@ -93,7 +130,7 @@ module DocuSign_eSign
|
|
93
130
|
# Calculates hash code according to all attributes.
|
94
131
|
# @return [Fixnum] Hash code
|
95
132
|
def hash
|
96
|
-
[country_code, extension, number].hash
|
133
|
+
[country_code, country_code_lock, country_code_metadata, extension, extension_metadata, number, number_metadata].hash
|
97
134
|
end
|
98
135
|
|
99
136
|
# Builds the object from hash
|