lib/docspring/models/html_template_data.rb in docspring-1.2.1 vs lib/docspring/models/html_template_data.rb in docspring-1.3.0

- old
+ new

@@ -4,11 +4,11 @@ #DocSpring is a service that helps you fill out and sign PDF templates. OpenAPI spec version: v1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 3.3.0-SNAPSHOT +OpenAPI Generator version: 3.3.0 =end require 'date' @@ -18,14 +18,14 @@ attr_accessor :webhook_url attr_accessor :scss - attr_accessor :expire_after - attr_accessor :allow_additional_properties + attr_accessor :expire_after + attr_accessor :description attr_accessor :public_submissions attr_accessor :slack_webhook_url @@ -38,14 +38,14 @@ attr_accessor :expire_submissions attr_accessor :name - attr_accessor :html - attr_accessor :footer_html + attr_accessor :html + attr_accessor :template_type attr_accessor :redirect_url class EnumAttributeValidator @@ -74,22 +74,22 @@ def self.attribute_map { :'expiration_interval' => :'expiration_interval', :'webhook_url' => :'webhook_url', :'scss' => :'scss', - :'expire_after' => :'expire_after', :'allow_additional_properties' => :'allow_additional_properties', + :'expire_after' => :'expire_after', :'description' => :'description', :'public_submissions' => :'public_submissions', :'slack_webhook_url' => :'slack_webhook_url', :'header_html' => :'header_html', :'public_web_form' => :'public_web_form', :'editable_submissions' => :'editable_submissions', :'expire_submissions' => :'expire_submissions', :'name' => :'name', - :'html' => :'html', :'footer_html' => :'footer_html', + :'html' => :'html', :'template_type' => :'template_type', :'redirect_url' => :'redirect_url' } end @@ -97,22 +97,22 @@ def self.openapi_types { :'expiration_interval' => :'String', :'webhook_url' => :'String', :'scss' => :'String', - :'expire_after' => :'Float', :'allow_additional_properties' => :'BOOLEAN', + :'expire_after' => :'Float', :'description' => :'String', :'public_submissions' => :'BOOLEAN', :'slack_webhook_url' => :'String', :'header_html' => :'String', :'public_web_form' => :'BOOLEAN', :'editable_submissions' => :'BOOLEAN', :'expire_submissions' => :'BOOLEAN', :'name' => :'String', - :'html' => :'String', :'footer_html' => :'String', + :'html' => :'String', :'template_type' => :'String', :'redirect_url' => :'String' } end @@ -134,18 +134,18 @@ if attributes.has_key?(:'scss') self.scss = attributes[:'scss'] end - if attributes.has_key?(:'expire_after') - self.expire_after = attributes[:'expire_after'] - end - if attributes.has_key?(:'allow_additional_properties') self.allow_additional_properties = attributes[:'allow_additional_properties'] end + if attributes.has_key?(:'expire_after') + self.expire_after = attributes[:'expire_after'] + end + if attributes.has_key?(:'description') self.description = attributes[:'description'] end if attributes.has_key?(:'public_submissions') @@ -174,18 +174,18 @@ if attributes.has_key?(:'name') self.name = attributes[:'name'] end - if attributes.has_key?(:'html') - self.html = attributes[:'html'] - end - if attributes.has_key?(:'footer_html') self.footer_html = attributes[:'footer_html'] end + if attributes.has_key?(:'html') + self.html = attributes[:'html'] + end + if attributes.has_key?(:'template_type') self.template_type = attributes[:'template_type'] end if attributes.has_key?(:'redirect_url') @@ -236,22 +236,22 @@ return true if self.equal?(o) self.class == o.class && expiration_interval == o.expiration_interval && webhook_url == o.webhook_url && scss == o.scss && - expire_after == o.expire_after && allow_additional_properties == o.allow_additional_properties && + expire_after == o.expire_after && description == o.description && public_submissions == o.public_submissions && slack_webhook_url == o.slack_webhook_url && header_html == o.header_html && public_web_form == o.public_web_form && editable_submissions == o.editable_submissions && expire_submissions == o.expire_submissions && name == o.name && - html == o.html && footer_html == o.footer_html && + html == o.html && template_type == o.template_type && redirect_url == o.redirect_url end # @see the `==` method @@ -261,10 +261,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [expiration_interval, webhook_url, scss, expire_after, allow_additional_properties, description, public_submissions, slack_webhook_url, header_html, public_web_form, editable_submissions, expire_submissions, name, html, footer_html, template_type, redirect_url].hash + [expiration_interval, webhook_url, scss, allow_additional_properties, expire_after, description, public_submissions, slack_webhook_url, header_html, public_web_form, editable_submissions, expire_submissions, name, footer_html, html, template_type, redirect_url].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself