pulp_container_client 2.14.0.dev1658548304 → 2.14.0.dev1658809498
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 +3 -3
- data/docs/ContainerContainerDistributionResponse.md +6 -6
- data/docs/ContainerContainerPushRepository.md +2 -2
- data/docs/ContainerContainerPushRepositoryResponse.md +7 -7
- data/docs/PatchedcontainerContainerDistribution.md +3 -3
- data/docs/PatchedcontainerContainerPushRepository.md +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +11 -11
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +24 -24
- data/lib/pulp_container_client/models/container_container_push_repository.rb +27 -27
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +35 -35
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +11 -11
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +27 -27
- 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 +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- 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: d22b0a3f7eca1c3a70f9af5a12feaf390cad154d41587e6ca295e9d3a46dc551
|
|
4
|
+
data.tar.gz: fd29500c1da858f9e01f38b88030ca82fab84bb2d49d56b1e51ee745a18fa9e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 41dd3949c2b7c89f66b0ffdd9a0c291d461ed94a7813f315117b3e857d214e90cca410798cba467458b50d53c97d99f2c62c67c5e46f29868c9a95a43f3a3b39
|
|
7
|
+
data.tar.gz: 44f102f19625b18a2099191e39e4a2610d62f4d992ddc3e0f33b4451af1a99987c9f05184584dd5e145881cd3f25902ef6136a51848d147725a72ff611a00e1b
|
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.dev1658809498
|
|
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.dev1658809498.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.dev1658809498.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.dev1658809498'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
7
8
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
8
9
|
**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
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
11
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
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]
|
|
@@ -18,10 +18,10 @@ Name | Type | Description | Notes
|
|
|
18
18
|
```ruby
|
|
19
19
|
require 'PulpContainerClient'
|
|
20
20
|
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
|
|
22
|
+
pulp_labels: null,
|
|
22
23
|
base_path: null,
|
|
23
24
|
content_guard: null,
|
|
24
|
-
repository: null,
|
|
25
25
|
name: null,
|
|
26
26
|
repository_version: null,
|
|
27
27
|
private: null,
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
7
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
8
8
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
9
|
-
**
|
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
10
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
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
11
12
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
12
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
13
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
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]
|
|
@@ -22,12 +22,12 @@ Name | Type | Description | Notes
|
|
|
22
22
|
```ruby
|
|
23
23
|
require 'PulpContainerClient'
|
|
24
24
|
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository: null,
|
|
26
26
|
pulp_href: null,
|
|
27
|
-
|
|
27
|
+
pulp_labels: null,
|
|
28
28
|
base_path: null,
|
|
29
|
+
pulp_created: null,
|
|
29
30
|
content_guard: null,
|
|
30
|
-
repository: null,
|
|
31
31
|
name: null,
|
|
32
32
|
repository_version: null,
|
|
33
33
|
registry_path: null,
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
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
8
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
10
9
|
**name** | **String** | A unique name for this repository. |
|
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
|
11
11
|
**description** | **String** | An optional description. | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
18
|
instance = PulpContainerClient::ContainerContainerPushRepository.new(pulp_labels: null,
|
|
19
|
-
retain_repo_versions: null,
|
|
20
19
|
manifest_signing_service: null,
|
|
21
20
|
name: null,
|
|
21
|
+
retain_repo_versions: null,
|
|
22
22
|
description: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
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
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
10
9
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
11
10
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
12
|
-
**versions_href** | **String** | | [optional] [readonly]
|
|
13
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
|
14
12
|
**name** | **String** | A unique name for this repository. |
|
|
13
|
+
**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]
|
|
14
|
+
**versions_href** | **String** | | [optional] [readonly]
|
|
15
15
|
**description** | **String** | An optional description. | [optional]
|
|
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(
|
|
23
|
-
|
|
24
|
-
pulp_href: null,
|
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_href: null,
|
|
23
|
+
pulp_labels: null,
|
|
25
24
|
manifest_signing_service: null,
|
|
26
25
|
pulp_created: null,
|
|
27
|
-
versions_href: null,
|
|
28
26
|
latest_version_href: null,
|
|
29
27
|
name: null,
|
|
28
|
+
retain_repo_versions: null,
|
|
29
|
+
versions_href: null,
|
|
30
30
|
description: null)
|
|
31
31
|
```
|
|
32
32
|
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
7
8
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
8
9
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
|
9
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
11
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [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]
|
|
@@ -18,10 +18,10 @@ Name | Type | Description | Notes
|
|
|
18
18
|
```ruby
|
|
19
19
|
require 'PulpContainerClient'
|
|
20
20
|
|
|
21
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
|
|
22
|
+
pulp_labels: null,
|
|
22
23
|
base_path: null,
|
|
23
24
|
content_guard: null,
|
|
24
|
-
repository: null,
|
|
25
25
|
name: null,
|
|
26
26
|
repository_version: null,
|
|
27
27
|
private: null,
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
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
8
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
10
9
|
**name** | **String** | A unique name for this repository. | [optional]
|
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
|
11
11
|
**description** | **String** | An optional description. | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
18
|
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(pulp_labels: null,
|
|
19
|
-
retain_repo_versions: null,
|
|
20
19
|
manifest_signing_service: null,
|
|
21
20
|
name: null,
|
|
21
|
+
retain_repo_versions: null,
|
|
22
22
|
description: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -15,6 +15,9 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistribution
|
|
18
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
19
|
+
attr_accessor :repository
|
|
20
|
+
|
|
18
21
|
attr_accessor :pulp_labels
|
|
19
22
|
|
|
20
23
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
@@ -23,9 +26,6 @@ module PulpContainerClient
|
|
|
23
26
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
24
27
|
attr_accessor :content_guard
|
|
25
28
|
|
|
26
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
27
|
-
attr_accessor :repository
|
|
28
|
-
|
|
29
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
30
30
|
attr_accessor :name
|
|
31
31
|
|
|
@@ -41,10 +41,10 @@ module PulpContainerClient
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
+
:'repository' => :'repository',
|
|
44
45
|
:'pulp_labels' => :'pulp_labels',
|
|
45
46
|
:'base_path' => :'base_path',
|
|
46
47
|
:'content_guard' => :'content_guard',
|
|
47
|
-
:'repository' => :'repository',
|
|
48
48
|
:'name' => :'name',
|
|
49
49
|
:'repository_version' => :'repository_version',
|
|
50
50
|
:'private' => :'private',
|
|
@@ -55,10 +55,10 @@ module PulpContainerClient
|
|
|
55
55
|
# Attribute type mapping.
|
|
56
56
|
def self.openapi_types
|
|
57
57
|
{
|
|
58
|
+
:'repository' => :'String',
|
|
58
59
|
:'pulp_labels' => :'Object',
|
|
59
60
|
:'base_path' => :'String',
|
|
60
61
|
:'content_guard' => :'String',
|
|
61
|
-
:'repository' => :'String',
|
|
62
62
|
:'name' => :'String',
|
|
63
63
|
:'repository_version' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
@@ -90,6 +90,10 @@ module PulpContainerClient
|
|
|
90
90
|
h[k.to_sym] = v
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
+
if attributes.key?(:'repository')
|
|
94
|
+
self.repository = attributes[:'repository']
|
|
95
|
+
end
|
|
96
|
+
|
|
93
97
|
if attributes.key?(:'pulp_labels')
|
|
94
98
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
95
99
|
end
|
|
@@ -102,10 +106,6 @@ module PulpContainerClient
|
|
|
102
106
|
self.content_guard = attributes[:'content_guard']
|
|
103
107
|
end
|
|
104
108
|
|
|
105
|
-
if attributes.key?(:'repository')
|
|
106
|
-
self.repository = attributes[:'repository']
|
|
107
|
-
end
|
|
108
|
-
|
|
109
109
|
if attributes.key?(:'name')
|
|
110
110
|
self.name = attributes[:'name']
|
|
111
111
|
end
|
|
@@ -204,10 +204,10 @@ module PulpContainerClient
|
|
|
204
204
|
def ==(o)
|
|
205
205
|
return true if self.equal?(o)
|
|
206
206
|
self.class == o.class &&
|
|
207
|
+
repository == o.repository &&
|
|
207
208
|
pulp_labels == o.pulp_labels &&
|
|
208
209
|
base_path == o.base_path &&
|
|
209
210
|
content_guard == o.content_guard &&
|
|
210
|
-
repository == o.repository &&
|
|
211
211
|
name == o.name &&
|
|
212
212
|
repository_version == o.repository_version &&
|
|
213
213
|
private == o.private &&
|
|
@@ -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
|
-
[pulp_labels, base_path, content_guard,
|
|
226
|
+
[repository, pulp_labels, base_path, content_guard, name, repository_version, private, description].hash
|
|
227
227
|
end
|
|
228
228
|
|
|
229
229
|
# Builds the object from hash
|
|
@@ -15,22 +15,22 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
-
|
|
18
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
19
|
+
attr_accessor :repository
|
|
19
20
|
|
|
20
21
|
attr_accessor :pulp_href
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
attr_accessor :pulp_created
|
|
23
|
+
attr_accessor :pulp_labels
|
|
24
24
|
|
|
25
25
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
26
26
|
attr_accessor :base_path
|
|
27
27
|
|
|
28
|
+
# Timestamp of creation.
|
|
29
|
+
attr_accessor :pulp_created
|
|
30
|
+
|
|
28
31
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
29
32
|
attr_accessor :content_guard
|
|
30
33
|
|
|
31
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
32
|
-
attr_accessor :repository
|
|
33
|
-
|
|
34
34
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
35
35
|
attr_accessor :name
|
|
36
36
|
|
|
@@ -52,12 +52,12 @@ module PulpContainerClient
|
|
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
53
|
def self.attribute_map
|
|
54
54
|
{
|
|
55
|
-
:'
|
|
55
|
+
:'repository' => :'repository',
|
|
56
56
|
:'pulp_href' => :'pulp_href',
|
|
57
|
-
:'
|
|
57
|
+
:'pulp_labels' => :'pulp_labels',
|
|
58
58
|
:'base_path' => :'base_path',
|
|
59
|
+
:'pulp_created' => :'pulp_created',
|
|
59
60
|
:'content_guard' => :'content_guard',
|
|
60
|
-
:'repository' => :'repository',
|
|
61
61
|
:'name' => :'name',
|
|
62
62
|
:'repository_version' => :'repository_version',
|
|
63
63
|
:'registry_path' => :'registry_path',
|
|
@@ -70,12 +70,12 @@ module PulpContainerClient
|
|
|
70
70
|
# Attribute type mapping.
|
|
71
71
|
def self.openapi_types
|
|
72
72
|
{
|
|
73
|
-
:'
|
|
73
|
+
:'repository' => :'String',
|
|
74
74
|
:'pulp_href' => :'String',
|
|
75
|
-
:'
|
|
75
|
+
:'pulp_labels' => :'Object',
|
|
76
76
|
:'base_path' => :'String',
|
|
77
|
+
:'pulp_created' => :'DateTime',
|
|
77
78
|
:'content_guard' => :'String',
|
|
78
|
-
:'repository' => :'String',
|
|
79
79
|
:'name' => :'String',
|
|
80
80
|
:'repository_version' => :'String',
|
|
81
81
|
:'registry_path' => :'String',
|
|
@@ -109,28 +109,28 @@ module PulpContainerClient
|
|
|
109
109
|
h[k.to_sym] = v
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
if attributes.key?(:'
|
|
113
|
-
self.
|
|
112
|
+
if attributes.key?(:'repository')
|
|
113
|
+
self.repository = attributes[:'repository']
|
|
114
114
|
end
|
|
115
115
|
|
|
116
116
|
if attributes.key?(:'pulp_href')
|
|
117
117
|
self.pulp_href = attributes[:'pulp_href']
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
-
if attributes.key?(:'
|
|
121
|
-
self.
|
|
120
|
+
if attributes.key?(:'pulp_labels')
|
|
121
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
|
122
122
|
end
|
|
123
123
|
|
|
124
124
|
if attributes.key?(:'base_path')
|
|
125
125
|
self.base_path = attributes[:'base_path']
|
|
126
126
|
end
|
|
127
127
|
|
|
128
|
-
if attributes.key?(:'
|
|
129
|
-
self.
|
|
128
|
+
if attributes.key?(:'pulp_created')
|
|
129
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
130
130
|
end
|
|
131
131
|
|
|
132
|
-
if attributes.key?(:'
|
|
133
|
-
self.
|
|
132
|
+
if attributes.key?(:'content_guard')
|
|
133
|
+
self.content_guard = attributes[:'content_guard']
|
|
134
134
|
end
|
|
135
135
|
|
|
136
136
|
if attributes.key?(:'name')
|
|
@@ -186,12 +186,12 @@ module PulpContainerClient
|
|
|
186
186
|
def ==(o)
|
|
187
187
|
return true if self.equal?(o)
|
|
188
188
|
self.class == o.class &&
|
|
189
|
-
|
|
189
|
+
repository == o.repository &&
|
|
190
190
|
pulp_href == o.pulp_href &&
|
|
191
|
-
|
|
191
|
+
pulp_labels == o.pulp_labels &&
|
|
192
192
|
base_path == o.base_path &&
|
|
193
|
+
pulp_created == o.pulp_created &&
|
|
193
194
|
content_guard == o.content_guard &&
|
|
194
|
-
repository == o.repository &&
|
|
195
195
|
name == o.name &&
|
|
196
196
|
repository_version == o.repository_version &&
|
|
197
197
|
registry_path == o.registry_path &&
|
|
@@ -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
|
-
[
|
|
212
|
+
[repository, pulp_href, pulp_labels, base_path, pulp_created, content_guard, name, repository_version, registry_path, namespace, private, description].hash
|
|
213
213
|
end
|
|
214
214
|
|
|
215
215
|
# Builds the object from hash
|
|
@@ -17,15 +17,15 @@ module PulpContainerClient
|
|
|
17
17
|
class ContainerContainerPushRepository
|
|
18
18
|
attr_accessor :pulp_labels
|
|
19
19
|
|
|
20
|
-
# 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.
|
|
21
|
-
attr_accessor :retain_repo_versions
|
|
22
|
-
|
|
23
20
|
# A reference to an associated signing service.
|
|
24
21
|
attr_accessor :manifest_signing_service
|
|
25
22
|
|
|
26
23
|
# A unique name for this repository.
|
|
27
24
|
attr_accessor :name
|
|
28
25
|
|
|
26
|
+
# 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.
|
|
27
|
+
attr_accessor :retain_repo_versions
|
|
28
|
+
|
|
29
29
|
# An optional description.
|
|
30
30
|
attr_accessor :description
|
|
31
31
|
|
|
@@ -33,9 +33,9 @@ module PulpContainerClient
|
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
35
|
:'pulp_labels' => :'pulp_labels',
|
|
36
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
37
36
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
38
37
|
:'name' => :'name',
|
|
38
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
39
|
:'description' => :'description'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -44,9 +44,9 @@ module PulpContainerClient
|
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
46
|
:'pulp_labels' => :'Object',
|
|
47
|
-
:'retain_repo_versions' => :'Integer',
|
|
48
47
|
:'manifest_signing_service' => :'String',
|
|
49
48
|
:'name' => :'String',
|
|
49
|
+
:'retain_repo_versions' => :'Integer',
|
|
50
50
|
:'description' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -54,8 +54,8 @@ module PulpContainerClient
|
|
|
54
54
|
# List of attributes with nullable: true
|
|
55
55
|
def self.openapi_nullable
|
|
56
56
|
Set.new([
|
|
57
|
-
:'retain_repo_versions',
|
|
58
57
|
:'manifest_signing_service',
|
|
58
|
+
:'retain_repo_versions',
|
|
59
59
|
:'description'
|
|
60
60
|
])
|
|
61
61
|
end
|
|
@@ -79,10 +79,6 @@ module PulpContainerClient
|
|
|
79
79
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
if attributes.key?(:'retain_repo_versions')
|
|
83
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
84
|
-
end
|
|
85
|
-
|
|
86
82
|
if attributes.key?(:'manifest_signing_service')
|
|
87
83
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
88
84
|
end
|
|
@@ -91,6 +87,10 @@ module PulpContainerClient
|
|
|
91
87
|
self.name = attributes[:'name']
|
|
92
88
|
end
|
|
93
89
|
|
|
90
|
+
if attributes.key?(:'retain_repo_versions')
|
|
91
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
92
|
+
end
|
|
93
|
+
|
|
94
94
|
if attributes.key?(:'description')
|
|
95
95
|
self.description = attributes[:'description']
|
|
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)
|
|
@@ -169,9 +169,9 @@ module PulpContainerClient
|
|
|
169
169
|
return true if self.equal?(o)
|
|
170
170
|
self.class == o.class &&
|
|
171
171
|
pulp_labels == o.pulp_labels &&
|
|
172
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
173
172
|
manifest_signing_service == o.manifest_signing_service &&
|
|
174
173
|
name == o.name &&
|
|
174
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
175
175
|
description == o.description
|
|
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
|
-
[pulp_labels,
|
|
187
|
+
[pulp_labels, manifest_signing_service, name, retain_repo_versions, description].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
|
-
attr_accessor :pulp_labels
|
|
19
|
-
|
|
20
|
-
# 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.
|
|
21
|
-
attr_accessor :retain_repo_versions
|
|
22
|
-
|
|
23
18
|
attr_accessor :pulp_href
|
|
24
19
|
|
|
20
|
+
attr_accessor :pulp_labels
|
|
21
|
+
|
|
25
22
|
# A reference to an associated signing service.
|
|
26
23
|
attr_accessor :manifest_signing_service
|
|
27
24
|
|
|
28
25
|
# Timestamp of creation.
|
|
29
26
|
attr_accessor :pulp_created
|
|
30
27
|
|
|
31
|
-
attr_accessor :versions_href
|
|
32
|
-
|
|
33
28
|
attr_accessor :latest_version_href
|
|
34
29
|
|
|
35
30
|
# A unique name for this repository.
|
|
36
31
|
attr_accessor :name
|
|
37
32
|
|
|
33
|
+
# 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.
|
|
34
|
+
attr_accessor :retain_repo_versions
|
|
35
|
+
|
|
36
|
+
attr_accessor :versions_href
|
|
37
|
+
|
|
38
38
|
# An optional description.
|
|
39
39
|
attr_accessor :description
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
-
:'pulp_labels' => :'pulp_labels',
|
|
45
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
46
44
|
:'pulp_href' => :'pulp_href',
|
|
45
|
+
:'pulp_labels' => :'pulp_labels',
|
|
47
46
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
48
47
|
:'pulp_created' => :'pulp_created',
|
|
49
|
-
:'versions_href' => :'versions_href',
|
|
50
48
|
:'latest_version_href' => :'latest_version_href',
|
|
51
49
|
:'name' => :'name',
|
|
50
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
51
|
+
:'versions_href' => :'versions_href',
|
|
52
52
|
:'description' => :'description'
|
|
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
|
-
:'pulp_labels' => :'Object',
|
|
60
|
-
:'retain_repo_versions' => :'Integer',
|
|
61
59
|
:'pulp_href' => :'String',
|
|
60
|
+
:'pulp_labels' => :'Object',
|
|
62
61
|
:'manifest_signing_service' => :'String',
|
|
63
62
|
:'pulp_created' => :'DateTime',
|
|
64
|
-
:'versions_href' => :'String',
|
|
65
63
|
:'latest_version_href' => :'String',
|
|
66
64
|
:'name' => :'String',
|
|
65
|
+
:'retain_repo_versions' => :'Integer',
|
|
66
|
+
:'versions_href' => :'String',
|
|
67
67
|
:'description' => :'String'
|
|
68
68
|
}
|
|
69
69
|
end
|
|
@@ -71,8 +71,8 @@ module PulpContainerClient
|
|
|
71
71
|
# List of attributes with nullable: true
|
|
72
72
|
def self.openapi_nullable
|
|
73
73
|
Set.new([
|
|
74
|
-
:'retain_repo_versions',
|
|
75
74
|
:'manifest_signing_service',
|
|
75
|
+
:'retain_repo_versions',
|
|
76
76
|
:'description'
|
|
77
77
|
])
|
|
78
78
|
end
|
|
@@ -92,18 +92,14 @@ module PulpContainerClient
|
|
|
92
92
|
h[k.to_sym] = v
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
if attributes.key?(:'pulp_labels')
|
|
96
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
|
97
|
-
end
|
|
98
|
-
|
|
99
|
-
if attributes.key?(:'retain_repo_versions')
|
|
100
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
101
|
-
end
|
|
102
|
-
|
|
103
95
|
if attributes.key?(:'pulp_href')
|
|
104
96
|
self.pulp_href = attributes[:'pulp_href']
|
|
105
97
|
end
|
|
106
98
|
|
|
99
|
+
if attributes.key?(:'pulp_labels')
|
|
100
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
|
101
|
+
end
|
|
102
|
+
|
|
107
103
|
if attributes.key?(:'manifest_signing_service')
|
|
108
104
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
109
105
|
end
|
|
@@ -112,10 +108,6 @@ module PulpContainerClient
|
|
|
112
108
|
self.pulp_created = attributes[:'pulp_created']
|
|
113
109
|
end
|
|
114
110
|
|
|
115
|
-
if attributes.key?(:'versions_href')
|
|
116
|
-
self.versions_href = attributes[:'versions_href']
|
|
117
|
-
end
|
|
118
|
-
|
|
119
111
|
if attributes.key?(:'latest_version_href')
|
|
120
112
|
self.latest_version_href = attributes[:'latest_version_href']
|
|
121
113
|
end
|
|
@@ -124,6 +116,14 @@ module PulpContainerClient
|
|
|
124
116
|
self.name = attributes[:'name']
|
|
125
117
|
end
|
|
126
118
|
|
|
119
|
+
if attributes.key?(:'retain_repo_versions')
|
|
120
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
if attributes.key?(:'versions_href')
|
|
124
|
+
self.versions_href = attributes[:'versions_href']
|
|
125
|
+
end
|
|
126
|
+
|
|
127
127
|
if attributes.key?(:'description')
|
|
128
128
|
self.description = attributes[:'description']
|
|
129
129
|
end
|
|
@@ -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
|
-
pulp_labels == o.pulp_labels &&
|
|
171
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
172
170
|
pulp_href == o.pulp_href &&
|
|
171
|
+
pulp_labels == o.pulp_labels &&
|
|
173
172
|
manifest_signing_service == o.manifest_signing_service &&
|
|
174
173
|
pulp_created == o.pulp_created &&
|
|
175
|
-
versions_href == o.versions_href &&
|
|
176
174
|
latest_version_href == o.latest_version_href &&
|
|
177
175
|
name == o.name &&
|
|
176
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
177
|
+
versions_href == o.versions_href &&
|
|
178
178
|
description == o.description
|
|
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
|
+
[pulp_href, pulp_labels, manifest_signing_service, pulp_created, latest_version_href, name, retain_repo_versions, versions_href, description].hash
|
|
191
191
|
end
|
|
192
192
|
|
|
193
193
|
# Builds the object from hash
|
|
@@ -15,6 +15,9 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class PatchedcontainerContainerDistribution
|
|
18
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
19
|
+
attr_accessor :repository
|
|
20
|
+
|
|
18
21
|
attr_accessor :pulp_labels
|
|
19
22
|
|
|
20
23
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
@@ -23,9 +26,6 @@ module PulpContainerClient
|
|
|
23
26
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
24
27
|
attr_accessor :content_guard
|
|
25
28
|
|
|
26
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
27
|
-
attr_accessor :repository
|
|
28
|
-
|
|
29
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
30
30
|
attr_accessor :name
|
|
31
31
|
|
|
@@ -41,10 +41,10 @@ module PulpContainerClient
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
+
:'repository' => :'repository',
|
|
44
45
|
:'pulp_labels' => :'pulp_labels',
|
|
45
46
|
:'base_path' => :'base_path',
|
|
46
47
|
:'content_guard' => :'content_guard',
|
|
47
|
-
:'repository' => :'repository',
|
|
48
48
|
:'name' => :'name',
|
|
49
49
|
:'repository_version' => :'repository_version',
|
|
50
50
|
:'private' => :'private',
|
|
@@ -55,10 +55,10 @@ module PulpContainerClient
|
|
|
55
55
|
# Attribute type mapping.
|
|
56
56
|
def self.openapi_types
|
|
57
57
|
{
|
|
58
|
+
:'repository' => :'String',
|
|
58
59
|
:'pulp_labels' => :'Object',
|
|
59
60
|
:'base_path' => :'String',
|
|
60
61
|
:'content_guard' => :'String',
|
|
61
|
-
:'repository' => :'String',
|
|
62
62
|
:'name' => :'String',
|
|
63
63
|
:'repository_version' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
@@ -90,6 +90,10 @@ module PulpContainerClient
|
|
|
90
90
|
h[k.to_sym] = v
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
+
if attributes.key?(:'repository')
|
|
94
|
+
self.repository = attributes[:'repository']
|
|
95
|
+
end
|
|
96
|
+
|
|
93
97
|
if attributes.key?(:'pulp_labels')
|
|
94
98
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
95
99
|
end
|
|
@@ -102,10 +106,6 @@ module PulpContainerClient
|
|
|
102
106
|
self.content_guard = attributes[:'content_guard']
|
|
103
107
|
end
|
|
104
108
|
|
|
105
|
-
if attributes.key?(:'repository')
|
|
106
|
-
self.repository = attributes[:'repository']
|
|
107
|
-
end
|
|
108
|
-
|
|
109
109
|
if attributes.key?(:'name')
|
|
110
110
|
self.name = attributes[:'name']
|
|
111
111
|
end
|
|
@@ -186,10 +186,10 @@ module PulpContainerClient
|
|
|
186
186
|
def ==(o)
|
|
187
187
|
return true if self.equal?(o)
|
|
188
188
|
self.class == o.class &&
|
|
189
|
+
repository == o.repository &&
|
|
189
190
|
pulp_labels == o.pulp_labels &&
|
|
190
191
|
base_path == o.base_path &&
|
|
191
192
|
content_guard == o.content_guard &&
|
|
192
|
-
repository == o.repository &&
|
|
193
193
|
name == o.name &&
|
|
194
194
|
repository_version == o.repository_version &&
|
|
195
195
|
private == o.private &&
|
|
@@ -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
|
-
[pulp_labels, base_path, content_guard,
|
|
208
|
+
[repository, pulp_labels, base_path, content_guard, name, repository_version, private, description].hash
|
|
209
209
|
end
|
|
210
210
|
|
|
211
211
|
# Builds the object from hash
|
|
@@ -17,15 +17,15 @@ module PulpContainerClient
|
|
|
17
17
|
class PatchedcontainerContainerPushRepository
|
|
18
18
|
attr_accessor :pulp_labels
|
|
19
19
|
|
|
20
|
-
# 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.
|
|
21
|
-
attr_accessor :retain_repo_versions
|
|
22
|
-
|
|
23
20
|
# A reference to an associated signing service.
|
|
24
21
|
attr_accessor :manifest_signing_service
|
|
25
22
|
|
|
26
23
|
# A unique name for this repository.
|
|
27
24
|
attr_accessor :name
|
|
28
25
|
|
|
26
|
+
# 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.
|
|
27
|
+
attr_accessor :retain_repo_versions
|
|
28
|
+
|
|
29
29
|
# An optional description.
|
|
30
30
|
attr_accessor :description
|
|
31
31
|
|
|
@@ -33,9 +33,9 @@ module PulpContainerClient
|
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
35
|
:'pulp_labels' => :'pulp_labels',
|
|
36
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
37
36
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
38
37
|
:'name' => :'name',
|
|
38
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
39
|
:'description' => :'description'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -44,9 +44,9 @@ module PulpContainerClient
|
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
46
|
:'pulp_labels' => :'Object',
|
|
47
|
-
:'retain_repo_versions' => :'Integer',
|
|
48
47
|
:'manifest_signing_service' => :'String',
|
|
49
48
|
:'name' => :'String',
|
|
49
|
+
:'retain_repo_versions' => :'Integer',
|
|
50
50
|
:'description' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -54,8 +54,8 @@ module PulpContainerClient
|
|
|
54
54
|
# List of attributes with nullable: true
|
|
55
55
|
def self.openapi_nullable
|
|
56
56
|
Set.new([
|
|
57
|
-
:'retain_repo_versions',
|
|
58
57
|
:'manifest_signing_service',
|
|
58
|
+
:'retain_repo_versions',
|
|
59
59
|
:'description'
|
|
60
60
|
])
|
|
61
61
|
end
|
|
@@ -79,10 +79,6 @@ module PulpContainerClient
|
|
|
79
79
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
if attributes.key?(:'retain_repo_versions')
|
|
83
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
84
|
-
end
|
|
85
|
-
|
|
86
82
|
if attributes.key?(:'manifest_signing_service')
|
|
87
83
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
88
84
|
end
|
|
@@ -91,6 +87,10 @@ module PulpContainerClient
|
|
|
91
87
|
self.name = attributes[:'name']
|
|
92
88
|
end
|
|
93
89
|
|
|
90
|
+
if attributes.key?(:'retain_repo_versions')
|
|
91
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
92
|
+
end
|
|
93
|
+
|
|
94
94
|
if attributes.key?(:'description')
|
|
95
95
|
self.description = attributes[:'description']
|
|
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)
|
|
@@ -160,9 +160,9 @@ module PulpContainerClient
|
|
|
160
160
|
return true if self.equal?(o)
|
|
161
161
|
self.class == o.class &&
|
|
162
162
|
pulp_labels == o.pulp_labels &&
|
|
163
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
164
163
|
manifest_signing_service == o.manifest_signing_service &&
|
|
165
164
|
name == o.name &&
|
|
165
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
166
166
|
description == o.description
|
|
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
|
-
[pulp_labels,
|
|
178
|
+
[pulp_labels, manifest_signing_service, name, retain_repo_versions, description].hash
|
|
179
179
|
end
|
|
180
180
|
|
|
181
181
|
# Builds the object from hash
|
|
@@ -32,7 +32,7 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "repository"' 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
|
|
@@ -44,7 +44,7 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "pulp_labels"' 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
|
|
@@ -56,13 +56,13 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "pulp_created"' 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 "content_guard"' 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
|
|
@@ -32,25 +32,25 @@ describe 'ContainerContainerDistribution' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistribution)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "repository"' 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 "pulp_labels"' 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 "base_path"' 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 "content_guard"' 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
|
|
@@ -32,49 +32,49 @@ 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 "pulp_href"' 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 "pulp_labels"' 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 "pulp_created"' 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 "latest_version_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 "name"' 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 "retain_repo_versions"' 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
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
describe 'test attribute "
|
|
77
|
+
describe 'test attribute "versions_href"' 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
|
|
@@ -38,19 +38,19 @@ describe 'ContainerContainerPushRepository' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "manifest_signing_service"' 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 "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 "retain_repo_versions"' 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
|
|
@@ -32,25 +32,25 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerDistribution)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "repository"' 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 "pulp_labels"' 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 "base_path"' 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 "content_guard"' 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
|
|
@@ -38,19 +38,19 @@ describe 'PatchedcontainerContainerPushRepository' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "manifest_signing_service"' 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 "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 "retain_repo_versions"' 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.dev1658809498
|
|
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-07-
|
|
11
|
+
date: 2022-07-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|