pulp_docker_client 4.0.0b6 → 4.0.0b7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -10
  3. data/docs/Blob.md +4 -4
  4. data/docs/ContentBlobsApi.md +9 -3
  5. data/docs/ContentManifestsApi.md +9 -3
  6. data/docs/ContentTagsApi.md +9 -3
  7. data/docs/DistributionsDockerApi.md +11 -5
  8. data/docs/DockerCopyApi.md +2 -2
  9. data/docs/DockerDistribution.md +9 -9
  10. data/docs/DockerRecursiveAddApi.md +1 -1
  11. data/docs/DockerRecursiveRemoveApi.md +1 -1
  12. data/docs/DockerRemote.md +1 -1
  13. data/docs/DockerTagApi.md +1 -1
  14. data/docs/DockerUntagApi.md +1 -1
  15. data/docs/Manifest.md +4 -4
  16. data/docs/RemotesDockerApi.md +13 -7
  17. data/docs/Tag.md +4 -4
  18. data/lib/pulp_docker_client/api/content_blobs_api.rb +7 -1
  19. data/lib/pulp_docker_client/api/content_manifests_api.rb +7 -1
  20. data/lib/pulp_docker_client/api/content_tags_api.rb +7 -1
  21. data/lib/pulp_docker_client/api/distributions_docker_api.rb +11 -5
  22. data/lib/pulp_docker_client/api/docker_copy_api.rb +3 -3
  23. data/lib/pulp_docker_client/api/docker_recursive_add_api.rb +2 -2
  24. data/lib/pulp_docker_client/api/docker_recursive_remove_api.rb +2 -2
  25. data/lib/pulp_docker_client/api/docker_tag_api.rb +2 -2
  26. data/lib/pulp_docker_client/api/docker_untag_api.rb +2 -2
  27. data/lib/pulp_docker_client/api/remotes_docker_api.rb +15 -9
  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 +1 -1
  32. data/lib/pulp_docker_client/models/blob.rb +30 -30
  33. data/lib/pulp_docker_client/models/docker_distribution.rb +69 -69
  34. data/lib/pulp_docker_client/models/docker_remote.rb +2 -2
  35. data/lib/pulp_docker_client/models/inline_response200.rb +1 -1
  36. data/lib/pulp_docker_client/models/inline_response2001.rb +1 -1
  37. data/lib/pulp_docker_client/models/inline_response2002.rb +1 -1
  38. data/lib/pulp_docker_client/models/inline_response2003.rb +1 -1
  39. data/lib/pulp_docker_client/models/inline_response2004.rb +1 -1
  40. data/lib/pulp_docker_client/models/manifest.rb +30 -30
  41. data/lib/pulp_docker_client/models/manifest_copy.rb +1 -1
  42. data/lib/pulp_docker_client/models/recursive_manage.rb +1 -1
  43. data/lib/pulp_docker_client/models/repository_sync_url.rb +1 -1
  44. data/lib/pulp_docker_client/models/tag.rb +30 -30
  45. data/lib/pulp_docker_client/models/tag_copy.rb +1 -1
  46. data/lib/pulp_docker_client/models/tag_image.rb +1 -1
  47. data/lib/pulp_docker_client/models/un_tag_image.rb +1 -1
  48. data/lib/pulp_docker_client/version.rb +2 -2
  49. data/lib/pulp_docker_client.rb +1 -1
  50. data/pulp_docker_client.gemspec +1 -1
  51. data/spec/api/content_blobs_api_spec.rb +3 -1
  52. data/spec/api/content_manifests_api_spec.rb +3 -1
  53. data/spec/api/content_tags_api_spec.rb +3 -1
  54. data/spec/api/distributions_docker_api_spec.rb +5 -3
  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 +7 -5
  61. data/spec/api_client_spec.rb +1 -1
  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 +3 -3
  65. data/spec/models/docker_distribution_spec.rb +8 -8
  66. data/spec/models/docker_remote_spec.rb +1 -1
  67. data/spec/models/inline_response2001_spec.rb +1 -1
  68. data/spec/models/inline_response2002_spec.rb +1 -1
  69. data/spec/models/inline_response2003_spec.rb +1 -1
  70. data/spec/models/inline_response2004_spec.rb +1 -1
  71. data/spec/models/inline_response200_spec.rb +1 -1
  72. data/spec/models/manifest_copy_spec.rb +1 -1
  73. data/spec/models/manifest_spec.rb +3 -3
  74. data/spec/models/recursive_manage_spec.rb +1 -1
  75. data/spec/models/repository_sync_url_spec.rb +1 -1
  76. data/spec/models/tag_copy_spec.rb +1 -1
  77. data/spec/models/tag_image_spec.rb +1 -1
  78. data/spec/models/tag_spec.rb +3 -3
  79. data/spec/models/un_tag_image_spec.rb +1 -1
  80. data/spec/spec_helper.rb +1 -1
  81. 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.1.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -95,6 +95,7 @@ module PulpDockerClient
95
95
  # @option opts [String] :digest Multiple values may be separated by commas.
96
96
  # @option opts [Integer] :limit Number of results to return per page.
97
97
  # @option opts [Integer] :offset The initial index from which to return the results.
98
+ # @option opts [String] :fields A list of fields to include in the response.
98
99
  # @return [InlineResponse2002]
99
100
  def list(opts = {})
100
101
  data, _status_code, _headers = list_with_http_info(opts)
@@ -113,6 +114,7 @@ module PulpDockerClient
113
114
  # @option opts [String] :digest Multiple values may be separated by commas.
114
115
  # @option opts [Integer] :limit Number of results to return per page.
115
116
  # @option opts [Integer] :offset The initial index from which to return the results.
117
+ # @option opts [String] :fields A list of fields to include in the response.
116
118
  # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
117
119
  def list_with_http_info(opts = {})
118
120
  if @api_client.config.debugging
@@ -132,6 +134,7 @@ module PulpDockerClient
132
134
  query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
133
135
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
134
136
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
137
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
135
138
 
136
139
  # header parameters
137
140
  header_params = opts[:header_params] || {}
@@ -170,6 +173,7 @@ module PulpDockerClient
170
173
  # ViewSet for Tag.
171
174
  # @param tag_href [String] URI of Tag. e.g.: /pulp/api/v3/content/docker/tags/1/
172
175
  # @param [Hash] opts the optional parameters
176
+ # @option opts [String] :fields A list of fields to include in the response.
173
177
  # @return [Tag]
174
178
  def read(tag_href, opts = {})
175
179
  data, _status_code, _headers = read_with_http_info(tag_href, opts)
@@ -180,6 +184,7 @@ module PulpDockerClient
180
184
  # ViewSet for Tag.
181
185
  # @param tag_href [String] URI of Tag. e.g.: /pulp/api/v3/content/docker/tags/1/
182
186
  # @param [Hash] opts the optional parameters
187
+ # @option opts [String] :fields A list of fields to include in the response.
183
188
  # @return [Array<(Tag, Integer, Hash)>] Tag data, response status code and response headers
184
189
  def read_with_http_info(tag_href, opts = {})
185
190
  if @api_client.config.debugging
@@ -194,6 +199,7 @@ module PulpDockerClient
194
199
 
195
200
  # query parameters
196
201
  query_params = opts[:query_params] || {}
202
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
197
203
 
198
204
  # header parameters
199
205
  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.1.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -146,7 +146,7 @@ module PulpDockerClient
146
146
  end
147
147
 
148
148
  # List docker distributions
149
- # ViewSet for DockerDistribution model.
149
+ # The Docker Distribution will serve the latest version of a Repository if ``repository`` is specified. The Docker Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Docker Distribution, but not both.
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
@@ -156,6 +156,7 @@ module PulpDockerClient
156
156
  # @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
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
+ # @option opts [String] :fields A list of fields to include in the response.
159
160
  # @return [InlineResponse2003]
160
161
  def list(opts = {})
161
162
  data, _status_code, _headers = list_with_http_info(opts)
@@ -163,7 +164,7 @@ module PulpDockerClient
163
164
  end
164
165
 
165
166
  # List docker distributions
166
- # ViewSet for DockerDistribution model.
167
+ # The Docker Distribution will serve the latest version of a Repository if &#x60;&#x60;repository&#x60;&#x60; is specified. The Docker Distribution will serve a specific repository version if &#x60;&#x60;repository_version&#x60;&#x60;. Note that **either** &#x60;&#x60;repository&#x60;&#x60; or &#x60;&#x60;repository_version&#x60;&#x60; can be set on a Docker Distribution, but not both.
167
168
  # @param [Hash] opts the optional parameters
168
169
  # @option opts [String] :name
169
170
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
@@ -173,6 +174,7 @@ module PulpDockerClient
173
174
  # @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
174
175
  # @option opts [Integer] :limit Number of results to return per page.
175
176
  # @option opts [Integer] :offset The initial index from which to return the results.
177
+ # @option opts [String] :fields A list of fields to include in the response.
176
178
  # @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
177
179
  def list_with_http_info(opts = {})
178
180
  if @api_client.config.debugging
@@ -191,6 +193,7 @@ module PulpDockerClient
191
193
  query_params[:'base_path__in'] = opts[:'base_path__in'] if !opts[:'base_path__in'].nil?
192
194
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
193
195
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
196
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
194
197
 
195
198
  # header parameters
196
199
  header_params = opts[:header_params] || {}
@@ -296,9 +299,10 @@ module PulpDockerClient
296
299
  end
297
300
 
298
301
  # Inspect a docker distribution
299
- # ViewSet for DockerDistribution model.
302
+ # The Docker Distribution will serve the latest version of a Repository if ``repository`` is specified. The Docker Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Docker Distribution, but not both.
300
303
  # @param docker_distribution_href [String] URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/1/
301
304
  # @param [Hash] opts the optional parameters
305
+ # @option opts [String] :fields A list of fields to include in the response.
302
306
  # @return [DockerDistribution]
303
307
  def read(docker_distribution_href, opts = {})
304
308
  data, _status_code, _headers = read_with_http_info(docker_distribution_href, opts)
@@ -306,9 +310,10 @@ module PulpDockerClient
306
310
  end
307
311
 
308
312
  # Inspect a docker distribution
309
- # ViewSet for DockerDistribution model.
313
+ # The Docker Distribution will serve the latest version of a Repository if &#x60;&#x60;repository&#x60;&#x60; is specified. The Docker Distribution will serve a specific repository version if &#x60;&#x60;repository_version&#x60;&#x60;. Note that **either** &#x60;&#x60;repository&#x60;&#x60; or &#x60;&#x60;repository_version&#x60;&#x60; can be set on a Docker Distribution, but not both.
310
314
  # @param docker_distribution_href [String] URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/1/
311
315
  # @param [Hash] opts the optional parameters
316
+ # @option opts [String] :fields A list of fields to include in the response.
312
317
  # @return [Array<(DockerDistribution, Integer, Hash)>] DockerDistribution data, response status code and response headers
313
318
  def read_with_http_info(docker_distribution_href, opts = {})
314
319
  if @api_client.config.debugging
@@ -323,6 +328,7 @@ module PulpDockerClient
323
328
 
324
329
  # query parameters
325
330
  query_params = opts[:query_params] || {}
331
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
326
332
 
327
333
  # header parameters
328
334
  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.1.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -41,7 +41,7 @@ module PulpDockerClient
41
41
  fail ArgumentError, "Missing the required parameter 'data' when calling DockerCopyApi.create"
42
42
  end
43
43
  # resource path
44
- local_var_path = '/docker/manifests/copy/'
44
+ local_var_path = '/pulp/api/v3/docker/manifests/copy/'
45
45
 
46
46
  # query parameters
47
47
  query_params = opts[:query_params] || {}
@@ -103,7 +103,7 @@ module PulpDockerClient
103
103
  fail ArgumentError, "Missing the required parameter 'data' when calling DockerCopyApi.create_0"
104
104
  end
105
105
  # resource path
106
- local_var_path = '/docker/tags/copy/'
106
+ local_var_path = '/pulp/api/v3/docker/tags/copy/'
107
107
 
108
108
  # query parameters
109
109
  query_params = opts[:query_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.1.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -41,7 +41,7 @@ module PulpDockerClient
41
41
  fail ArgumentError, "Missing the required parameter 'data' when calling DockerRecursiveAddApi.create"
42
42
  end
43
43
  # resource path
44
- local_var_path = '/docker/recursive-add/'
44
+ local_var_path = '/pulp/api/v3/docker/recursive-add/'
45
45
 
46
46
  # query parameters
47
47
  query_params = opts[:query_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.1.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -41,7 +41,7 @@ module PulpDockerClient
41
41
  fail ArgumentError, "Missing the required parameter 'data' when calling DockerRecursiveRemoveApi.create"
42
42
  end
43
43
  # resource path
44
- local_var_path = '/docker/recursive-remove/'
44
+ local_var_path = '/pulp/api/v3/docker/recursive-remove/'
45
45
 
46
46
  # query parameters
47
47
  query_params = opts[:query_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.1.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -41,7 +41,7 @@ module PulpDockerClient
41
41
  fail ArgumentError, "Missing the required parameter 'data' when calling DockerTagApi.create"
42
42
  end
43
43
  # resource path
44
- local_var_path = '/docker/tag/'
44
+ local_var_path = '/pulp/api/v3/docker/tag/'
45
45
 
46
46
  # query parameters
47
47
  query_params = opts[:query_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.1.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -41,7 +41,7 @@ module PulpDockerClient
41
41
  fail ArgumentError, "Missing the required parameter 'data' when calling DockerUntagApi.create"
42
42
  end
43
43
  # resource path
44
- local_var_path = '/docker/untag/'
44
+ local_var_path = '/pulp/api/v3/docker/untag/'
45
45
 
46
46
  # query parameters
47
47
  query_params = opts[:query_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.1.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -20,7 +20,7 @@ module PulpDockerClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # Create a docker remote
23
- # A ViewSet for DockerRemote.
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
24
  # @param data [DockerRemote]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [DockerRemote]
@@ -30,7 +30,7 @@ module PulpDockerClient
30
30
  end
31
31
 
32
32
  # Create a docker remote
33
- # A ViewSet for DockerRemote.
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
34
  # @param data [DockerRemote]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(DockerRemote, Integer, Hash)>] DockerRemote data, response status code and response headers
@@ -146,7 +146,7 @@ module PulpDockerClient
146
146
  end
147
147
 
148
148
  # List docker remotes
149
- # A ViewSet for DockerRemote.
149
+ # 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.
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
@@ -158,6 +158,7 @@ module PulpDockerClient
158
158
  # @option opts [String] :_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
+ # @option opts [String] :fields A list of fields to include in the response.
161
162
  # @return [InlineResponse2004]
162
163
  def list(opts = {})
163
164
  data, _status_code, _headers = list_with_http_info(opts)
@@ -165,7 +166,7 @@ module PulpDockerClient
165
166
  end
166
167
 
167
168
  # List docker remotes
168
- # A ViewSet for DockerRemote.
169
+ # 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.
169
170
  # @param [Hash] opts the optional parameters
170
171
  # @option opts [String] :name
171
172
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
@@ -177,6 +178,7 @@ module PulpDockerClient
177
178
  # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
178
179
  # @option opts [Integer] :limit Number of results to return per page.
179
180
  # @option opts [Integer] :offset The initial index from which to return the results.
181
+ # @option opts [String] :fields A list of fields to include in the response.
180
182
  # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
181
183
  def list_with_http_info(opts = {})
182
184
  if @api_client.config.debugging
@@ -197,6 +199,7 @@ module PulpDockerClient
197
199
  query_params[:'_last_updated'] = opts[:'_last_updated'] if !opts[:'_last_updated'].nil?
198
200
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
199
201
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
202
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
200
203
 
201
204
  # header parameters
202
205
  header_params = opts[:header_params] || {}
@@ -302,9 +305,10 @@ module PulpDockerClient
302
305
  end
303
306
 
304
307
  # Inspect a docker remote
305
- # A ViewSet for DockerRemote.
308
+ # 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.
306
309
  # @param docker_remote_href [String] URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
307
310
  # @param [Hash] opts the optional parameters
311
+ # @option opts [String] :fields A list of fields to include in the response.
308
312
  # @return [DockerRemote]
309
313
  def read(docker_remote_href, opts = {})
310
314
  data, _status_code, _headers = read_with_http_info(docker_remote_href, opts)
@@ -312,9 +316,10 @@ module PulpDockerClient
312
316
  end
313
317
 
314
318
  # Inspect a docker remote
315
- # A ViewSet for DockerRemote.
319
+ # 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.
316
320
  # @param docker_remote_href [String] URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
317
321
  # @param [Hash] opts the optional parameters
322
+ # @option opts [String] :fields A list of fields to include in the response.
318
323
  # @return [Array<(DockerRemote, Integer, Hash)>] DockerRemote data, response status code and response headers
319
324
  def read_with_http_info(docker_remote_href, opts = {})
320
325
  if @api_client.config.debugging
@@ -329,6 +334,7 @@ module PulpDockerClient
329
334
 
330
335
  # query parameters
331
336
  query_params = opts[:query_params] || {}
337
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
332
338
 
333
339
  # header parameters
334
340
  header_params = opts[:header_params] || {}
@@ -363,7 +369,7 @@ module PulpDockerClient
363
369
  return data, status_code, headers
364
370
  end
365
371
 
366
- # Trigger an asynchronous task to sync content
372
+ # Trigger an asynchronous task to sync content.
367
373
  # @param docker_remote_href [String] URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
368
374
  # @param data [RepositorySyncURL]
369
375
  # @param [Hash] opts the optional parameters
@@ -373,7 +379,7 @@ module PulpDockerClient
373
379
  data
374
380
  end
375
381
 
376
- # Trigger an asynchronous task to sync content
382
+ # Trigger an asynchronous task to sync content.
377
383
  # @param docker_remote_href [String] URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
378
384
  # @param data [RepositorySyncURL]
379
385
  # @param [Hash] opts the optional parameters
@@ -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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-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.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -22,10 +22,10 @@ module PulpDockerClient
22
22
  attr_accessor :_type
23
23
 
24
24
  # Artifact file representing the physical content
25
- attr_accessor :_artifact
25
+ attr_accessor :artifact
26
26
 
27
27
  # Path where the artifact is located relative to distributions base_path
28
- attr_accessor :_relative_path
28
+ attr_accessor :relative_path
29
29
 
30
30
  # sha256 of the Blob file
31
31
  attr_accessor :digest
@@ -39,8 +39,8 @@ module PulpDockerClient
39
39
  :'_href' => :'_href',
40
40
  :'_created' => :'_created',
41
41
  :'_type' => :'_type',
42
- :'_artifact' => :'_artifact',
43
- :'_relative_path' => :'_relative_path',
42
+ :'artifact' => :'artifact',
43
+ :'relative_path' => :'relative_path',
44
44
  :'digest' => :'digest',
45
45
  :'media_type' => :'media_type'
46
46
  }
@@ -52,8 +52,8 @@ module PulpDockerClient
52
52
  :'_href' => :'String',
53
53
  :'_created' => :'DateTime',
54
54
  :'_type' => :'String',
55
- :'_artifact' => :'String',
56
- :'_relative_path' => :'String',
55
+ :'artifact' => :'String',
56
+ :'relative_path' => :'String',
57
57
  :'digest' => :'String',
58
58
  :'media_type' => :'String'
59
59
  }
@@ -86,12 +86,12 @@ module PulpDockerClient
86
86
  self._type = attributes[:'_type']
87
87
  end
88
88
 
89
- if attributes.key?(:'_artifact')
90
- self._artifact = attributes[:'_artifact']
89
+ if attributes.key?(:'artifact')
90
+ self.artifact = attributes[:'artifact']
91
91
  end
92
92
 
93
- if attributes.key?(:'_relative_path')
94
- self._relative_path = attributes[:'_relative_path']
93
+ if attributes.key?(:'relative_path')
94
+ self.relative_path = attributes[:'relative_path']
95
95
  end
96
96
 
97
97
  if attributes.key?(:'digest')
@@ -111,16 +111,16 @@ module PulpDockerClient
111
111
  invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
112
112
  end
113
113
 
114
- if @_artifact.nil?
115
- invalid_properties.push('invalid value for "_artifact", _artifact cannot be nil.')
114
+ if @artifact.nil?
115
+ invalid_properties.push('invalid value for "artifact", artifact cannot be nil.')
116
116
  end
117
117
 
118
- if @_relative_path.nil?
119
- invalid_properties.push('invalid value for "_relative_path", _relative_path cannot be nil.')
118
+ if @relative_path.nil?
119
+ invalid_properties.push('invalid value for "relative_path", relative_path cannot be nil.')
120
120
  end
121
121
 
122
- if @_relative_path.to_s.length < 1
123
- invalid_properties.push('invalid value for "_relative_path", the character length must be great than or equal to 1.')
122
+ if @relative_path.to_s.length < 1
123
+ invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
124
124
  end
125
125
 
126
126
  if @digest.nil?
@@ -146,9 +146,9 @@ module PulpDockerClient
146
146
  # @return true if the model is valid
147
147
  def valid?
148
148
  return false if !@_type.nil? && @_type.to_s.length < 1
149
- return false if @_artifact.nil?
150
- return false if @_relative_path.nil?
151
- return false if @_relative_path.to_s.length < 1
149
+ return false if @artifact.nil?
150
+ return false if @relative_path.nil?
151
+ return false if @relative_path.to_s.length < 1
152
152
  return false if @digest.nil?
153
153
  return false if @digest.to_s.length < 1
154
154
  return false if @media_type.nil?
@@ -167,17 +167,17 @@ module PulpDockerClient
167
167
  end
168
168
 
169
169
  # Custom attribute writer method with validation
170
- # @param [Object] _relative_path Value to be assigned
171
- def _relative_path=(_relative_path)
172
- if _relative_path.nil?
173
- fail ArgumentError, '_relative_path cannot be nil'
170
+ # @param [Object] relative_path Value to be assigned
171
+ def relative_path=(relative_path)
172
+ if relative_path.nil?
173
+ fail ArgumentError, 'relative_path cannot be nil'
174
174
  end
175
175
 
176
- if _relative_path.to_s.length < 1
177
- fail ArgumentError, 'invalid value for "_relative_path", the character length must be great than or equal to 1.'
176
+ if relative_path.to_s.length < 1
177
+ fail ArgumentError, 'invalid value for "relative_path", the character length must be great than or equal to 1.'
178
178
  end
179
179
 
180
- @_relative_path = _relative_path
180
+ @relative_path = relative_path
181
181
  end
182
182
 
183
183
  # Custom attribute writer method with validation
@@ -216,8 +216,8 @@ module PulpDockerClient
216
216
  _href == o._href &&
217
217
  _created == o._created &&
218
218
  _type == o._type &&
219
- _artifact == o._artifact &&
220
- _relative_path == o._relative_path &&
219
+ artifact == o.artifact &&
220
+ relative_path == o.relative_path &&
221
221
  digest == o.digest &&
222
222
  media_type == o.media_type
223
223
  end
@@ -231,7 +231,7 @@ module PulpDockerClient
231
231
  # Calculates hash code according to all attributes.
232
232
  # @return [Integer] Hash code
233
233
  def hash
234
- [_href, _created, _type, _artifact, _relative_path, digest, media_type].hash
234
+ [_href, _created, _type, artifact, relative_path, digest, media_type].hash
235
235
  end
236
236
 
237
237
  # Builds the object from hash