fountain_partner_api_client 0.0.1 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/DefaultApi.md +1 -1
  4. data/docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequest.md +3 -1
  5. data/docs/V1PartnersIdApplicantsApplicantIdPutRequest.md +3 -1
  6. data/docs/V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner.md +3 -1
  7. data/docs/V1PartnersIdApplicantsApplicantIdStatusPostRequest.md +3 -1
  8. data/docs/V1PartnersIdGet200Response1DataAttributes.md +2 -2
  9. data/docs/V1PartnersIdGet200ResponseDataAttributes.md +2 -2
  10. data/docs/V1PartnersIdGetRequest.md +2 -0
  11. data/docs/V1PartnersIdGetRequestPartner.md +1 -1
  12. data/docs/V1PartnersIdPut200Response.md +18 -0
  13. data/docs/V1PartnersIdPut200ResponseData.md +22 -0
  14. data/docs/V1PartnersIdPut200ResponseDataAttributes.md +38 -0
  15. data/docs/V1PartnersIdPutRequest.md +20 -0
  16. data/docs/V1PartnersIdPutRequestPartner.md +36 -0
  17. data/fountain_partner_api_client-0.0.2.gem +0 -0
  18. data/fountain_partner_api_client-0.0.3.gem +0 -0
  19. data/fountain_partner_api_client.gemspec +1 -1
  20. data/lib/fountain_partner_api_client/configuration.rb +3 -3
  21. data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request.rb +13 -4
  22. data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request.rb +13 -4
  23. data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner.rb +13 -4
  24. data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request.rb +13 -4
  25. data/lib/fountain_partner_api_client/models/v1_partners_id_get200_response1_data_attributes.rb +8 -4
  26. data/lib/fountain_partner_api_client/models/v1_partners_id_get200_response_data_attributes.rb +8 -4
  27. data/lib/fountain_partner_api_client/models/v1_partners_id_get_request.rb +10 -1
  28. data/lib/fountain_partner_api_client/models/v1_partners_id_get_request_partner.rb +4 -2
  29. data/lib/{openapi_client/models/v1_partners_id_get200_response1.rb → fountain_partner_api_client/models/v1_partners_id_put200_response.rb} +6 -6
  30. data/lib/{openapi_client/models/v1_partners_id_get200_response_data.rb → fountain_partner_api_client/models/v1_partners_id_put200_response_data.rb} +6 -6
  31. data/lib/{openapi_client/models/v1_partners_id_get200_response1_data_attributes.rb → fountain_partner_api_client/models/v1_partners_id_put200_response_data_attributes.rb} +6 -24
  32. data/lib/{openapi_client/models/v1_partners_id_get_request.rb → fountain_partner_api_client/models/v1_partners_id_put_request.rb} +16 -7
  33. data/lib/{openapi_client/models/v1_partners_id_get_request_partner.rb → fountain_partner_api_client/models/v1_partners_id_put_request_partner.rb} +6 -15
  34. data/lib/fountain_partner_api_client/version.rb +1 -1
  35. data/spec/api/default_api_spec.rb +5 -57
  36. data/spec/configuration_spec.rb +3 -3
  37. data/spec/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details_spec.rb +4 -4
  38. data/spec/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_spec.rb +4 -4
  39. data/spec/models/v1_partners_id_applicants_applicant_id_details_post_request_spec.rb +10 -4
  40. data/spec/models/v1_partners_id_applicants_applicant_id_put200_response_spec.rb +4 -4
  41. data/spec/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner_spec.rb +10 -4
  42. data/spec/models/v1_partners_id_applicants_applicant_id_put_request_applicant_spec.rb +4 -4
  43. data/spec/models/v1_partners_id_applicants_applicant_id_put_request_spec.rb +10 -4
  44. data/spec/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status_spec.rb +4 -4
  45. data/spec/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_spec.rb +4 -4
  46. data/spec/models/v1_partners_id_applicants_applicant_id_status_post_request_spec.rb +10 -4
  47. data/spec/models/v1_partners_id_get200_response1_data_attributes_spec.rb +4 -4
  48. data/spec/models/v1_partners_id_get200_response1_data_spec.rb +4 -4
  49. data/spec/models/v1_partners_id_get200_response1_spec.rb +4 -4
  50. data/spec/models/v1_partners_id_get200_response_data_attributes_spec.rb +4 -4
  51. data/spec/models/v1_partners_id_get200_response_data_spec.rb +4 -4
  52. data/spec/models/v1_partners_id_get200_response_spec.rb +4 -4
  53. data/spec/models/v1_partners_id_get_request_partner_spec.rb +4 -4
  54. data/spec/models/v1_partners_id_get_request_spec.rb +10 -4
  55. data/spec/models/v1_partners_id_put200_response_data_attributes_spec.rb +94 -0
  56. data/spec/models/v1_partners_id_put200_response_data_spec.rb +46 -0
  57. data/spec/models/v1_partners_id_put200_response_spec.rb +34 -0
  58. data/spec/models/v1_partners_id_put_request_partner_spec.rb +88 -0
  59. data/spec/models/v1_partners_id_put_request_spec.rb +40 -0
  60. metadata +25 -28
  61. data/lib/openapi_client/api/default_api.rb +0 -379
  62. data/lib/openapi_client/api_client.rb +0 -392
  63. data/lib/openapi_client/api_error.rb +0 -57
  64. data/lib/openapi_client/configuration.rb +0 -279
  65. data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request.rb +0 -219
  66. data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant.rb +0 -219
  67. data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details.rb +0 -255
  68. data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put200_response.rb +0 -230
  69. data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request.rb +0 -219
  70. data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant.rb +0 -221
  71. data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner.rb +0 -219
  72. data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request.rb +0 -219
  73. data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant.rb +0 -219
  74. data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status.rb +0 -255
  75. data/lib/openapi_client/models/v1_partners_id_get200_response.rb +0 -219
  76. data/lib/openapi_client/models/v1_partners_id_get200_response1_data.rb +0 -237
  77. data/lib/openapi_client/models/v1_partners_id_get200_response_data_attributes.rb +0 -309
  78. data/lib/openapi_client/version.rb +0 -15
  79. data/lib/openapi_client.rb +0 -58
  80. data/openapi_client.gemspec +0 -38
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0badbe77f27c944e3a6a8be080f3e7b2f652337e508f59d242e7254705b8fa16
4
- data.tar.gz: 26eb4a5874621a78915adea941e9627d9f5ff37fadaaaa54544c2632d727ee5b
3
+ metadata.gz: '09229e67c9a4e2c5228643fd31ed8e27b57f74d88319a4f64bd77144f256cc6e'
4
+ data.tar.gz: 74a1dc3aabd7d9d669b2d6cbedc87bd9d98b49ccf1c7f14ef5520722cb5e6979
5
5
  SHA512:
6
- metadata.gz: 10f4d784451fa85b02ae1131e00b63a87f8b595106a26d3220092bf6c713456ab97e458aaa866cf2caab75fd4227f59a0eeca9f30a6d35230c185b4a3142390a
7
- data.tar.gz: 600c36b96cf323925b949bba7791d721847cfda98747f276fd896b0d2a103d1eb47bed0f8f69d80da449d0a28478c74a269e2e700c6029cff9a02ee1441084fb
6
+ metadata.gz: c55d879aa2ba8a925a26e2a0294c5d4a9fc27ab7f82532437764c3d3e4e050162ad920cabc1b041fce4305d946dc78ab9a43cf14c79bdf235db32a6014f5134a
7
+ data.tar.gz: de9be0343e68c2c508f9cc81a0e216ed77b30c14128a534d69354ba9e18f0af97b77c2de3787500f657214a39ac6fe0039510f9a24f7586e5d24ddfccd8083e3
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v1
10
- - Package version: 0.0.1
10
+ - Package version: 0.0.4
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build fountain_partner_api_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./fountain_partner_api_client-0.0.1.gem
26
+ gem install ./fountain_partner_api_client-0.0.4.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./fountain_partner_api_client-0.0.1.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./fountain_partner_api_client-0.0.4.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'fountain_partner_api_client', '~> 0.0.1'
35
+ gem 'fountain_partner_api_client', '~> 0.0.4'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -83,7 +83,7 @@ end
83
83
 
84
84
  ## Documentation for API Endpoints
85
85
 
86
- All URIs are relative to *https://partners-sandbox.fountain.com*
86
+ All URIs are relative to *http://localhost:3009*
87
87
 
88
88
  Class | Method | HTTP request | Description
89
89
  ------------ | ------------- | ------------- | -------------
data/docs/DefaultApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # FountainPartnerApiClient::DefaultApi
2
2
 
3
- All URIs are relative to *https://partners-sandbox.fountain.com*
3
+ All URIs are relative to *http://localhost:3009*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **applicant** | [**V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant**](V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant.md) | | [optional] |
8
+ | **format** | **Object** | | [optional] |
8
9
 
9
10
  ## Example
10
11
 
@@ -12,7 +13,8 @@
12
13
  require 'fountain_partner_api_client'
13
14
 
14
15
  instance = FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdDetailsPostRequest.new(
15
- applicant: null
16
+ applicant: null,
17
+ format: null
16
18
  )
17
19
  ```
18
20
 
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **applicant** | [**V1PartnersIdApplicantsApplicantIdPutRequestApplicant**](V1PartnersIdApplicantsApplicantIdPutRequestApplicant.md) | | [optional] |
8
+ | **format** | **Object** | | [optional] |
8
9
 
9
10
  ## Example
10
11
 
@@ -12,7 +13,8 @@
12
13
  require 'fountain_partner_api_client'
13
14
 
14
15
  instance = FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPutRequest.new(
15
- applicant: null
16
+ applicant: null,
17
+ format: null
16
18
  )
17
19
  ```
18
20
 
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **key** | **String** | | [optional] |
8
+ | **value** | **String** | | [optional] |
8
9
 
9
10
  ## Example
10
11
 
@@ -12,7 +13,8 @@
12
13
  require 'fountain_partner_api_client'
13
14
 
14
15
  instance = FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner.new(
15
- key: null
16
+ key: null,
17
+ value: null
16
18
  )
17
19
  ```
18
20
 
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **applicant** | [**V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicant**](V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicant.md) | | [optional] |
8
+ | **format** | **Object** | | [optional] |
8
9
 
9
10
  ## Example
10
11
 
@@ -12,7 +13,8 @@
12
13
  require 'fountain_partner_api_client'
13
14
 
14
15
  instance = FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdStatusPostRequest.new(
15
- applicant: null
16
+ applicant: null,
17
+ format: null
16
18
  )
17
19
  ```
18
20
 
@@ -8,9 +8,9 @@
8
8
  | **applicant_redirect_url** | **String** | | [optional] |
9
9
  | **applicant_webhook** | **String** | | [optional] |
10
10
  | **install_webhook** | **String** | | [optional] |
11
- | **label_keys** | **Array** | | [optional] |
11
+ | **label_keys** | **Array<String>** | | [optional] |
12
12
  | **name** | **String** | | [optional] |
13
- | **requested_attributes** | **Array** | | [optional] |
13
+ | **requested_attributes** | **Array<Object>** | | [optional] |
14
14
  | **settings_auth_header** | **String** | | [optional] |
15
15
  | **settings_auth_method** | **String** | | [optional] |
16
16
  | **settings_password** | **String** | | [optional] |
@@ -8,9 +8,9 @@
8
8
  | **applicant_redirect_url** | **String** | | [optional] |
9
9
  | **applicant_webhook** | **String** | | [optional] |
10
10
  | **install_webhook** | **String** | | [optional] |
11
- | **label_keys** | **Array** | | [optional] |
11
+ | **label_keys** | **Array<Object>** | | [optional] |
12
12
  | **name** | **String** | | [optional] |
13
- | **requested_attributes** | **Array** | | [optional] |
13
+ | **requested_attributes** | **Array<Object>** | | [optional] |
14
14
  | **settings_auth_header** | **String** | | [optional] |
15
15
  | **settings_auth_method** | **String** | | [optional] |
16
16
  | **settings_webhook** | **String** | | [optional] |
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **format** | **Object** | | [optional] |
7
8
  | **partner** | [**V1PartnersIdGetRequestPartner**](V1PartnersIdGetRequestPartner.md) | | [optional] |
8
9
 
9
10
  ## Example
@@ -12,6 +13,7 @@
12
13
  require 'fountain_partner_api_client'
13
14
 
14
15
  instance = FountainPartnerApiClient::V1PartnersIdGetRequest.new(
16
+ format: null,
15
17
  partner: null
16
18
  )
17
19
  ```
@@ -7,7 +7,7 @@
7
7
  | **applicant_redirect_url** | **String** | | [optional] |
8
8
  | **applicant_webhook** | **String** | | [optional] |
9
9
  | **install_webhook** | **String** | | [optional] |
10
- | **label_keys** | **Array** | | [optional] |
10
+ | **label_keys** | **Array<String>** | | [optional] |
11
11
  | **partner_hmac_key** | **String** | | [optional] |
12
12
  | **settings_auth_header** | **String** | | [optional] |
13
13
  | **settings_auth_method** | **String** | | [optional] |
@@ -0,0 +1,18 @@
1
+ # FountainPartnerApiClient::V1PartnersIdPut200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**V1PartnersIdPut200ResponseData**](V1PartnersIdPut200ResponseData.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'fountain_partner_api_client'
13
+
14
+ instance = FountainPartnerApiClient::V1PartnersIdPut200Response.new(
15
+ data: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # FountainPartnerApiClient::V1PartnersIdPut200ResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **attributes** | [**V1PartnersIdPut200ResponseDataAttributes**](V1PartnersIdPut200ResponseDataAttributes.md) | | [optional] |
8
+ | **id** | **String** | | [optional] |
9
+ | **type** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'fountain_partner_api_client'
15
+
16
+ instance = FountainPartnerApiClient::V1PartnersIdPut200ResponseData.new(
17
+ attributes: null,
18
+ id: null,
19
+ type: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,38 @@
1
+ # FountainPartnerApiClient::V1PartnersIdPut200ResponseDataAttributes
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **api_key** | **String** | | [optional] |
8
+ | **applicant_redirect_url** | **String** | | [optional] |
9
+ | **applicant_webhook** | **String** | | [optional] |
10
+ | **install_webhook** | **String** | | [optional] |
11
+ | **name** | **String** | | [optional] |
12
+ | **settings_auth_header** | **String** | | [optional] |
13
+ | **settings_auth_method** | **String** | | [optional] |
14
+ | **settings_password** | **String** | | [optional] |
15
+ | **settings_username** | **String** | | [optional] |
16
+ | **settings_webhook** | **String** | | [optional] |
17
+ | **uninstall_webhook** | **String** | | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'fountain_partner_api_client'
23
+
24
+ instance = FountainPartnerApiClient::V1PartnersIdPut200ResponseDataAttributes.new(
25
+ api_key: null,
26
+ applicant_redirect_url: null,
27
+ applicant_webhook: null,
28
+ install_webhook: null,
29
+ name: null,
30
+ settings_auth_header: null,
31
+ settings_auth_method: null,
32
+ settings_password: null,
33
+ settings_username: null,
34
+ settings_webhook: null,
35
+ uninstall_webhook: null
36
+ )
37
+ ```
38
+
@@ -0,0 +1,20 @@
1
+ # FountainPartnerApiClient::V1PartnersIdPutRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **format** | **Object** | | [optional] |
8
+ | **partner** | [**V1PartnersIdPutRequestPartner**](V1PartnersIdPutRequestPartner.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'fountain_partner_api_client'
14
+
15
+ instance = FountainPartnerApiClient::V1PartnersIdPutRequest.new(
16
+ format: null,
17
+ partner: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,36 @@
1
+ # FountainPartnerApiClient::V1PartnersIdPutRequestPartner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **applicant_redirect_url** | **String** | | [optional] |
8
+ | **applicant_webhook** | **String** | | [optional] |
9
+ | **install_webhook** | **String** | | [optional] |
10
+ | **partner_hmac_key** | **String** | | [optional] |
11
+ | **settings_auth_header** | **String** | | [optional] |
12
+ | **settings_auth_method** | **String** | | [optional] |
13
+ | **settings_password** | **String** | | [optional] |
14
+ | **settings_username** | **String** | | [optional] |
15
+ | **settings_webhook** | **String** | | [optional] |
16
+ | **uninstall_webhook** | **String** | | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'fountain_partner_api_client'
22
+
23
+ instance = FountainPartnerApiClient::V1PartnersIdPutRequestPartner.new(
24
+ applicant_redirect_url: null,
25
+ applicant_webhook: null,
26
+ install_webhook: null,
27
+ partner_hmac_key: null,
28
+ settings_auth_header: null,
29
+ settings_auth_method: null,
30
+ settings_password: null,
31
+ settings_username: null,
32
+ settings_webhook: null,
33
+ uninstall_webhook: null
34
+ )
35
+ ```
36
+
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.name = "fountain_partner_api_client"
20
20
  s.version = FountainPartnerApiClient::VERSION
21
21
  s.platform = Gem::Platform::RUBY
22
- s.authors = ["James Thullbery"]
22
+ s.authors = ["Fountain Engineering"]
23
23
  s.email = ["info@fountain.com"]
24
24
  s.homepage = "https://partners.fountain.com/"
25
25
  s.summary = "Fountain Partner Docs Ruby Gem"
@@ -139,8 +139,8 @@ module FountainPartnerApiClient
139
139
  attr_accessor :force_ending_format
140
140
 
141
141
  def initialize
142
- @scheme = 'https'
143
- @host = 'partners-sandbox.fountain.com'
142
+ @scheme = 'http'
143
+ @host = 'localhost:3009'
144
144
  @base_path = ''
145
145
  @server_index = 0
146
146
  @server_operation_index = {}
@@ -230,7 +230,7 @@ module FountainPartnerApiClient
230
230
  def server_settings
231
231
  [
232
232
  {
233
- url: "https://partners-sandbox.fountain.com",
233
+ url: "localhost:3009",
234
234
  description: "Our production partners url.",
235
235
  }
236
236
  ]
@@ -17,10 +17,13 @@ module FountainPartnerApiClient
17
17
  class V1PartnersIdApplicantsApplicantIdDetailsPostRequest
18
18
  attr_accessor :applicant
19
19
 
20
+ attr_accessor :format
21
+
20
22
  # Attribute mapping from ruby-style variable name to JSON key.
21
23
  def self.attribute_map
22
24
  {
23
- :'applicant' => :'applicant'
25
+ :'applicant' => :'applicant',
26
+ :'format' => :'format'
24
27
  }
25
28
  end
26
29
 
@@ -32,7 +35,8 @@ module FountainPartnerApiClient
32
35
  # Attribute type mapping.
33
36
  def self.openapi_types
34
37
  {
35
- :'applicant' => :'V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant'
38
+ :'applicant' => :'V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant',
39
+ :'format' => :'Object'
36
40
  }
37
41
  end
38
42
 
@@ -60,6 +64,10 @@ module FountainPartnerApiClient
60
64
  if attributes.key?(:'applicant')
61
65
  self.applicant = attributes[:'applicant']
62
66
  end
67
+
68
+ if attributes.key?(:'format')
69
+ self.format = attributes[:'format']
70
+ end
63
71
  end
64
72
 
65
73
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -80,7 +88,8 @@ module FountainPartnerApiClient
80
88
  def ==(o)
81
89
  return true if self.equal?(o)
82
90
  self.class == o.class &&
83
- applicant == o.applicant
91
+ applicant == o.applicant &&
92
+ format == o.format
84
93
  end
85
94
 
86
95
  # @see the `==` method
@@ -92,7 +101,7 @@ module FountainPartnerApiClient
92
101
  # Calculates hash code according to all attributes.
93
102
  # @return [Integer] Hash code
94
103
  def hash
95
- [applicant].hash
104
+ [applicant, format].hash
96
105
  end
97
106
 
98
107
  # Builds the object from hash
@@ -17,10 +17,13 @@ module FountainPartnerApiClient
17
17
  class V1PartnersIdApplicantsApplicantIdPutRequest
18
18
  attr_accessor :applicant
19
19
 
20
+ attr_accessor :format
21
+
20
22
  # Attribute mapping from ruby-style variable name to JSON key.
21
23
  def self.attribute_map
22
24
  {
23
- :'applicant' => :'applicant'
25
+ :'applicant' => :'applicant',
26
+ :'format' => :'format'
24
27
  }
25
28
  end
26
29
 
@@ -32,7 +35,8 @@ module FountainPartnerApiClient
32
35
  # Attribute type mapping.
33
36
  def self.openapi_types
34
37
  {
35
- :'applicant' => :'V1PartnersIdApplicantsApplicantIdPutRequestApplicant'
38
+ :'applicant' => :'V1PartnersIdApplicantsApplicantIdPutRequestApplicant',
39
+ :'format' => :'Object'
36
40
  }
37
41
  end
38
42
 
@@ -60,6 +64,10 @@ module FountainPartnerApiClient
60
64
  if attributes.key?(:'applicant')
61
65
  self.applicant = attributes[:'applicant']
62
66
  end
67
+
68
+ if attributes.key?(:'format')
69
+ self.format = attributes[:'format']
70
+ end
63
71
  end
64
72
 
65
73
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -80,7 +88,8 @@ module FountainPartnerApiClient
80
88
  def ==(o)
81
89
  return true if self.equal?(o)
82
90
  self.class == o.class &&
83
- applicant == o.applicant
91
+ applicant == o.applicant &&
92
+ format == o.format
84
93
  end
85
94
 
86
95
  # @see the `==` method
@@ -92,7 +101,7 @@ module FountainPartnerApiClient
92
101
  # Calculates hash code according to all attributes.
93
102
  # @return [Integer] Hash code
94
103
  def hash
95
- [applicant].hash
104
+ [applicant, format].hash
96
105
  end
97
106
 
98
107
  # Builds the object from hash
@@ -17,10 +17,13 @@ module FountainPartnerApiClient
17
17
  class V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner
18
18
  attr_accessor :key
19
19
 
20
+ attr_accessor :value
21
+
20
22
  # Attribute mapping from ruby-style variable name to JSON key.
21
23
  def self.attribute_map
22
24
  {
23
- :'key' => :'key'
25
+ :'key' => :'key',
26
+ :'value' => :'value'
24
27
  }
25
28
  end
26
29
 
@@ -32,7 +35,8 @@ module FountainPartnerApiClient
32
35
  # Attribute type mapping.
33
36
  def self.openapi_types
34
37
  {
35
- :'key' => :'String'
38
+ :'key' => :'String',
39
+ :'value' => :'String'
36
40
  }
37
41
  end
38
42
 
@@ -60,6 +64,10 @@ module FountainPartnerApiClient
60
64
  if attributes.key?(:'key')
61
65
  self.key = attributes[:'key']
62
66
  end
67
+
68
+ if attributes.key?(:'value')
69
+ self.value = attributes[:'value']
70
+ end
63
71
  end
64
72
 
65
73
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -80,7 +88,8 @@ module FountainPartnerApiClient
80
88
  def ==(o)
81
89
  return true if self.equal?(o)
82
90
  self.class == o.class &&
83
- key == o.key
91
+ key == o.key &&
92
+ value == o.value
84
93
  end
85
94
 
86
95
  # @see the `==` method
@@ -92,7 +101,7 @@ module FountainPartnerApiClient
92
101
  # Calculates hash code according to all attributes.
93
102
  # @return [Integer] Hash code
94
103
  def hash
95
- [key].hash
104
+ [key, value].hash
96
105
  end
97
106
 
98
107
  # Builds the object from hash
@@ -17,10 +17,13 @@ module FountainPartnerApiClient
17
17
  class V1PartnersIdApplicantsApplicantIdStatusPostRequest
18
18
  attr_accessor :applicant
19
19
 
20
+ attr_accessor :format
21
+
20
22
  # Attribute mapping from ruby-style variable name to JSON key.
21
23
  def self.attribute_map
22
24
  {
23
- :'applicant' => :'applicant'
25
+ :'applicant' => :'applicant',
26
+ :'format' => :'format'
24
27
  }
25
28
  end
26
29
 
@@ -32,7 +35,8 @@ module FountainPartnerApiClient
32
35
  # Attribute type mapping.
33
36
  def self.openapi_types
34
37
  {
35
- :'applicant' => :'V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicant'
38
+ :'applicant' => :'V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicant',
39
+ :'format' => :'Object'
36
40
  }
37
41
  end
38
42
 
@@ -60,6 +64,10 @@ module FountainPartnerApiClient
60
64
  if attributes.key?(:'applicant')
61
65
  self.applicant = attributes[:'applicant']
62
66
  end
67
+
68
+ if attributes.key?(:'format')
69
+ self.format = attributes[:'format']
70
+ end
63
71
  end
64
72
 
65
73
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -80,7 +88,8 @@ module FountainPartnerApiClient
80
88
  def ==(o)
81
89
  return true if self.equal?(o)
82
90
  self.class == o.class &&
83
- applicant == o.applicant
91
+ applicant == o.applicant &&
92
+ format == o.format
84
93
  end
85
94
 
86
95
  # @see the `==` method
@@ -92,7 +101,7 @@ module FountainPartnerApiClient
92
101
  # Calculates hash code according to all attributes.
93
102
  # @return [Integer] Hash code
94
103
  def hash
95
- [applicant].hash
104
+ [applicant, format].hash
96
105
  end
97
106
 
98
107
  # Builds the object from hash
@@ -72,9 +72,9 @@ module FountainPartnerApiClient
72
72
  :'applicant_redirect_url' => :'String',
73
73
  :'applicant_webhook' => :'String',
74
74
  :'install_webhook' => :'String',
75
- :'label_keys' => :'Array',
75
+ :'label_keys' => :'Array<String>',
76
76
  :'name' => :'String',
77
- :'requested_attributes' => :'Array',
77
+ :'requested_attributes' => :'Array<Object>',
78
78
  :'settings_auth_header' => :'String',
79
79
  :'settings_auth_method' => :'String',
80
80
  :'settings_password' => :'String',
@@ -122,7 +122,9 @@ module FountainPartnerApiClient
122
122
  end
123
123
 
124
124
  if attributes.key?(:'label_keys')
125
- self.label_keys = attributes[:'label_keys']
125
+ if (value = attributes[:'label_keys']).is_a?(Array)
126
+ self.label_keys = value
127
+ end
126
128
  end
127
129
 
128
130
  if attributes.key?(:'name')
@@ -130,7 +132,9 @@ module FountainPartnerApiClient
130
132
  end
131
133
 
132
134
  if attributes.key?(:'requested_attributes')
133
- self.requested_attributes = attributes[:'requested_attributes']
135
+ if (value = attributes[:'requested_attributes']).is_a?(Array)
136
+ self.requested_attributes = value
137
+ end
134
138
  end
135
139
 
136
140
  if attributes.key?(:'settings_auth_header')
@@ -66,9 +66,9 @@ module FountainPartnerApiClient
66
66
  :'applicant_redirect_url' => :'String',
67
67
  :'applicant_webhook' => :'String',
68
68
  :'install_webhook' => :'String',
69
- :'label_keys' => :'Array',
69
+ :'label_keys' => :'Array<Object>',
70
70
  :'name' => :'String',
71
- :'requested_attributes' => :'Array',
71
+ :'requested_attributes' => :'Array<Object>',
72
72
  :'settings_auth_header' => :'String',
73
73
  :'settings_auth_method' => :'String',
74
74
  :'settings_webhook' => :'String',
@@ -114,7 +114,9 @@ module FountainPartnerApiClient
114
114
  end
115
115
 
116
116
  if attributes.key?(:'label_keys')
117
- self.label_keys = attributes[:'label_keys']
117
+ if (value = attributes[:'label_keys']).is_a?(Array)
118
+ self.label_keys = value
119
+ end
118
120
  end
119
121
 
120
122
  if attributes.key?(:'name')
@@ -122,7 +124,9 @@ module FountainPartnerApiClient
122
124
  end
123
125
 
124
126
  if attributes.key?(:'requested_attributes')
125
- self.requested_attributes = attributes[:'requested_attributes']
127
+ if (value = attributes[:'requested_attributes']).is_a?(Array)
128
+ self.requested_attributes = value
129
+ end
126
130
  end
127
131
 
128
132
  if attributes.key?(:'settings_auth_header')