pulp_container_client 2.15.0.dev1667187477 → 2.15.0.dev1667360775
Sign up to get free protection for your applications and to get access to all the features.
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 +4 -4
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +14 -14
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +30 -30
- data/lib/pulp_container_client/models/container_container_push_repository.rb +32 -32
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +45 -45
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +14 -14
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +32 -32
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +2 -2
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +2 -2
- 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: 9be69d3e15c334756094d3b8fea17764c1e7e613a8d7be6681008a5d3a68cd29
|
4
|
+
data.tar.gz: 437a30402aaaa8fef453d0df1c8ebea274c8b89152a2e981cc306c9d593633a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bfb9ffba1937cf2c4ca3babd3756f16c078c21ecd636d008d77e2d89bfceebc43c68cbe640b1cd97cc4ae641b97696961242030d57f36a45ce3e4dde62dcc38
|
7
|
+
data.tar.gz: 77ee71dd6a2c3af36d1553868f73937d2a08ff1b5f60aef38e32f5cd1723f1785cdf3eecae08ce45f29312438e11f519f3ac4ed95ee61191a9e59e5ab570c66e
|
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.dev1667360775
|
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.dev1667360775.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.dev1667360775.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.dev1667360775'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -5,9 +5,9 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
8
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
11
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
@@ -19,9 +19,9 @@ Name | Type | Description | Notes
|
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
21
|
instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
|
22
|
-
name: null,
|
23
|
-
content_guard: null,
|
24
22
|
pulp_labels: null,
|
23
|
+
content_guard: null,
|
24
|
+
name: null,
|
25
25
|
base_path: 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
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
11
8
|
**pulp_href** | **String** | | [optional] [readonly]
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
10
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
13
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
14
14
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
15
15
|
**registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
@@ -22,12 +22,12 @@ Name | Type | Description | Notes
|
|
22
22
|
```ruby
|
23
23
|
require 'PulpContainerClient'
|
24
24
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
26
|
-
name: null,
|
27
|
-
content_guard: null,
|
28
|
-
pulp_created: null,
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
|
29
26
|
pulp_href: null,
|
27
|
+
repository: null,
|
30
28
|
pulp_labels: null,
|
29
|
+
content_guard: null,
|
30
|
+
name: null,
|
31
31
|
base_path: null,
|
32
32
|
repository_version: null,
|
33
33
|
registry_path: null,
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | A unique name for this repository. |
|
8
7
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [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
8
|
**pulp_labels** | [**Object**](.md) | | [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
|
+
**name** | **String** | A unique name for this repository. |
|
11
11
|
**description** | **String** | An optional description. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
@@ -15,10 +15,10 @@ Name | Type | Description | Notes
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerPushRepository.new(
|
19
|
-
manifest_signing_service: null,
|
20
|
-
retain_repo_versions: null,
|
18
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(manifest_signing_service: null,
|
21
19
|
pulp_labels: null,
|
20
|
+
retain_repo_versions: null,
|
21
|
+
name: null,
|
22
22
|
description: null)
|
23
23
|
```
|
24
24
|
|
@@ -4,30 +4,30 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | A unique name for this repository. |
|
8
7
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
9
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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
8
|
**pulp_href** | **String** | | [optional] [readonly]
|
9
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
12
10
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
11
|
+
**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
|
+
**name** | **String** | A unique name for this repository. |
|
13
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
13
14
|
**versions_href** | **String** | | [optional] [readonly]
|
14
15
|
**description** | **String** | An optional description. | [optional]
|
15
|
-
**latest_version_href** | **String** | | [optional] [readonly]
|
16
16
|
|
17
17
|
## Code Sample
|
18
18
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
23
|
-
manifest_signing_service: null,
|
24
|
-
pulp_created: null,
|
25
|
-
retain_repo_versions: null,
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(manifest_signing_service: null,
|
26
23
|
pulp_href: null,
|
24
|
+
latest_version_href: null,
|
27
25
|
pulp_labels: null,
|
26
|
+
retain_repo_versions: null,
|
27
|
+
name: null,
|
28
|
+
pulp_created: null,
|
28
29
|
versions_href: null,
|
29
|
-
description: null
|
30
|
-
latest_version_href: null)
|
30
|
+
description: null)
|
31
31
|
```
|
32
32
|
|
33
33
|
|
@@ -5,9 +5,9 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
8
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
11
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
@@ -19,9 +19,9 @@ Name | Type | Description | Notes
|
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
21
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
|
22
|
-
name: null,
|
23
|
-
content_guard: null,
|
24
22
|
pulp_labels: null,
|
23
|
+
content_guard: null,
|
24
|
+
name: null,
|
25
25
|
base_path: null,
|
26
26
|
repository_version: null,
|
27
27
|
private: null,
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | A unique name for this repository. | [optional]
|
8
7
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [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
8
|
**pulp_labels** | [**Object**](.md) | | [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
|
+
**name** | **String** | A unique name for this repository. | [optional]
|
11
11
|
**description** | **String** | An optional description. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
@@ -15,10 +15,10 @@ Name | Type | Description | Notes
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
19
|
-
manifest_signing_service: null,
|
20
|
-
retain_repo_versions: null,
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(manifest_signing_service: null,
|
21
19
|
pulp_labels: null,
|
20
|
+
retain_repo_versions: null,
|
21
|
+
name: null,
|
22
22
|
description: null)
|
23
23
|
```
|
24
24
|
|
@@ -18,13 +18,13 @@ module PulpContainerClient
|
|
18
18
|
# The latest RepositoryVersion for this Repository will be served.
|
19
19
|
attr_accessor :repository
|
20
20
|
|
21
|
-
|
22
|
-
attr_accessor :name
|
21
|
+
attr_accessor :pulp_labels
|
23
22
|
|
24
23
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
24
|
attr_accessor :content_guard
|
26
25
|
|
27
|
-
|
26
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
27
|
+
attr_accessor :name
|
28
28
|
|
29
29
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
30
30
|
attr_accessor :base_path
|
@@ -42,9 +42,9 @@ module PulpContainerClient
|
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
44
|
:'repository' => :'repository',
|
45
|
-
:'name' => :'name',
|
46
|
-
:'content_guard' => :'content_guard',
|
47
45
|
:'pulp_labels' => :'pulp_labels',
|
46
|
+
:'content_guard' => :'content_guard',
|
47
|
+
:'name' => :'name',
|
48
48
|
:'base_path' => :'base_path',
|
49
49
|
:'repository_version' => :'repository_version',
|
50
50
|
:'private' => :'private',
|
@@ -56,9 +56,9 @@ module PulpContainerClient
|
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
58
|
:'repository' => :'String',
|
59
|
-
:'name' => :'String',
|
60
|
-
:'content_guard' => :'String',
|
61
59
|
:'pulp_labels' => :'Object',
|
60
|
+
:'content_guard' => :'String',
|
61
|
+
:'name' => :'String',
|
62
62
|
:'base_path' => :'String',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
@@ -94,16 +94,16 @@ module PulpContainerClient
|
|
94
94
|
self.repository = attributes[:'repository']
|
95
95
|
end
|
96
96
|
|
97
|
-
if attributes.key?(:'
|
98
|
-
self.
|
97
|
+
if attributes.key?(:'pulp_labels')
|
98
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
99
99
|
end
|
100
100
|
|
101
101
|
if attributes.key?(:'content_guard')
|
102
102
|
self.content_guard = attributes[:'content_guard']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
105
|
+
if attributes.key?(:'name')
|
106
|
+
self.name = attributes[:'name']
|
107
107
|
end
|
108
108
|
|
109
109
|
if attributes.key?(:'base_path')
|
@@ -205,9 +205,9 @@ module PulpContainerClient
|
|
205
205
|
return true if self.equal?(o)
|
206
206
|
self.class == o.class &&
|
207
207
|
repository == o.repository &&
|
208
|
-
name == o.name &&
|
209
|
-
content_guard == o.content_guard &&
|
210
208
|
pulp_labels == o.pulp_labels &&
|
209
|
+
content_guard == o.content_guard &&
|
210
|
+
name == o.name &&
|
211
211
|
base_path == o.base_path &&
|
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
|
-
[repository,
|
226
|
+
[repository, pulp_labels, content_guard, name, base_path, repository_version, private, description].hash
|
227
227
|
end
|
228
228
|
|
229
229
|
# Builds the object from hash
|
@@ -15,21 +15,21 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
+
# Timestamp of creation.
|
19
|
+
attr_accessor :pulp_created
|
20
|
+
|
21
|
+
attr_accessor :pulp_href
|
22
|
+
|
18
23
|
# The latest RepositoryVersion for this Repository will be served.
|
19
24
|
attr_accessor :repository
|
20
25
|
|
21
|
-
|
22
|
-
attr_accessor :name
|
26
|
+
attr_accessor :pulp_labels
|
23
27
|
|
24
28
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
29
|
attr_accessor :content_guard
|
26
30
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
29
|
-
|
30
|
-
attr_accessor :pulp_href
|
31
|
-
|
32
|
-
attr_accessor :pulp_labels
|
31
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
32
|
+
attr_accessor :name
|
33
33
|
|
34
34
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
35
35
|
attr_accessor :base_path
|
@@ -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
|
-
:'repository' => :'repository',
|
56
|
-
:'name' => :'name',
|
57
|
-
:'content_guard' => :'content_guard',
|
58
55
|
:'pulp_created' => :'pulp_created',
|
59
56
|
:'pulp_href' => :'pulp_href',
|
57
|
+
:'repository' => :'repository',
|
60
58
|
:'pulp_labels' => :'pulp_labels',
|
59
|
+
:'content_guard' => :'content_guard',
|
60
|
+
:'name' => :'name',
|
61
61
|
:'base_path' => :'base_path',
|
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
|
-
:'repository' => :'String',
|
74
|
-
:'name' => :'String',
|
75
|
-
:'content_guard' => :'String',
|
76
73
|
:'pulp_created' => :'DateTime',
|
77
74
|
:'pulp_href' => :'String',
|
75
|
+
:'repository' => :'String',
|
78
76
|
:'pulp_labels' => :'Object',
|
77
|
+
:'content_guard' => :'String',
|
78
|
+
:'name' => :'String',
|
79
79
|
:'base_path' => :'String',
|
80
80
|
:'repository_version' => :'String',
|
81
81
|
:'registry_path' => :'String',
|
@@ -109,18 +109,6 @@ module PulpContainerClient
|
|
109
109
|
h[k.to_sym] = v
|
110
110
|
}
|
111
111
|
|
112
|
-
if attributes.key?(:'repository')
|
113
|
-
self.repository = attributes[:'repository']
|
114
|
-
end
|
115
|
-
|
116
|
-
if attributes.key?(:'name')
|
117
|
-
self.name = attributes[:'name']
|
118
|
-
end
|
119
|
-
|
120
|
-
if attributes.key?(:'content_guard')
|
121
|
-
self.content_guard = attributes[:'content_guard']
|
122
|
-
end
|
123
|
-
|
124
112
|
if attributes.key?(:'pulp_created')
|
125
113
|
self.pulp_created = attributes[:'pulp_created']
|
126
114
|
end
|
@@ -129,10 +117,22 @@ module PulpContainerClient
|
|
129
117
|
self.pulp_href = attributes[:'pulp_href']
|
130
118
|
end
|
131
119
|
|
120
|
+
if attributes.key?(:'repository')
|
121
|
+
self.repository = attributes[:'repository']
|
122
|
+
end
|
123
|
+
|
132
124
|
if attributes.key?(:'pulp_labels')
|
133
125
|
self.pulp_labels = attributes[:'pulp_labels']
|
134
126
|
end
|
135
127
|
|
128
|
+
if attributes.key?(:'content_guard')
|
129
|
+
self.content_guard = attributes[:'content_guard']
|
130
|
+
end
|
131
|
+
|
132
|
+
if attributes.key?(:'name')
|
133
|
+
self.name = attributes[:'name']
|
134
|
+
end
|
135
|
+
|
136
136
|
if attributes.key?(:'base_path')
|
137
137
|
self.base_path = attributes[:'base_path']
|
138
138
|
end
|
@@ -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
|
-
repository == o.repository &&
|
190
|
-
name == o.name &&
|
191
|
-
content_guard == o.content_guard &&
|
192
189
|
pulp_created == o.pulp_created &&
|
193
190
|
pulp_href == o.pulp_href &&
|
191
|
+
repository == o.repository &&
|
194
192
|
pulp_labels == o.pulp_labels &&
|
193
|
+
content_guard == o.content_guard &&
|
194
|
+
name == o.name &&
|
195
195
|
base_path == o.base_path &&
|
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
|
+
[pulp_created, pulp_href, repository, pulp_labels, content_guard, name, base_path, repository_version, registry_path, namespace, private, description].hash
|
213
213
|
end
|
214
214
|
|
215
215
|
# Builds the object from hash
|
@@ -15,16 +15,16 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class ContainerContainerPushRepository
|
18
|
-
# A unique name for this repository.
|
19
|
-
attr_accessor :name
|
20
|
-
|
21
18
|
# A reference to an associated signing service.
|
22
19
|
attr_accessor :manifest_signing_service
|
23
20
|
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
24
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.
|
25
24
|
attr_accessor :retain_repo_versions
|
26
25
|
|
27
|
-
|
26
|
+
# A unique name for this repository.
|
27
|
+
attr_accessor :name
|
28
28
|
|
29
29
|
# An optional description.
|
30
30
|
attr_accessor :description
|
@@ -32,10 +32,10 @@ module PulpContainerClient
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
|
-
:'name' => :'name',
|
36
35
|
:'manifest_signing_service' => :'manifest_signing_service',
|
37
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
38
36
|
:'pulp_labels' => :'pulp_labels',
|
37
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
38
|
+
:'name' => :'name',
|
39
39
|
:'description' => :'description'
|
40
40
|
}
|
41
41
|
end
|
@@ -43,10 +43,10 @@ module PulpContainerClient
|
|
43
43
|
# Attribute type mapping.
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
|
-
:'name' => :'String',
|
47
46
|
:'manifest_signing_service' => :'String',
|
48
|
-
:'retain_repo_versions' => :'Integer',
|
49
47
|
:'pulp_labels' => :'Object',
|
48
|
+
:'retain_repo_versions' => :'Integer',
|
49
|
+
:'name' => :'String',
|
50
50
|
:'description' => :'String'
|
51
51
|
}
|
52
52
|
end
|
@@ -75,20 +75,20 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
-
if attributes.key?(:'name')
|
79
|
-
self.name = attributes[:'name']
|
80
|
-
end
|
81
|
-
|
82
78
|
if attributes.key?(:'manifest_signing_service')
|
83
79
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
84
80
|
end
|
85
81
|
|
82
|
+
if attributes.key?(:'pulp_labels')
|
83
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
84
|
+
end
|
85
|
+
|
86
86
|
if attributes.key?(:'retain_repo_versions')
|
87
87
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
88
88
|
end
|
89
89
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
90
|
+
if attributes.key?(:'name')
|
91
|
+
self.name = attributes[:'name']
|
92
92
|
end
|
93
93
|
|
94
94
|
if attributes.key?(:'description')
|
@@ -100,6 +100,10 @@ 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
|
+
|
103
107
|
if @name.nil?
|
104
108
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
105
109
|
end
|
@@ -108,10 +112,6 @@ module PulpContainerClient
|
|
108
112
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
109
113
|
end
|
110
114
|
|
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,13 +122,23 @@ 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
|
125
126
|
return false if @name.nil?
|
126
127
|
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
|
+
|
132
142
|
# Custom attribute writer method with validation
|
133
143
|
# @param [Object] name Value to be assigned
|
134
144
|
def name=(name)
|
@@ -143,16 +153,6 @@ module PulpContainerClient
|
|
143
153
|
@name = name
|
144
154
|
end
|
145
155
|
|
146
|
-
# Custom attribute writer method with validation
|
147
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
148
|
-
def retain_repo_versions=(retain_repo_versions)
|
149
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
150
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
151
|
-
end
|
152
|
-
|
153
|
-
@retain_repo_versions = retain_repo_versions
|
154
|
-
end
|
155
|
-
|
156
156
|
# Custom attribute writer method with validation
|
157
157
|
# @param [Object] description Value to be assigned
|
158
158
|
def description=(description)
|
@@ -168,10 +168,10 @@ module PulpContainerClient
|
|
168
168
|
def ==(o)
|
169
169
|
return true if self.equal?(o)
|
170
170
|
self.class == o.class &&
|
171
|
-
name == o.name &&
|
172
171
|
manifest_signing_service == o.manifest_signing_service &&
|
173
|
-
retain_repo_versions == o.retain_repo_versions &&
|
174
172
|
pulp_labels == o.pulp_labels &&
|
173
|
+
retain_repo_versions == o.retain_repo_versions &&
|
174
|
+
name == o.name &&
|
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
|
-
[
|
187
|
+
[manifest_signing_service, pulp_labels, retain_repo_versions, name, description].hash
|
188
188
|
end
|
189
189
|
|
190
190
|
# Builds the object from hash
|
@@ -15,56 +15,56 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
18
|
-
# A unique name for this repository.
|
19
|
-
attr_accessor :name
|
20
|
-
|
21
18
|
# A reference to an associated signing service.
|
22
19
|
attr_accessor :manifest_signing_service
|
23
20
|
|
24
|
-
|
25
|
-
|
21
|
+
attr_accessor :pulp_href
|
22
|
+
|
23
|
+
attr_accessor :latest_version_href
|
24
|
+
|
25
|
+
attr_accessor :pulp_labels
|
26
26
|
|
27
27
|
# 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
28
|
attr_accessor :retain_repo_versions
|
29
29
|
|
30
|
-
|
30
|
+
# A unique name for this repository.
|
31
|
+
attr_accessor :name
|
31
32
|
|
32
|
-
|
33
|
+
# Timestamp of creation.
|
34
|
+
attr_accessor :pulp_created
|
33
35
|
|
34
36
|
attr_accessor :versions_href
|
35
37
|
|
36
38
|
# An optional description.
|
37
39
|
attr_accessor :description
|
38
40
|
|
39
|
-
attr_accessor :latest_version_href
|
40
|
-
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'name' => :'name',
|
45
44
|
:'manifest_signing_service' => :'manifest_signing_service',
|
46
|
-
:'pulp_created' => :'pulp_created',
|
47
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
48
45
|
:'pulp_href' => :'pulp_href',
|
46
|
+
:'latest_version_href' => :'latest_version_href',
|
49
47
|
:'pulp_labels' => :'pulp_labels',
|
48
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
49
|
+
:'name' => :'name',
|
50
|
+
:'pulp_created' => :'pulp_created',
|
50
51
|
:'versions_href' => :'versions_href',
|
51
|
-
:'description' => :'description'
|
52
|
-
:'latest_version_href' => :'latest_version_href'
|
52
|
+
:'description' => :'description'
|
53
53
|
}
|
54
54
|
end
|
55
55
|
|
56
56
|
# Attribute type mapping.
|
57
57
|
def self.openapi_types
|
58
58
|
{
|
59
|
-
:'name' => :'String',
|
60
59
|
:'manifest_signing_service' => :'String',
|
61
|
-
:'pulp_created' => :'DateTime',
|
62
|
-
:'retain_repo_versions' => :'Integer',
|
63
60
|
:'pulp_href' => :'String',
|
61
|
+
:'latest_version_href' => :'String',
|
64
62
|
:'pulp_labels' => :'Object',
|
63
|
+
:'retain_repo_versions' => :'Integer',
|
64
|
+
:'name' => :'String',
|
65
|
+
:'pulp_created' => :'DateTime',
|
65
66
|
:'versions_href' => :'String',
|
66
|
-
:'description' => :'String'
|
67
|
-
:'latest_version_href' => :'String'
|
67
|
+
:'description' => :'String'
|
68
68
|
}
|
69
69
|
end
|
70
70
|
|
@@ -73,7 +73,7 @@ module PulpContainerClient
|
|
73
73
|
Set.new([
|
74
74
|
:'manifest_signing_service',
|
75
75
|
:'retain_repo_versions',
|
76
|
-
:'description'
|
76
|
+
:'description'
|
77
77
|
])
|
78
78
|
end
|
79
79
|
|
@@ -92,28 +92,32 @@ module PulpContainerClient
|
|
92
92
|
h[k.to_sym] = v
|
93
93
|
}
|
94
94
|
|
95
|
-
if attributes.key?(:'name')
|
96
|
-
self.name = attributes[:'name']
|
97
|
-
end
|
98
|
-
|
99
95
|
if attributes.key?(:'manifest_signing_service')
|
100
96
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
101
97
|
end
|
102
98
|
|
103
|
-
if attributes.key?(:'
|
104
|
-
self.
|
99
|
+
if attributes.key?(:'pulp_href')
|
100
|
+
self.pulp_href = attributes[:'pulp_href']
|
101
|
+
end
|
102
|
+
|
103
|
+
if attributes.key?(:'latest_version_href')
|
104
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
105
|
+
end
|
106
|
+
|
107
|
+
if attributes.key?(:'pulp_labels')
|
108
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
105
109
|
end
|
106
110
|
|
107
111
|
if attributes.key?(:'retain_repo_versions')
|
108
112
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
109
113
|
end
|
110
114
|
|
111
|
-
if attributes.key?(:'
|
112
|
-
self.
|
115
|
+
if attributes.key?(:'name')
|
116
|
+
self.name = attributes[:'name']
|
113
117
|
end
|
114
118
|
|
115
|
-
if attributes.key?(:'
|
116
|
-
self.
|
119
|
+
if attributes.key?(:'pulp_created')
|
120
|
+
self.pulp_created = attributes[:'pulp_created']
|
117
121
|
end
|
118
122
|
|
119
123
|
if attributes.key?(:'versions_href')
|
@@ -123,32 +127,28 @@ module PulpContainerClient
|
|
123
127
|
if attributes.key?(:'description')
|
124
128
|
self.description = attributes[:'description']
|
125
129
|
end
|
126
|
-
|
127
|
-
if attributes.key?(:'latest_version_href')
|
128
|
-
self.latest_version_href = attributes[:'latest_version_href']
|
129
|
-
end
|
130
130
|
end
|
131
131
|
|
132
132
|
# Show invalid properties with the reasons. Usually used together with valid?
|
133
133
|
# @return Array for valid properties with the reasons
|
134
134
|
def list_invalid_properties
|
135
135
|
invalid_properties = Array.new
|
136
|
-
if @name.nil?
|
137
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
138
|
-
end
|
139
|
-
|
140
136
|
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
141
137
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
142
138
|
end
|
143
139
|
|
140
|
+
if @name.nil?
|
141
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
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 @name.nil?
|
151
150
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
151
|
+
return false if @name.nil?
|
152
152
|
true
|
153
153
|
end
|
154
154
|
|
@@ -167,15 +167,15 @@ module PulpContainerClient
|
|
167
167
|
def ==(o)
|
168
168
|
return true if self.equal?(o)
|
169
169
|
self.class == o.class &&
|
170
|
-
name == o.name &&
|
171
170
|
manifest_signing_service == o.manifest_signing_service &&
|
172
|
-
pulp_created == o.pulp_created &&
|
173
|
-
retain_repo_versions == o.retain_repo_versions &&
|
174
171
|
pulp_href == o.pulp_href &&
|
172
|
+
latest_version_href == o.latest_version_href &&
|
175
173
|
pulp_labels == o.pulp_labels &&
|
174
|
+
retain_repo_versions == o.retain_repo_versions &&
|
175
|
+
name == o.name &&
|
176
|
+
pulp_created == o.pulp_created &&
|
176
177
|
versions_href == o.versions_href &&
|
177
|
-
description == o.description
|
178
|
-
latest_version_href == o.latest_version_href
|
178
|
+
description == o.description
|
179
179
|
end
|
180
180
|
|
181
181
|
# @see the `==` method
|
@@ -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
|
+
[manifest_signing_service, pulp_href, latest_version_href, pulp_labels, retain_repo_versions, name, pulp_created, versions_href, description].hash
|
191
191
|
end
|
192
192
|
|
193
193
|
# Builds the object from hash
|
@@ -18,13 +18,13 @@ module PulpContainerClient
|
|
18
18
|
# The latest RepositoryVersion for this Repository will be served.
|
19
19
|
attr_accessor :repository
|
20
20
|
|
21
|
-
|
22
|
-
attr_accessor :name
|
21
|
+
attr_accessor :pulp_labels
|
23
22
|
|
24
23
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
24
|
attr_accessor :content_guard
|
26
25
|
|
27
|
-
|
26
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
27
|
+
attr_accessor :name
|
28
28
|
|
29
29
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
30
30
|
attr_accessor :base_path
|
@@ -42,9 +42,9 @@ module PulpContainerClient
|
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
44
|
:'repository' => :'repository',
|
45
|
-
:'name' => :'name',
|
46
|
-
:'content_guard' => :'content_guard',
|
47
45
|
:'pulp_labels' => :'pulp_labels',
|
46
|
+
:'content_guard' => :'content_guard',
|
47
|
+
:'name' => :'name',
|
48
48
|
:'base_path' => :'base_path',
|
49
49
|
:'repository_version' => :'repository_version',
|
50
50
|
:'private' => :'private',
|
@@ -56,9 +56,9 @@ module PulpContainerClient
|
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
58
|
:'repository' => :'String',
|
59
|
-
:'name' => :'String',
|
60
|
-
:'content_guard' => :'String',
|
61
59
|
:'pulp_labels' => :'Object',
|
60
|
+
:'content_guard' => :'String',
|
61
|
+
:'name' => :'String',
|
62
62
|
:'base_path' => :'String',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
@@ -94,16 +94,16 @@ module PulpContainerClient
|
|
94
94
|
self.repository = attributes[:'repository']
|
95
95
|
end
|
96
96
|
|
97
|
-
if attributes.key?(:'
|
98
|
-
self.
|
97
|
+
if attributes.key?(:'pulp_labels')
|
98
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
99
99
|
end
|
100
100
|
|
101
101
|
if attributes.key?(:'content_guard')
|
102
102
|
self.content_guard = attributes[:'content_guard']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
105
|
+
if attributes.key?(:'name')
|
106
|
+
self.name = attributes[:'name']
|
107
107
|
end
|
108
108
|
|
109
109
|
if attributes.key?(:'base_path')
|
@@ -187,9 +187,9 @@ module PulpContainerClient
|
|
187
187
|
return true if self.equal?(o)
|
188
188
|
self.class == o.class &&
|
189
189
|
repository == o.repository &&
|
190
|
-
name == o.name &&
|
191
|
-
content_guard == o.content_guard &&
|
192
190
|
pulp_labels == o.pulp_labels &&
|
191
|
+
content_guard == o.content_guard &&
|
192
|
+
name == o.name &&
|
193
193
|
base_path == o.base_path &&
|
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
|
-
[repository,
|
208
|
+
[repository, pulp_labels, content_guard, name, base_path, repository_version, private, description].hash
|
209
209
|
end
|
210
210
|
|
211
211
|
# Builds the object from hash
|
@@ -15,16 +15,16 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class PatchedcontainerContainerPushRepository
|
18
|
-
# A unique name for this repository.
|
19
|
-
attr_accessor :name
|
20
|
-
|
21
18
|
# A reference to an associated signing service.
|
22
19
|
attr_accessor :manifest_signing_service
|
23
20
|
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
24
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.
|
25
24
|
attr_accessor :retain_repo_versions
|
26
25
|
|
27
|
-
|
26
|
+
# A unique name for this repository.
|
27
|
+
attr_accessor :name
|
28
28
|
|
29
29
|
# An optional description.
|
30
30
|
attr_accessor :description
|
@@ -32,10 +32,10 @@ module PulpContainerClient
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
|
-
:'name' => :'name',
|
36
35
|
:'manifest_signing_service' => :'manifest_signing_service',
|
37
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
38
36
|
:'pulp_labels' => :'pulp_labels',
|
37
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
38
|
+
:'name' => :'name',
|
39
39
|
:'description' => :'description'
|
40
40
|
}
|
41
41
|
end
|
@@ -43,10 +43,10 @@ module PulpContainerClient
|
|
43
43
|
# Attribute type mapping.
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
|
-
:'name' => :'String',
|
47
46
|
:'manifest_signing_service' => :'String',
|
48
|
-
:'retain_repo_versions' => :'Integer',
|
49
47
|
:'pulp_labels' => :'Object',
|
48
|
+
:'retain_repo_versions' => :'Integer',
|
49
|
+
:'name' => :'String',
|
50
50
|
:'description' => :'String'
|
51
51
|
}
|
52
52
|
end
|
@@ -75,20 +75,20 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
-
if attributes.key?(:'name')
|
79
|
-
self.name = attributes[:'name']
|
80
|
-
end
|
81
|
-
|
82
78
|
if attributes.key?(:'manifest_signing_service')
|
83
79
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
84
80
|
end
|
85
81
|
|
82
|
+
if attributes.key?(:'pulp_labels')
|
83
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
84
|
+
end
|
85
|
+
|
86
86
|
if attributes.key?(:'retain_repo_versions')
|
87
87
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
88
88
|
end
|
89
89
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
90
|
+
if attributes.key?(:'name')
|
91
|
+
self.name = attributes[:'name']
|
92
92
|
end
|
93
93
|
|
94
94
|
if attributes.key?(:'description')
|
@@ -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 !@name.nil? && @name.to_s.length < 1
|
104
|
-
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
105
|
-
end
|
106
|
-
|
107
103
|
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
108
104
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
109
105
|
end
|
110
106
|
|
107
|
+
if !@name.nil? && @name.to_s.length < 1
|
108
|
+
invalid_properties.push('invalid value for "name", the character length must be great 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 !@name.nil? && @name.to_s.length < 1
|
122
121
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
122
|
+
return false if !@name.nil? && @name.to_s.length < 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] name Value to be assigned
|
129
|
-
def name=(name)
|
130
|
-
if !name.nil? && name.to_s.length < 1
|
131
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
132
|
-
end
|
133
|
-
|
134
|
-
@name = name
|
135
|
-
end
|
136
|
-
|
137
127
|
# Custom attribute writer method with validation
|
138
128
|
# @param [Object] retain_repo_versions Value to be assigned
|
139
129
|
def retain_repo_versions=(retain_repo_versions)
|
@@ -144,6 +134,16 @@ module PulpContainerClient
|
|
144
134
|
@retain_repo_versions = retain_repo_versions
|
145
135
|
end
|
146
136
|
|
137
|
+
# Custom attribute writer method with validation
|
138
|
+
# @param [Object] name Value to be assigned
|
139
|
+
def name=(name)
|
140
|
+
if !name.nil? && name.to_s.length < 1
|
141
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
142
|
+
end
|
143
|
+
|
144
|
+
@name = name
|
145
|
+
end
|
146
|
+
|
147
147
|
# Custom attribute writer method with validation
|
148
148
|
# @param [Object] description Value to be assigned
|
149
149
|
def description=(description)
|
@@ -159,10 +159,10 @@ module PulpContainerClient
|
|
159
159
|
def ==(o)
|
160
160
|
return true if self.equal?(o)
|
161
161
|
self.class == o.class &&
|
162
|
-
name == o.name &&
|
163
162
|
manifest_signing_service == o.manifest_signing_service &&
|
164
|
-
retain_repo_versions == o.retain_repo_versions &&
|
165
163
|
pulp_labels == o.pulp_labels &&
|
164
|
+
retain_repo_versions == o.retain_repo_versions &&
|
165
|
+
name == o.name &&
|
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
|
-
[
|
178
|
+
[manifest_signing_service, pulp_labels, retain_repo_versions, name, description].hash
|
179
179
|
end
|
180
180
|
|
181
181
|
# Builds the object from hash
|
@@ -32,37 +32,37 @@ 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 "pulp_created"' 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_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 "repository"' 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_labels"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "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
|
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
|
@@ -38,7 +38,7 @@ describe 'ContainerContainerDistribution' do
|
|
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,7 +50,7 @@ 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
|
@@ -32,55 +32,55 @@ 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 "manifest_signing_service"' 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_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 "latest_version_href"' 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_labels"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "retain_repo_versions"' 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 "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
|
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
|
81
81
|
end
|
82
82
|
|
83
|
-
describe 'test attribute "
|
83
|
+
describe 'test attribute "description"' do
|
84
84
|
it 'should work' do
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
86
|
end
|
@@ -32,13 +32,13 @@ describe 'ContainerContainerPushRepository' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepository)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "manifest_signing_service"' 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,7 +50,7 @@ describe 'ContainerContainerPushRepository' 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
|
@@ -38,7 +38,7 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
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,7 +50,7 @@ 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
|
@@ -32,13 +32,13 @@ describe 'PatchedcontainerContainerPushRepository' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerPushRepository)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "manifest_signing_service"' 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,7 +50,7 @@ describe 'PatchedcontainerContainerPushRepository' 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
|
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.dev1667360775
|
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
|
+
date: 2022-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|