pulp_container_client 2.15.1 → 2.15.2

Sign up to get free protection for your applications and to get access to all the features.
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 +9 -9
  5. data/docs/ContainerContainerPushRepository.md +5 -5
  6. data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
  7. data/docs/ContentManifestsApi.md +2 -2
  8. data/docs/ContentTagsApi.md +2 -2
  9. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  10. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  11. data/lib/pulp_container_client/api/content_manifests_api.rb +2 -2
  12. data/lib/pulp_container_client/api/content_tags_api.rb +2 -2
  13. data/lib/pulp_container_client/models/container_container_distribution.rb +53 -53
  14. data/lib/pulp_container_client/models/container_container_distribution_response.rb +42 -42
  15. data/lib/pulp_container_client/models/container_container_push_repository.rb +26 -26
  16. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +43 -43
  17. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +44 -44
  18. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +26 -26
  19. data/lib/pulp_container_client/version.rb +1 -1
  20. data/spec/api/content_manifests_api_spec.rb +1 -1
  21. data/spec/api/content_tags_api_spec.rb +1 -1
  22. data/spec/models/container_container_distribution_response_spec.rb +6 -6
  23. data/spec/models/container_container_distribution_spec.rb +6 -6
  24. data/spec/models/container_container_push_repository_response_spec.rb +7 -7
  25. data/spec/models/container_container_push_repository_spec.rb +4 -4
  26. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  27. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  28. metadata +48 -48
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7d45b250e249ec85396f07fce4f0a31b0ccda431cb7b4608ee647b1b4d9fbfd
4
- data.tar.gz: 5104dcc2f964866da18b7c214068684ac26f1e3225aad84664a3a1cd112efe6c
3
+ metadata.gz: 5eb1ad52620f56999122062b17117e8ebcc9a3fd03db67ed3530166a67160d1c
4
+ data.tar.gz: b3c23dd75d6800d0c6e1169768096fd802c85079ac02be12468b118e0608878e
5
5
  SHA512:
6
- metadata.gz: 72e25708ca2038436a0025d3fa98e049db1696e9adae46894a3f342bff91d295ccbc7e19396adf2900380c9ca24581f1c260d33cc7bc220385a400db8a234286
7
- data.tar.gz: 892857eeb3287eeb690e033791731088afd5b6f374c06c3fba930c74834e61784750aa084f909cc25be332ce370945dd40be7a048e199269649eec831682ac32
6
+ metadata.gz: 397ba2611bbba69ef725b85c6074d45f888797e1a6f1b1cde5a2bf8cda039700ded20d63e44f9e845f5abc43d3a716852c1dd78946434e46210294a5a9534340
7
+ data.tar.gz: 11d4693ff4f756768d27118dcee3282ecd3c671364325fc9615c630d7c1594178922796b1a72bf9d9436c66d141a3b3ff6556629e4dfc66cdcc783b9603c281d
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.1
10
+ - Package version: 2.15.2
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.1.gem
27
+ gem install ./pulp_container_client-2.15.2.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.15.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.15.2.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.1'
36
+ gem 'pulp_container_client', '~> 2.15.2'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **pulp_labels** | **Hash<String, String>** | | [optional]
8
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
7
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
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
10
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
11
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
- **pulp_labels** | **Hash<String, String>** | | [optional]
12
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
+ **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\") |
13
13
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
14
14
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
15
15
  **description** | **String** | An optional description. | [optional]
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
23
- base_path: null,
22
+ instance = PulpContainerClient::ContainerContainerDistribution.new(pulp_labels: null,
23
+ content_guard: null,
24
+ repository: null,
24
25
  name: null,
25
26
  hidden: null,
26
- pulp_labels: null,
27
- content_guard: null,
27
+ base_path: null,
28
28
  repository_version: null,
29
29
  private: null,
30
30
  description: null)
@@ -4,14 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **pulp_labels** | **Hash<String, String>** | | [optional]
8
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
7
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
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
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
10
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
11
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
12
- **pulp_labels** | **Hash<String, String>** | | [optional]
13
12
  **pulp_href** | **String** | | [optional] [readonly]
14
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
13
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
14
+ **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\") |
15
15
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
16
16
  **registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
17
17
  **namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
@@ -23,14 +23,14 @@ Name | Type | Description | Notes
23
23
  ```ruby
24
24
  require 'PulpContainerClient'
25
25
 
26
- instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository: null,
27
- base_path: null,
28
- pulp_created: null,
26
+ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_labels: null,
27
+ content_guard: null,
28
+ repository: null,
29
29
  name: null,
30
30
  hidden: null,
31
- pulp_labels: null,
32
31
  pulp_href: null,
33
- content_guard: null,
32
+ pulp_created: null,
33
+ base_path: null,
34
34
  repository_version: null,
35
35
  registry_path: null,
36
36
  namespace: null,
@@ -5,10 +5,10 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
9
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
8
10
  **name** | **String** | A unique name for this repository. |
9
11
  **description** | **String** | An optional description. | [optional]
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
 
@@ -16,10 +16,10 @@ Name | Type | Description | Notes
16
16
  require 'PulpContainerClient'
17
17
 
18
18
  instance = PulpContainerClient::ContainerContainerPushRepository.new(retain_repo_versions: null,
19
- name: null,
20
- description: null,
19
+ pulp_labels: null,
21
20
  manifest_signing_service: null,
22
- pulp_labels: null)
21
+ name: null,
22
+ description: null)
23
23
  ```
24
24
 
25
25
 
@@ -5,14 +5,14 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **name** | **String** | A unique name for this repository. |
10
- **description** | **String** | An optional description. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
9
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
10
+ **name** | **String** | A unique name for this repository. |
11
+ **versions_href** | **String** | | [optional] [readonly]
12
12
  **latest_version_href** | **String** | | [optional] [readonly]
13
- **pulp_labels** | **Hash<String, String>** | | [optional]
14
13
  **pulp_href** | **String** | | [optional] [readonly]
15
- **versions_href** | **String** | | [optional] [readonly]
14
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
15
+ **description** | **String** | An optional description. | [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(retain_repo_versions: null,
23
- pulp_created: null,
24
- name: null,
25
- description: null,
23
+ pulp_labels: null,
26
24
  manifest_signing_service: null,
25
+ name: null,
26
+ versions_href: null,
27
27
  latest_version_href: null,
28
- pulp_labels: null,
29
28
  pulp_href: null,
30
- versions_href: null)
29
+ pulp_created: null,
30
+ description: null)
31
31
  ```
32
32
 
33
33
 
@@ -34,7 +34,7 @@ opts = {
34
34
  digest: 'digest_example', # String | Filter results where digest matches value
35
35
  digest__in: ['digest__in_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
36
36
  limit: 56, # Integer | Number of results to return per page.
37
- media_type: ['media_type_example'], # Array<String> | * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
37
+ media_type: ['media_type_example'], # Array<String> | * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
38
38
  offset: 56, # Integer | The initial index from which to return the results.
39
39
  ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `pk` - Pk * `-pk` - Pk (descending)
40
40
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
@@ -63,7 +63,7 @@ Name | Type | Description | Notes
63
63
  **digest** | **String**| Filter results where digest matches value | [optional]
64
64
  **digest__in** | [**Array&lt;String&gt;**](String.md)| Filter results where digest is in a comma-separated list of values | [optional]
65
65
  **limit** | **Integer**| Number of results to return per page. | [optional]
66
- **media_type** | [**Array&lt;String&gt;**](String.md)| * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json | [optional]
66
+ **media_type** | [**Array&lt;String&gt;**](String.md)| * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json | [optional]
67
67
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
68
68
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
69
69
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
@@ -33,7 +33,7 @@ api_instance = PulpContainerClient::ContentTagsApi.new
33
33
  opts = {
34
34
  digest: ['digest_example'], # Array<String> | Multiple values may be separated by commas.
35
35
  limit: 56, # Integer | Number of results to return per page.
36
- media_type: ['media_type_example'], # Array<String> | * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
36
+ media_type: ['media_type_example'], # Array<String> | * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
37
37
  name: 'name_example', # String | Filter results where name matches value
38
38
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
39
39
  offset: 56, # Integer | The initial index from which to return the results.
@@ -63,7 +63,7 @@ Name | Type | Description | Notes
63
63
  ------------- | ------------- | ------------- | -------------
64
64
  **digest** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
65
65
  **limit** | **Integer**| Number of results to return per page. | [optional]
66
- **media_type** | [**Array&lt;String&gt;**](String.md)| * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json | [optional]
66
+ **media_type** | [**Array&lt;String&gt;**](String.md)| * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json | [optional]
67
67
  **name** | **String**| Filter results where name matches value | [optional]
68
68
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
69
69
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
8
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
7
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
- **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [optional]
9
10
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | [optional]
10
11
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
- **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
12
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [optional]
13
13
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
14
14
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
15
15
  **description** | **String** | An optional description. | [optional]
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
23
- base_path: null,
22
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(pulp_labels: null,
23
+ content_guard: null,
24
+ repository: null,
24
25
  name: null,
25
26
  hidden: null,
26
- pulp_labels: null,
27
- content_guard: null,
27
+ base_path: null,
28
28
  repository_version: null,
29
29
  private: null,
30
30
  description: null)
@@ -5,10 +5,10 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
8
+ **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
9
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
8
10
  **name** | **String** | A unique name for this repository. | [optional]
9
11
  **description** | **String** | An optional description. | [optional]
10
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
11
- **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
@@ -16,10 +16,10 @@ Name | Type | Description | Notes
16
16
  require 'PulpContainerClient'
17
17
 
18
18
  instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
19
- name: null,
20
- description: null,
19
+ pulp_labels: null,
21
20
  manifest_signing_service: null,
22
- pulp_labels: null)
21
+ name: null,
22
+ description: null)
23
23
  ```
24
24
 
25
25
 
@@ -25,7 +25,7 @@ module PulpContainerClient
25
25
  # @option opts [String] :digest Filter results where digest matches value
26
26
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
27
27
  # @option opts [Integer] :limit Number of results to return per page.
28
- # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
28
+ # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
29
29
  # @option opts [Integer] :offset The initial index from which to return the results.
30
30
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
31
31
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
@@ -47,7 +47,7 @@ module PulpContainerClient
47
47
  # @option opts [String] :digest Filter results where digest matches value
48
48
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
49
49
  # @option opts [Integer] :limit Number of results to return per page.
50
- # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
50
+ # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
51
51
  # @option opts [Integer] :offset The initial index from which to return the results.
52
52
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
53
53
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
@@ -24,7 +24,7 @@ module PulpContainerClient
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Array<String>] :digest Multiple values may be separated by commas.
26
26
  # @option opts [Integer] :limit Number of results to return per page.
27
- # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
27
+ # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
28
28
  # @option opts [String] :name Filter results where name matches value
29
29
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
30
30
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -47,7 +47,7 @@ module PulpContainerClient
47
47
  # @param [Hash] opts the optional parameters
48
48
  # @option opts [Array<String>] :digest Multiple values may be separated by commas.
49
49
  # @option opts [Integer] :limit Number of results to return per page.
50
- # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
50
+ # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
51
51
  # @option opts [String] :name Filter results where name matches value
52
52
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
53
53
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -15,22 +15,22 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
+ attr_accessor :pulp_labels
19
+
20
+ # An optional content-guard. If none is specified, a default one will be used.
21
+ attr_accessor :content_guard
22
+
18
23
  # The latest RepositoryVersion for this Repository will be served.
19
24
  attr_accessor :repository
20
25
 
21
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
22
- attr_accessor :base_path
23
-
24
26
  # A unique name. Ex, `rawhide` and `stable`.
25
27
  attr_accessor :name
26
28
 
27
29
  # Whether this distribution should be shown in the content app.
28
30
  attr_accessor :hidden
29
31
 
30
- attr_accessor :pulp_labels
31
-
32
- # An optional content-guard. If none is specified, a default one will be used.
33
- attr_accessor :content_guard
32
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
33
+ attr_accessor :base_path
34
34
 
35
35
  # RepositoryVersion to be served
36
36
  attr_accessor :repository_version
@@ -44,12 +44,12 @@ module PulpContainerClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
+ :'pulp_labels' => :'pulp_labels',
48
+ :'content_guard' => :'content_guard',
47
49
  :'repository' => :'repository',
48
- :'base_path' => :'base_path',
49
50
  :'name' => :'name',
50
51
  :'hidden' => :'hidden',
51
- :'pulp_labels' => :'pulp_labels',
52
- :'content_guard' => :'content_guard',
52
+ :'base_path' => :'base_path',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
55
55
  :'description' => :'description'
@@ -59,12 +59,12 @@ module PulpContainerClient
59
59
  # Attribute type mapping.
60
60
  def self.openapi_types
61
61
  {
62
+ :'pulp_labels' => :'Hash<String, String>',
63
+ :'content_guard' => :'String',
62
64
  :'repository' => :'String',
63
- :'base_path' => :'String',
64
65
  :'name' => :'String',
65
66
  :'hidden' => :'Boolean',
66
- :'pulp_labels' => :'Hash<String, String>',
67
- :'content_guard' => :'String',
67
+ :'base_path' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -95,12 +95,18 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
- if attributes.key?(:'repository')
99
- self.repository = attributes[:'repository']
98
+ if attributes.key?(:'pulp_labels')
99
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
100
+ self.pulp_labels = value
101
+ end
100
102
  end
101
103
 
102
- if attributes.key?(:'base_path')
103
- self.base_path = attributes[:'base_path']
104
+ if attributes.key?(:'content_guard')
105
+ self.content_guard = attributes[:'content_guard']
106
+ end
107
+
108
+ if attributes.key?(:'repository')
109
+ self.repository = attributes[:'repository']
104
110
  end
105
111
 
106
112
  if attributes.key?(:'name')
@@ -113,14 +119,8 @@ module PulpContainerClient
113
119
  self.hidden = false
114
120
  end
115
121
 
116
- if attributes.key?(:'pulp_labels')
117
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
118
- self.pulp_labels = value
119
- end
120
- end
121
-
122
- if attributes.key?(:'content_guard')
123
- self.content_guard = attributes[:'content_guard']
122
+ if attributes.key?(:'base_path')
123
+ self.base_path = attributes[:'base_path']
124
124
  end
125
125
 
126
126
  if attributes.key?(:'repository_version')
@@ -140,14 +140,6 @@ module PulpContainerClient
140
140
  # @return Array for valid properties with the reasons
141
141
  def list_invalid_properties
142
142
  invalid_properties = Array.new
143
- if @base_path.nil?
144
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
145
- end
146
-
147
- if @base_path.to_s.length < 1
148
- invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
149
- end
150
-
151
143
  if @name.nil?
152
144
  invalid_properties.push('invalid value for "name", name cannot be nil.')
153
145
  end
@@ -156,6 +148,14 @@ module PulpContainerClient
156
148
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
157
149
  end
158
150
 
151
+ if @base_path.nil?
152
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
153
+ end
154
+
155
+ if @base_path.to_s.length < 1
156
+ invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
157
+ end
158
+
159
159
  if !@description.nil? && @description.to_s.length < 1
160
160
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
161
161
  end
@@ -166,28 +166,14 @@ module PulpContainerClient
166
166
  # Check to see if the all the properties in the model are valid
167
167
  # @return true if the model is valid
168
168
  def valid?
169
- return false if @base_path.nil?
170
- return false if @base_path.to_s.length < 1
171
169
  return false if @name.nil?
172
170
  return false if @name.to_s.length < 1
171
+ return false if @base_path.nil?
172
+ return false if @base_path.to_s.length < 1
173
173
  return false if !@description.nil? && @description.to_s.length < 1
174
174
  true
175
175
  end
176
176
 
177
- # Custom attribute writer method with validation
178
- # @param [Object] base_path Value to be assigned
179
- def base_path=(base_path)
180
- if base_path.nil?
181
- fail ArgumentError, 'base_path cannot be nil'
182
- end
183
-
184
- if base_path.to_s.length < 1
185
- fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
186
- end
187
-
188
- @base_path = base_path
189
- end
190
-
191
177
  # Custom attribute writer method with validation
192
178
  # @param [Object] name Value to be assigned
193
179
  def name=(name)
@@ -202,6 +188,20 @@ module PulpContainerClient
202
188
  @name = name
203
189
  end
204
190
 
191
+ # Custom attribute writer method with validation
192
+ # @param [Object] base_path Value to be assigned
193
+ def base_path=(base_path)
194
+ if base_path.nil?
195
+ fail ArgumentError, 'base_path cannot be nil'
196
+ end
197
+
198
+ if base_path.to_s.length < 1
199
+ fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
200
+ end
201
+
202
+ @base_path = base_path
203
+ end
204
+
205
205
  # Custom attribute writer method with validation
206
206
  # @param [Object] description Value to be assigned
207
207
  def description=(description)
@@ -217,12 +217,12 @@ module PulpContainerClient
217
217
  def ==(o)
218
218
  return true if self.equal?(o)
219
219
  self.class == o.class &&
220
+ pulp_labels == o.pulp_labels &&
221
+ content_guard == o.content_guard &&
220
222
  repository == o.repository &&
221
- base_path == o.base_path &&
222
223
  name == o.name &&
223
224
  hidden == o.hidden &&
224
- pulp_labels == o.pulp_labels &&
225
- content_guard == o.content_guard &&
225
+ base_path == o.base_path &&
226
226
  repository_version == o.repository_version &&
227
227
  private == o.private &&
228
228
  description == o.description
@@ -237,7 +237,7 @@ module PulpContainerClient
237
237
  # Calculates hash code according to all attributes.
238
238
  # @return [Integer] Hash code
239
239
  def hash
240
- [repository, base_path, name, hidden, pulp_labels, content_guard, repository_version, private, description].hash
240
+ [pulp_labels, content_guard, repository, name, hidden, base_path, repository_version, private, description].hash
241
241
  end
242
242
 
243
243
  # Builds the object from hash