lib/docusign_esign/models/revision.rb in docusign_esign-3.0.0 vs lib/docusign_esign/models/revision.rb in docusign_esign-3.1.0.pre.rc1
- old
+ new
@@ -1,11 +1,11 @@
=begin
#DocuSign REST API
#The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
-OpenAPI spec version: v2
+OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
=end
@@ -21,10 +21,12 @@
attr_accessor :field_name
#
attr_accessor :max_signature_length
+ attr_accessor :signature_properties
+
#
attr_accessor :signature_type
#
attr_accessor :start_data
@@ -34,10 +36,11 @@
def self.attribute_map
{
:'end_data' => :'endData',
:'field_name' => :'fieldName',
:'max_signature_length' => :'maxSignatureLength',
+ :'signature_properties' => :'signatureProperties',
:'signature_type' => :'signatureType',
:'start_data' => :'startData'
}
end
@@ -45,10 +48,11 @@
def self.swagger_types
{
:'end_data' => :'String',
:'field_name' => :'String',
:'max_signature_length' => :'String',
+ :'signature_properties' => :'SignatureProperties',
:'signature_type' => :'String',
:'start_data' => :'String'
}
end
@@ -70,10 +74,14 @@
if attributes.has_key?(:'maxSignatureLength')
self.max_signature_length = attributes[:'maxSignatureLength']
end
+ if attributes.has_key?(:'signatureProperties')
+ self.signature_properties = attributes[:'signatureProperties']
+ end
+
if attributes.has_key?(:'signatureType')
self.signature_type = attributes[:'signatureType']
end
if attributes.has_key?(:'startData')
@@ -101,10 +109,11 @@
return true if self.equal?(o)
self.class == o.class &&
end_data == o.end_data &&
field_name == o.field_name &&
max_signature_length == o.max_signature_length &&
+ signature_properties == o.signature_properties &&
signature_type == o.signature_type &&
start_data == o.start_data
end
# @see the `==` method
@@ -114,10 +123,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [end_data, field_name, max_signature_length, signature_type, start_data].hash
+ [end_data, field_name, max_signature_length, signature_properties, signature_type, start_data].hash
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself