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