pulp_container_client 2.14.0.dev1659330569 → 2.14.0.dev1659585299
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +2 -2
- data/docs/ContainerContainerDistributionResponse.md +4 -4
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
- data/docs/PatchedcontainerContainerDistribution.md +2 -2
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +10 -10
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +19 -19
- data/lib/pulp_container_client/models/container_container_push_repository.rb +34 -34
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +42 -42
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +10 -10
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +34 -34
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +4 -4
- data/spec/models/container_container_distribution_spec.rb +2 -2
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +2 -2
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ff8f21842110036f21cda298090542a32fc74a87e20248f6e49ae8aae70b5a3
|
|
4
|
+
data.tar.gz: e831b077b86cf47b114d890339ccf80a7f695064f47d90ff63ef5302dcf8b4dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c26be56297e9caec432cf3f83d61f4dbf0512ce28103d80ecc27d7b44a5452248214a81a6d5dccedc7badb995a021fd8aa71e788f18e7c3b02efb0f073d185d
|
|
7
|
+
data.tar.gz: 1485268e83bfe7e548294d59edf43271d42798dc357a00a20e3b8ae9051d1f06829e561edf97a5b6b5e7f3aa793dd5fd36b6278e0e72cc9dbd5882b6ca64629b
|
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.0.
|
|
10
|
+
- Package version: 2.14.0.dev1659585299
|
|
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.0.
|
|
27
|
+
gem install ./pulp_container_client-2.14.0.dev1659585299.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.14.0.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.14.0.dev1659585299.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.0.
|
|
36
|
+
gem 'pulp_container_client', '~> 2.14.0.dev1659585299'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
9
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
10
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
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\") |
|
|
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]
|
|
@@ -21,8 +21,8 @@ require 'PulpContainerClient'
|
|
|
21
21
|
instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
|
|
22
22
|
content_guard: null,
|
|
23
23
|
name: null,
|
|
24
|
-
base_path: null,
|
|
25
24
|
pulp_labels: null,
|
|
25
|
+
base_path: null,
|
|
26
26
|
repository_version: null,
|
|
27
27
|
private: null,
|
|
28
28
|
description: null)
|
|
@@ -6,11 +6,11 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
9
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
10
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
10
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
11
11
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
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
12
|
**pulp_labels** | [**Object**](.md) | | [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]
|
|
@@ -24,11 +24,11 @@ require 'PulpContainerClient'
|
|
|
24
24
|
|
|
25
25
|
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository: null,
|
|
26
26
|
content_guard: null,
|
|
27
|
-
pulp_href: null,
|
|
28
27
|
name: null,
|
|
28
|
+
pulp_href: null,
|
|
29
29
|
pulp_created: null,
|
|
30
|
-
base_path: null,
|
|
31
30
|
pulp_labels: null,
|
|
31
|
+
base_path: null,
|
|
32
32
|
repository_version: null,
|
|
33
33
|
registry_path: null,
|
|
34
34
|
namespace: null,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**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]
|
|
8
7
|
**name** | **String** | A unique name for this repository. |
|
|
9
|
-
**
|
|
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]
|
|
10
9
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
10
|
+
**description** | **String** | An optional description. | [optional]
|
|
11
11
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
@@ -15,10 +15,10 @@ Name | Type | Description | Notes
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerPushRepository.new(
|
|
19
|
-
|
|
20
|
-
description: null,
|
|
18
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(name: null,
|
|
19
|
+
retain_repo_versions: null,
|
|
21
20
|
manifest_signing_service: null,
|
|
21
|
+
description: null,
|
|
22
22
|
pulp_labels: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**name** | **String** | A unique name for this repository. |
|
|
7
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
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
10
|
+
**versions_href** | **String** | | [optional] [readonly]
|
|
8
11
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
9
|
-
**name** | **String** | A unique name for this repository. |
|
|
10
12
|
**description** | **String** | An optional description. | [optional]
|
|
11
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
12
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
13
13
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
14
|
-
**
|
|
14
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
15
15
|
**latest_version_href** | **String** | | [optional] [readonly]
|
|
16
16
|
|
|
17
17
|
## Code Sample
|
|
@@ -19,14 +19,14 @@ Name | Type | Description | Notes
|
|
|
19
19
|
```ruby
|
|
20
20
|
require 'PulpContainerClient'
|
|
21
21
|
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(name: null,
|
|
23
|
+
retain_repo_versions: null,
|
|
24
|
+
manifest_signing_service: null,
|
|
25
|
+
versions_href: null,
|
|
23
26
|
pulp_href: null,
|
|
24
|
-
name: null,
|
|
25
27
|
description: null,
|
|
26
|
-
manifest_signing_service: null,
|
|
27
|
-
pulp_labels: null,
|
|
28
28
|
pulp_created: null,
|
|
29
|
-
|
|
29
|
+
pulp_labels: null,
|
|
30
30
|
latest_version_href: null)
|
|
31
31
|
```
|
|
32
32
|
|
|
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
9
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
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\") | [optional]
|
|
11
10
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
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]
|
|
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]
|
|
@@ -21,8 +21,8 @@ require 'PulpContainerClient'
|
|
|
21
21
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
|
|
22
22
|
content_guard: null,
|
|
23
23
|
name: null,
|
|
24
|
-
base_path: null,
|
|
25
24
|
pulp_labels: null,
|
|
25
|
+
base_path: null,
|
|
26
26
|
repository_version: null,
|
|
27
27
|
private: null,
|
|
28
28
|
description: null)
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**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]
|
|
8
7
|
**name** | **String** | A unique name for this repository. | [optional]
|
|
9
|
-
**
|
|
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]
|
|
10
9
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
10
|
+
**description** | **String** | An optional description. | [optional]
|
|
11
11
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
@@ -15,10 +15,10 @@ Name | Type | Description | Notes
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
|
19
|
-
|
|
20
|
-
description: null,
|
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(name: null,
|
|
19
|
+
retain_repo_versions: null,
|
|
21
20
|
manifest_signing_service: null,
|
|
21
|
+
description: null,
|
|
22
22
|
pulp_labels: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -24,11 +24,11 @@ module PulpContainerClient
|
|
|
24
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
25
25
|
attr_accessor :name
|
|
26
26
|
|
|
27
|
+
attr_accessor :pulp_labels
|
|
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
|
|
|
@@ -44,8 +44,8 @@ module PulpContainerClient
|
|
|
44
44
|
:'repository' => :'repository',
|
|
45
45
|
:'content_guard' => :'content_guard',
|
|
46
46
|
:'name' => :'name',
|
|
47
|
-
:'base_path' => :'base_path',
|
|
48
47
|
:'pulp_labels' => :'pulp_labels',
|
|
48
|
+
:'base_path' => :'base_path',
|
|
49
49
|
:'repository_version' => :'repository_version',
|
|
50
50
|
:'private' => :'private',
|
|
51
51
|
:'description' => :'description'
|
|
@@ -58,8 +58,8 @@ module PulpContainerClient
|
|
|
58
58
|
:'repository' => :'String',
|
|
59
59
|
:'content_guard' => :'String',
|
|
60
60
|
:'name' => :'String',
|
|
61
|
-
:'base_path' => :'String',
|
|
62
61
|
:'pulp_labels' => :'Object',
|
|
62
|
+
:'base_path' => :'String',
|
|
63
63
|
:'repository_version' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
65
65
|
:'description' => :'String'
|
|
@@ -102,14 +102,14 @@ module PulpContainerClient
|
|
|
102
102
|
self.name = attributes[:'name']
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
-
if attributes.key?(:'base_path')
|
|
106
|
-
self.base_path = attributes[:'base_path']
|
|
107
|
-
end
|
|
108
|
-
|
|
109
105
|
if attributes.key?(:'pulp_labels')
|
|
110
106
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
111
107
|
end
|
|
112
108
|
|
|
109
|
+
if attributes.key?(:'base_path')
|
|
110
|
+
self.base_path = attributes[:'base_path']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
113
|
if attributes.key?(:'repository_version')
|
|
114
114
|
self.repository_version = attributes[:'repository_version']
|
|
115
115
|
end
|
|
@@ -207,8 +207,8 @@ module PulpContainerClient
|
|
|
207
207
|
repository == o.repository &&
|
|
208
208
|
content_guard == o.content_guard &&
|
|
209
209
|
name == o.name &&
|
|
210
|
-
base_path == o.base_path &&
|
|
211
210
|
pulp_labels == o.pulp_labels &&
|
|
211
|
+
base_path == o.base_path &&
|
|
212
212
|
repository_version == o.repository_version &&
|
|
213
213
|
private == o.private &&
|
|
214
214
|
description == o.description
|
|
@@ -223,7 +223,7 @@ module PulpContainerClient
|
|
|
223
223
|
# Calculates hash code according to all attributes.
|
|
224
224
|
# @return [Integer] Hash code
|
|
225
225
|
def hash
|
|
226
|
-
[repository, content_guard, name,
|
|
226
|
+
[repository, content_guard, name, pulp_labels, base_path, repository_version, private, description].hash
|
|
227
227
|
end
|
|
228
228
|
|
|
229
229
|
# Builds the object from hash
|
|
@@ -21,19 +21,19 @@ module PulpContainerClient
|
|
|
21
21
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
22
22
|
attr_accessor :content_guard
|
|
23
23
|
|
|
24
|
-
attr_accessor :pulp_href
|
|
25
|
-
|
|
26
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
27
25
|
attr_accessor :name
|
|
28
26
|
|
|
27
|
+
attr_accessor :pulp_href
|
|
28
|
+
|
|
29
29
|
# Timestamp of creation.
|
|
30
30
|
attr_accessor :pulp_created
|
|
31
31
|
|
|
32
|
+
attr_accessor :pulp_labels
|
|
33
|
+
|
|
32
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\")
|
|
33
35
|
attr_accessor :base_path
|
|
34
36
|
|
|
35
|
-
attr_accessor :pulp_labels
|
|
36
|
-
|
|
37
37
|
# RepositoryVersion to be served
|
|
38
38
|
attr_accessor :repository_version
|
|
39
39
|
|
|
@@ -54,11 +54,11 @@ module PulpContainerClient
|
|
|
54
54
|
{
|
|
55
55
|
:'repository' => :'repository',
|
|
56
56
|
:'content_guard' => :'content_guard',
|
|
57
|
-
:'pulp_href' => :'pulp_href',
|
|
58
57
|
:'name' => :'name',
|
|
58
|
+
:'pulp_href' => :'pulp_href',
|
|
59
59
|
:'pulp_created' => :'pulp_created',
|
|
60
|
-
:'base_path' => :'base_path',
|
|
61
60
|
:'pulp_labels' => :'pulp_labels',
|
|
61
|
+
:'base_path' => :'base_path',
|
|
62
62
|
:'repository_version' => :'repository_version',
|
|
63
63
|
:'registry_path' => :'registry_path',
|
|
64
64
|
:'namespace' => :'namespace',
|
|
@@ -72,11 +72,11 @@ module PulpContainerClient
|
|
|
72
72
|
{
|
|
73
73
|
:'repository' => :'String',
|
|
74
74
|
:'content_guard' => :'String',
|
|
75
|
-
:'pulp_href' => :'String',
|
|
76
75
|
:'name' => :'String',
|
|
76
|
+
:'pulp_href' => :'String',
|
|
77
77
|
:'pulp_created' => :'DateTime',
|
|
78
|
-
:'base_path' => :'String',
|
|
79
78
|
:'pulp_labels' => :'Object',
|
|
79
|
+
:'base_path' => :'String',
|
|
80
80
|
:'repository_version' => :'String',
|
|
81
81
|
:'registry_path' => :'String',
|
|
82
82
|
:'namespace' => :'String',
|
|
@@ -117,26 +117,26 @@ module PulpContainerClient
|
|
|
117
117
|
self.content_guard = attributes[:'content_guard']
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
-
if attributes.key?(:'pulp_href')
|
|
121
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
122
|
-
end
|
|
123
|
-
|
|
124
120
|
if attributes.key?(:'name')
|
|
125
121
|
self.name = attributes[:'name']
|
|
126
122
|
end
|
|
127
123
|
|
|
128
|
-
if attributes.key?(:'
|
|
129
|
-
self.
|
|
124
|
+
if attributes.key?(:'pulp_href')
|
|
125
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
130
126
|
end
|
|
131
127
|
|
|
132
|
-
if attributes.key?(:'
|
|
133
|
-
self.
|
|
128
|
+
if attributes.key?(:'pulp_created')
|
|
129
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
134
130
|
end
|
|
135
131
|
|
|
136
132
|
if attributes.key?(:'pulp_labels')
|
|
137
133
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
138
134
|
end
|
|
139
135
|
|
|
136
|
+
if attributes.key?(:'base_path')
|
|
137
|
+
self.base_path = attributes[:'base_path']
|
|
138
|
+
end
|
|
139
|
+
|
|
140
140
|
if attributes.key?(:'repository_version')
|
|
141
141
|
self.repository_version = attributes[:'repository_version']
|
|
142
142
|
end
|
|
@@ -188,11 +188,11 @@ module PulpContainerClient
|
|
|
188
188
|
self.class == o.class &&
|
|
189
189
|
repository == o.repository &&
|
|
190
190
|
content_guard == o.content_guard &&
|
|
191
|
-
pulp_href == o.pulp_href &&
|
|
192
191
|
name == o.name &&
|
|
192
|
+
pulp_href == o.pulp_href &&
|
|
193
193
|
pulp_created == o.pulp_created &&
|
|
194
|
-
base_path == o.base_path &&
|
|
195
194
|
pulp_labels == o.pulp_labels &&
|
|
195
|
+
base_path == o.base_path &&
|
|
196
196
|
repository_version == o.repository_version &&
|
|
197
197
|
registry_path == o.registry_path &&
|
|
198
198
|
namespace == o.namespace &&
|
|
@@ -209,7 +209,7 @@ module PulpContainerClient
|
|
|
209
209
|
# Calculates hash code according to all attributes.
|
|
210
210
|
# @return [Integer] Hash code
|
|
211
211
|
def hash
|
|
212
|
-
[repository, content_guard,
|
|
212
|
+
[repository, content_guard, name, pulp_href, pulp_created, pulp_labels, base_path, repository_version, registry_path, namespace, private, description].hash
|
|
213
213
|
end
|
|
214
214
|
|
|
215
215
|
# Builds the object from hash
|
|
@@ -15,27 +15,27 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepository
|
|
18
|
-
# 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.
|
|
19
|
-
attr_accessor :retain_repo_versions
|
|
20
|
-
|
|
21
18
|
# A unique name for this repository.
|
|
22
19
|
attr_accessor :name
|
|
23
20
|
|
|
24
|
-
#
|
|
25
|
-
attr_accessor :
|
|
21
|
+
# 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.
|
|
22
|
+
attr_accessor :retain_repo_versions
|
|
26
23
|
|
|
27
24
|
# A reference to an associated signing service.
|
|
28
25
|
attr_accessor :manifest_signing_service
|
|
29
26
|
|
|
27
|
+
# An optional description.
|
|
28
|
+
attr_accessor :description
|
|
29
|
+
|
|
30
30
|
attr_accessor :pulp_labels
|
|
31
31
|
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
36
35
|
:'name' => :'name',
|
|
37
|
-
:'
|
|
36
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
38
37
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
38
|
+
:'description' => :'description',
|
|
39
39
|
:'pulp_labels' => :'pulp_labels'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -43,10 +43,10 @@ module PulpContainerClient
|
|
|
43
43
|
# Attribute type mapping.
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
|
-
:'retain_repo_versions' => :'Integer',
|
|
47
46
|
:'name' => :'String',
|
|
48
|
-
:'
|
|
47
|
+
:'retain_repo_versions' => :'Integer',
|
|
49
48
|
:'manifest_signing_service' => :'String',
|
|
49
|
+
:'description' => :'String',
|
|
50
50
|
:'pulp_labels' => :'Object'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -55,8 +55,8 @@ module PulpContainerClient
|
|
|
55
55
|
def self.openapi_nullable
|
|
56
56
|
Set.new([
|
|
57
57
|
:'retain_repo_versions',
|
|
58
|
-
:'description',
|
|
59
58
|
:'manifest_signing_service',
|
|
59
|
+
:'description',
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -75,22 +75,22 @@ module PulpContainerClient
|
|
|
75
75
|
h[k.to_sym] = v
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
if attributes.key?(:'retain_repo_versions')
|
|
79
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
80
|
-
end
|
|
81
|
-
|
|
82
78
|
if attributes.key?(:'name')
|
|
83
79
|
self.name = attributes[:'name']
|
|
84
80
|
end
|
|
85
81
|
|
|
86
|
-
if attributes.key?(:'
|
|
87
|
-
self.
|
|
82
|
+
if attributes.key?(:'retain_repo_versions')
|
|
83
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
88
84
|
end
|
|
89
85
|
|
|
90
86
|
if attributes.key?(:'manifest_signing_service')
|
|
91
87
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
92
88
|
end
|
|
93
89
|
|
|
90
|
+
if attributes.key?(:'description')
|
|
91
|
+
self.description = attributes[:'description']
|
|
92
|
+
end
|
|
93
|
+
|
|
94
94
|
if attributes.key?(:'pulp_labels')
|
|
95
95
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
96
96
|
end
|
|
@@ -100,10 +100,6 @@ module PulpContainerClient
|
|
|
100
100
|
# @return Array for valid properties with the reasons
|
|
101
101
|
def list_invalid_properties
|
|
102
102
|
invalid_properties = Array.new
|
|
103
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
104
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
105
|
-
end
|
|
106
|
-
|
|
107
103
|
if @name.nil?
|
|
108
104
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
109
105
|
end
|
|
@@ -112,6 +108,10 @@ module PulpContainerClient
|
|
|
112
108
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
113
109
|
end
|
|
114
110
|
|
|
111
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
112
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
113
|
+
end
|
|
114
|
+
|
|
115
115
|
if !@description.nil? && @description.to_s.length < 1
|
|
116
116
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
117
117
|
end
|
|
@@ -122,23 +122,13 @@ module PulpContainerClient
|
|
|
122
122
|
# Check to see if the all the properties in the model are valid
|
|
123
123
|
# @return true if the model is valid
|
|
124
124
|
def valid?
|
|
125
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
126
125
|
return false if @name.nil?
|
|
127
126
|
return false if @name.to_s.length < 1
|
|
127
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
128
128
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
129
129
|
true
|
|
130
130
|
end
|
|
131
131
|
|
|
132
|
-
# Custom attribute writer method with validation
|
|
133
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
|
134
|
-
def retain_repo_versions=(retain_repo_versions)
|
|
135
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
136
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
@retain_repo_versions = retain_repo_versions
|
|
140
|
-
end
|
|
141
|
-
|
|
142
132
|
# Custom attribute writer method with validation
|
|
143
133
|
# @param [Object] name Value to be assigned
|
|
144
134
|
def name=(name)
|
|
@@ -153,6 +143,16 @@ module PulpContainerClient
|
|
|
153
143
|
@name = name
|
|
154
144
|
end
|
|
155
145
|
|
|
146
|
+
# Custom attribute writer method with validation
|
|
147
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
148
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
149
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
150
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
@retain_repo_versions = retain_repo_versions
|
|
154
|
+
end
|
|
155
|
+
|
|
156
156
|
# Custom attribute writer method with validation
|
|
157
157
|
# @param [Object] description Value to be assigned
|
|
158
158
|
def description=(description)
|
|
@@ -168,10 +168,10 @@ module PulpContainerClient
|
|
|
168
168
|
def ==(o)
|
|
169
169
|
return true if self.equal?(o)
|
|
170
170
|
self.class == o.class &&
|
|
171
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
172
171
|
name == o.name &&
|
|
173
|
-
|
|
172
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
174
173
|
manifest_signing_service == o.manifest_signing_service &&
|
|
174
|
+
description == o.description &&
|
|
175
175
|
pulp_labels == o.pulp_labels
|
|
176
176
|
end
|
|
177
177
|
|
|
@@ -184,7 +184,7 @@ module PulpContainerClient
|
|
|
184
184
|
# Calculates hash code according to all attributes.
|
|
185
185
|
# @return [Integer] Hash code
|
|
186
186
|
def hash
|
|
187
|
-
[retain_repo_versions,
|
|
187
|
+
[name, retain_repo_versions, manifest_signing_service, description, pulp_labels].hash
|
|
188
188
|
end
|
|
189
189
|
|
|
190
190
|
# Builds the object from hash
|
|
@@ -15,40 +15,40 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
|
18
|
-
# 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.
|
|
19
|
-
attr_accessor :retain_repo_versions
|
|
20
|
-
|
|
21
|
-
attr_accessor :pulp_href
|
|
22
|
-
|
|
23
18
|
# A unique name for this repository.
|
|
24
19
|
attr_accessor :name
|
|
25
20
|
|
|
26
|
-
#
|
|
27
|
-
attr_accessor :
|
|
21
|
+
# 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.
|
|
22
|
+
attr_accessor :retain_repo_versions
|
|
28
23
|
|
|
29
24
|
# A reference to an associated signing service.
|
|
30
25
|
attr_accessor :manifest_signing_service
|
|
31
26
|
|
|
32
|
-
attr_accessor :
|
|
27
|
+
attr_accessor :versions_href
|
|
28
|
+
|
|
29
|
+
attr_accessor :pulp_href
|
|
30
|
+
|
|
31
|
+
# An optional description.
|
|
32
|
+
attr_accessor :description
|
|
33
33
|
|
|
34
34
|
# Timestamp of creation.
|
|
35
35
|
attr_accessor :pulp_created
|
|
36
36
|
|
|
37
|
-
attr_accessor :
|
|
37
|
+
attr_accessor :pulp_labels
|
|
38
38
|
|
|
39
39
|
attr_accessor :latest_version_href
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
+
:'name' => :'name',
|
|
44
45
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
46
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
47
|
+
:'versions_href' => :'versions_href',
|
|
45
48
|
:'pulp_href' => :'pulp_href',
|
|
46
|
-
:'name' => :'name',
|
|
47
49
|
:'description' => :'description',
|
|
48
|
-
:'manifest_signing_service' => :'manifest_signing_service',
|
|
49
|
-
:'pulp_labels' => :'pulp_labels',
|
|
50
50
|
:'pulp_created' => :'pulp_created',
|
|
51
|
-
:'
|
|
51
|
+
:'pulp_labels' => :'pulp_labels',
|
|
52
52
|
:'latest_version_href' => :'latest_version_href'
|
|
53
53
|
}
|
|
54
54
|
end
|
|
@@ -56,14 +56,14 @@ module PulpContainerClient
|
|
|
56
56
|
# Attribute type mapping.
|
|
57
57
|
def self.openapi_types
|
|
58
58
|
{
|
|
59
|
+
:'name' => :'String',
|
|
59
60
|
:'retain_repo_versions' => :'Integer',
|
|
61
|
+
:'manifest_signing_service' => :'String',
|
|
62
|
+
:'versions_href' => :'String',
|
|
60
63
|
:'pulp_href' => :'String',
|
|
61
|
-
:'name' => :'String',
|
|
62
64
|
:'description' => :'String',
|
|
63
|
-
:'manifest_signing_service' => :'String',
|
|
64
|
-
:'pulp_labels' => :'Object',
|
|
65
65
|
:'pulp_created' => :'DateTime',
|
|
66
|
-
:'
|
|
66
|
+
:'pulp_labels' => :'Object',
|
|
67
67
|
:'latest_version_href' => :'String'
|
|
68
68
|
}
|
|
69
69
|
end
|
|
@@ -72,8 +72,8 @@ module PulpContainerClient
|
|
|
72
72
|
def self.openapi_nullable
|
|
73
73
|
Set.new([
|
|
74
74
|
:'retain_repo_versions',
|
|
75
|
-
:'description',
|
|
76
75
|
:'manifest_signing_service',
|
|
76
|
+
:'description',
|
|
77
77
|
])
|
|
78
78
|
end
|
|
79
79
|
|
|
@@ -92,36 +92,36 @@ module PulpContainerClient
|
|
|
92
92
|
h[k.to_sym] = v
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
if attributes.key?(:'retain_repo_versions')
|
|
96
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
97
|
-
end
|
|
98
|
-
|
|
99
|
-
if attributes.key?(:'pulp_href')
|
|
100
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
101
|
-
end
|
|
102
|
-
|
|
103
95
|
if attributes.key?(:'name')
|
|
104
96
|
self.name = attributes[:'name']
|
|
105
97
|
end
|
|
106
98
|
|
|
107
|
-
if attributes.key?(:'
|
|
108
|
-
self.
|
|
99
|
+
if attributes.key?(:'retain_repo_versions')
|
|
100
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
109
101
|
end
|
|
110
102
|
|
|
111
103
|
if attributes.key?(:'manifest_signing_service')
|
|
112
104
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
113
105
|
end
|
|
114
106
|
|
|
115
|
-
if attributes.key?(:'
|
|
116
|
-
self.
|
|
107
|
+
if attributes.key?(:'versions_href')
|
|
108
|
+
self.versions_href = attributes[:'versions_href']
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
if attributes.key?(:'pulp_href')
|
|
112
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
if attributes.key?(:'description')
|
|
116
|
+
self.description = attributes[:'description']
|
|
117
117
|
end
|
|
118
118
|
|
|
119
119
|
if attributes.key?(:'pulp_created')
|
|
120
120
|
self.pulp_created = attributes[:'pulp_created']
|
|
121
121
|
end
|
|
122
122
|
|
|
123
|
-
if attributes.key?(:'
|
|
124
|
-
self.
|
|
123
|
+
if attributes.key?(:'pulp_labels')
|
|
124
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
if attributes.key?(:'latest_version_href')
|
|
@@ -133,22 +133,22 @@ module PulpContainerClient
|
|
|
133
133
|
# @return Array for valid properties with the reasons
|
|
134
134
|
def list_invalid_properties
|
|
135
135
|
invalid_properties = Array.new
|
|
136
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
137
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
138
|
-
end
|
|
139
|
-
|
|
140
136
|
if @name.nil?
|
|
141
137
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
142
138
|
end
|
|
143
139
|
|
|
140
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
141
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
142
|
+
end
|
|
143
|
+
|
|
144
144
|
invalid_properties
|
|
145
145
|
end
|
|
146
146
|
|
|
147
147
|
# Check to see if the all the properties in the model are valid
|
|
148
148
|
# @return true if the model is valid
|
|
149
149
|
def valid?
|
|
150
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
151
150
|
return false if @name.nil?
|
|
151
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
152
152
|
true
|
|
153
153
|
end
|
|
154
154
|
|
|
@@ -167,14 +167,14 @@ module PulpContainerClient
|
|
|
167
167
|
def ==(o)
|
|
168
168
|
return true if self.equal?(o)
|
|
169
169
|
self.class == o.class &&
|
|
170
|
+
name == o.name &&
|
|
170
171
|
retain_repo_versions == o.retain_repo_versions &&
|
|
172
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
173
|
+
versions_href == o.versions_href &&
|
|
171
174
|
pulp_href == o.pulp_href &&
|
|
172
|
-
name == o.name &&
|
|
173
175
|
description == o.description &&
|
|
174
|
-
manifest_signing_service == o.manifest_signing_service &&
|
|
175
|
-
pulp_labels == o.pulp_labels &&
|
|
176
176
|
pulp_created == o.pulp_created &&
|
|
177
|
-
|
|
177
|
+
pulp_labels == o.pulp_labels &&
|
|
178
178
|
latest_version_href == o.latest_version_href
|
|
179
179
|
end
|
|
180
180
|
|
|
@@ -187,7 +187,7 @@ module PulpContainerClient
|
|
|
187
187
|
# Calculates hash code according to all attributes.
|
|
188
188
|
# @return [Integer] Hash code
|
|
189
189
|
def hash
|
|
190
|
-
[
|
|
190
|
+
[name, retain_repo_versions, manifest_signing_service, versions_href, pulp_href, description, pulp_created, pulp_labels, latest_version_href].hash
|
|
191
191
|
end
|
|
192
192
|
|
|
193
193
|
# Builds the object from hash
|
|
@@ -24,11 +24,11 @@ module PulpContainerClient
|
|
|
24
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
25
25
|
attr_accessor :name
|
|
26
26
|
|
|
27
|
+
attr_accessor :pulp_labels
|
|
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
|
|
|
@@ -44,8 +44,8 @@ module PulpContainerClient
|
|
|
44
44
|
:'repository' => :'repository',
|
|
45
45
|
:'content_guard' => :'content_guard',
|
|
46
46
|
:'name' => :'name',
|
|
47
|
-
:'base_path' => :'base_path',
|
|
48
47
|
:'pulp_labels' => :'pulp_labels',
|
|
48
|
+
:'base_path' => :'base_path',
|
|
49
49
|
:'repository_version' => :'repository_version',
|
|
50
50
|
:'private' => :'private',
|
|
51
51
|
:'description' => :'description'
|
|
@@ -58,8 +58,8 @@ module PulpContainerClient
|
|
|
58
58
|
:'repository' => :'String',
|
|
59
59
|
:'content_guard' => :'String',
|
|
60
60
|
:'name' => :'String',
|
|
61
|
-
:'base_path' => :'String',
|
|
62
61
|
:'pulp_labels' => :'Object',
|
|
62
|
+
:'base_path' => :'String',
|
|
63
63
|
:'repository_version' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
65
65
|
:'description' => :'String'
|
|
@@ -102,14 +102,14 @@ module PulpContainerClient
|
|
|
102
102
|
self.name = attributes[:'name']
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
-
if attributes.key?(:'base_path')
|
|
106
|
-
self.base_path = attributes[:'base_path']
|
|
107
|
-
end
|
|
108
|
-
|
|
109
105
|
if attributes.key?(:'pulp_labels')
|
|
110
106
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
111
107
|
end
|
|
112
108
|
|
|
109
|
+
if attributes.key?(:'base_path')
|
|
110
|
+
self.base_path = attributes[:'base_path']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
113
|
if attributes.key?(:'repository_version')
|
|
114
114
|
self.repository_version = attributes[:'repository_version']
|
|
115
115
|
end
|
|
@@ -189,8 +189,8 @@ module PulpContainerClient
|
|
|
189
189
|
repository == o.repository &&
|
|
190
190
|
content_guard == o.content_guard &&
|
|
191
191
|
name == o.name &&
|
|
192
|
-
base_path == o.base_path &&
|
|
193
192
|
pulp_labels == o.pulp_labels &&
|
|
193
|
+
base_path == o.base_path &&
|
|
194
194
|
repository_version == o.repository_version &&
|
|
195
195
|
private == o.private &&
|
|
196
196
|
description == o.description
|
|
@@ -205,7 +205,7 @@ module PulpContainerClient
|
|
|
205
205
|
# Calculates hash code according to all attributes.
|
|
206
206
|
# @return [Integer] Hash code
|
|
207
207
|
def hash
|
|
208
|
-
[repository, content_guard, name,
|
|
208
|
+
[repository, content_guard, name, pulp_labels, base_path, repository_version, private, description].hash
|
|
209
209
|
end
|
|
210
210
|
|
|
211
211
|
# Builds the object from hash
|
|
@@ -15,27 +15,27 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class PatchedcontainerContainerPushRepository
|
|
18
|
-
# 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.
|
|
19
|
-
attr_accessor :retain_repo_versions
|
|
20
|
-
|
|
21
18
|
# A unique name for this repository.
|
|
22
19
|
attr_accessor :name
|
|
23
20
|
|
|
24
|
-
#
|
|
25
|
-
attr_accessor :
|
|
21
|
+
# 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.
|
|
22
|
+
attr_accessor :retain_repo_versions
|
|
26
23
|
|
|
27
24
|
# A reference to an associated signing service.
|
|
28
25
|
attr_accessor :manifest_signing_service
|
|
29
26
|
|
|
27
|
+
# An optional description.
|
|
28
|
+
attr_accessor :description
|
|
29
|
+
|
|
30
30
|
attr_accessor :pulp_labels
|
|
31
31
|
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
36
35
|
:'name' => :'name',
|
|
37
|
-
:'
|
|
36
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
38
37
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
38
|
+
:'description' => :'description',
|
|
39
39
|
:'pulp_labels' => :'pulp_labels'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -43,10 +43,10 @@ module PulpContainerClient
|
|
|
43
43
|
# Attribute type mapping.
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
|
-
:'retain_repo_versions' => :'Integer',
|
|
47
46
|
:'name' => :'String',
|
|
48
|
-
:'
|
|
47
|
+
:'retain_repo_versions' => :'Integer',
|
|
49
48
|
:'manifest_signing_service' => :'String',
|
|
49
|
+
:'description' => :'String',
|
|
50
50
|
:'pulp_labels' => :'Object'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -55,8 +55,8 @@ module PulpContainerClient
|
|
|
55
55
|
def self.openapi_nullable
|
|
56
56
|
Set.new([
|
|
57
57
|
:'retain_repo_versions',
|
|
58
|
-
:'description',
|
|
59
58
|
:'manifest_signing_service',
|
|
59
|
+
:'description',
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -75,22 +75,22 @@ module PulpContainerClient
|
|
|
75
75
|
h[k.to_sym] = v
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
if attributes.key?(:'retain_repo_versions')
|
|
79
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
80
|
-
end
|
|
81
|
-
|
|
82
78
|
if attributes.key?(:'name')
|
|
83
79
|
self.name = attributes[:'name']
|
|
84
80
|
end
|
|
85
81
|
|
|
86
|
-
if attributes.key?(:'
|
|
87
|
-
self.
|
|
82
|
+
if attributes.key?(:'retain_repo_versions')
|
|
83
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
88
84
|
end
|
|
89
85
|
|
|
90
86
|
if attributes.key?(:'manifest_signing_service')
|
|
91
87
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
92
88
|
end
|
|
93
89
|
|
|
90
|
+
if attributes.key?(:'description')
|
|
91
|
+
self.description = attributes[:'description']
|
|
92
|
+
end
|
|
93
|
+
|
|
94
94
|
if attributes.key?(:'pulp_labels')
|
|
95
95
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
96
96
|
end
|
|
@@ -100,14 +100,14 @@ module PulpContainerClient
|
|
|
100
100
|
# @return Array for valid properties with the reasons
|
|
101
101
|
def list_invalid_properties
|
|
102
102
|
invalid_properties = Array.new
|
|
103
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
104
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
105
|
-
end
|
|
106
|
-
|
|
107
103
|
if !@name.nil? && @name.to_s.length < 1
|
|
108
104
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
109
105
|
end
|
|
110
106
|
|
|
107
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
108
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
109
|
+
end
|
|
110
|
+
|
|
111
111
|
if !@description.nil? && @description.to_s.length < 1
|
|
112
112
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
113
113
|
end
|
|
@@ -118,22 +118,12 @@ module PulpContainerClient
|
|
|
118
118
|
# Check to see if the all the properties in the model are valid
|
|
119
119
|
# @return true if the model is valid
|
|
120
120
|
def valid?
|
|
121
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
122
121
|
return false if !@name.nil? && @name.to_s.length < 1
|
|
122
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
123
123
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
124
124
|
true
|
|
125
125
|
end
|
|
126
126
|
|
|
127
|
-
# Custom attribute writer method with validation
|
|
128
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
|
129
|
-
def retain_repo_versions=(retain_repo_versions)
|
|
130
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
131
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
@retain_repo_versions = retain_repo_versions
|
|
135
|
-
end
|
|
136
|
-
|
|
137
127
|
# Custom attribute writer method with validation
|
|
138
128
|
# @param [Object] name Value to be assigned
|
|
139
129
|
def name=(name)
|
|
@@ -144,6 +134,16 @@ module PulpContainerClient
|
|
|
144
134
|
@name = name
|
|
145
135
|
end
|
|
146
136
|
|
|
137
|
+
# Custom attribute writer method with validation
|
|
138
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
139
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
140
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
141
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
@retain_repo_versions = retain_repo_versions
|
|
145
|
+
end
|
|
146
|
+
|
|
147
147
|
# Custom attribute writer method with validation
|
|
148
148
|
# @param [Object] description Value to be assigned
|
|
149
149
|
def description=(description)
|
|
@@ -159,10 +159,10 @@ module PulpContainerClient
|
|
|
159
159
|
def ==(o)
|
|
160
160
|
return true if self.equal?(o)
|
|
161
161
|
self.class == o.class &&
|
|
162
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
163
162
|
name == o.name &&
|
|
164
|
-
|
|
163
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
165
164
|
manifest_signing_service == o.manifest_signing_service &&
|
|
165
|
+
description == o.description &&
|
|
166
166
|
pulp_labels == o.pulp_labels
|
|
167
167
|
end
|
|
168
168
|
|
|
@@ -175,7 +175,7 @@ module PulpContainerClient
|
|
|
175
175
|
# Calculates hash code according to all attributes.
|
|
176
176
|
# @return [Integer] Hash code
|
|
177
177
|
def hash
|
|
178
|
-
[retain_repo_versions,
|
|
178
|
+
[name, retain_repo_versions, manifest_signing_service, description, pulp_labels].hash
|
|
179
179
|
end
|
|
180
180
|
|
|
181
181
|
# Builds the object from hash
|
|
@@ -44,13 +44,13 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "name"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "pulp_href"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
@@ -62,13 +62,13 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "pulp_labels"' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "base_path"' do
|
|
72
72
|
it 'should work' do
|
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
74
|
end
|
|
@@ -50,13 +50,13 @@ describe 'ContainerContainerDistribution' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "pulp_labels"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "base_path"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
@@ -32,37 +32,37 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepositoryResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "name"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "retain_repo_versions"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "manifest_signing_service"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "versions_href"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "pulp_href"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "description"' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
@@ -74,7 +74,7 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
describe 'test attribute "
|
|
77
|
+
describe 'test attribute "pulp_labels"' do
|
|
78
78
|
it 'should work' do
|
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
80
|
end
|
|
@@ -32,25 +32,25 @@ describe 'ContainerContainerPushRepository' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepository)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "name"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "retain_repo_versions"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "manifest_signing_service"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "description"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
@@ -50,13 +50,13 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "pulp_labels"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "base_path"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
@@ -32,25 +32,25 @@ describe 'PatchedcontainerContainerPushRepository' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerPushRepository)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "name"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "retain_repo_versions"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "manifest_signing_service"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "description"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_container_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.14.0.
|
|
4
|
+
version: 2.14.0.dev1659585299
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-08-
|
|
11
|
+
date: 2022-08-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|