pulp_container_client 2.15.0.dev1669432270 → 2.15.0.dev1669605416
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 +5 -5
- data/docs/ContainerContainerDistributionResponse.md +6 -6
- data/docs/ContainerContainerPushRepository.md +2 -2
- data/docs/ContainerContainerPushRepositoryResponse.md +6 -6
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +24 -24
- data/lib/pulp_container_client/models/container_container_push_repository.rb +26 -26
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +31 -31
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +26 -26
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +5 -5
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +5 -5
- data/spec/models/container_container_push_repository_spec.rb +2 -2
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
- 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: fe1c2a395e1d52beda14153432c99edc73b55b98344a7927fe8aa0a7dd98a8b6
|
|
4
|
+
data.tar.gz: e1bb01716f43935659505f94a4df0cb582d0b5d7745117b31e3adfb83ead8855
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 44394b34f5c08cefe16a668da629cd2032b46b60a4a49e5d29cdfb86b149d3e4012c172e0415a483bbd60d268b7889638a3d2ba35696da395c884bd78bc89709
|
|
7
|
+
data.tar.gz: 20cceaa093d9c079ea470670facb530dfb33a39bf772124471f2eef8ebead3addb2e1253c4412fbb5b777ec111c74dd89fdcc3b6c7f4dac99fbd1fc1ea636a9f
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 2.15.0.
|
|
10
|
+
- Package version: 2.15.0.dev1669605416
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_container_client-2.15.0.
|
|
27
|
+
gem install ./pulp_container_client-2.15.0.dev1669605416.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.15.0.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.15.0.dev1669605416.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulp_container_client', '~> 2.15.0.
|
|
36
|
+
gem 'pulp_container_client', '~> 2.15.0.dev1669605416'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
8
7
|
**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\") |
|
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
9
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
10
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
11
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
|
18
18
|
```ruby
|
|
19
19
|
require 'PulpContainerClient'
|
|
20
20
|
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
|
22
|
-
|
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
|
|
22
|
+
pulp_labels: null,
|
|
23
23
|
repository: null,
|
|
24
|
-
content_guard: null,
|
|
25
24
|
name: null,
|
|
25
|
+
content_guard: null,
|
|
26
26
|
repository_version: null,
|
|
27
27
|
private: null,
|
|
28
28
|
description: null)
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
9
8
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
|
10
|
-
**
|
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
11
10
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
12
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
13
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
12
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
13
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
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]
|
|
@@ -23,12 +23,12 @@ Name | Type | Description | Notes
|
|
|
23
23
|
require 'PulpContainerClient'
|
|
24
24
|
|
|
25
25
|
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_href: null,
|
|
26
|
-
pulp_labels: null,
|
|
27
26
|
base_path: null,
|
|
28
|
-
|
|
27
|
+
pulp_labels: null,
|
|
29
28
|
repository: null,
|
|
30
|
-
content_guard: null,
|
|
31
29
|
name: null,
|
|
30
|
+
content_guard: null,
|
|
31
|
+
pulp_created: null,
|
|
32
32
|
repository_version: null,
|
|
33
33
|
registry_path: null,
|
|
34
34
|
namespace: null,
|
|
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
8
8
|
**description** | **String** | An optional description. | [optional]
|
|
9
|
-
**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
|
**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
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
@@ -17,8 +17,8 @@ require 'PulpContainerClient'
|
|
|
17
17
|
|
|
18
18
|
instance = PulpContainerClient::ContainerContainerPushRepository.new(pulp_labels: null,
|
|
19
19
|
description: null,
|
|
20
|
-
retain_repo_versions: null,
|
|
21
20
|
name: null,
|
|
21
|
+
retain_repo_versions: null,
|
|
22
22
|
manifest_signing_service: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
9
8
|
**latest_version_href** | **String** | | [optional] [readonly]
|
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
10
10
|
**description** | **String** | An optional description. | [optional]
|
|
11
|
+
**name** | **String** | A unique name for this repository. |
|
|
11
12
|
**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]
|
|
12
|
-
**versions_href** | **String** | | [optional] [readonly]
|
|
13
13
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
14
|
-
**
|
|
14
|
+
**versions_href** | **String** | | [optional] [readonly]
|
|
15
15
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
16
16
|
|
|
17
17
|
## Code Sample
|
|
@@ -20,13 +20,13 @@ Name | Type | Description | Notes
|
|
|
20
20
|
require 'PulpContainerClient'
|
|
21
21
|
|
|
22
22
|
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_href: null,
|
|
23
|
-
pulp_labels: null,
|
|
24
23
|
latest_version_href: null,
|
|
24
|
+
pulp_labels: null,
|
|
25
25
|
description: null,
|
|
26
|
+
name: null,
|
|
26
27
|
retain_repo_versions: null,
|
|
27
|
-
versions_href: null,
|
|
28
28
|
pulp_created: null,
|
|
29
|
-
|
|
29
|
+
versions_href: null,
|
|
30
30
|
manifest_signing_service: null)
|
|
31
31
|
```
|
|
32
32
|
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
8
7
|
**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]
|
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
9
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
10
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
11
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
|
18
18
|
```ruby
|
|
19
19
|
require 'PulpContainerClient'
|
|
20
20
|
|
|
21
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
|
22
|
-
|
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
|
|
22
|
+
pulp_labels: null,
|
|
23
23
|
repository: null,
|
|
24
|
-
content_guard: null,
|
|
25
24
|
name: null,
|
|
25
|
+
content_guard: null,
|
|
26
26
|
repository_version: null,
|
|
27
27
|
private: null,
|
|
28
28
|
description: null)
|
|
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
8
8
|
**description** | **String** | An optional description. | [optional]
|
|
9
|
-
**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
|
**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
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
@@ -17,8 +17,8 @@ require 'PulpContainerClient'
|
|
|
17
17
|
|
|
18
18
|
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(pulp_labels: null,
|
|
19
19
|
description: null,
|
|
20
|
-
retain_repo_versions: null,
|
|
21
20
|
name: null,
|
|
21
|
+
retain_repo_versions: null,
|
|
22
22
|
manifest_signing_service: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistribution
|
|
18
|
-
attr_accessor :pulp_labels
|
|
19
|
-
|
|
20
18
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
21
19
|
attr_accessor :base_path
|
|
22
20
|
|
|
21
|
+
attr_accessor :pulp_labels
|
|
22
|
+
|
|
23
23
|
# The latest RepositoryVersion for this Repository will be served.
|
|
24
24
|
attr_accessor :repository
|
|
25
25
|
|
|
26
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
27
|
-
attr_accessor :content_guard
|
|
28
|
-
|
|
29
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
30
27
|
attr_accessor :name
|
|
31
28
|
|
|
29
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
30
|
+
attr_accessor :content_guard
|
|
31
|
+
|
|
32
32
|
# RepositoryVersion to be served
|
|
33
33
|
attr_accessor :repository_version
|
|
34
34
|
|
|
@@ -41,11 +41,11 @@ module PulpContainerClient
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
-
:'pulp_labels' => :'pulp_labels',
|
|
45
44
|
:'base_path' => :'base_path',
|
|
45
|
+
:'pulp_labels' => :'pulp_labels',
|
|
46
46
|
:'repository' => :'repository',
|
|
47
|
-
:'content_guard' => :'content_guard',
|
|
48
47
|
:'name' => :'name',
|
|
48
|
+
:'content_guard' => :'content_guard',
|
|
49
49
|
:'repository_version' => :'repository_version',
|
|
50
50
|
:'private' => :'private',
|
|
51
51
|
:'description' => :'description'
|
|
@@ -55,11 +55,11 @@ module PulpContainerClient
|
|
|
55
55
|
# Attribute type mapping.
|
|
56
56
|
def self.openapi_types
|
|
57
57
|
{
|
|
58
|
-
:'pulp_labels' => :'Object',
|
|
59
58
|
:'base_path' => :'String',
|
|
59
|
+
:'pulp_labels' => :'Object',
|
|
60
60
|
:'repository' => :'String',
|
|
61
|
-
:'content_guard' => :'String',
|
|
62
61
|
:'name' => :'String',
|
|
62
|
+
:'content_guard' => :'String',
|
|
63
63
|
:'repository_version' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
65
65
|
:'description' => :'String'
|
|
@@ -90,26 +90,26 @@ module PulpContainerClient
|
|
|
90
90
|
h[k.to_sym] = v
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
if attributes.key?(:'pulp_labels')
|
|
94
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
|
95
|
-
end
|
|
96
|
-
|
|
97
93
|
if attributes.key?(:'base_path')
|
|
98
94
|
self.base_path = attributes[:'base_path']
|
|
99
95
|
end
|
|
100
96
|
|
|
101
|
-
if attributes.key?(:'
|
|
102
|
-
self.
|
|
97
|
+
if attributes.key?(:'pulp_labels')
|
|
98
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
|
103
99
|
end
|
|
104
100
|
|
|
105
|
-
if attributes.key?(:'
|
|
106
|
-
self.
|
|
101
|
+
if attributes.key?(:'repository')
|
|
102
|
+
self.repository = attributes[:'repository']
|
|
107
103
|
end
|
|
108
104
|
|
|
109
105
|
if attributes.key?(:'name')
|
|
110
106
|
self.name = attributes[:'name']
|
|
111
107
|
end
|
|
112
108
|
|
|
109
|
+
if attributes.key?(:'content_guard')
|
|
110
|
+
self.content_guard = attributes[:'content_guard']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
113
|
if attributes.key?(:'repository_version')
|
|
114
114
|
self.repository_version = attributes[:'repository_version']
|
|
115
115
|
end
|
|
@@ -204,11 +204,11 @@ module PulpContainerClient
|
|
|
204
204
|
def ==(o)
|
|
205
205
|
return true if self.equal?(o)
|
|
206
206
|
self.class == o.class &&
|
|
207
|
-
pulp_labels == o.pulp_labels &&
|
|
208
207
|
base_path == o.base_path &&
|
|
208
|
+
pulp_labels == o.pulp_labels &&
|
|
209
209
|
repository == o.repository &&
|
|
210
|
-
content_guard == o.content_guard &&
|
|
211
210
|
name == o.name &&
|
|
211
|
+
content_guard == o.content_guard &&
|
|
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
|
-
[
|
|
226
|
+
[base_path, pulp_labels, repository, name, content_guard, repository_version, private, description].hash
|
|
227
227
|
end
|
|
228
228
|
|
|
229
229
|
# Builds the object from hash
|
|
@@ -17,22 +17,22 @@ module PulpContainerClient
|
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
18
|
attr_accessor :pulp_href
|
|
19
19
|
|
|
20
|
-
attr_accessor :pulp_labels
|
|
21
|
-
|
|
22
20
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
23
21
|
attr_accessor :base_path
|
|
24
22
|
|
|
25
|
-
|
|
26
|
-
attr_accessor :pulp_created
|
|
23
|
+
attr_accessor :pulp_labels
|
|
27
24
|
|
|
28
25
|
# The latest RepositoryVersion for this Repository will be served.
|
|
29
26
|
attr_accessor :repository
|
|
30
27
|
|
|
28
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
29
|
+
attr_accessor :name
|
|
30
|
+
|
|
31
31
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
32
32
|
attr_accessor :content_guard
|
|
33
33
|
|
|
34
|
-
#
|
|
35
|
-
attr_accessor :
|
|
34
|
+
# Timestamp of creation.
|
|
35
|
+
attr_accessor :pulp_created
|
|
36
36
|
|
|
37
37
|
# RepositoryVersion to be served
|
|
38
38
|
attr_accessor :repository_version
|
|
@@ -53,12 +53,12 @@ module PulpContainerClient
|
|
|
53
53
|
def self.attribute_map
|
|
54
54
|
{
|
|
55
55
|
:'pulp_href' => :'pulp_href',
|
|
56
|
-
:'pulp_labels' => :'pulp_labels',
|
|
57
56
|
:'base_path' => :'base_path',
|
|
58
|
-
:'
|
|
57
|
+
:'pulp_labels' => :'pulp_labels',
|
|
59
58
|
:'repository' => :'repository',
|
|
60
|
-
:'content_guard' => :'content_guard',
|
|
61
59
|
:'name' => :'name',
|
|
60
|
+
:'content_guard' => :'content_guard',
|
|
61
|
+
:'pulp_created' => :'pulp_created',
|
|
62
62
|
:'repository_version' => :'repository_version',
|
|
63
63
|
:'registry_path' => :'registry_path',
|
|
64
64
|
:'namespace' => :'namespace',
|
|
@@ -71,12 +71,12 @@ module PulpContainerClient
|
|
|
71
71
|
def self.openapi_types
|
|
72
72
|
{
|
|
73
73
|
:'pulp_href' => :'String',
|
|
74
|
-
:'pulp_labels' => :'Object',
|
|
75
74
|
:'base_path' => :'String',
|
|
76
|
-
:'
|
|
75
|
+
:'pulp_labels' => :'Object',
|
|
77
76
|
:'repository' => :'String',
|
|
78
|
-
:'content_guard' => :'String',
|
|
79
77
|
:'name' => :'String',
|
|
78
|
+
:'content_guard' => :'String',
|
|
79
|
+
:'pulp_created' => :'DateTime',
|
|
80
80
|
:'repository_version' => :'String',
|
|
81
81
|
:'registry_path' => :'String',
|
|
82
82
|
:'namespace' => :'String',
|
|
@@ -113,28 +113,28 @@ module PulpContainerClient
|
|
|
113
113
|
self.pulp_href = attributes[:'pulp_href']
|
|
114
114
|
end
|
|
115
115
|
|
|
116
|
-
if attributes.key?(:'pulp_labels')
|
|
117
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
|
118
|
-
end
|
|
119
|
-
|
|
120
116
|
if attributes.key?(:'base_path')
|
|
121
117
|
self.base_path = attributes[:'base_path']
|
|
122
118
|
end
|
|
123
119
|
|
|
124
|
-
if attributes.key?(:'
|
|
125
|
-
self.
|
|
120
|
+
if attributes.key?(:'pulp_labels')
|
|
121
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
|
126
122
|
end
|
|
127
123
|
|
|
128
124
|
if attributes.key?(:'repository')
|
|
129
125
|
self.repository = attributes[:'repository']
|
|
130
126
|
end
|
|
131
127
|
|
|
128
|
+
if attributes.key?(:'name')
|
|
129
|
+
self.name = attributes[:'name']
|
|
130
|
+
end
|
|
131
|
+
|
|
132
132
|
if attributes.key?(:'content_guard')
|
|
133
133
|
self.content_guard = attributes[:'content_guard']
|
|
134
134
|
end
|
|
135
135
|
|
|
136
|
-
if attributes.key?(:'
|
|
137
|
-
self.
|
|
136
|
+
if attributes.key?(:'pulp_created')
|
|
137
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
138
138
|
end
|
|
139
139
|
|
|
140
140
|
if attributes.key?(:'repository_version')
|
|
@@ -187,12 +187,12 @@ module PulpContainerClient
|
|
|
187
187
|
return true if self.equal?(o)
|
|
188
188
|
self.class == o.class &&
|
|
189
189
|
pulp_href == o.pulp_href &&
|
|
190
|
-
pulp_labels == o.pulp_labels &&
|
|
191
190
|
base_path == o.base_path &&
|
|
192
|
-
|
|
191
|
+
pulp_labels == o.pulp_labels &&
|
|
193
192
|
repository == o.repository &&
|
|
194
|
-
content_guard == o.content_guard &&
|
|
195
193
|
name == o.name &&
|
|
194
|
+
content_guard == o.content_guard &&
|
|
195
|
+
pulp_created == o.pulp_created &&
|
|
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
|
-
[pulp_href,
|
|
212
|
+
[pulp_href, base_path, pulp_labels, repository, name, content_guard, pulp_created, repository_version, registry_path, namespace, private, description].hash
|
|
213
213
|
end
|
|
214
214
|
|
|
215
215
|
# Builds the object from hash
|
|
@@ -20,12 +20,12 @@ module PulpContainerClient
|
|
|
20
20
|
# An optional description.
|
|
21
21
|
attr_accessor :description
|
|
22
22
|
|
|
23
|
-
# 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.
|
|
24
|
-
attr_accessor :retain_repo_versions
|
|
25
|
-
|
|
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
|
# A reference to an associated signing service.
|
|
30
30
|
attr_accessor :manifest_signing_service
|
|
31
31
|
|
|
@@ -34,8 +34,8 @@ module PulpContainerClient
|
|
|
34
34
|
{
|
|
35
35
|
:'pulp_labels' => :'pulp_labels',
|
|
36
36
|
:'description' => :'description',
|
|
37
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
38
37
|
:'name' => :'name',
|
|
38
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
39
|
:'manifest_signing_service' => :'manifest_signing_service'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -45,8 +45,8 @@ module PulpContainerClient
|
|
|
45
45
|
{
|
|
46
46
|
:'pulp_labels' => :'Object',
|
|
47
47
|
:'description' => :'String',
|
|
48
|
-
:'retain_repo_versions' => :'Integer',
|
|
49
48
|
:'name' => :'String',
|
|
49
|
+
:'retain_repo_versions' => :'Integer',
|
|
50
50
|
:'manifest_signing_service' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -83,14 +83,14 @@ module PulpContainerClient
|
|
|
83
83
|
self.description = attributes[:'description']
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
-
if attributes.key?(:'retain_repo_versions')
|
|
87
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
88
|
-
end
|
|
89
|
-
|
|
90
86
|
if attributes.key?(:'name')
|
|
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?(:'manifest_signing_service')
|
|
95
95
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
96
96
|
end
|
|
@@ -104,10 +104,6 @@ module PulpContainerClient
|
|
|
104
104
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
105
105
|
end
|
|
106
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
107
|
if @name.nil?
|
|
112
108
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
113
109
|
end
|
|
@@ -116,6 +112,10 @@ module PulpContainerClient
|
|
|
116
112
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
117
113
|
end
|
|
118
114
|
|
|
115
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
116
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
117
|
+
end
|
|
118
|
+
|
|
119
119
|
invalid_properties
|
|
120
120
|
end
|
|
121
121
|
|
|
@@ -123,9 +123,9 @@ module PulpContainerClient
|
|
|
123
123
|
# @return true if the model is valid
|
|
124
124
|
def valid?
|
|
125
125
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
126
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
127
126
|
return false if @name.nil?
|
|
128
127
|
return false if @name.to_s.length < 1
|
|
128
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
129
129
|
true
|
|
130
130
|
end
|
|
131
131
|
|
|
@@ -139,16 +139,6 @@ module PulpContainerClient
|
|
|
139
139
|
@description = description
|
|
140
140
|
end
|
|
141
141
|
|
|
142
|
-
# Custom attribute writer method with validation
|
|
143
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
|
144
|
-
def retain_repo_versions=(retain_repo_versions)
|
|
145
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
146
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
147
|
-
end
|
|
148
|
-
|
|
149
|
-
@retain_repo_versions = retain_repo_versions
|
|
150
|
-
end
|
|
151
|
-
|
|
152
142
|
# Custom attribute writer method with validation
|
|
153
143
|
# @param [Object] name Value to be assigned
|
|
154
144
|
def name=(name)
|
|
@@ -163,6 +153,16 @@ module PulpContainerClient
|
|
|
163
153
|
@name = name
|
|
164
154
|
end
|
|
165
155
|
|
|
156
|
+
# Custom attribute writer method with validation
|
|
157
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
158
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
159
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
160
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
@retain_repo_versions = retain_repo_versions
|
|
164
|
+
end
|
|
165
|
+
|
|
166
166
|
# Checks equality by comparing each attribute.
|
|
167
167
|
# @param [Object] Object to be compared
|
|
168
168
|
def ==(o)
|
|
@@ -170,8 +170,8 @@ module PulpContainerClient
|
|
|
170
170
|
self.class == o.class &&
|
|
171
171
|
pulp_labels == o.pulp_labels &&
|
|
172
172
|
description == o.description &&
|
|
173
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
174
173
|
name == o.name &&
|
|
174
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
175
175
|
manifest_signing_service == o.manifest_signing_service
|
|
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, description,
|
|
187
|
+
[pulp_labels, description, name, retain_repo_versions, manifest_signing_service].hash
|
|
188
188
|
end
|
|
189
189
|
|
|
190
190
|
# Builds the object from hash
|
|
@@ -17,23 +17,23 @@ module PulpContainerClient
|
|
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
|
18
18
|
attr_accessor :pulp_href
|
|
19
19
|
|
|
20
|
-
attr_accessor :pulp_labels
|
|
21
|
-
|
|
22
20
|
attr_accessor :latest_version_href
|
|
23
21
|
|
|
22
|
+
attr_accessor :pulp_labels
|
|
23
|
+
|
|
24
24
|
# An optional description.
|
|
25
25
|
attr_accessor :description
|
|
26
26
|
|
|
27
|
+
# A unique name for this repository.
|
|
28
|
+
attr_accessor :name
|
|
29
|
+
|
|
27
30
|
# 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.
|
|
28
31
|
attr_accessor :retain_repo_versions
|
|
29
32
|
|
|
30
|
-
attr_accessor :versions_href
|
|
31
|
-
|
|
32
33
|
# Timestamp of creation.
|
|
33
34
|
attr_accessor :pulp_created
|
|
34
35
|
|
|
35
|
-
|
|
36
|
-
attr_accessor :name
|
|
36
|
+
attr_accessor :versions_href
|
|
37
37
|
|
|
38
38
|
# A reference to an associated signing service.
|
|
39
39
|
attr_accessor :manifest_signing_service
|
|
@@ -42,13 +42,13 @@ module PulpContainerClient
|
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
44
|
:'pulp_href' => :'pulp_href',
|
|
45
|
-
:'pulp_labels' => :'pulp_labels',
|
|
46
45
|
:'latest_version_href' => :'latest_version_href',
|
|
46
|
+
:'pulp_labels' => :'pulp_labels',
|
|
47
47
|
:'description' => :'description',
|
|
48
|
+
:'name' => :'name',
|
|
48
49
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
49
|
-
:'versions_href' => :'versions_href',
|
|
50
50
|
:'pulp_created' => :'pulp_created',
|
|
51
|
-
:'
|
|
51
|
+
:'versions_href' => :'versions_href',
|
|
52
52
|
:'manifest_signing_service' => :'manifest_signing_service'
|
|
53
53
|
}
|
|
54
54
|
end
|
|
@@ -57,13 +57,13 @@ module PulpContainerClient
|
|
|
57
57
|
def self.openapi_types
|
|
58
58
|
{
|
|
59
59
|
:'pulp_href' => :'String',
|
|
60
|
-
:'pulp_labels' => :'Object',
|
|
61
60
|
:'latest_version_href' => :'String',
|
|
61
|
+
:'pulp_labels' => :'Object',
|
|
62
62
|
:'description' => :'String',
|
|
63
|
+
:'name' => :'String',
|
|
63
64
|
:'retain_repo_versions' => :'Integer',
|
|
64
|
-
:'versions_href' => :'String',
|
|
65
65
|
:'pulp_created' => :'DateTime',
|
|
66
|
-
:'
|
|
66
|
+
:'versions_href' => :'String',
|
|
67
67
|
:'manifest_signing_service' => :'String'
|
|
68
68
|
}
|
|
69
69
|
end
|
|
@@ -96,32 +96,32 @@ module PulpContainerClient
|
|
|
96
96
|
self.pulp_href = attributes[:'pulp_href']
|
|
97
97
|
end
|
|
98
98
|
|
|
99
|
-
if attributes.key?(:'pulp_labels')
|
|
100
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
|
101
|
-
end
|
|
102
|
-
|
|
103
99
|
if attributes.key?(:'latest_version_href')
|
|
104
100
|
self.latest_version_href = attributes[:'latest_version_href']
|
|
105
101
|
end
|
|
106
102
|
|
|
103
|
+
if attributes.key?(:'pulp_labels')
|
|
104
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
|
105
|
+
end
|
|
106
|
+
|
|
107
107
|
if attributes.key?(:'description')
|
|
108
108
|
self.description = attributes[:'description']
|
|
109
109
|
end
|
|
110
110
|
|
|
111
|
-
if attributes.key?(:'
|
|
112
|
-
self.
|
|
111
|
+
if attributes.key?(:'name')
|
|
112
|
+
self.name = attributes[:'name']
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
-
if attributes.key?(:'
|
|
116
|
-
self.
|
|
115
|
+
if attributes.key?(:'retain_repo_versions')
|
|
116
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
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?(:'versions_href')
|
|
124
|
+
self.versions_href = attributes[:'versions_href']
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
if attributes.key?(:'manifest_signing_service')
|
|
@@ -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
|
|
|
@@ -168,13 +168,13 @@ module PulpContainerClient
|
|
|
168
168
|
return true if self.equal?(o)
|
|
169
169
|
self.class == o.class &&
|
|
170
170
|
pulp_href == o.pulp_href &&
|
|
171
|
-
pulp_labels == o.pulp_labels &&
|
|
172
171
|
latest_version_href == o.latest_version_href &&
|
|
172
|
+
pulp_labels == o.pulp_labels &&
|
|
173
173
|
description == o.description &&
|
|
174
|
+
name == o.name &&
|
|
174
175
|
retain_repo_versions == o.retain_repo_versions &&
|
|
175
|
-
versions_href == o.versions_href &&
|
|
176
176
|
pulp_created == o.pulp_created &&
|
|
177
|
-
|
|
177
|
+
versions_href == o.versions_href &&
|
|
178
178
|
manifest_signing_service == o.manifest_signing_service
|
|
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
|
-
[pulp_href,
|
|
190
|
+
[pulp_href, latest_version_href, pulp_labels, description, name, retain_repo_versions, pulp_created, versions_href, manifest_signing_service].hash
|
|
191
191
|
end
|
|
192
192
|
|
|
193
193
|
# Builds the object from hash
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class PatchedcontainerContainerDistribution
|
|
18
|
-
attr_accessor :pulp_labels
|
|
19
|
-
|
|
20
18
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
21
19
|
attr_accessor :base_path
|
|
22
20
|
|
|
21
|
+
attr_accessor :pulp_labels
|
|
22
|
+
|
|
23
23
|
# The latest RepositoryVersion for this Repository will be served.
|
|
24
24
|
attr_accessor :repository
|
|
25
25
|
|
|
26
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
27
|
-
attr_accessor :content_guard
|
|
28
|
-
|
|
29
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
30
27
|
attr_accessor :name
|
|
31
28
|
|
|
29
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
30
|
+
attr_accessor :content_guard
|
|
31
|
+
|
|
32
32
|
# RepositoryVersion to be served
|
|
33
33
|
attr_accessor :repository_version
|
|
34
34
|
|
|
@@ -41,11 +41,11 @@ module PulpContainerClient
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
-
:'pulp_labels' => :'pulp_labels',
|
|
45
44
|
:'base_path' => :'base_path',
|
|
45
|
+
:'pulp_labels' => :'pulp_labels',
|
|
46
46
|
:'repository' => :'repository',
|
|
47
|
-
:'content_guard' => :'content_guard',
|
|
48
47
|
:'name' => :'name',
|
|
48
|
+
:'content_guard' => :'content_guard',
|
|
49
49
|
:'repository_version' => :'repository_version',
|
|
50
50
|
:'private' => :'private',
|
|
51
51
|
:'description' => :'description'
|
|
@@ -55,11 +55,11 @@ module PulpContainerClient
|
|
|
55
55
|
# Attribute type mapping.
|
|
56
56
|
def self.openapi_types
|
|
57
57
|
{
|
|
58
|
-
:'pulp_labels' => :'Object',
|
|
59
58
|
:'base_path' => :'String',
|
|
59
|
+
:'pulp_labels' => :'Object',
|
|
60
60
|
:'repository' => :'String',
|
|
61
|
-
:'content_guard' => :'String',
|
|
62
61
|
:'name' => :'String',
|
|
62
|
+
:'content_guard' => :'String',
|
|
63
63
|
:'repository_version' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
65
65
|
:'description' => :'String'
|
|
@@ -90,26 +90,26 @@ module PulpContainerClient
|
|
|
90
90
|
h[k.to_sym] = v
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
if attributes.key?(:'pulp_labels')
|
|
94
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
|
95
|
-
end
|
|
96
|
-
|
|
97
93
|
if attributes.key?(:'base_path')
|
|
98
94
|
self.base_path = attributes[:'base_path']
|
|
99
95
|
end
|
|
100
96
|
|
|
101
|
-
if attributes.key?(:'
|
|
102
|
-
self.
|
|
97
|
+
if attributes.key?(:'pulp_labels')
|
|
98
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
|
103
99
|
end
|
|
104
100
|
|
|
105
|
-
if attributes.key?(:'
|
|
106
|
-
self.
|
|
101
|
+
if attributes.key?(:'repository')
|
|
102
|
+
self.repository = attributes[:'repository']
|
|
107
103
|
end
|
|
108
104
|
|
|
109
105
|
if attributes.key?(:'name')
|
|
110
106
|
self.name = attributes[:'name']
|
|
111
107
|
end
|
|
112
108
|
|
|
109
|
+
if attributes.key?(:'content_guard')
|
|
110
|
+
self.content_guard = attributes[:'content_guard']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
113
|
if attributes.key?(:'repository_version')
|
|
114
114
|
self.repository_version = attributes[:'repository_version']
|
|
115
115
|
end
|
|
@@ -186,11 +186,11 @@ module PulpContainerClient
|
|
|
186
186
|
def ==(o)
|
|
187
187
|
return true if self.equal?(o)
|
|
188
188
|
self.class == o.class &&
|
|
189
|
-
pulp_labels == o.pulp_labels &&
|
|
190
189
|
base_path == o.base_path &&
|
|
190
|
+
pulp_labels == o.pulp_labels &&
|
|
191
191
|
repository == o.repository &&
|
|
192
|
-
content_guard == o.content_guard &&
|
|
193
192
|
name == o.name &&
|
|
193
|
+
content_guard == o.content_guard &&
|
|
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
|
-
[
|
|
208
|
+
[base_path, pulp_labels, repository, name, content_guard, repository_version, private, description].hash
|
|
209
209
|
end
|
|
210
210
|
|
|
211
211
|
# Builds the object from hash
|
|
@@ -20,12 +20,12 @@ module PulpContainerClient
|
|
|
20
20
|
# An optional description.
|
|
21
21
|
attr_accessor :description
|
|
22
22
|
|
|
23
|
-
# 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.
|
|
24
|
-
attr_accessor :retain_repo_versions
|
|
25
|
-
|
|
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
|
# A reference to an associated signing service.
|
|
30
30
|
attr_accessor :manifest_signing_service
|
|
31
31
|
|
|
@@ -34,8 +34,8 @@ module PulpContainerClient
|
|
|
34
34
|
{
|
|
35
35
|
:'pulp_labels' => :'pulp_labels',
|
|
36
36
|
:'description' => :'description',
|
|
37
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
38
37
|
:'name' => :'name',
|
|
38
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
39
|
:'manifest_signing_service' => :'manifest_signing_service'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -45,8 +45,8 @@ module PulpContainerClient
|
|
|
45
45
|
{
|
|
46
46
|
:'pulp_labels' => :'Object',
|
|
47
47
|
:'description' => :'String',
|
|
48
|
-
:'retain_repo_versions' => :'Integer',
|
|
49
48
|
:'name' => :'String',
|
|
49
|
+
:'retain_repo_versions' => :'Integer',
|
|
50
50
|
:'manifest_signing_service' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -83,14 +83,14 @@ module PulpContainerClient
|
|
|
83
83
|
self.description = attributes[:'description']
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
-
if attributes.key?(:'retain_repo_versions')
|
|
87
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
88
|
-
end
|
|
89
|
-
|
|
90
86
|
if attributes.key?(:'name')
|
|
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?(:'manifest_signing_service')
|
|
95
95
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
96
96
|
end
|
|
@@ -104,14 +104,14 @@ module PulpContainerClient
|
|
|
104
104
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
105
105
|
end
|
|
106
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
107
|
if !@name.nil? && @name.to_s.length < 1
|
|
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
|
invalid_properties
|
|
116
116
|
end
|
|
117
117
|
|
|
@@ -119,8 +119,8 @@ module PulpContainerClient
|
|
|
119
119
|
# @return true if the model is valid
|
|
120
120
|
def valid?
|
|
121
121
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
122
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
123
122
|
return false if !@name.nil? && @name.to_s.length < 1
|
|
123
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
124
124
|
true
|
|
125
125
|
end
|
|
126
126
|
|
|
@@ -134,16 +134,6 @@ module PulpContainerClient
|
|
|
134
134
|
@description = description
|
|
135
135
|
end
|
|
136
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
137
|
# Custom attribute writer method with validation
|
|
148
138
|
# @param [Object] name Value to be assigned
|
|
149
139
|
def name=(name)
|
|
@@ -154,6 +144,16 @@ module PulpContainerClient
|
|
|
154
144
|
@name = name
|
|
155
145
|
end
|
|
156
146
|
|
|
147
|
+
# Custom attribute writer method with validation
|
|
148
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
149
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
150
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
151
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
@retain_repo_versions = retain_repo_versions
|
|
155
|
+
end
|
|
156
|
+
|
|
157
157
|
# Checks equality by comparing each attribute.
|
|
158
158
|
# @param [Object] Object to be compared
|
|
159
159
|
def ==(o)
|
|
@@ -161,8 +161,8 @@ module PulpContainerClient
|
|
|
161
161
|
self.class == o.class &&
|
|
162
162
|
pulp_labels == o.pulp_labels &&
|
|
163
163
|
description == o.description &&
|
|
164
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
165
164
|
name == o.name &&
|
|
165
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
166
166
|
manifest_signing_service == o.manifest_signing_service
|
|
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, description,
|
|
178
|
+
[pulp_labels, description, name, retain_repo_versions, manifest_signing_service].hash
|
|
179
179
|
end
|
|
180
180
|
|
|
181
181
|
# Builds the object from hash
|
|
@@ -38,25 +38,25 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "base_path"' 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 "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
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "repository"' 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 "name"' 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
|
|
@@ -68,7 +68,7 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "pulp_created"' 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
|
|
@@ -32,13 +32,13 @@ 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 "base_path"' 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
|
|
@@ -50,13 +50,13 @@ describe 'ContainerContainerDistribution' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "name"' 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 "content_guard"' 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
|
|
@@ -38,13 +38,13 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "latest_version_href"' 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 "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 'ContainerContainerPushRepositoryResponse' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "name"' 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 "retain_repo_versions"' 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 "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
|
|
@@ -44,13 +44,13 @@ describe 'ContainerContainerPushRepository' 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 "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,13 +32,13 @@ 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 "base_path"' 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
|
|
@@ -50,13 +50,13 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "name"' 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 "content_guard"' 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
|
|
@@ -44,13 +44,13 @@ describe 'PatchedcontainerContainerPushRepository' 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 "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.15.0.
|
|
4
|
+
version: 2.15.0.dev1669605416
|
|
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-11-
|
|
11
|
+
date: 2022-11-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|