pulpcore_client 3.0.0rc6 → 3.0.0rc7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/Artifact.md +5 -5
- data/docs/ArtifactsApi.md +6 -2
- data/docs/ContentAppStatus.md +2 -2
- data/docs/ProgressReport.md +6 -6
- data/docs/RepositoriesApi.md +6 -4
- data/docs/RepositoriesVersionsApi.md +18 -14
- data/docs/Repository.md +9 -9
- data/docs/RepositoryVersion.md +5 -5
- data/docs/StatusApi.md +3 -1
- data/docs/Task.md +14 -16
- data/docs/TasksApi.md +6 -2
- data/docs/Upload.md +5 -5
- data/docs/UploadChunk.md +3 -3
- data/docs/UploadDetail.md +6 -6
- data/docs/UploadsApi.md +6 -2
- data/docs/Worker.md +8 -8
- data/docs/WorkersApi.md +6 -2
- data/lib/pulpcore_client/api/artifacts_api.rb +7 -1
- data/lib/pulpcore_client/api/orphans_api.rb +1 -1
- data/lib/pulpcore_client/api/repositories_api.rb +7 -4
- data/lib/pulpcore_client/api/repositories_versions_api.rb +25 -19
- data/lib/pulpcore_client/api/status_api.rb +4 -1
- data/lib/pulpcore_client/api/tasks_api.rb +7 -1
- data/lib/pulpcore_client/api/uploads_api.rb +7 -1
- data/lib/pulpcore_client/api/workers_api.rb +7 -1
- data/lib/pulpcore_client/api_client.rb +1 -1
- data/lib/pulpcore_client/api_error.rb +1 -1
- data/lib/pulpcore_client/configuration.rb +1 -1
- data/lib/pulpcore_client/models/artifact.rb +14 -14
- data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
- data/lib/pulpcore_client/models/content_app_status.rb +1 -1
- data/lib/pulpcore_client/models/content_summary.rb +1 -1
- data/lib/pulpcore_client/models/database_connection.rb +1 -1
- data/lib/pulpcore_client/models/inline_response200.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
- data/lib/pulpcore_client/models/progress_report.rb +1 -1
- data/lib/pulpcore_client/models/redis_connection.rb +1 -1
- data/lib/pulpcore_client/models/repository.rb +26 -26
- data/lib/pulpcore_client/models/repository_version.rb +14 -14
- data/lib/pulpcore_client/models/repository_version_create.rb +1 -1
- data/lib/pulpcore_client/models/status.rb +1 -1
- data/lib/pulpcore_client/models/task.rb +15 -25
- data/lib/pulpcore_client/models/task_cancel.rb +1 -1
- data/lib/pulpcore_client/models/upload.rb +14 -14
- data/lib/pulpcore_client/models/upload_chunk.rb +1 -1
- data/lib/pulpcore_client/models/upload_commit.rb +1 -1
- data/lib/pulpcore_client/models/upload_detail.rb +14 -14
- data/lib/pulpcore_client/models/version.rb +1 -1
- data/lib/pulpcore_client/models/worker.rb +14 -14
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +1 -1
- data/pulpcore_client.gemspec +1 -1
- data/spec/api/artifacts_api_spec.rb +3 -1
- data/spec/api/orphans_api_spec.rb +1 -1
- data/spec/api/repositories_api_spec.rb +3 -2
- data/spec/api/repositories_versions_api_spec.rb +9 -7
- data/spec/api/status_api_spec.rb +2 -1
- data/spec/api/tasks_api_spec.rb +3 -1
- data/spec/api/uploads_api_spec.rb +3 -1
- data/spec/api/workers_api_spec.rb +3 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +3 -3
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_app_status_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/database_connection_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/progress_report_spec.rb +1 -1
- data/spec/models/redis_connection_spec.rb +1 -1
- data/spec/models/repository_spec.rb +5 -5
- data/spec/models/repository_version_create_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +3 -3
- data/spec/models/status_spec.rb +1 -1
- data/spec/models/task_cancel_spec.rb +1 -1
- data/spec/models/task_spec.rb +3 -9
- data/spec/models/upload_chunk_spec.rb +1 -1
- data/spec/models/upload_commit_spec.rb +1 -1
- data/spec/models/upload_detail_spec.rb +3 -3
- data/spec/models/upload_spec.rb +3 -3
- data/spec/models/version_spec.rb +1 -1
- data/spec/models/worker_spec.rb +3 -3
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -147,10 +147,10 @@ module PulpcoreClient
|
|
147
147
|
# @param [Hash] opts the optional parameters
|
148
148
|
# @option opts [String] :name
|
149
149
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
150
|
-
# @option opts [String] :plugin_managed
|
151
150
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
151
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
153
152
|
# @option opts [String] :fields A list of fields to include in the response.
|
153
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
154
154
|
# @return [InlineResponse2001]
|
155
155
|
def list(opts = {})
|
156
156
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -161,10 +161,10 @@ module PulpcoreClient
|
|
161
161
|
# @param [Hash] opts the optional parameters
|
162
162
|
# @option opts [String] :name
|
163
163
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
164
|
-
# @option opts [String] :plugin_managed
|
165
164
|
# @option opts [Integer] :limit Number of results to return per page.
|
166
165
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
167
166
|
# @option opts [String] :fields A list of fields to include in the response.
|
167
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
168
168
|
# @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
|
169
169
|
def list_with_http_info(opts = {})
|
170
170
|
if @api_client.config.debugging
|
@@ -177,10 +177,10 @@ module PulpcoreClient
|
|
177
177
|
query_params = opts[:query_params] || {}
|
178
178
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
179
179
|
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
180
|
-
query_params[:'plugin_managed'] = opts[:'plugin_managed'] if !opts[:'plugin_managed'].nil?
|
181
180
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
182
181
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
183
182
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
183
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
184
184
|
|
185
185
|
# header parameters
|
186
186
|
header_params = opts[:header_params] || {}
|
@@ -287,6 +287,7 @@ module PulpcoreClient
|
|
287
287
|
# @param repository_href [String] URI of Repository. e.g.: /pulp/api/v3/repositories/1/
|
288
288
|
# @param [Hash] opts the optional parameters
|
289
289
|
# @option opts [String] :fields A list of fields to include in the response.
|
290
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
290
291
|
# @return [Repository]
|
291
292
|
def read(repository_href, opts = {})
|
292
293
|
data, _status_code, _headers = read_with_http_info(repository_href, opts)
|
@@ -297,6 +298,7 @@ module PulpcoreClient
|
|
297
298
|
# @param repository_href [String] URI of Repository. e.g.: /pulp/api/v3/repositories/1/
|
298
299
|
# @param [Hash] opts the optional parameters
|
299
300
|
# @option opts [String] :fields A list of fields to include in the response.
|
301
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
300
302
|
# @return [Array<(Repository, Integer, Hash)>] Repository data, response status code and response headers
|
301
303
|
def read_with_http_info(repository_href, opts = {})
|
302
304
|
if @api_client.config.debugging
|
@@ -312,6 +314,7 @@ module PulpcoreClient
|
|
312
314
|
# query parameters
|
313
315
|
query_params = opts[:query_params] || {}
|
314
316
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
317
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
315
318
|
|
316
319
|
# header parameters
|
317
320
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -161,16 +161,17 @@ module PulpcoreClient
|
|
161
161
|
# @option opts [Float] :number__gt Filter results where number is greater than value
|
162
162
|
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
163
163
|
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
164
|
-
# @option opts [String] :
|
165
|
-
# @option opts [String] :
|
166
|
-
# @option opts [String] :
|
167
|
-
# @option opts [String] :
|
168
|
-
# @option opts [String] :
|
164
|
+
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
165
|
+
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
166
|
+
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
167
|
+
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
168
|
+
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
169
169
|
# @option opts [String] :content Content Unit referenced by HREF
|
170
|
-
# @option opts [String] :
|
170
|
+
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
171
171
|
# @option opts [Integer] :limit Number of results to return per page.
|
172
172
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
173
173
|
# @option opts [String] :fields A list of fields to include in the response.
|
174
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
174
175
|
# @return [InlineResponse2002]
|
175
176
|
def list(repository_href, opts = {})
|
176
177
|
data, _status_code, _headers = list_with_http_info(repository_href, opts)
|
@@ -187,16 +188,17 @@ module PulpcoreClient
|
|
187
188
|
# @option opts [Float] :number__gt Filter results where number is greater than value
|
188
189
|
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
189
190
|
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
190
|
-
# @option opts [String] :
|
191
|
-
# @option opts [String] :
|
192
|
-
# @option opts [String] :
|
193
|
-
# @option opts [String] :
|
194
|
-
# @option opts [String] :
|
191
|
+
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
192
|
+
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
193
|
+
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
194
|
+
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
195
|
+
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
195
196
|
# @option opts [String] :content Content Unit referenced by HREF
|
196
|
-
# @option opts [String] :
|
197
|
+
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
197
198
|
# @option opts [Integer] :limit Number of results to return per page.
|
198
199
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
199
200
|
# @option opts [String] :fields A list of fields to include in the response.
|
201
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
200
202
|
# @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
|
201
203
|
def list_with_http_info(repository_href, opts = {})
|
202
204
|
if @api_client.config.debugging
|
@@ -218,16 +220,17 @@ module PulpcoreClient
|
|
218
220
|
query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
|
219
221
|
query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
|
220
222
|
query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
|
221
|
-
query_params[:'
|
222
|
-
query_params[:'
|
223
|
-
query_params[:'
|
224
|
-
query_params[:'
|
225
|
-
query_params[:'
|
223
|
+
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
224
|
+
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
225
|
+
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
226
|
+
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
227
|
+
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
226
228
|
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
227
|
-
query_params[:'
|
229
|
+
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
228
230
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
229
231
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
230
232
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
233
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
231
234
|
|
232
235
|
# header parameters
|
233
236
|
header_params = opts[:header_params] || {}
|
@@ -266,6 +269,7 @@ module PulpcoreClient
|
|
266
269
|
# @param repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/
|
267
270
|
# @param [Hash] opts the optional parameters
|
268
271
|
# @option opts [String] :fields A list of fields to include in the response.
|
272
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
269
273
|
# @return [RepositoryVersion]
|
270
274
|
def read(repository_version_href, opts = {})
|
271
275
|
data, _status_code, _headers = read_with_http_info(repository_version_href, opts)
|
@@ -276,6 +280,7 @@ module PulpcoreClient
|
|
276
280
|
# @param repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/
|
277
281
|
# @param [Hash] opts the optional parameters
|
278
282
|
# @option opts [String] :fields A list of fields to include in the response.
|
283
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
279
284
|
# @return [Array<(RepositoryVersion, Integer, Hash)>] RepositoryVersion data, response status code and response headers
|
280
285
|
def read_with_http_info(repository_version_href, opts = {})
|
281
286
|
if @api_client.config.debugging
|
@@ -291,6 +296,7 @@ module PulpcoreClient
|
|
291
296
|
# query parameters
|
292
297
|
query_params = opts[:query_params] || {}
|
293
298
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
299
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
294
300
|
|
295
301
|
# header parameters
|
296
302
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -23,6 +23,7 @@ module PulpcoreClient
|
|
23
23
|
# Returns app information including the version of pulpcore and loaded pulp plugins, known workers, database connection status, and messaging connection status
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :fields A list of fields to include in the response.
|
26
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
26
27
|
# @return [Status]
|
27
28
|
def status_read(opts = {})
|
28
29
|
data, _status_code, _headers = status_read_with_http_info(opts)
|
@@ -33,6 +34,7 @@ module PulpcoreClient
|
|
33
34
|
# Returns app information including the version of pulpcore and loaded pulp plugins, known workers, database connection status, and messaging connection status
|
34
35
|
# @param [Hash] opts the optional parameters
|
35
36
|
# @option opts [String] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
36
38
|
# @return [Array<(Status, Integer, Hash)>] Status data, response status code and response headers
|
37
39
|
def status_read_with_http_info(opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -44,6 +46,7 @@ module PulpcoreClient
|
|
44
46
|
# query parameters
|
45
47
|
query_params = opts[:query_params] || {}
|
46
48
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
49
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
47
50
|
|
48
51
|
# header parameters
|
49
52
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -104,6 +104,7 @@ module PulpcoreClient
|
|
104
104
|
# @option opts [Integer] :limit Number of results to return per page.
|
105
105
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
106
106
|
# @option opts [String] :fields A list of fields to include in the response.
|
107
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
107
108
|
# @return [InlineResponse2003]
|
108
109
|
def list(opts = {})
|
109
110
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -137,6 +138,7 @@ module PulpcoreClient
|
|
137
138
|
# @option opts [Integer] :limit Number of results to return per page.
|
138
139
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
139
140
|
# @option opts [String] :fields A list of fields to include in the response.
|
141
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
140
142
|
# @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
|
141
143
|
def list_with_http_info(opts = {})
|
142
144
|
if @api_client.config.debugging
|
@@ -172,6 +174,7 @@ module PulpcoreClient
|
|
172
174
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
173
175
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
174
176
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
177
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
175
178
|
|
176
179
|
# header parameters
|
177
180
|
header_params = opts[:header_params] || {}
|
@@ -210,6 +213,7 @@ module PulpcoreClient
|
|
210
213
|
# @param task_href [String] URI of Task. e.g.: /pulp/api/v3/tasks/1/
|
211
214
|
# @param [Hash] opts the optional parameters
|
212
215
|
# @option opts [String] :fields A list of fields to include in the response.
|
216
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
213
217
|
# @return [Task]
|
214
218
|
def read(task_href, opts = {})
|
215
219
|
data, _status_code, _headers = read_with_http_info(task_href, opts)
|
@@ -220,6 +224,7 @@ module PulpcoreClient
|
|
220
224
|
# @param task_href [String] URI of Task. e.g.: /pulp/api/v3/tasks/1/
|
221
225
|
# @param [Hash] opts the optional parameters
|
222
226
|
# @option opts [String] :fields A list of fields to include in the response.
|
227
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
223
228
|
# @return [Array<(Task, Integer, Hash)>] Task data, response status code and response headers
|
224
229
|
def read_with_http_info(task_href, opts = {})
|
225
230
|
if @api_client.config.debugging
|
@@ -235,6 +240,7 @@ module PulpcoreClient
|
|
235
240
|
# query parameters
|
236
241
|
query_params = opts[:query_params] || {}
|
237
242
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
243
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
238
244
|
|
239
245
|
# header parameters
|
240
246
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -220,6 +220,7 @@ module PulpcoreClient
|
|
220
220
|
# @option opts [Integer] :limit Number of results to return per page.
|
221
221
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
222
222
|
# @option opts [String] :fields A list of fields to include in the response.
|
223
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
223
224
|
# @return [InlineResponse2004]
|
224
225
|
def list(opts = {})
|
225
226
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -233,6 +234,7 @@ module PulpcoreClient
|
|
233
234
|
# @option opts [Integer] :limit Number of results to return per page.
|
234
235
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
235
236
|
# @option opts [String] :fields A list of fields to include in the response.
|
237
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
236
238
|
# @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
|
237
239
|
def list_with_http_info(opts = {})
|
238
240
|
if @api_client.config.debugging
|
@@ -247,6 +249,7 @@ module PulpcoreClient
|
|
247
249
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
248
250
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
249
251
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
252
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
250
253
|
|
251
254
|
# header parameters
|
252
255
|
header_params = opts[:header_params] || {}
|
@@ -286,6 +289,7 @@ module PulpcoreClient
|
|
286
289
|
# @param upload_href [String] URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
287
290
|
# @param [Hash] opts the optional parameters
|
288
291
|
# @option opts [String] :fields A list of fields to include in the response.
|
292
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
289
293
|
# @return [UploadDetail]
|
290
294
|
def read(upload_href, opts = {})
|
291
295
|
data, _status_code, _headers = read_with_http_info(upload_href, opts)
|
@@ -297,6 +301,7 @@ module PulpcoreClient
|
|
297
301
|
# @param upload_href [String] URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
298
302
|
# @param [Hash] opts the optional parameters
|
299
303
|
# @option opts [String] :fields A list of fields to include in the response.
|
304
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
300
305
|
# @return [Array<(UploadDetail, Integer, Hash)>] UploadDetail data, response status code and response headers
|
301
306
|
def read_with_http_info(upload_href, opts = {})
|
302
307
|
if @api_client.config.debugging
|
@@ -312,6 +317,7 @@ module PulpcoreClient
|
|
312
317
|
# query parameters
|
313
318
|
query_params = opts[:query_params] || {}
|
314
319
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
320
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
315
321
|
|
316
322
|
# header parameters
|
317
323
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -34,6 +34,7 @@ module PulpcoreClient
|
|
34
34
|
# @option opts [Integer] :limit Number of results to return per page.
|
35
35
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
36
36
|
# @option opts [String] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
37
38
|
# @return [InlineResponse2005]
|
38
39
|
def list(opts = {})
|
39
40
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -55,6 +56,7 @@ module PulpcoreClient
|
|
55
56
|
# @option opts [Integer] :limit Number of results to return per page.
|
56
57
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
57
58
|
# @option opts [String] :fields A list of fields to include in the response.
|
59
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
58
60
|
# @return [Array<(InlineResponse2005, Integer, Hash)>] InlineResponse2005 data, response status code and response headers
|
59
61
|
def list_with_http_info(opts = {})
|
60
62
|
if @api_client.config.debugging
|
@@ -78,6 +80,7 @@ module PulpcoreClient
|
|
78
80
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
79
81
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
80
82
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
83
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
81
84
|
|
82
85
|
# header parameters
|
83
86
|
header_params = opts[:header_params] || {}
|
@@ -116,6 +119,7 @@ module PulpcoreClient
|
|
116
119
|
# @param worker_href [String] URI of Worker. e.g.: /pulp/api/v3/workers/1/
|
117
120
|
# @param [Hash] opts the optional parameters
|
118
121
|
# @option opts [String] :fields A list of fields to include in the response.
|
122
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
119
123
|
# @return [Worker]
|
120
124
|
def read(worker_href, opts = {})
|
121
125
|
data, _status_code, _headers = read_with_http_info(worker_href, opts)
|
@@ -126,6 +130,7 @@ module PulpcoreClient
|
|
126
130
|
# @param worker_href [String] URI of Worker. e.g.: /pulp/api/v3/workers/1/
|
127
131
|
# @param [Hash] opts the optional parameters
|
128
132
|
# @option opts [String] :fields A list of fields to include in the response.
|
133
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
129
134
|
# @return [Array<(Worker, Integer, Hash)>] Worker data, response status code and response headers
|
130
135
|
def read_with_http_info(worker_href, opts = {})
|
131
136
|
if @api_client.config.debugging
|
@@ -141,6 +146,7 @@ module PulpcoreClient
|
|
141
146
|
# query parameters
|
142
147
|
query_params = opts[:query_params] || {}
|
143
148
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
149
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
144
150
|
|
145
151
|
# header parameters
|
146
152
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,10 +14,10 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpcoreClient
|
16
16
|
class Artifact
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
20
|
-
attr_accessor :
|
20
|
+
attr_accessor :pulp_created
|
21
21
|
|
22
22
|
# The stored file.
|
23
23
|
attr_accessor :file
|
@@ -46,8 +46,8 @@ module PulpcoreClient
|
|
46
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
47
|
def self.attribute_map
|
48
48
|
{
|
49
|
-
:'
|
50
|
-
:'
|
49
|
+
:'pulp_href' => :'pulp_href',
|
50
|
+
:'pulp_created' => :'pulp_created',
|
51
51
|
:'file' => :'file',
|
52
52
|
:'size' => :'size',
|
53
53
|
:'md5' => :'md5',
|
@@ -62,8 +62,8 @@ module PulpcoreClient
|
|
62
62
|
# Attribute type mapping.
|
63
63
|
def self.openapi_types
|
64
64
|
{
|
65
|
-
:'
|
66
|
-
:'
|
65
|
+
:'pulp_href' => :'String',
|
66
|
+
:'pulp_created' => :'DateTime',
|
67
67
|
:'file' => :'String',
|
68
68
|
:'size' => :'Integer',
|
69
69
|
:'md5' => :'String',
|
@@ -90,12 +90,12 @@ module PulpcoreClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
-
if attributes.key?(:'
|
94
|
-
self.
|
93
|
+
if attributes.key?(:'pulp_href')
|
94
|
+
self.pulp_href = attributes[:'pulp_href']
|
95
95
|
end
|
96
96
|
|
97
|
-
if attributes.key?(:'
|
98
|
-
self.
|
97
|
+
if attributes.key?(:'pulp_created')
|
98
|
+
self.pulp_created = attributes[:'pulp_created']
|
99
99
|
end
|
100
100
|
|
101
101
|
if attributes.key?(:'file')
|
@@ -239,8 +239,8 @@ module PulpcoreClient
|
|
239
239
|
def ==(o)
|
240
240
|
return true if self.equal?(o)
|
241
241
|
self.class == o.class &&
|
242
|
-
|
243
|
-
|
242
|
+
pulp_href == o.pulp_href &&
|
243
|
+
pulp_created == o.pulp_created &&
|
244
244
|
file == o.file &&
|
245
245
|
size == o.size &&
|
246
246
|
md5 == o.md5 &&
|
@@ -260,7 +260,7 @@ module PulpcoreClient
|
|
260
260
|
# Calculates hash code according to all attributes.
|
261
261
|
# @return [Integer] Hash code
|
262
262
|
def hash
|
263
|
-
[
|
263
|
+
[pulp_href, pulp_created, file, size, md5, sha1, sha224, sha256, sha384, sha512].hash
|
264
264
|
end
|
265
265
|
|
266
266
|
# Builds the object from hash
|