pulp_docker_client 4.0.0b7 → 4.0.0b8.dev01573482113

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.

Potentially problematic release.


This version of pulp_docker_client might be problematic. Click here for more details.

Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -16
  3. data/docs/ContentBlobsApi.md +8 -58
  4. data/docs/ContentManifestsApi.md +8 -58
  5. data/docs/ContentTagsApi.md +8 -58
  6. data/docs/DistributionsDockerApi.md +14 -10
  7. data/docs/{Blob.md → DockerBlob.md} +5 -9
  8. data/docs/{DockerDistribution.md → DockerDockerDistribution.md} +11 -11
  9. data/docs/{DockerRemote.md → DockerDockerRemote.md} +8 -14
  10. data/docs/{Manifest.md → DockerManifest.md} +5 -9
  11. data/docs/{Tag.md → DockerTag.md} +5 -9
  12. data/docs/InlineResponse200.md +1 -1
  13. data/docs/InlineResponse2001.md +1 -1
  14. data/docs/InlineResponse2002.md +1 -1
  15. data/docs/InlineResponse2003.md +1 -1
  16. data/docs/InlineResponse2004.md +1 -1
  17. data/docs/RemotesDockerApi.md +28 -24
  18. data/lib/pulp_docker_client/api/content_blobs_api.rb +10 -68
  19. data/lib/pulp_docker_client/api/content_manifests_api.rb +10 -68
  20. data/lib/pulp_docker_client/api/content_tags_api.rb +10 -68
  21. data/lib/pulp_docker_client/api/distributions_docker_api.rb +16 -10
  22. data/lib/pulp_docker_client/api/docker_copy_api.rb +1 -1
  23. data/lib/pulp_docker_client/api/docker_recursive_add_api.rb +1 -1
  24. data/lib/pulp_docker_client/api/docker_recursive_remove_api.rb +1 -1
  25. data/lib/pulp_docker_client/api/docker_tag_api.rb +1 -1
  26. data/lib/pulp_docker_client/api/docker_untag_api.rb +1 -1
  27. data/lib/pulp_docker_client/api/remotes_docker_api.rb +37 -31
  28. data/lib/pulp_docker_client/api_client.rb +1 -1
  29. data/lib/pulp_docker_client/api_error.rb +1 -1
  30. data/lib/pulp_docker_client/configuration.rb +1 -1
  31. data/lib/pulp_docker_client/models/async_operation_response.rb +12 -2
  32. data/lib/pulp_docker_client/models/{blob.rb → docker_blob.rb} +28 -76
  33. data/lib/pulp_docker_client/models/{docker_distribution.rb → docker_docker_distribution.rb} +52 -39
  34. data/lib/pulp_docker_client/models/{docker_remote.rb → docker_docker_remote.rb} +44 -116
  35. data/lib/pulp_docker_client/models/{manifest.rb → docker_manifest.rb} +28 -76
  36. data/lib/pulp_docker_client/models/{tag.rb → docker_tag.rb} +28 -76
  37. data/lib/pulp_docker_client/models/inline_response200.rb +15 -3
  38. data/lib/pulp_docker_client/models/inline_response2001.rb +15 -3
  39. data/lib/pulp_docker_client/models/inline_response2002.rb +15 -3
  40. data/lib/pulp_docker_client/models/inline_response2003.rb +15 -3
  41. data/lib/pulp_docker_client/models/inline_response2004.rb +15 -3
  42. data/lib/pulp_docker_client/models/manifest_copy.rb +12 -2
  43. data/lib/pulp_docker_client/models/recursive_manage.rb +12 -2
  44. data/lib/pulp_docker_client/models/repository_sync_url.rb +12 -2
  45. data/lib/pulp_docker_client/models/tag_copy.rb +12 -2
  46. data/lib/pulp_docker_client/models/tag_image.rb +12 -2
  47. data/lib/pulp_docker_client/models/un_tag_image.rb +12 -2
  48. data/lib/pulp_docker_client/version.rb +2 -2
  49. data/lib/pulp_docker_client.rb +6 -6
  50. data/pulp_docker_client.gemspec +1 -1
  51. data/spec/api/content_blobs_api_spec.rb +4 -14
  52. data/spec/api/content_manifests_api_spec.rb +4 -14
  53. data/spec/api/content_tags_api_spec.rb +4 -14
  54. data/spec/api/distributions_docker_api_spec.rb +4 -2
  55. data/spec/api/docker_copy_api_spec.rb +1 -1
  56. data/spec/api/docker_recursive_add_api_spec.rb +1 -1
  57. data/spec/api/docker_recursive_remove_api_spec.rb +1 -1
  58. data/spec/api/docker_tag_api_spec.rb +1 -1
  59. data/spec/api/docker_untag_api_spec.rb +1 -1
  60. data/spec/api/remotes_docker_api_spec.rb +11 -9
  61. data/spec/api_client_spec.rb +2 -2
  62. data/spec/configuration_spec.rb +1 -1
  63. data/spec/models/async_operation_response_spec.rb +1 -1
  64. data/spec/models/{blob_spec.rb → docker_blob_spec.rb} +9 -21
  65. data/spec/models/{docker_distribution_spec.rb → docker_docker_distribution_spec.rb} +14 -14
  66. data/spec/models/{docker_remote_spec.rb → docker_docker_remote_spec.rb} +10 -28
  67. data/spec/models/{manifest_spec.rb → docker_manifest_spec.rb} +9 -21
  68. data/spec/models/{tag_spec.rb → docker_tag_spec.rb} +9 -21
  69. data/spec/models/inline_response2001_spec.rb +1 -1
  70. data/spec/models/inline_response2002_spec.rb +1 -1
  71. data/spec/models/inline_response2003_spec.rb +1 -1
  72. data/spec/models/inline_response2004_spec.rb +1 -1
  73. data/spec/models/inline_response200_spec.rb +1 -1
  74. data/spec/models/manifest_copy_spec.rb +1 -1
  75. data/spec/models/recursive_manage_spec.rb +1 -1
  76. data/spec/models/repository_sync_url_spec.rb +1 -1
  77. data/spec/models/tag_copy_spec.rb +1 -1
  78. data/spec/models/tag_image_spec.rb +1 -1
  79. data/spec/models/un_tag_image_spec.rb +1 -1
  80. data/spec/spec_helper.rb +1 -1
  81. metadata +22 -22
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -19,70 +19,6 @@ module PulpDockerClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Create a tag
23
- # Create a new Tag from a request.
24
- # @param data [Tag]
25
- # @param [Hash] opts the optional parameters
26
- # @return [Tag]
27
- def create(data, opts = {})
28
- data, _status_code, _headers = create_with_http_info(data, opts)
29
- data
30
- end
31
-
32
- # Create a tag
33
- # Create a new Tag from a request.
34
- # @param data [Tag]
35
- # @param [Hash] opts the optional parameters
36
- # @return [Array<(Tag, Integer, Hash)>] Tag data, response status code and response headers
37
- def create_with_http_info(data, opts = {})
38
- if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: ContentTagsApi.create ...'
40
- end
41
- # verify the required parameter 'data' is set
42
- if @api_client.config.client_side_validation && data.nil?
43
- fail ArgumentError, "Missing the required parameter 'data' when calling ContentTagsApi.create"
44
- end
45
- # resource path
46
- local_var_path = '/pulp/api/v3/content/docker/tags/'
47
-
48
- # query parameters
49
- query_params = opts[:query_params] || {}
50
-
51
- # header parameters
52
- header_params = opts[:header_params] || {}
53
- # HTTP header 'Accept' (if needed)
54
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
55
- # HTTP header 'Content-Type'
56
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
57
-
58
- # form parameters
59
- form_params = opts[:form_params] || {}
60
-
61
- # http body (model)
62
- post_body = opts[:body] || @api_client.object_to_http_body(data)
63
-
64
- # return_type
65
- return_type = opts[:return_type] || 'Tag'
66
-
67
- # auth_names
68
- auth_names = opts[:auth_names] || ['Basic']
69
-
70
- new_options = opts.merge(
71
- :header_params => header_params,
72
- :query_params => query_params,
73
- :form_params => form_params,
74
- :body => post_body,
75
- :auth_names => auth_names,
76
- :return_type => return_type
77
- )
78
-
79
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
- if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: ContentTagsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
- end
83
- return data, status_code, headers
84
- end
85
-
86
22
  # List tags
87
23
  # ViewSet for Tag.
88
24
  # @param [Hash] opts the optional parameters
@@ -96,6 +32,7 @@ module PulpDockerClient
96
32
  # @option opts [Integer] :limit Number of results to return per page.
97
33
  # @option opts [Integer] :offset The initial index from which to return the results.
98
34
  # @option opts [String] :fields A list of fields to include in the response.
35
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
99
36
  # @return [InlineResponse2002]
100
37
  def list(opts = {})
101
38
  data, _status_code, _headers = list_with_http_info(opts)
@@ -115,6 +52,7 @@ module PulpDockerClient
115
52
  # @option opts [Integer] :limit Number of results to return per page.
116
53
  # @option opts [Integer] :offset The initial index from which to return the results.
117
54
  # @option opts [String] :fields A list of fields to include in the response.
55
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
118
56
  # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
119
57
  def list_with_http_info(opts = {})
120
58
  if @api_client.config.debugging
@@ -135,6 +73,7 @@ module PulpDockerClient
135
73
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
136
74
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
137
75
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
76
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
138
77
 
139
78
  # header parameters
140
79
  header_params = opts[:header_params] || {}
@@ -174,7 +113,8 @@ module PulpDockerClient
174
113
  # @param tag_href [String] URI of Tag. e.g.: /pulp/api/v3/content/docker/tags/1/
175
114
  # @param [Hash] opts the optional parameters
176
115
  # @option opts [String] :fields A list of fields to include in the response.
177
- # @return [Tag]
116
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
117
+ # @return [DockerTag]
178
118
  def read(tag_href, opts = {})
179
119
  data, _status_code, _headers = read_with_http_info(tag_href, opts)
180
120
  data
@@ -185,7 +125,8 @@ module PulpDockerClient
185
125
  # @param tag_href [String] URI of Tag. e.g.: /pulp/api/v3/content/docker/tags/1/
186
126
  # @param [Hash] opts the optional parameters
187
127
  # @option opts [String] :fields A list of fields to include in the response.
188
- # @return [Array<(Tag, Integer, Hash)>] Tag data, response status code and response headers
128
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
129
+ # @return [Array<(DockerTag, Integer, Hash)>] DockerTag data, response status code and response headers
189
130
  def read_with_http_info(tag_href, opts = {})
190
131
  if @api_client.config.debugging
191
132
  @api_client.config.logger.debug 'Calling API: ContentTagsApi.read ...'
@@ -200,6 +141,7 @@ module PulpDockerClient
200
141
  # query parameters
201
142
  query_params = opts[:query_params] || {}
202
143
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
144
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
203
145
 
204
146
  # header parameters
205
147
  header_params = opts[:header_params] || {}
@@ -213,7 +155,7 @@ module PulpDockerClient
213
155
  post_body = opts[:body]
214
156
 
215
157
  # return_type
216
- return_type = opts[:return_type] || 'Tag'
158
+ return_type = opts[:return_type] || 'DockerTag'
217
159
 
218
160
  # auth_names
219
161
  auth_names = opts[:auth_names] || ['Basic']
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -21,7 +21,7 @@ module PulpDockerClient
21
21
  end
22
22
  # Create a docker distribution
23
23
  # Trigger an asynchronous create task
24
- # @param data [DockerDistribution]
24
+ # @param data [DockerDockerDistribution]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [AsyncOperationResponse]
27
27
  def create(data, opts = {})
@@ -31,7 +31,7 @@ module PulpDockerClient
31
31
 
32
32
  # Create a docker distribution
33
33
  # Trigger an asynchronous create task
34
- # @param data [DockerDistribution]
34
+ # @param data [DockerDockerDistribution]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
37
  def create_with_http_info(data, opts = {})
@@ -157,6 +157,7 @@ module PulpDockerClient
157
157
  # @option opts [Integer] :limit Number of results to return per page.
158
158
  # @option opts [Integer] :offset The initial index from which to return the results.
159
159
  # @option opts [String] :fields A list of fields to include in the response.
160
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
160
161
  # @return [InlineResponse2003]
161
162
  def list(opts = {})
162
163
  data, _status_code, _headers = list_with_http_info(opts)
@@ -175,6 +176,7 @@ module PulpDockerClient
175
176
  # @option opts [Integer] :limit Number of results to return per page.
176
177
  # @option opts [Integer] :offset The initial index from which to return the results.
177
178
  # @option opts [String] :fields A list of fields to include in the response.
179
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
178
180
  # @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
179
181
  def list_with_http_info(opts = {})
180
182
  if @api_client.config.debugging
@@ -194,6 +196,7 @@ module PulpDockerClient
194
196
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
195
197
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
196
198
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
199
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
197
200
 
198
201
  # header parameters
199
202
  header_params = opts[:header_params] || {}
@@ -231,7 +234,7 @@ module PulpDockerClient
231
234
  # Partially update a docker distribution
232
235
  # Trigger an asynchronous partial update task
233
236
  # @param docker_distribution_href [String] URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/1/
234
- # @param data [DockerDistribution]
237
+ # @param data [DockerDockerDistribution]
235
238
  # @param [Hash] opts the optional parameters
236
239
  # @return [AsyncOperationResponse]
237
240
  def partial_update(docker_distribution_href, data, opts = {})
@@ -242,7 +245,7 @@ module PulpDockerClient
242
245
  # Partially update a docker distribution
243
246
  # Trigger an asynchronous partial update task
244
247
  # @param docker_distribution_href [String] URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/1/
245
- # @param data [DockerDistribution]
248
+ # @param data [DockerDockerDistribution]
246
249
  # @param [Hash] opts the optional parameters
247
250
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
248
251
  def partial_update_with_http_info(docker_distribution_href, data, opts = {})
@@ -303,7 +306,8 @@ module PulpDockerClient
303
306
  # @param docker_distribution_href [String] URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/1/
304
307
  # @param [Hash] opts the optional parameters
305
308
  # @option opts [String] :fields A list of fields to include in the response.
306
- # @return [DockerDistribution]
309
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
310
+ # @return [DockerDockerDistribution]
307
311
  def read(docker_distribution_href, opts = {})
308
312
  data, _status_code, _headers = read_with_http_info(docker_distribution_href, opts)
309
313
  data
@@ -314,7 +318,8 @@ module PulpDockerClient
314
318
  # @param docker_distribution_href [String] URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/1/
315
319
  # @param [Hash] opts the optional parameters
316
320
  # @option opts [String] :fields A list of fields to include in the response.
317
- # @return [Array<(DockerDistribution, Integer, Hash)>] DockerDistribution data, response status code and response headers
321
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
322
+ # @return [Array<(DockerDockerDistribution, Integer, Hash)>] DockerDockerDistribution data, response status code and response headers
318
323
  def read_with_http_info(docker_distribution_href, opts = {})
319
324
  if @api_client.config.debugging
320
325
  @api_client.config.logger.debug 'Calling API: DistributionsDockerApi.read ...'
@@ -329,6 +334,7 @@ module PulpDockerClient
329
334
  # query parameters
330
335
  query_params = opts[:query_params] || {}
331
336
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
337
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
332
338
 
333
339
  # header parameters
334
340
  header_params = opts[:header_params] || {}
@@ -342,7 +348,7 @@ module PulpDockerClient
342
348
  post_body = opts[:body]
343
349
 
344
350
  # return_type
345
- return_type = opts[:return_type] || 'DockerDistribution'
351
+ return_type = opts[:return_type] || 'DockerDockerDistribution'
346
352
 
347
353
  # auth_names
348
354
  auth_names = opts[:auth_names] || ['Basic']
@@ -366,7 +372,7 @@ module PulpDockerClient
366
372
  # Update a docker distribution
367
373
  # Trigger an asynchronous update task
368
374
  # @param docker_distribution_href [String] URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/1/
369
- # @param data [DockerDistribution]
375
+ # @param data [DockerDockerDistribution]
370
376
  # @param [Hash] opts the optional parameters
371
377
  # @return [AsyncOperationResponse]
372
378
  def update(docker_distribution_href, data, opts = {})
@@ -377,7 +383,7 @@ module PulpDockerClient
377
383
  # Update a docker distribution
378
384
  # Trigger an asynchronous update task
379
385
  # @param docker_distribution_href [String] URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/1/
380
- # @param data [DockerDistribution]
386
+ # @param data [DockerDockerDistribution]
381
387
  # @param [Hash] opts the optional parameters
382
388
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
383
389
  def update_with_http_info(docker_distribution_href, data, opts = {})
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -21,9 +21,9 @@ module PulpDockerClient
21
21
  end
22
22
  # Create a docker remote
23
23
  # Docker remotes represent an external repository that implements the Docker Registry API. Docker remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
24
- # @param data [DockerRemote]
24
+ # @param data [DockerDockerRemote]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [DockerRemote]
26
+ # @return [DockerDockerRemote]
27
27
  def create(data, opts = {})
28
28
  data, _status_code, _headers = create_with_http_info(data, opts)
29
29
  data
@@ -31,9 +31,9 @@ module PulpDockerClient
31
31
 
32
32
  # Create a docker remote
33
33
  # Docker remotes represent an external repository that implements the Docker Registry API. Docker remotes support deferred downloading by configuring the &#x60;&#x60;policy&#x60;&#x60; field. &#x60;&#x60;on_demand&#x60;&#x60; and &#x60;&#x60;streamed&#x60;&#x60; policies can provide significant disk space savings.
34
- # @param data [DockerRemote]
34
+ # @param data [DockerDockerRemote]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(DockerRemote, Integer, Hash)>] DockerRemote data, response status code and response headers
36
+ # @return [Array<(DockerDockerRemote, Integer, Hash)>] DockerDockerRemote data, response status code and response headers
37
37
  def create_with_http_info(data, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: RemotesDockerApi.create ...'
@@ -62,7 +62,7 @@ module PulpDockerClient
62
62
  post_body = opts[:body] || @api_client.object_to_http_body(data)
63
63
 
64
64
  # return_type
65
- return_type = opts[:return_type] || 'DockerRemote'
65
+ return_type = opts[:return_type] || 'DockerDockerRemote'
66
66
 
67
67
  # auth_names
68
68
  auth_names = opts[:auth_names] || ['Basic']
@@ -150,15 +150,16 @@ module PulpDockerClient
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [String] :name
152
152
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
153
- # @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
154
- # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
155
- # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
156
- # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
157
- # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
158
- # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
153
+ # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
154
+ # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
155
+ # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
156
+ # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
157
+ # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
158
+ # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
159
159
  # @option opts [Integer] :limit Number of results to return per page.
160
160
  # @option opts [Integer] :offset The initial index from which to return the results.
161
161
  # @option opts [String] :fields A list of fields to include in the response.
162
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
162
163
  # @return [InlineResponse2004]
163
164
  def list(opts = {})
164
165
  data, _status_code, _headers = list_with_http_info(opts)
@@ -170,15 +171,16 @@ module PulpDockerClient
170
171
  # @param [Hash] opts the optional parameters
171
172
  # @option opts [String] :name
172
173
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
173
- # @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
174
- # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
175
- # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
176
- # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
177
- # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
178
- # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
174
+ # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
175
+ # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
176
+ # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
177
+ # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
178
+ # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
179
+ # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
179
180
  # @option opts [Integer] :limit Number of results to return per page.
180
181
  # @option opts [Integer] :offset The initial index from which to return the results.
181
182
  # @option opts [String] :fields A list of fields to include in the response.
183
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
182
184
  # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
183
185
  def list_with_http_info(opts = {})
184
186
  if @api_client.config.debugging
@@ -191,15 +193,16 @@ module PulpDockerClient
191
193
  query_params = opts[:query_params] || {}
192
194
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
193
195
  query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
194
- query_params[:'_last_updated__lt'] = opts[:'_last_updated__lt'] if !opts[:'_last_updated__lt'].nil?
195
- query_params[:'_last_updated__lte'] = opts[:'_last_updated__lte'] if !opts[:'_last_updated__lte'].nil?
196
- query_params[:'_last_updated__gt'] = opts[:'_last_updated__gt'] if !opts[:'_last_updated__gt'].nil?
197
- query_params[:'_last_updated__gte'] = opts[:'_last_updated__gte'] if !opts[:'_last_updated__gte'].nil?
198
- query_params[:'_last_updated__range'] = opts[:'_last_updated__range'] if !opts[:'_last_updated__range'].nil?
199
- query_params[:'_last_updated'] = opts[:'_last_updated'] if !opts[:'_last_updated'].nil?
196
+ query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
197
+ query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
198
+ query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
199
+ query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
200
+ query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
201
+ query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
200
202
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
201
203
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
202
204
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
205
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
203
206
 
204
207
  # header parameters
205
208
  header_params = opts[:header_params] || {}
@@ -237,7 +240,7 @@ module PulpDockerClient
237
240
  # Partially update a docker remote
238
241
  # Trigger an asynchronous partial update task
239
242
  # @param docker_remote_href [String] URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
240
- # @param data [DockerRemote]
243
+ # @param data [DockerDockerRemote]
241
244
  # @param [Hash] opts the optional parameters
242
245
  # @return [AsyncOperationResponse]
243
246
  def partial_update(docker_remote_href, data, opts = {})
@@ -248,7 +251,7 @@ module PulpDockerClient
248
251
  # Partially update a docker remote
249
252
  # Trigger an asynchronous partial update task
250
253
  # @param docker_remote_href [String] URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
251
- # @param data [DockerRemote]
254
+ # @param data [DockerDockerRemote]
252
255
  # @param [Hash] opts the optional parameters
253
256
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
254
257
  def partial_update_with_http_info(docker_remote_href, data, opts = {})
@@ -309,7 +312,8 @@ module PulpDockerClient
309
312
  # @param docker_remote_href [String] URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
310
313
  # @param [Hash] opts the optional parameters
311
314
  # @option opts [String] :fields A list of fields to include in the response.
312
- # @return [DockerRemote]
315
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
316
+ # @return [DockerDockerRemote]
313
317
  def read(docker_remote_href, opts = {})
314
318
  data, _status_code, _headers = read_with_http_info(docker_remote_href, opts)
315
319
  data
@@ -320,7 +324,8 @@ module PulpDockerClient
320
324
  # @param docker_remote_href [String] URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
321
325
  # @param [Hash] opts the optional parameters
322
326
  # @option opts [String] :fields A list of fields to include in the response.
323
- # @return [Array<(DockerRemote, Integer, Hash)>] DockerRemote data, response status code and response headers
327
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
328
+ # @return [Array<(DockerDockerRemote, Integer, Hash)>] DockerDockerRemote data, response status code and response headers
324
329
  def read_with_http_info(docker_remote_href, opts = {})
325
330
  if @api_client.config.debugging
326
331
  @api_client.config.logger.debug 'Calling API: RemotesDockerApi.read ...'
@@ -335,6 +340,7 @@ module PulpDockerClient
335
340
  # query parameters
336
341
  query_params = opts[:query_params] || {}
337
342
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
343
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
338
344
 
339
345
  # header parameters
340
346
  header_params = opts[:header_params] || {}
@@ -348,7 +354,7 @@ module PulpDockerClient
348
354
  post_body = opts[:body]
349
355
 
350
356
  # return_type
351
- return_type = opts[:return_type] || 'DockerRemote'
357
+ return_type = opts[:return_type] || 'DockerDockerRemote'
352
358
 
353
359
  # auth_names
354
360
  auth_names = opts[:auth_names] || ['Basic']
@@ -440,7 +446,7 @@ module PulpDockerClient
440
446
  # Update a docker remote
441
447
  # Trigger an asynchronous update task
442
448
  # @param docker_remote_href [String] URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
443
- # @param data [DockerRemote]
449
+ # @param data [DockerDockerRemote]
444
450
  # @param [Hash] opts the optional parameters
445
451
  # @return [AsyncOperationResponse]
446
452
  def update(docker_remote_href, data, opts = {})
@@ -451,7 +457,7 @@ module PulpDockerClient
451
457
  # Update a docker remote
452
458
  # Trigger an asynchronous update task
453
459
  # @param docker_remote_href [String] URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
454
- # @param data [DockerRemote]
460
+ # @param data [DockerDockerRemote]
455
461
  # @param [Hash] opts the optional parameters
456
462
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
457
463
  def update_with_http_info(docker_remote_href, data, opts = {})
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -31,6 +31,12 @@ module PulpDockerClient
31
31
  }
32
32
  end
33
33
 
34
+ # List of attributes with nullable: true
35
+ def self.openapi_nullable
36
+ Set.new([
37
+ ])
38
+ end
39
+
34
40
  # Initializes the object
35
41
  # @param [Hash] attributes Model attributes in the form of hash
36
42
  def initialize(attributes = {})
@@ -175,7 +181,11 @@ module PulpDockerClient
175
181
  hash = {}
176
182
  self.class.attribute_map.each_pair do |attr, param|
177
183
  value = self.send(attr)
178
- next if value.nil?
184
+ if value.nil?
185
+ is_nullable = self.class.openapi_nullable.include?(attr)
186
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
187
+ end
188
+
179
189
  hash[param] = _to_hash(value)
180
190
  end
181
191
  hash