Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
dropbox-sign (1.13.0)
dropbox-sign (1.14.0)
typhoeus (~> 1.0, >= 1.0.1)

GEM
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.13.0
1.14.0
1 change: 1 addition & 0 deletions docs/TemplateResponseDocumentFormFieldDropdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| ---- | ---- | ----------- | ----- |
| `type`<sup>*_required_</sup> | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).<br><br>* Text Field uses `TemplateResponseDocumentFormFieldText`<br>* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`<br>* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`<br>* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`<br>* Radio Field uses `TemplateResponseDocumentFormFieldRadio`<br>* Signature Field uses `TemplateResponseDocumentFormFieldSignature`<br>* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`<br>* 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<String>``` | The options available for this dropdown form field. | |

Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,16 @@ class TemplateResponseDocumentFormFieldDropdown < TemplateResponseDocumentFormFi
# @return [String, nil]
attr_accessor :group

# The options available for this dropdown form field.
# @return [Array<String>]
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

Expand All @@ -49,14 +54,15 @@ def self.acceptable_attributes
def self.openapi_types
{
:'type' => :'String',
:'group' => :'String'
:'group' => :'String',
:'options' => :'Array<String>'
}
end

# List of attributes with nullable: true
def self.openapi_nullable
Set.new([
:'group'
:'group',
])
end

Expand Down Expand Up @@ -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?
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/dropbox-sign/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ module Dropbox
end

module Dropbox::Sign
VERSION = '1.13.0'
VERSION = '1.14.0'
end
2 changes: 1 addition & 1 deletion openapi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions openapi-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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`'
Expand Down
Loading