fountain_partner_api_client 0.0.1 → 0.0.3
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.
- checksums.yaml +4 -4
- data/README.md +10 -23
- data/docs/DefaultApi.md +1 -229
- data/docs/V1PartnersIdGet200Response1DataAttributes.md +2 -2
- data/docs/V1PartnersIdGet200ResponseDataAttributes.md +2 -2
- data/docs/V1PartnersIdGetRequest.md +2 -0
- data/docs/V1PartnersIdGetRequestPartner.md +1 -1
- data/docs/V1PartnersIdPut200Response.md +18 -0
- data/docs/V1PartnersIdPut200ResponseData.md +22 -0
- data/docs/V1PartnersIdPut200ResponseDataAttributes.md +38 -0
- data/docs/V1PartnersIdPutRequest.md +20 -0
- data/docs/V1PartnersIdPutRequestPartner.md +36 -0
- data/fountain_partner_api_client-0.0.2.gem +0 -0
- data/fountain_partner_api_client.gemspec +1 -1
- data/lib/fountain_partner_api_client/api/default_api.rb +0 -222
- data/lib/fountain_partner_api_client/configuration.rb +3 -3
- data/lib/fountain_partner_api_client/models/v1_partners_id_get200_response1_data_attributes.rb +8 -4
- data/lib/fountain_partner_api_client/models/v1_partners_id_get200_response_data_attributes.rb +8 -4
- data/lib/fountain_partner_api_client/models/v1_partners_id_get_request.rb +10 -1
- data/lib/fountain_partner_api_client/models/v1_partners_id_get_request_partner.rb +4 -2
- data/lib/{openapi_client/models/v1_partners_id_get200_response1.rb → fountain_partner_api_client/models/v1_partners_id_put200_response.rb} +6 -6
- 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
- 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
- data/lib/{openapi_client/models/v1_partners_id_get_request.rb → fountain_partner_api_client/models/v1_partners_id_put_request.rb} +16 -7
- 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
- data/lib/fountain_partner_api_client/version.rb +1 -1
- data/lib/fountain_partner_api_client.rb +0 -10
- data/spec/api/default_api_spec.rb +5 -57
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/v1_partners_id_get200_response1_data_attributes_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response1_data_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response1_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response_data_attributes_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response_data_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response_spec.rb +4 -4
- data/spec/models/v1_partners_id_get_request_partner_spec.rb +4 -4
- data/spec/models/v1_partners_id_get_request_spec.rb +10 -4
- data/spec/models/v1_partners_id_put200_response_data_attributes_spec.rb +94 -0
- data/spec/models/v1_partners_id_put200_response_data_spec.rb +46 -0
- data/spec/models/{v1_partners_id_applicants_applicant_id_put_request_spec.rb → v1_partners_id_put200_response_spec.rb} +7 -7
- data/spec/models/v1_partners_id_put_request_partner_spec.rb +88 -0
- data/spec/models/{v1_partners_id_applicants_applicant_id_put200_response_spec.rb → v1_partners_id_put_request_spec.rb} +8 -8
- metadata +24 -68
- data/docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequest.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicantPartnerDetails.md +0 -26
- data/docs/V1PartnersIdApplicantsApplicantIdPut200Response.md +0 -20
- data/docs/V1PartnersIdApplicantsApplicantIdPutRequest.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdPutRequestApplicant.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdStatusPostRequest.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicant.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicantPartnerStatus.md +0 -26
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details.rb +0 -255
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put200_response.rb +0 -230
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant.rb +0 -221
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status.rb +0 -255
- data/lib/openapi_client/api/default_api.rb +0 -379
- data/lib/openapi_client/api_client.rb +0 -392
- data/lib/openapi_client/api_error.rb +0 -57
- data/lib/openapi_client/configuration.rb +0 -279
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details.rb +0 -255
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put200_response.rb +0 -230
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant.rb +0 -221
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status.rb +0 -255
- data/lib/openapi_client/models/v1_partners_id_get200_response.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_get200_response1_data.rb +0 -237
- data/lib/openapi_client/models/v1_partners_id_get200_response_data_attributes.rb +0 -309
- data/lib/openapi_client/version.rb +0 -15
- data/lib/openapi_client.rb +0 -58
- data/openapi_client.gemspec +0 -38
- data/spec/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details_spec.rb +0 -58
- data/spec/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_details_post_request_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_put_request_applicant_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status_spec.rb +0 -58
- data/spec/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_status_post_request_spec.rb +0 -34
@@ -14,24 +14,24 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FountainPartnerApiClient::V1PartnersIdPutRequest
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe FountainPartnerApiClient::V1PartnersIdPutRequest do
|
21
|
+
let(:instance) { FountainPartnerApiClient::V1PartnersIdPutRequest.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(
|
23
|
+
describe 'test an instance of V1PartnersIdPutRequest' do
|
24
|
+
it 'should create an instance of V1PartnersIdPutRequest' do
|
25
|
+
expect(instance).to be_instance_of(FountainPartnerApiClient::V1PartnersIdPutRequest)
|
26
26
|
end
|
27
27
|
end
|
28
|
-
describe 'test attribute "
|
28
|
+
describe 'test attribute "format"' do
|
29
29
|
it 'should work' do
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
describe 'test attribute "
|
34
|
+
describe 'test attribute "partner"' do
|
35
35
|
it 'should work' do
|
36
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fountain_partner_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Fountain Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -61,16 +61,6 @@ files:
|
|
61
61
|
- README.md
|
62
62
|
- Rakefile
|
63
63
|
- docs/DefaultApi.md
|
64
|
-
- docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequest.md
|
65
|
-
- docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant.md
|
66
|
-
- docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicantPartnerDetails.md
|
67
|
-
- docs/V1PartnersIdApplicantsApplicantIdPut200Response.md
|
68
|
-
- docs/V1PartnersIdApplicantsApplicantIdPutRequest.md
|
69
|
-
- docs/V1PartnersIdApplicantsApplicantIdPutRequestApplicant.md
|
70
|
-
- docs/V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner.md
|
71
|
-
- docs/V1PartnersIdApplicantsApplicantIdStatusPostRequest.md
|
72
|
-
- docs/V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicant.md
|
73
|
-
- docs/V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicantPartnerStatus.md
|
74
64
|
- docs/V1PartnersIdGet200Response.md
|
75
65
|
- docs/V1PartnersIdGet200Response1.md
|
76
66
|
- docs/V1PartnersIdGet200Response1Data.md
|
@@ -79,6 +69,12 @@ files:
|
|
79
69
|
- docs/V1PartnersIdGet200ResponseDataAttributes.md
|
80
70
|
- docs/V1PartnersIdGetRequest.md
|
81
71
|
- docs/V1PartnersIdGetRequestPartner.md
|
72
|
+
- docs/V1PartnersIdPut200Response.md
|
73
|
+
- docs/V1PartnersIdPut200ResponseData.md
|
74
|
+
- docs/V1PartnersIdPut200ResponseDataAttributes.md
|
75
|
+
- docs/V1PartnersIdPutRequest.md
|
76
|
+
- docs/V1PartnersIdPutRequestPartner.md
|
77
|
+
- fountain_partner_api_client-0.0.2.gem
|
82
78
|
- fountain_partner_api_client.gemspec
|
83
79
|
- git_push.sh
|
84
80
|
- lib/fountain_partner_api_client.rb
|
@@ -86,16 +82,6 @@ files:
|
|
86
82
|
- lib/fountain_partner_api_client/api_client.rb
|
87
83
|
- lib/fountain_partner_api_client/api_error.rb
|
88
84
|
- lib/fountain_partner_api_client/configuration.rb
|
89
|
-
- lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request.rb
|
90
|
-
- lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant.rb
|
91
|
-
- lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details.rb
|
92
|
-
- lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put200_response.rb
|
93
|
-
- lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request.rb
|
94
|
-
- lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant.rb
|
95
|
-
- lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner.rb
|
96
|
-
- lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request.rb
|
97
|
-
- lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant.rb
|
98
|
-
- lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status.rb
|
99
85
|
- lib/fountain_partner_api_client/models/v1_partners_id_get200_response.rb
|
100
86
|
- lib/fountain_partner_api_client/models/v1_partners_id_get200_response1.rb
|
101
87
|
- lib/fountain_partner_api_client/models/v1_partners_id_get200_response1_data.rb
|
@@ -104,45 +90,15 @@ files:
|
|
104
90
|
- lib/fountain_partner_api_client/models/v1_partners_id_get200_response_data_attributes.rb
|
105
91
|
- lib/fountain_partner_api_client/models/v1_partners_id_get_request.rb
|
106
92
|
- lib/fountain_partner_api_client/models/v1_partners_id_get_request_partner.rb
|
93
|
+
- lib/fountain_partner_api_client/models/v1_partners_id_put200_response.rb
|
94
|
+
- lib/fountain_partner_api_client/models/v1_partners_id_put200_response_data.rb
|
95
|
+
- lib/fountain_partner_api_client/models/v1_partners_id_put200_response_data_attributes.rb
|
96
|
+
- lib/fountain_partner_api_client/models/v1_partners_id_put_request.rb
|
97
|
+
- lib/fountain_partner_api_client/models/v1_partners_id_put_request_partner.rb
|
107
98
|
- lib/fountain_partner_api_client/version.rb
|
108
|
-
- lib/openapi_client.rb
|
109
|
-
- lib/openapi_client/api/default_api.rb
|
110
|
-
- lib/openapi_client/api_client.rb
|
111
|
-
- lib/openapi_client/api_error.rb
|
112
|
-
- lib/openapi_client/configuration.rb
|
113
|
-
- lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request.rb
|
114
|
-
- lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant.rb
|
115
|
-
- lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details.rb
|
116
|
-
- lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put200_response.rb
|
117
|
-
- lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request.rb
|
118
|
-
- lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant.rb
|
119
|
-
- lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner.rb
|
120
|
-
- lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request.rb
|
121
|
-
- lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant.rb
|
122
|
-
- lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status.rb
|
123
|
-
- lib/openapi_client/models/v1_partners_id_get200_response.rb
|
124
|
-
- lib/openapi_client/models/v1_partners_id_get200_response1.rb
|
125
|
-
- lib/openapi_client/models/v1_partners_id_get200_response1_data.rb
|
126
|
-
- lib/openapi_client/models/v1_partners_id_get200_response1_data_attributes.rb
|
127
|
-
- lib/openapi_client/models/v1_partners_id_get200_response_data.rb
|
128
|
-
- lib/openapi_client/models/v1_partners_id_get200_response_data_attributes.rb
|
129
|
-
- lib/openapi_client/models/v1_partners_id_get_request.rb
|
130
|
-
- lib/openapi_client/models/v1_partners_id_get_request_partner.rb
|
131
|
-
- lib/openapi_client/version.rb
|
132
|
-
- openapi_client.gemspec
|
133
99
|
- spec/api/default_api_spec.rb
|
134
100
|
- spec/api_client_spec.rb
|
135
101
|
- spec/configuration_spec.rb
|
136
|
-
- spec/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details_spec.rb
|
137
|
-
- spec/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_spec.rb
|
138
|
-
- spec/models/v1_partners_id_applicants_applicant_id_details_post_request_spec.rb
|
139
|
-
- spec/models/v1_partners_id_applicants_applicant_id_put200_response_spec.rb
|
140
|
-
- spec/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner_spec.rb
|
141
|
-
- spec/models/v1_partners_id_applicants_applicant_id_put_request_applicant_spec.rb
|
142
|
-
- spec/models/v1_partners_id_applicants_applicant_id_put_request_spec.rb
|
143
|
-
- spec/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status_spec.rb
|
144
|
-
- spec/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_spec.rb
|
145
|
-
- spec/models/v1_partners_id_applicants_applicant_id_status_post_request_spec.rb
|
146
102
|
- spec/models/v1_partners_id_get200_response1_data_attributes_spec.rb
|
147
103
|
- spec/models/v1_partners_id_get200_response1_data_spec.rb
|
148
104
|
- spec/models/v1_partners_id_get200_response1_spec.rb
|
@@ -151,6 +107,11 @@ files:
|
|
151
107
|
- spec/models/v1_partners_id_get200_response_spec.rb
|
152
108
|
- spec/models/v1_partners_id_get_request_partner_spec.rb
|
153
109
|
- spec/models/v1_partners_id_get_request_spec.rb
|
110
|
+
- spec/models/v1_partners_id_put200_response_data_attributes_spec.rb
|
111
|
+
- spec/models/v1_partners_id_put200_response_data_spec.rb
|
112
|
+
- spec/models/v1_partners_id_put200_response_spec.rb
|
113
|
+
- spec/models/v1_partners_id_put_request_partner_spec.rb
|
114
|
+
- spec/models/v1_partners_id_put_request_spec.rb
|
154
115
|
- spec/spec_helper.rb
|
155
116
|
homepage: https://partners.fountain.com/
|
156
117
|
licenses:
|
@@ -179,22 +140,17 @@ test_files:
|
|
179
140
|
- spec/api/default_api_spec.rb
|
180
141
|
- spec/api_client_spec.rb
|
181
142
|
- spec/configuration_spec.rb
|
143
|
+
- spec/models/v1_partners_id_put200_response_spec.rb
|
182
144
|
- spec/models/v1_partners_id_get200_response_spec.rb
|
183
|
-
- spec/models/v1_partners_id_applicants_applicant_id_put_request_spec.rb
|
184
|
-
- spec/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details_spec.rb
|
185
|
-
- spec/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_spec.rb
|
186
|
-
- spec/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_spec.rb
|
187
145
|
- spec/models/v1_partners_id_get200_response1_data_attributes_spec.rb
|
188
146
|
- spec/models/v1_partners_id_get200_response_data_spec.rb
|
189
147
|
- spec/models/v1_partners_id_get_request_spec.rb
|
190
148
|
- spec/models/v1_partners_id_get200_response_data_attributes_spec.rb
|
191
149
|
- spec/models/v1_partners_id_get200_response1_data_spec.rb
|
192
|
-
- spec/models/
|
193
|
-
- spec/models/v1_partners_id_applicants_applicant_id_put200_response_spec.rb
|
150
|
+
- spec/models/v1_partners_id_put_request_partner_spec.rb
|
194
151
|
- spec/models/v1_partners_id_get200_response1_spec.rb
|
195
|
-
- spec/models/
|
196
|
-
- spec/models/v1_partners_id_applicants_applicant_id_status_post_request_spec.rb
|
197
|
-
- spec/models/v1_partners_id_applicants_applicant_id_put_request_applicant_spec.rb
|
152
|
+
- spec/models/v1_partners_id_put_request_spec.rb
|
198
153
|
- spec/models/v1_partners_id_get_request_partner_spec.rb
|
199
|
-
- spec/models/
|
154
|
+
- spec/models/v1_partners_id_put200_response_data_attributes_spec.rb
|
155
|
+
- spec/models/v1_partners_id_put200_response_data_spec.rb
|
200
156
|
- spec/spec_helper.rb
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdDetailsPostRequest
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **applicant** | [**V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant**](V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant.md) | | [optional] |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'fountain_partner_api_client'
|
13
|
-
|
14
|
-
instance = FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdDetailsPostRequest.new(
|
15
|
-
applicant: null
|
16
|
-
)
|
17
|
-
```
|
18
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **partner_details** | [**V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicantPartnerDetails**](V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicantPartnerDetails.md) | | [optional] |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'fountain_partner_api_client'
|
13
|
-
|
14
|
-
instance = FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant.new(
|
15
|
-
partner_details: null
|
16
|
-
)
|
17
|
-
```
|
18
|
-
|
@@ -1,26 +0,0 @@
|
|
1
|
-
# FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicantPartnerDetails
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **account_option** | **String** | | [optional] |
|
8
|
-
| **category** | **String** | | [optional] |
|
9
|
-
| **key** | **String** | | [optional] |
|
10
|
-
| **label** | **String** | | [optional] |
|
11
|
-
| **value** | **String** | | [optional] |
|
12
|
-
|
13
|
-
## Example
|
14
|
-
|
15
|
-
```ruby
|
16
|
-
require 'fountain_partner_api_client'
|
17
|
-
|
18
|
-
instance = FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicantPartnerDetails.new(
|
19
|
-
account_option: null,
|
20
|
-
category: null,
|
21
|
-
key: null,
|
22
|
-
label: null,
|
23
|
-
value: null
|
24
|
-
)
|
25
|
-
```
|
26
|
-
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPut200Response
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **applicant_id** | **String** | | [optional] |
|
8
|
-
| **applicant_labels** | [**Array<V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner>**](V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner.md) | | [optional] |
|
9
|
-
|
10
|
-
## Example
|
11
|
-
|
12
|
-
```ruby
|
13
|
-
require 'fountain_partner_api_client'
|
14
|
-
|
15
|
-
instance = FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPut200Response.new(
|
16
|
-
applicant_id: null,
|
17
|
-
applicant_labels: null
|
18
|
-
)
|
19
|
-
```
|
20
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPutRequest
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **applicant** | [**V1PartnersIdApplicantsApplicantIdPutRequestApplicant**](V1PartnersIdApplicantsApplicantIdPutRequestApplicant.md) | | [optional] |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'fountain_partner_api_client'
|
13
|
-
|
14
|
-
instance = FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPutRequest.new(
|
15
|
-
applicant: null
|
16
|
-
)
|
17
|
-
```
|
18
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPutRequestApplicant
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **labels** | [**Array<V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner>**](V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner.md) | | [optional] |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'fountain_partner_api_client'
|
13
|
-
|
14
|
-
instance = FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPutRequestApplicant.new(
|
15
|
-
labels: null
|
16
|
-
)
|
17
|
-
```
|
18
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **key** | **String** | | [optional] |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'fountain_partner_api_client'
|
13
|
-
|
14
|
-
instance = FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner.new(
|
15
|
-
key: null
|
16
|
-
)
|
17
|
-
```
|
18
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdStatusPostRequest
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **applicant** | [**V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicant**](V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicant.md) | | [optional] |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'fountain_partner_api_client'
|
13
|
-
|
14
|
-
instance = FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdStatusPostRequest.new(
|
15
|
-
applicant: null
|
16
|
-
)
|
17
|
-
```
|
18
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicant
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **partner_status** | [**V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicantPartnerStatus**](V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicantPartnerStatus.md) | | [optional] |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'fountain_partner_api_client'
|
13
|
-
|
14
|
-
instance = FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicant.new(
|
15
|
-
partner_status: null
|
16
|
-
)
|
17
|
-
```
|
18
|
-
|
@@ -1,26 +0,0 @@
|
|
1
|
-
# FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicantPartnerStatus
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **account_option** | **String** | | [optional] |
|
8
|
-
| **link_title** | **String** | | [optional] |
|
9
|
-
| **status** | **String** | | [optional] |
|
10
|
-
| **title** | **String** | | [optional] |
|
11
|
-
| **url** | **String** | | [optional] |
|
12
|
-
|
13
|
-
## Example
|
14
|
-
|
15
|
-
```ruby
|
16
|
-
require 'fountain_partner_api_client'
|
17
|
-
|
18
|
-
instance = FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicantPartnerStatus.new(
|
19
|
-
account_option: null,
|
20
|
-
link_title: null,
|
21
|
-
status: null,
|
22
|
-
title: null,
|
23
|
-
url: null
|
24
|
-
)
|
25
|
-
```
|
26
|
-
|
@@ -1,219 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Fountain Partner Docs
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v1
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.2.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
require 'time'
|
15
|
-
|
16
|
-
module FountainPartnerApiClient
|
17
|
-
class V1PartnersIdApplicantsApplicantIdDetailsPostRequest
|
18
|
-
attr_accessor :applicant
|
19
|
-
|
20
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
-
def self.attribute_map
|
22
|
-
{
|
23
|
-
:'applicant' => :'applicant'
|
24
|
-
}
|
25
|
-
end
|
26
|
-
|
27
|
-
# Returns all the JSON keys this model knows about
|
28
|
-
def self.acceptable_attributes
|
29
|
-
attribute_map.values
|
30
|
-
end
|
31
|
-
|
32
|
-
# Attribute type mapping.
|
33
|
-
def self.openapi_types
|
34
|
-
{
|
35
|
-
:'applicant' => :'V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant'
|
36
|
-
}
|
37
|
-
end
|
38
|
-
|
39
|
-
# List of attributes with nullable: true
|
40
|
-
def self.openapi_nullable
|
41
|
-
Set.new([
|
42
|
-
])
|
43
|
-
end
|
44
|
-
|
45
|
-
# Initializes the object
|
46
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
47
|
-
def initialize(attributes = {})
|
48
|
-
if (!attributes.is_a?(Hash))
|
49
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdDetailsPostRequest` initialize method"
|
50
|
-
end
|
51
|
-
|
52
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
53
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `FountainPartnerApiClient::V1PartnersIdApplicantsApplicantIdDetailsPostRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
56
|
-
end
|
57
|
-
h[k.to_sym] = v
|
58
|
-
}
|
59
|
-
|
60
|
-
if attributes.key?(:'applicant')
|
61
|
-
self.applicant = attributes[:'applicant']
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
66
|
-
# @return Array for valid properties with the reasons
|
67
|
-
def list_invalid_properties
|
68
|
-
invalid_properties = Array.new
|
69
|
-
invalid_properties
|
70
|
-
end
|
71
|
-
|
72
|
-
# Check to see if the all the properties in the model are valid
|
73
|
-
# @return true if the model is valid
|
74
|
-
def valid?
|
75
|
-
true
|
76
|
-
end
|
77
|
-
|
78
|
-
# Checks equality by comparing each attribute.
|
79
|
-
# @param [Object] Object to be compared
|
80
|
-
def ==(o)
|
81
|
-
return true if self.equal?(o)
|
82
|
-
self.class == o.class &&
|
83
|
-
applicant == o.applicant
|
84
|
-
end
|
85
|
-
|
86
|
-
# @see the `==` method
|
87
|
-
# @param [Object] Object to be compared
|
88
|
-
def eql?(o)
|
89
|
-
self == o
|
90
|
-
end
|
91
|
-
|
92
|
-
# Calculates hash code according to all attributes.
|
93
|
-
# @return [Integer] Hash code
|
94
|
-
def hash
|
95
|
-
[applicant].hash
|
96
|
-
end
|
97
|
-
|
98
|
-
# Builds the object from hash
|
99
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
100
|
-
# @return [Object] Returns the model itself
|
101
|
-
def self.build_from_hash(attributes)
|
102
|
-
new.build_from_hash(attributes)
|
103
|
-
end
|
104
|
-
|
105
|
-
# Builds the object from hash
|
106
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
107
|
-
# @return [Object] Returns the model itself
|
108
|
-
def build_from_hash(attributes)
|
109
|
-
return nil unless attributes.is_a?(Hash)
|
110
|
-
attributes = attributes.transform_keys(&:to_sym)
|
111
|
-
self.class.openapi_types.each_pair do |key, type|
|
112
|
-
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
113
|
-
self.send("#{key}=", nil)
|
114
|
-
elsif type =~ /\AArray<(.*)>/i
|
115
|
-
# check to ensure the input is an array given that the attribute
|
116
|
-
# is documented as an array but the input is not
|
117
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
118
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
119
|
-
end
|
120
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
121
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
122
|
-
end
|
123
|
-
end
|
124
|
-
|
125
|
-
self
|
126
|
-
end
|
127
|
-
|
128
|
-
# Deserializes the data based on type
|
129
|
-
# @param string type Data type
|
130
|
-
# @param string value Value to be deserialized
|
131
|
-
# @return [Object] Deserialized data
|
132
|
-
def _deserialize(type, value)
|
133
|
-
case type.to_sym
|
134
|
-
when :Time
|
135
|
-
Time.parse(value)
|
136
|
-
when :Date
|
137
|
-
Date.parse(value)
|
138
|
-
when :String
|
139
|
-
value.to_s
|
140
|
-
when :Integer
|
141
|
-
value.to_i
|
142
|
-
when :Float
|
143
|
-
value.to_f
|
144
|
-
when :Boolean
|
145
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
146
|
-
true
|
147
|
-
else
|
148
|
-
false
|
149
|
-
end
|
150
|
-
when :Object
|
151
|
-
# generic object (usually a Hash), return directly
|
152
|
-
value
|
153
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
154
|
-
inner_type = Regexp.last_match[:inner_type]
|
155
|
-
value.map { |v| _deserialize(inner_type, v) }
|
156
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
157
|
-
k_type = Regexp.last_match[:k_type]
|
158
|
-
v_type = Regexp.last_match[:v_type]
|
159
|
-
{}.tap do |hash|
|
160
|
-
value.each do |k, v|
|
161
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
162
|
-
end
|
163
|
-
end
|
164
|
-
else # model
|
165
|
-
# models (e.g. Pet) or oneOf
|
166
|
-
klass = FountainPartnerApiClient.const_get(type)
|
167
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
168
|
-
end
|
169
|
-
end
|
170
|
-
|
171
|
-
# Returns the string representation of the object
|
172
|
-
# @return [String] String presentation of the object
|
173
|
-
def to_s
|
174
|
-
to_hash.to_s
|
175
|
-
end
|
176
|
-
|
177
|
-
# to_body is an alias to to_hash (backward compatibility)
|
178
|
-
# @return [Hash] Returns the object in the form of hash
|
179
|
-
def to_body
|
180
|
-
to_hash
|
181
|
-
end
|
182
|
-
|
183
|
-
# Returns the object in the form of hash
|
184
|
-
# @return [Hash] Returns the object in the form of hash
|
185
|
-
def to_hash
|
186
|
-
hash = {}
|
187
|
-
self.class.attribute_map.each_pair do |attr, param|
|
188
|
-
value = self.send(attr)
|
189
|
-
if value.nil?
|
190
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
191
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
192
|
-
end
|
193
|
-
|
194
|
-
hash[param] = _to_hash(value)
|
195
|
-
end
|
196
|
-
hash
|
197
|
-
end
|
198
|
-
|
199
|
-
# Outputs non-array value in the form of hash
|
200
|
-
# For object, use to_hash. Otherwise, just return the value
|
201
|
-
# @param [Object] value Any valid value
|
202
|
-
# @return [Hash] Returns the value in the form of hash
|
203
|
-
def _to_hash(value)
|
204
|
-
if value.is_a?(Array)
|
205
|
-
value.compact.map { |v| _to_hash(v) }
|
206
|
-
elsif value.is_a?(Hash)
|
207
|
-
{}.tap do |hash|
|
208
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
209
|
-
end
|
210
|
-
elsif value.respond_to? :to_hash
|
211
|
-
value.to_hash
|
212
|
-
else
|
213
|
-
value
|
214
|
-
end
|
215
|
-
end
|
216
|
-
|
217
|
-
end
|
218
|
-
|
219
|
-
end
|