diff --git a/.travis.yml b/.travis.yml index e8df308..4cb4e2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,4 @@ script: - bundle install --path vendor/bundle - bundle exec rspec - gem build dropbox-sign.gemspec - - gem install ./dropbox-sign-1.13.0.gem + - gem install ./dropbox-sign-1.14.0.gem diff --git a/Gemfile.lock b/Gemfile.lock index 53ba4af..5419b65 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dropbox-sign (1.13.0) + dropbox-sign (1.14.0) typhoeus (~> 1.0, >= 1.0.1) GEM diff --git a/README.md b/README.md index bdddf0d..bbb4e3a 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ directory that corresponds to the file you want updated. This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 3.0.0 -- Package version: 1.13.0 +- Package version: 1.14.0 - Generator version: 7.12.0 - Build package: org.openapitools.codegen.languages.RubyClientCodegen @@ -47,15 +47,15 @@ gem build dropbox-sign.gemspec Then install the gem locally: ```shell -gem install ./dropbox-sign-1.13.0.gem +gem install ./dropbox-sign-1.14.0.gem ``` -(for development, run `gem install --dev ./dropbox-sign-1.13.0.gem` to install the development dependencies) +(for development, run `gem install --dev ./dropbox-sign-1.14.0.gem` to install the development dependencies) Finally add this to the Gemfile: - gem 'dropbox-sign', '~> 1.13.0' + gem 'dropbox-sign', '~> 1.14.0' ### Install from Git diff --git a/VERSION b/VERSION index feaae22..850e742 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.13.0 +1.14.0 diff --git a/docs/TemplateResponseDocumentFormFieldDropdown.md b/docs/TemplateResponseDocumentFormFieldDropdown.md index b224d10..377386f 100644 --- a/docs/TemplateResponseDocumentFormFieldDropdown.md +++ b/docs/TemplateResponseDocumentFormFieldDropdown.md @@ -8,4 +8,5 @@ This class extends `TemplateResponseDocumentFormFieldBase` | ---- | ---- | ----------- | ----- | | `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).

* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to 'dropdown'] | | `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | | +| `options` | ```Array``` | The options available for this dropdown form field. | | diff --git a/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb b/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb index 3d6e664..18bc6f9 100644 --- a/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb +++ b/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb @@ -27,11 +27,16 @@ class TemplateResponseDocumentFormFieldDropdown < TemplateResponseDocumentFormFi # @return [String, nil] attr_accessor :group + # The options available for this dropdown form field. + # @return [Array] + attr_accessor :options + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'type' => :'type', - :'group' => :'group' + :'group' => :'group', + :'options' => :'options' } end @@ -49,14 +54,15 @@ def self.acceptable_attributes def self.openapi_types { :'type' => :'String', - :'group' => :'String' + :'group' => :'String', + :'options' => :'Array' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'group' + :'group', ]) end @@ -113,6 +119,12 @@ def initialize(attributes = {}) if attributes.key?(:'group') self.group = attributes[:'group'] end + + if attributes.key?(:'options') + if (value = attributes[:'options']).is_a?(Array) + self.options = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -149,7 +161,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && type == o.type && - group == o.group && super(o) + group == o.group && + options == o.options && super(o) end # @see the `==` method @@ -161,7 +174,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [type, group].hash + [type, group, options].hash end # Builds the object from hash diff --git a/lib/dropbox-sign/version.rb b/lib/dropbox-sign/version.rb index 0c62a77..2bd7e2a 100644 --- a/lib/dropbox-sign/version.rb +++ b/lib/dropbox-sign/version.rb @@ -14,5 +14,5 @@ module Dropbox end module Dropbox::Sign - VERSION = '1.13.0' + VERSION = '1.14.0' end diff --git a/openapi-config.yaml b/openapi-config.yaml index b6918fe..bd3845c 100644 --- a/openapi-config.yaml +++ b/openapi-config.yaml @@ -9,7 +9,7 @@ additionalProperties: gemName: dropbox-sign gemRequiredRubyVersion: '>= 2.7' moduleName: "Dropbox::Sign" - gemVersion: 1.13.0 + gemVersion: 1.14.0 sortModelPropertiesByRequiredFlag: true legacyDiscriminatorBehavior: true gitUserId: hellosign diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml index 72b323a..c7f08a1 100644 --- a/openapi-sdk.yaml +++ b/openapi-sdk.yaml @@ -13106,6 +13106,11 @@ components: description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.' type: string nullable: true + options: + description: 'The options available for this dropdown form field.' + type: array + items: + type: string type: object TemplateResponseDocumentFormFieldHyperlink: description: 'This class extends `TemplateResponseDocumentFormFieldBase`'