lib/purecloud/models/signature_document_info.rb in purecloud-0.41.1 vs lib/purecloud/models/signature_document_info.rb in purecloud-0.42.1

- old
+ new

@@ -22,29 +22,35 @@ attr_accessor :user attr_accessor :return_url + # Template ID alias for the ESignature template you would like to retrieve. + attr_accessor :template + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'org' => :'org', :'user' => :'user', - :'return_url' => :'returnUrl' + :'return_url' => :'returnUrl', + :'template' => :'template' + } end # Attribute type mapping. def self.swagger_types { :'org' => :'Organization', :'user' => :'User', - :'return_url' => :'String' + :'return_url' => :'String', + :'template' => :'DocusignTemplateMapping' } end def initialize(attributes = {}) @@ -64,28 +70,33 @@ if attributes[:'returnUrl'] self.return_url = attributes[:'returnUrl'] end + if attributes[:'template'] + self.template = attributes[:'template'] + end + end # Check equality by comparing each attribute. def ==(o) return true if self.equal?(o) self.class == o.class && org == o.org && user == o.user && - return_url == o.return_url + return_url == o.return_url && + template == o.template end # @see the `==` method def eql?(o) self == o end # Calculate hash code according to all attributes. def hash - [org, user, return_url].hash + [org, user, return_url, template].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)