pulp_container_client 2.15.0.dev1674789963 → 2.15.0.dev1674961693

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_container_client might be problematic. Click here for more details.

Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +8 -8
  5. data/docs/ContainerContainerPushRepository.md +6 -6
  6. data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
  7. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  8. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  9. data/docs/RepositoriesContainerApi.md +16 -0
  10. data/docs/RepositoriesContainerPushApi.md +16 -0
  11. data/lib/pulp_container_client/api/repositories_container_api.rb +24 -0
  12. data/lib/pulp_container_client/api/repositories_container_push_api.rb +24 -0
  13. data/lib/pulp_container_client/models/container_container_distribution.rb +51 -51
  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 +39 -39
  16. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +48 -48
  17. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +42 -42
  18. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +39 -39
  19. data/lib/pulp_container_client/version.rb +1 -1
  20. data/spec/api/repositories_container_api_spec.rb +8 -0
  21. data/spec/api/repositories_container_push_api_spec.rb +8 -0
  22. data/spec/models/container_container_distribution_response_spec.rb +6 -6
  23. data/spec/models/container_container_distribution_spec.rb +4 -4
  24. data/spec/models/container_container_push_repository_response_spec.rb +9 -9
  25. data/spec/models/container_container_push_repository_spec.rb +3 -3
  26. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  27. data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
  28. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8840540b4d66fd045b4fb5d50e2f61b99cf2d36271843c295822baa2df5b57c6
4
- data.tar.gz: ae5947df34a92da43a2ae8c8f63dd3d6d5934c5f14f4c1685ab97887fa45a87b
3
+ metadata.gz: e1342b4aae315042bc6d3c51624b8fcc94c59bde26b235ba35833c5f96f38ac8
4
+ data.tar.gz: f92c798d3706fab213e2ce13abceb1612f35376366d45aeaefd2a46d43a1d983
5
5
  SHA512:
6
- metadata.gz: 9455fb3040fade6ad3728b52460dcbf3f8994bf2b918ce79376fe46c6bc7605559f5b2266b4dee30079642e0bd4f0f896166b3bcecc6eba6b90589a253eae498
7
- data.tar.gz: f20d458ec129a40c4734c44adcf86629ec4e0aefb8c45f2f93612858a7f4e4f109df196635619fd80632c3df63799f67ed0327e4360bcb3f94b9000866c76300
6
+ metadata.gz: 0d67db054f7d41590062a944059f394edd1d7d62598292a82d2ded91adfed4a62065015abdcdb2166cc71709a8bb3dc77de2baae1cfb8eeceb96e8f5fec0468e
7
+ data.tar.gz: c54de5033699852e56909eb9086e0b5d460843dceada77b9e6efffa691d8658abdcf9b0c415803cabd0d3c925084e3323046ed8f9e179fae9b75432dc49446ea
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.15.0.dev1674789963
10
+ - Package version: 2.15.0.dev1674961693
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.15.0.dev1674789963.gem
27
+ gem install ./pulp_container_client-2.15.0.dev1674961693.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.15.0.dev1674789963.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.15.0.dev1674961693.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.15.0.dev1674789963'
36
+ gem 'pulp_container_client', '~> 2.15.0.dev1674961693'
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]
8
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
9
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
7
  **pulp_labels** | **Hash<String, String>** | | [optional]
11
8
  **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\") |
9
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [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,
22
- name: null,
23
- repository: null,
24
- pulp_labels: null,
21
+ instance = PulpContainerClient::ContainerContainerDistribution.new(pulp_labels: null,
25
22
  base_path: null,
23
+ repository: null,
24
+ name: null,
25
+ content_guard: 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
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
9
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
7
  **pulp_labels** | **Hash<String, String>** | | [optional]
11
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
8
  **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\") |
9
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
11
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
12
  **pulp_href** | **String** | | [optional] [readonly]
13
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
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,
26
- name: null,
25
+ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_labels: null,
26
+ base_path: null,
27
27
  repository: null,
28
- pulp_labels: null,
29
28
  pulp_created: null,
30
- base_path: null,
29
+ name: null,
31
30
  pulp_href: null,
31
+ content_guard: null,
32
32
  repository_version: null,
33
33
  registry_path: null,
34
34
  namespace: null,
@@ -4,22 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
7
+ **pulp_labels** | **Hash<String, String>** | | [optional]
8
8
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
9
- **name** | **String** | A unique name for this repository. |
9
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
10
10
  **description** | **String** | An optional description. | [optional]
11
- **pulp_labels** | **Hash<String, String>** | | [optional]
11
+ **name** | **String** | A unique name for this repository. |
12
12
 
13
13
  ## Code Sample
14
14
 
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::ContainerContainerPushRepository.new(manifest_signing_service: null,
18
+ instance = PulpContainerClient::ContainerContainerPushRepository.new(pulp_labels: null,
19
19
  retain_repo_versions: null,
20
- name: null,
20
+ manifest_signing_service: null,
21
21
  description: null,
22
- pulp_labels: null)
22
+ name: null)
23
23
  ```
24
24
 
25
25
 
@@ -4,30 +4,30 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **versions_href** | **String** | | [optional] [readonly]
8
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
9
- **pulp_href** | **String** | | [optional] [readonly]
7
+ **pulp_labels** | **Hash<String, String>** | | [optional]
10
8
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
- **name** | **String** | A unique name for this repository. |
9
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
12
10
  **description** | **String** | An optional description. | [optional]
13
- **pulp_labels** | **Hash<String, String>** | | [optional]
14
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
15
11
  **latest_version_href** | **String** | | [optional] [readonly]
12
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
13
+ **name** | **String** | A unique name for this repository. |
14
+ **versions_href** | **String** | | [optional] [readonly]
15
+ **pulp_href** | **String** | | [optional] [readonly]
16
16
 
17
17
  ## Code Sample
18
18
 
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(versions_href: null,
23
- manifest_signing_service: null,
24
- pulp_href: null,
22
+ instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_labels: null,
25
23
  retain_repo_versions: null,
26
- name: null,
24
+ manifest_signing_service: null,
27
25
  description: null,
28
- pulp_labels: null,
26
+ latest_version_href: null,
29
27
  pulp_created: null,
30
- latest_version_href: null)
28
+ name: null,
29
+ versions_href: null,
30
+ pulp_href: 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]
8
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
9
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
7
  **pulp_labels** | **Hash<String, String>** | | [optional]
11
8
  **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]
9
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
11
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [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,
22
- name: null,
23
- repository: null,
24
- pulp_labels: null,
21
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(pulp_labels: null,
25
22
  base_path: null,
23
+ repository: null,
24
+ name: null,
25
+ content_guard: null,
26
26
  repository_version: null,
27
27
  private: null,
28
28
  description: null)
@@ -4,22 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
7
+ **pulp_labels** | **Hash<String, String>** | | [optional]
8
8
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
9
- **name** | **String** | A unique name for this repository. | [optional]
9
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
10
10
  **description** | **String** | An optional description. | [optional]
11
- **pulp_labels** | **Hash<String, String>** | | [optional]
11
+ **name** | **String** | A unique name for this repository. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(manifest_signing_service: null,
18
+ instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(pulp_labels: null,
19
19
  retain_repo_versions: null,
20
- name: null,
20
+ manifest_signing_service: null,
21
21
  description: null,
22
- pulp_labels: null)
22
+ name: null)
23
23
  ```
24
24
 
25
25
 
@@ -446,6 +446,14 @@ opts = {
446
446
  ordering: ['ordering_example'], # Array<String> | Ordering
447
447
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
448
448
  remote: 'remote_example', # String | Foreign Key referenced by HREF
449
+ retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
450
+ retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
451
+ retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
452
+ retain_repo_versions__isnull: true, # Boolean | Filter results where retain_repo_versions has a null value
453
+ retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
454
+ retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
455
+ retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
456
+ retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
449
457
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
450
458
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
451
459
  }
@@ -474,6 +482,14 @@ Name | Type | Description | Notes
474
482
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
475
483
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
476
484
  **remote** | **String**| Foreign Key referenced by HREF | [optional]
485
+ **retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
486
+ **retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
487
+ **retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
488
+ **retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
489
+ **retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
490
+ **retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
491
+ **retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
492
+ **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
477
493
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
478
494
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
479
495
 
@@ -106,6 +106,14 @@ opts = {
106
106
  ordering: ['ordering_example'], # Array<String> | Ordering
107
107
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
108
108
  remote: 'remote_example', # String | Foreign Key referenced by HREF
109
+ retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
110
+ retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
111
+ retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
112
+ retain_repo_versions__isnull: true, # Boolean | Filter results where retain_repo_versions has a null value
113
+ retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
114
+ retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
115
+ retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
116
+ retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
109
117
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
110
118
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
111
119
  }
@@ -134,6 +142,14 @@ Name | Type | Description | Notes
134
142
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
135
143
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
136
144
  **remote** | **String**| Foreign Key referenced by HREF | [optional]
145
+ **retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
146
+ **retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
147
+ **retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
148
+ **retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
149
+ **retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
150
+ **retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
151
+ **retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
152
+ **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
137
153
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
138
154
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
139
155
 
@@ -516,6 +516,14 @@ module PulpContainerClient
516
516
  # @option opts [Array<String>] :ordering Ordering
517
517
  # @option opts [String] :pulp_label_select Filter labels by search string
518
518
  # @option opts [String] :remote Foreign Key referenced by HREF
519
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
520
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
521
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
522
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
523
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
524
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
525
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
526
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
519
527
  # @option opts [Array<String>] :fields A list of fields to include in the response.
520
528
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
521
529
  # @return [PaginatedcontainerContainerRepositoryResponseList]
@@ -537,6 +545,14 @@ module PulpContainerClient
537
545
  # @option opts [Array<String>] :ordering Ordering
538
546
  # @option opts [String] :pulp_label_select Filter labels by search string
539
547
  # @option opts [String] :remote Foreign Key referenced by HREF
548
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
549
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
550
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
551
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
552
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
553
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
554
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
555
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
540
556
  # @option opts [Array<String>] :fields A list of fields to include in the response.
541
557
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
542
558
  # @return [Array<(PaginatedcontainerContainerRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerRepositoryResponseList data, response status code and response headers
@@ -563,6 +579,14 @@ module PulpContainerClient
563
579
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
564
580
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
565
581
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
582
+ query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
583
+ query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
584
+ query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
585
+ query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
586
+ query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
587
+ query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
588
+ query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
589
+ query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
566
590
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
567
591
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
568
592
 
@@ -100,6 +100,14 @@ module PulpContainerClient
100
100
  # @option opts [Array<String>] :ordering Ordering
101
101
  # @option opts [String] :pulp_label_select Filter labels by search string
102
102
  # @option opts [String] :remote Foreign Key referenced by HREF
103
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
104
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
105
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
106
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
107
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
108
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
109
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
110
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
103
111
  # @option opts [Array<String>] :fields A list of fields to include in the response.
104
112
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
105
113
  # @return [PaginatedcontainerContainerPushRepositoryResponseList]
@@ -121,6 +129,14 @@ module PulpContainerClient
121
129
  # @option opts [Array<String>] :ordering Ordering
122
130
  # @option opts [String] :pulp_label_select Filter labels by search string
123
131
  # @option opts [String] :remote Foreign Key referenced by HREF
132
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
133
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
134
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
135
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
136
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
137
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
138
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
139
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
124
140
  # @option opts [Array<String>] :fields A list of fields to include in the response.
125
141
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
126
142
  # @return [Array<(PaginatedcontainerContainerPushRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerPushRepositoryResponseList data, response status code and response headers
@@ -147,6 +163,14 @@ module PulpContainerClient
147
163
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
148
164
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
149
165
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
166
+ query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
167
+ query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
168
+ query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
169
+ query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
170
+ query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
171
+ query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
172
+ query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
173
+ query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
150
174
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
151
175
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
152
176
 
@@ -15,19 +15,19 @@ 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
- # A unique name. Ex, `rawhide` and `stable`.
22
- attr_accessor :name
20
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
21
+ attr_accessor :base_path
23
22
 
24
23
  # The latest RepositoryVersion for this Repository will be served.
25
24
  attr_accessor :repository
26
25
 
27
- attr_accessor :pulp_labels
26
+ # A unique name. Ex, `rawhide` and `stable`.
27
+ attr_accessor :name
28
28
 
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\")
30
- attr_accessor :base_path
29
+ # An optional content-guard. If none is specified, a default one will be used.
30
+ attr_accessor :content_guard
31
31
 
32
32
  # RepositoryVersion to be served
33
33
  attr_accessor :repository_version
@@ -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',
45
- :'name' => :'name',
46
- :'repository' => :'repository',
47
44
  :'pulp_labels' => :'pulp_labels',
48
45
  :'base_path' => :'base_path',
46
+ :'repository' => :'repository',
47
+ :'name' => :'name',
48
+ :'content_guard' => :'content_guard',
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',
59
- :'name' => :'String',
60
- :'repository' => :'String',
61
58
  :'pulp_labels' => :'Hash<String, String>',
62
59
  :'base_path' => :'String',
60
+ :'repository' => :'String',
61
+ :'name' => :'String',
62
+ :'content_guard' => :'String',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
65
65
  :'description' => :'String'
@@ -90,26 +90,26 @@ 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
- if attributes.key?(:'name')
98
- self.name = attributes[:'name']
99
+ if attributes.key?(:'base_path')
100
+ self.base_path = attributes[:'base_path']
99
101
  end
100
102
 
101
103
  if attributes.key?(:'repository')
102
104
  self.repository = attributes[:'repository']
103
105
  end
104
106
 
105
- if attributes.key?(:'pulp_labels')
106
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
107
- self.pulp_labels = value
108
- end
107
+ if attributes.key?(:'name')
108
+ self.name = attributes[:'name']
109
109
  end
110
110
 
111
- if attributes.key?(:'base_path')
112
- self.base_path = attributes[:'base_path']
111
+ if attributes.key?(:'content_guard')
112
+ self.content_guard = attributes[:'content_guard']
113
113
  end
114
114
 
115
115
  if attributes.key?(:'repository_version')
@@ -129,14 +129,6 @@ module PulpContainerClient
129
129
  # @return Array for valid properties with the reasons
130
130
  def list_invalid_properties
131
131
  invalid_properties = Array.new
132
- if @name.nil?
133
- invalid_properties.push('invalid value for "name", name cannot be nil.')
134
- end
135
-
136
- if @name.to_s.length < 1
137
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
138
- end
139
-
140
132
  if @base_path.nil?
141
133
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
142
134
  end
@@ -145,6 +137,14 @@ module PulpContainerClient
145
137
  invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
146
138
  end
147
139
 
140
+ if @name.nil?
141
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
142
+ end
143
+
144
+ if @name.to_s.length < 1
145
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
146
+ end
147
+
148
148
  if !@description.nil? && @description.to_s.length < 1
149
149
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
150
150
  end
@@ -155,28 +155,14 @@ module PulpContainerClient
155
155
  # Check to see if the all the properties in the model are valid
156
156
  # @return true if the model is valid
157
157
  def valid?
158
- return false if @name.nil?
159
- return false if @name.to_s.length < 1
160
158
  return false if @base_path.nil?
161
159
  return false if @base_path.to_s.length < 1
160
+ return false if @name.nil?
161
+ return false if @name.to_s.length < 1
162
162
  return false if !@description.nil? && @description.to_s.length < 1
163
163
  true
164
164
  end
165
165
 
166
- # Custom attribute writer method with validation
167
- # @param [Object] name Value to be assigned
168
- def name=(name)
169
- if name.nil?
170
- fail ArgumentError, 'name cannot be nil'
171
- end
172
-
173
- if name.to_s.length < 1
174
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
175
- end
176
-
177
- @name = name
178
- end
179
-
180
166
  # Custom attribute writer method with validation
181
167
  # @param [Object] base_path Value to be assigned
182
168
  def base_path=(base_path)
@@ -191,6 +177,20 @@ module PulpContainerClient
191
177
  @base_path = base_path
192
178
  end
193
179
 
180
+ # Custom attribute writer method with validation
181
+ # @param [Object] name Value to be assigned
182
+ def name=(name)
183
+ if name.nil?
184
+ fail ArgumentError, 'name cannot be nil'
185
+ end
186
+
187
+ if name.to_s.length < 1
188
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
189
+ end
190
+
191
+ @name = name
192
+ end
193
+
194
194
  # Custom attribute writer method with validation
195
195
  # @param [Object] description Value to be assigned
196
196
  def description=(description)
@@ -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 &&
210
- name == o.name &&
211
- repository == o.repository &&
212
209
  pulp_labels == o.pulp_labels &&
213
210
  base_path == o.base_path &&
211
+ repository == o.repository &&
212
+ name == o.name &&
213
+ content_guard == o.content_guard &&
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, name, repository, pulp_labels, base_path, repository_version, private, description].hash
228
+ [pulp_labels, base_path, repository, name, content_guard, repository_version, private, description].hash
229
229
  end
230
230
 
231
231
  # Builds the object from hash