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