pulp_container_client 2.14.13 → 2.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +4 -4
  4. data/docs/ContainerContainerDistributionResponse.md +8 -8
  5. data/docs/ContainerContainerPushRepository.md +3 -3
  6. data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
  7. data/docs/PatchedcontainerContainerDistribution.md +4 -4
  8. data/docs/PatchedcontainerContainerPushRepository.md +3 -3
  9. data/docs/RepositoriesContainerApi.md +4 -0
  10. data/docs/RepositoriesContainerPushApi.md +4 -0
  11. data/lib/pulp_container_client/api/repositories_container_api.rb +6 -0
  12. data/lib/pulp_container_client/api/repositories_container_push_api.rb +6 -0
  13. data/lib/pulp_container_client/models/container_container_distribution.rb +19 -19
  14. data/lib/pulp_container_client/models/container_container_distribution_response.rb +38 -38
  15. data/lib/pulp_container_client/models/container_container_push_repository.rb +14 -14
  16. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +35 -35
  17. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +19 -19
  18. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +14 -14
  19. data/lib/pulp_container_client/version.rb +1 -1
  20. data/spec/api/repositories_container_api_spec.rb +2 -0
  21. data/spec/api/repositories_container_push_api_spec.rb +2 -0
  22. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  23. data/spec/models/container_container_distribution_spec.rb +3 -3
  24. data/spec/models/container_container_push_repository_response_spec.rb +6 -6
  25. data/spec/models/container_container_push_repository_spec.rb +2 -2
  26. data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
  27. data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
  28. metadata +48 -48
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22504d454b29366af9f1c68a110c188c8dd1efe485b8b7aed8d681983e2445d9
4
- data.tar.gz: 401133e31eb00f46e956c6400aace4692032add3461f94eac9cbfa2504e87404
3
+ metadata.gz: '048761e9e40522451b6dca67d061366ed5821cb377d80ebc2bbfdce6c5753737'
4
+ data.tar.gz: 78e865073d967399f796d458c21dec50fbe441343e2227536c117abec97c8ed3
5
5
  SHA512:
6
- metadata.gz: 261b8b2a8a68dcf54c1784e9cbdaba6f05820625f777eee9582043c05fb7effd4f81c8c490c29da4590ce3a746b3dbdb92250a3264a8274fe7e1bf24aeb32d3b
7
- data.tar.gz: 63fb7c15065197829ff1d5f16ce6bc29279a42940f71b16d5a6f54d0c1b544a6fd74da98cfc6c4d75de96e4cc7797845dddf18758d3ed0ca60f719f362ffbc99
6
+ metadata.gz: 4c608c9da1081c8524c2d5ca0f9d601555926ef91563d6c83c4a71cde036a235b847ce50fd27b064a447c24ac380c060e0cbd2a3f1812b05b58dd5e1ccebad90
7
+ data.tar.gz: a3caa2d36640e4ebacf91041ec377285744ffdffca84213a2716900b8ce513c29415db06c7e43f7be7567d355dad6b1df8c92e2adf483cc47dc206a1ab64ee9b
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 2.14.13
10
+ - Package version: 2.15.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_container_client-2.14.13.gem
27
+ gem install ./pulp_container_client-2.15.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.14.13.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.15.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_container_client', '~> 2.14.13'
36
+ gem 'pulp_container_client', '~> 2.15.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
7
+ **pulp_labels** | **Hash<String, String>** | | [optional]
8
8
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
9
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
11
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
11
- **pulp_labels** | **Hash<String, String>** | | [optional]
12
12
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
13
13
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
14
14
  **description** | **String** | An optional description. | [optional]
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpContainerClient'
20
20
 
21
- instance = PulpContainerClient::ContainerContainerDistribution.new(content_guard: null,
21
+ instance = PulpContainerClient::ContainerContainerDistribution.new(pulp_labels: null,
22
22
  repository: null,
23
23
  name: null,
24
+ content_guard: null,
24
25
  base_path: null,
25
- pulp_labels: null,
26
26
  repository_version: null,
27
27
  private: null,
28
28
  description: null)
@@ -4,13 +4,13 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
8
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
- **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
11
7
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
8
  **pulp_labels** | **Hash<String, String>** | | [optional]
13
9
  **pulp_href** | **String** | | [optional] [readonly]
10
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
11
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
12
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
13
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
14
14
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
15
15
  **registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
16
16
  **namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
@@ -22,13 +22,13 @@ Name | Type | Description | Notes
22
22
  ```ruby
23
23
  require 'PulpContainerClient'
24
24
 
25
- instance = PulpContainerClient::ContainerContainerDistributionResponse.new(content_guard: null,
25
+ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
26
+ pulp_labels: null,
27
+ pulp_href: null,
26
28
  repository: null,
27
29
  name: null,
30
+ content_guard: null,
28
31
  base_path: null,
29
- pulp_created: null,
30
- pulp_labels: null,
31
- pulp_href: null,
32
32
  repository_version: null,
33
33
  registry_path: null,
34
34
  namespace: null,
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
8
8
  **description** | **String** | An optional description. | [optional]
9
9
  **name** | **String** | A unique name for this repository. |
10
- **pulp_labels** | **Hash<String, String>** | | [optional]
11
10
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
11
+ **pulp_labels** | **Hash<String, String>** | | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
@@ -18,8 +18,8 @@ require 'PulpContainerClient'
18
18
  instance = PulpContainerClient::ContainerContainerPushRepository.new(retain_repo_versions: null,
19
19
  description: null,
20
20
  name: null,
21
- pulp_labels: null,
22
- manifest_signing_service: null)
21
+ manifest_signing_service: null,
22
+ pulp_labels: null)
23
23
  ```
24
24
 
25
25
 
@@ -5,14 +5,14 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **versions_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **pulp_href** | **String** | | [optional] [readonly]
10
+ **latest_version_href** | **String** | | [optional] [readonly]
8
11
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
9
12
  **description** | **String** | An optional description. | [optional]
10
- **latest_version_href** | **String** | | [optional] [readonly]
11
13
  **name** | **String** | A unique name for this repository. |
12
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
13
- **pulp_labels** | **Hash<String, String>** | | [optional]
14
14
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
15
- **pulp_href** | **String** | | [optional] [readonly]
15
+ **pulp_labels** | **Hash<String, String>** | | [optional]
16
16
 
17
17
  ## Code Sample
18
18
 
@@ -20,14 +20,14 @@ Name | Type | Description | Notes
20
20
  require 'PulpContainerClient'
21
21
 
22
22
  instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(versions_href: null,
23
+ pulp_created: null,
24
+ pulp_href: null,
25
+ latest_version_href: null,
23
26
  retain_repo_versions: null,
24
27
  description: null,
25
- latest_version_href: null,
26
28
  name: null,
27
- pulp_created: null,
28
- pulp_labels: null,
29
29
  manifest_signing_service: null,
30
- pulp_href: null)
30
+ pulp_labels: null)
31
31
  ```
32
32
 
33
33
 
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
7
+ **pulp_labels** | **Hash<String, String>** | | [optional]
8
8
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
9
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
10
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
11
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
11
- **pulp_labels** | **Hash<String, String>** | | [optional]
12
12
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
13
13
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
14
14
  **description** | **String** | An optional description. | [optional]
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpContainerClient'
20
20
 
21
- instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(content_guard: null,
21
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(pulp_labels: null,
22
22
  repository: null,
23
23
  name: null,
24
+ content_guard: null,
24
25
  base_path: null,
25
- pulp_labels: null,
26
26
  repository_version: null,
27
27
  private: null,
28
28
  description: null)
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
8
8
  **description** | **String** | An optional description. | [optional]
9
9
  **name** | **String** | A unique name for this repository. | [optional]
10
- **pulp_labels** | **Hash<String, String>** | | [optional]
11
10
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
11
+ **pulp_labels** | **Hash<String, String>** | | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
@@ -18,8 +18,8 @@ require 'PulpContainerClient'
18
18
  instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
19
19
  description: null,
20
20
  name: null,
21
- pulp_labels: null,
22
- manifest_signing_service: null)
21
+ manifest_signing_service: null,
22
+ pulp_labels: null)
23
23
  ```
24
24
 
25
25
 
@@ -436,6 +436,7 @@ end
436
436
 
437
437
  api_instance = PulpContainerClient::RepositoriesContainerApi.new
438
438
  opts = {
439
+ latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF
439
440
  limit: 56, # Integer | Number of results to return per page.
440
441
  name: 'name_example', # String | Filter results where name matches value
441
442
  name__contains: 'name__contains_example', # String | Filter results where name contains value
@@ -456,6 +457,7 @@ opts = {
456
457
  retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
457
458
  retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
458
459
  retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
460
+ with_content: 'with_content_example', # String | Content Unit referenced by HREF
459
461
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
460
462
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
461
463
  }
@@ -474,6 +476,7 @@ end
474
476
 
475
477
  Name | Type | Description | Notes
476
478
  ------------- | ------------- | ------------- | -------------
479
+ **latest_with_content** | **String**| Content Unit referenced by HREF | [optional]
477
480
  **limit** | **Integer**| Number of results to return per page. | [optional]
478
481
  **name** | **String**| Filter results where name matches value | [optional]
479
482
  **name__contains** | **String**| Filter results where name contains value | [optional]
@@ -494,6 +497,7 @@ Name | Type | Description | Notes
494
497
  **retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
495
498
  **retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
496
499
  **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
500
+ **with_content** | **String**| Content Unit referenced by HREF | [optional]
497
501
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
498
502
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
499
503
 
@@ -96,6 +96,7 @@ end
96
96
 
97
97
  api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
98
98
  opts = {
99
+ latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF
99
100
  limit: 56, # Integer | Number of results to return per page.
100
101
  name: 'name_example', # String | Filter results where name matches value
101
102
  name__contains: 'name__contains_example', # String | Filter results where name contains value
@@ -116,6 +117,7 @@ opts = {
116
117
  retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
117
118
  retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
118
119
  retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
120
+ with_content: 'with_content_example', # String | Content Unit referenced by HREF
119
121
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
120
122
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
121
123
  }
@@ -134,6 +136,7 @@ end
134
136
 
135
137
  Name | Type | Description | Notes
136
138
  ------------- | ------------- | ------------- | -------------
139
+ **latest_with_content** | **String**| Content Unit referenced by HREF | [optional]
137
140
  **limit** | **Integer**| Number of results to return per page. | [optional]
138
141
  **name** | **String**| Filter results where name matches value | [optional]
139
142
  **name__contains** | **String**| Filter results where name contains value | [optional]
@@ -154,6 +157,7 @@ Name | Type | Description | Notes
154
157
  **retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
155
158
  **retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
156
159
  **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
160
+ **with_content** | **String**| Content Unit referenced by HREF | [optional]
157
161
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
158
162
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
159
163
 
@@ -506,6 +506,7 @@ module PulpContainerClient
506
506
  # List container repositorys
507
507
  # ViewSet for container repo.
508
508
  # @param [Hash] opts the optional parameters
509
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF
509
510
  # @option opts [Integer] :limit Number of results to return per page.
510
511
  # @option opts [String] :name Filter results where name matches value
511
512
  # @option opts [String] :name__contains Filter results where name contains value
@@ -526,6 +527,7 @@ module PulpContainerClient
526
527
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
527
528
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
528
529
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
530
+ # @option opts [String] :with_content Content Unit referenced by HREF
529
531
  # @option opts [Array<String>] :fields A list of fields to include in the response.
530
532
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
531
533
  # @return [PaginatedcontainerContainerRepositoryResponseList]
@@ -537,6 +539,7 @@ module PulpContainerClient
537
539
  # List container repositorys
538
540
  # ViewSet for container repo.
539
541
  # @param [Hash] opts the optional parameters
542
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF
540
543
  # @option opts [Integer] :limit Number of results to return per page.
541
544
  # @option opts [String] :name Filter results where name matches value
542
545
  # @option opts [String] :name__contains Filter results where name contains value
@@ -557,6 +560,7 @@ module PulpContainerClient
557
560
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
558
561
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
559
562
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
563
+ # @option opts [String] :with_content Content Unit referenced by HREF
560
564
  # @option opts [Array<String>] :fields A list of fields to include in the response.
561
565
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
562
566
  # @return [Array<(PaginatedcontainerContainerRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerRepositoryResponseList data, response status code and response headers
@@ -573,6 +577,7 @@ module PulpContainerClient
573
577
 
574
578
  # query parameters
575
579
  query_params = opts[:query_params] || {}
580
+ query_params[:'latest_with_content'] = opts[:'latest_with_content'] if !opts[:'latest_with_content'].nil?
576
581
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
577
582
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
578
583
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
@@ -593,6 +598,7 @@ module PulpContainerClient
593
598
  query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
594
599
  query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
595
600
  query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
601
+ query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
596
602
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
597
603
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
598
604
 
@@ -90,6 +90,7 @@ module PulpContainerClient
90
90
  # List container push repositorys
91
91
  # ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
92
92
  # @param [Hash] opts the optional parameters
93
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF
93
94
  # @option opts [Integer] :limit Number of results to return per page.
94
95
  # @option opts [String] :name Filter results where name matches value
95
96
  # @option opts [String] :name__contains Filter results where name contains value
@@ -110,6 +111,7 @@ module PulpContainerClient
110
111
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
111
112
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
112
113
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
114
+ # @option opts [String] :with_content Content Unit referenced by HREF
113
115
  # @option opts [Array<String>] :fields A list of fields to include in the response.
114
116
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
115
117
  # @return [PaginatedcontainerContainerPushRepositoryResponseList]
@@ -121,6 +123,7 @@ module PulpContainerClient
121
123
  # List container push repositorys
122
124
  # ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
123
125
  # @param [Hash] opts the optional parameters
126
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF
124
127
  # @option opts [Integer] :limit Number of results to return per page.
125
128
  # @option opts [String] :name Filter results where name matches value
126
129
  # @option opts [String] :name__contains Filter results where name contains value
@@ -141,6 +144,7 @@ module PulpContainerClient
141
144
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
142
145
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
143
146
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
147
+ # @option opts [String] :with_content Content Unit referenced by HREF
144
148
  # @option opts [Array<String>] :fields A list of fields to include in the response.
145
149
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
146
150
  # @return [Array<(PaginatedcontainerContainerPushRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerPushRepositoryResponseList data, response status code and response headers
@@ -157,6 +161,7 @@ module PulpContainerClient
157
161
 
158
162
  # query parameters
159
163
  query_params = opts[:query_params] || {}
164
+ query_params[:'latest_with_content'] = opts[:'latest_with_content'] if !opts[:'latest_with_content'].nil?
160
165
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
161
166
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
162
167
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
@@ -177,6 +182,7 @@ module PulpContainerClient
177
182
  query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
178
183
  query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
179
184
  query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
185
+ query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
180
186
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
181
187
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
182
188
 
@@ -15,8 +15,7 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
- # An optional content-guard. If none is specified, a default one will be used.
19
- attr_accessor :content_guard
18
+ attr_accessor :pulp_labels
20
19
 
21
20
  # The latest RepositoryVersion for this Repository will be served.
22
21
  attr_accessor :repository
@@ -24,11 +23,12 @@ module PulpContainerClient
24
23
  # A unique name. Ex, `rawhide` and `stable`.
25
24
  attr_accessor :name
26
25
 
26
+ # An optional content-guard. If none is specified, a default one will be used.
27
+ attr_accessor :content_guard
28
+
27
29
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
28
30
  attr_accessor :base_path
29
31
 
30
- attr_accessor :pulp_labels
31
-
32
32
  # RepositoryVersion to be served
33
33
  attr_accessor :repository_version
34
34
 
@@ -41,11 +41,11 @@ module PulpContainerClient
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
- :'content_guard' => :'content_guard',
44
+ :'pulp_labels' => :'pulp_labels',
45
45
  :'repository' => :'repository',
46
46
  :'name' => :'name',
47
+ :'content_guard' => :'content_guard',
47
48
  :'base_path' => :'base_path',
48
- :'pulp_labels' => :'pulp_labels',
49
49
  :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
51
51
  :'description' => :'description'
@@ -55,11 +55,11 @@ module PulpContainerClient
55
55
  # Attribute type mapping.
56
56
  def self.openapi_types
57
57
  {
58
- :'content_guard' => :'String',
58
+ :'pulp_labels' => :'Hash<String, String>',
59
59
  :'repository' => :'String',
60
60
  :'name' => :'String',
61
+ :'content_guard' => :'String',
61
62
  :'base_path' => :'String',
62
- :'pulp_labels' => :'Hash<String, String>',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
65
65
  :'description' => :'String'
@@ -90,8 +90,10 @@ module PulpContainerClient
90
90
  h[k.to_sym] = v
91
91
  }
92
92
 
93
- if attributes.key?(:'content_guard')
94
- self.content_guard = attributes[:'content_guard']
93
+ if attributes.key?(:'pulp_labels')
94
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
95
+ self.pulp_labels = value
96
+ end
95
97
  end
96
98
 
97
99
  if attributes.key?(:'repository')
@@ -102,14 +104,12 @@ module PulpContainerClient
102
104
  self.name = attributes[:'name']
103
105
  end
104
106
 
105
- if attributes.key?(:'base_path')
106
- self.base_path = attributes[:'base_path']
107
+ if attributes.key?(:'content_guard')
108
+ self.content_guard = attributes[:'content_guard']
107
109
  end
108
110
 
109
- if attributes.key?(:'pulp_labels')
110
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
111
- self.pulp_labels = value
112
- end
111
+ if attributes.key?(:'base_path')
112
+ self.base_path = attributes[:'base_path']
113
113
  end
114
114
 
115
115
  if attributes.key?(:'repository_version')
@@ -206,11 +206,11 @@ module PulpContainerClient
206
206
  def ==(o)
207
207
  return true if self.equal?(o)
208
208
  self.class == o.class &&
209
- content_guard == o.content_guard &&
209
+ pulp_labels == o.pulp_labels &&
210
210
  repository == o.repository &&
211
211
  name == o.name &&
212
+ content_guard == o.content_guard &&
212
213
  base_path == o.base_path &&
213
- pulp_labels == o.pulp_labels &&
214
214
  repository_version == o.repository_version &&
215
215
  private == o.private &&
216
216
  description == o.description
@@ -225,7 +225,7 @@ module PulpContainerClient
225
225
  # Calculates hash code according to all attributes.
226
226
  # @return [Integer] Hash code
227
227
  def hash
228
- [content_guard, repository, name, base_path, pulp_labels, repository_version, private, description].hash
228
+ [pulp_labels, repository, name, content_guard, base_path, repository_version, private, description].hash
229
229
  end
230
230
 
231
231
  # Builds the object from hash
@@ -15,8 +15,12 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
- # An optional content-guard. If none is specified, a default one will be used.
19
- attr_accessor :content_guard
18
+ # Timestamp of creation.
19
+ attr_accessor :pulp_created
20
+
21
+ attr_accessor :pulp_labels
22
+
23
+ attr_accessor :pulp_href
20
24
 
21
25
  # The latest RepositoryVersion for this Repository will be served.
22
26
  attr_accessor :repository
@@ -24,16 +28,12 @@ module PulpContainerClient
24
28
  # A unique name. Ex, `rawhide` and `stable`.
25
29
  attr_accessor :name
26
30
 
31
+ # An optional content-guard. If none is specified, a default one will be used.
32
+ attr_accessor :content_guard
33
+
27
34
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
28
35
  attr_accessor :base_path
29
36
 
30
- # Timestamp of creation.
31
- attr_accessor :pulp_created
32
-
33
- attr_accessor :pulp_labels
34
-
35
- attr_accessor :pulp_href
36
-
37
37
  # RepositoryVersion to be served
38
38
  attr_accessor :repository_version
39
39
 
@@ -52,13 +52,13 @@ module PulpContainerClient
52
52
  # Attribute mapping from ruby-style variable name to JSON key.
53
53
  def self.attribute_map
54
54
  {
55
- :'content_guard' => :'content_guard',
56
- :'repository' => :'repository',
57
- :'name' => :'name',
58
- :'base_path' => :'base_path',
59
55
  :'pulp_created' => :'pulp_created',
60
56
  :'pulp_labels' => :'pulp_labels',
61
57
  :'pulp_href' => :'pulp_href',
58
+ :'repository' => :'repository',
59
+ :'name' => :'name',
60
+ :'content_guard' => :'content_guard',
61
+ :'base_path' => :'base_path',
62
62
  :'repository_version' => :'repository_version',
63
63
  :'registry_path' => :'registry_path',
64
64
  :'namespace' => :'namespace',
@@ -70,13 +70,13 @@ module PulpContainerClient
70
70
  # Attribute type mapping.
71
71
  def self.openapi_types
72
72
  {
73
- :'content_guard' => :'String',
74
- :'repository' => :'String',
75
- :'name' => :'String',
76
- :'base_path' => :'String',
77
73
  :'pulp_created' => :'DateTime',
78
74
  :'pulp_labels' => :'Hash<String, String>',
79
75
  :'pulp_href' => :'String',
76
+ :'repository' => :'String',
77
+ :'name' => :'String',
78
+ :'content_guard' => :'String',
79
+ :'base_path' => :'String',
80
80
  :'repository_version' => :'String',
81
81
  :'registry_path' => :'String',
82
82
  :'namespace' => :'String',
@@ -109,22 +109,6 @@ module PulpContainerClient
109
109
  h[k.to_sym] = v
110
110
  }
111
111
 
112
- if attributes.key?(:'content_guard')
113
- self.content_guard = attributes[:'content_guard']
114
- end
115
-
116
- if attributes.key?(:'repository')
117
- self.repository = attributes[:'repository']
118
- end
119
-
120
- if attributes.key?(:'name')
121
- self.name = attributes[:'name']
122
- end
123
-
124
- if attributes.key?(:'base_path')
125
- self.base_path = attributes[:'base_path']
126
- end
127
-
128
112
  if attributes.key?(:'pulp_created')
129
113
  self.pulp_created = attributes[:'pulp_created']
130
114
  end
@@ -139,6 +123,22 @@ module PulpContainerClient
139
123
  self.pulp_href = attributes[:'pulp_href']
140
124
  end
141
125
 
126
+ if attributes.key?(:'repository')
127
+ self.repository = attributes[:'repository']
128
+ end
129
+
130
+ if attributes.key?(:'name')
131
+ self.name = attributes[:'name']
132
+ end
133
+
134
+ if attributes.key?(:'content_guard')
135
+ self.content_guard = attributes[:'content_guard']
136
+ end
137
+
138
+ if attributes.key?(:'base_path')
139
+ self.base_path = attributes[:'base_path']
140
+ end
141
+
142
142
  if attributes.key?(:'repository_version')
143
143
  self.repository_version = attributes[:'repository_version']
144
144
  end
@@ -188,13 +188,13 @@ module PulpContainerClient
188
188
  def ==(o)
189
189
  return true if self.equal?(o)
190
190
  self.class == o.class &&
191
- content_guard == o.content_guard &&
192
- repository == o.repository &&
193
- name == o.name &&
194
- base_path == o.base_path &&
195
191
  pulp_created == o.pulp_created &&
196
192
  pulp_labels == o.pulp_labels &&
197
193
  pulp_href == o.pulp_href &&
194
+ repository == o.repository &&
195
+ name == o.name &&
196
+ content_guard == o.content_guard &&
197
+ base_path == o.base_path &&
198
198
  repository_version == o.repository_version &&
199
199
  registry_path == o.registry_path &&
200
200
  namespace == o.namespace &&
@@ -211,7 +211,7 @@ module PulpContainerClient
211
211
  # Calculates hash code according to all attributes.
212
212
  # @return [Integer] Hash code
213
213
  def hash
214
- [content_guard, repository, name, base_path, pulp_created, pulp_labels, pulp_href, repository_version, registry_path, namespace, private, description].hash
214
+ [pulp_created, pulp_labels, pulp_href, repository, name, content_guard, base_path, repository_version, registry_path, namespace, private, description].hash
215
215
  end
216
216
 
217
217
  # Builds the object from hash