pulp_container_client 2.15.3 → 2.15.5
Sign up to get free protection for your applications and to get access to all the features.
- 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 +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/PatchedcontainerContainerDistribution.md +2 -2
- 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 +27 -27
- data/lib/pulp_container_client/models/container_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +44 -44
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +11 -11
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +5 -5
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +53 -53
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fa61db3ac8f1245fc2573f79c33fe0c5895af965d071417418cce1f3a93f2f7
|
4
|
+
data.tar.gz: 7a1b979bb7095e2663bc622e3c3ccdcced1f6231ab8516d6e5fe94e7b6eab098
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 625db410d6242de18a914148fcef1457040d4f977aa425bf54e19b51d091d741539729b57f268fe9f08e821a971baec65767d87b1d0c54db41ed523dfbba325a
|
7
|
+
data.tar.gz: e3e8bdb15b8cc71ce479db03b2e6cc8f58fa625922dc5963383d7959d887a82f944a8c5a9ee43af0843f39015e7291c20a0661cdc09d55c0a43b469b9edc0f70
|
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.
|
10
|
+
- Package version: 2.15.5
|
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.
|
27
|
+
gem install ./pulp_container_client-2.15.5.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.15.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.15.5.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.
|
36
|
+
gem 'pulp_container_client', '~> 2.15.5'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -5,10 +5,10 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
8
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
8
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
14
14
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
@@ -20,10 +20,10 @@ Name | Type | Description | Notes
|
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
22
|
instance = PulpContainerClient::ContainerContainerDistribution.new(hidden: null,
|
23
|
-
repository: null,
|
24
23
|
base_path: null,
|
25
24
|
content_guard: null,
|
26
25
|
pulp_labels: null,
|
26
|
+
repository: null,
|
27
27
|
name: null,
|
28
28
|
repository_version: null,
|
29
29
|
private: null,
|
@@ -5,12 +5,12 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
8
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
9
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
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\") |
|
11
|
-
**
|
9
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
12
10
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
13
12
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
13
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
14
14
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
15
15
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
16
16
|
**registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
@@ -24,12 +24,12 @@ Name | Type | Description | Notes
|
|
24
24
|
require 'PulpContainerClient'
|
25
25
|
|
26
26
|
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(hidden: null,
|
27
|
-
pulp_href: null,
|
28
|
-
repository: null,
|
29
27
|
base_path: null,
|
30
|
-
|
28
|
+
pulp_href: null,
|
31
29
|
pulp_created: null,
|
30
|
+
content_guard: null,
|
32
31
|
pulp_labels: null,
|
32
|
+
repository: null,
|
33
33
|
name: null,
|
34
34
|
repository_version: null,
|
35
35
|
registry_path: null,
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
7
9
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
8
10
|
**description** | **String** | An optional description. | [optional]
|
9
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
10
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
11
|
**name** | **String** | A unique name for this repository. |
|
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
|
-
description: null,
|
18
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(pulp_labels: null,
|
20
19
|
retain_repo_versions: null,
|
21
|
-
|
20
|
+
manifest_signing_service: null,
|
21
|
+
description: null,
|
22
22
|
name: null)
|
23
23
|
```
|
24
24
|
|
@@ -4,14 +4,14 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
8
|
-
**description** | **String** | An optional description. | [optional]
|
9
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
10
|
-
**versions_href** | **String** | | [optional] [readonly]
|
11
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
12
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
13
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
14
11
|
**latest_version_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
|
+
**versions_href** | **String** | | [optional] [readonly]
|
15
15
|
**name** | **String** | A unique name for this repository. |
|
16
16
|
|
17
17
|
## Code Sample
|
@@ -19,14 +19,14 @@ Name | Type | Description | Notes
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
23
|
-
description: null,
|
24
|
-
pulp_href: null,
|
25
|
-
versions_href: null,
|
26
|
-
retain_repo_versions: null,
|
27
|
-
pulp_labels: null,
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_href: null,
|
28
23
|
pulp_created: null,
|
24
|
+
pulp_labels: null,
|
25
|
+
retain_repo_versions: null,
|
29
26
|
latest_version_href: null,
|
27
|
+
manifest_signing_service: null,
|
28
|
+
description: null,
|
29
|
+
versions_href: null,
|
30
30
|
name: null)
|
31
31
|
```
|
32
32
|
|
@@ -5,10 +5,10 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
8
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [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
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
13
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
14
14
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
@@ -20,10 +20,10 @@ Name | Type | Description | Notes
|
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
22
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(hidden: null,
|
23
|
-
repository: null,
|
24
23
|
base_path: null,
|
25
24
|
content_guard: null,
|
26
25
|
pulp_labels: null,
|
26
|
+
repository: null,
|
27
27
|
name: null,
|
28
28
|
repository_version: null,
|
29
29
|
private: null,
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
7
9
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
8
10
|
**description** | **String** | An optional description. | [optional]
|
9
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
10
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
11
|
**name** | **String** | A unique name for this repository. | [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
|
-
description: null,
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(pulp_labels: null,
|
20
19
|
retain_repo_versions: null,
|
21
|
-
|
20
|
+
manifest_signing_service: null,
|
21
|
+
description: null,
|
22
22
|
name: null)
|
23
23
|
```
|
24
24
|
|
@@ -18,9 +18,6 @@ module PulpContainerClient
|
|
18
18
|
# Whether this distribution should be shown in the content app.
|
19
19
|
attr_accessor :hidden
|
20
20
|
|
21
|
-
# The latest RepositoryVersion for this Repository will be served.
|
22
|
-
attr_accessor :repository
|
23
|
-
|
24
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\")
|
25
22
|
attr_accessor :base_path
|
26
23
|
|
@@ -29,6 +26,9 @@ module PulpContainerClient
|
|
29
26
|
|
30
27
|
attr_accessor :pulp_labels
|
31
28
|
|
29
|
+
# The latest RepositoryVersion for this Repository will be served.
|
30
|
+
attr_accessor :repository
|
31
|
+
|
32
32
|
# A unique name. Ex, `rawhide` and `stable`.
|
33
33
|
attr_accessor :name
|
34
34
|
|
@@ -45,10 +45,10 @@ module PulpContainerClient
|
|
45
45
|
def self.attribute_map
|
46
46
|
{
|
47
47
|
:'hidden' => :'hidden',
|
48
|
-
:'repository' => :'repository',
|
49
48
|
:'base_path' => :'base_path',
|
50
49
|
:'content_guard' => :'content_guard',
|
51
50
|
:'pulp_labels' => :'pulp_labels',
|
51
|
+
:'repository' => :'repository',
|
52
52
|
:'name' => :'name',
|
53
53
|
:'repository_version' => :'repository_version',
|
54
54
|
:'private' => :'private',
|
@@ -60,10 +60,10 @@ module PulpContainerClient
|
|
60
60
|
def self.openapi_types
|
61
61
|
{
|
62
62
|
:'hidden' => :'Boolean',
|
63
|
-
:'repository' => :'String',
|
64
63
|
:'base_path' => :'String',
|
65
64
|
:'content_guard' => :'String',
|
66
65
|
:'pulp_labels' => :'Hash<String, String>',
|
66
|
+
:'repository' => :'String',
|
67
67
|
:'name' => :'String',
|
68
68
|
:'repository_version' => :'String',
|
69
69
|
:'private' => :'Boolean',
|
@@ -101,10 +101,6 @@ module PulpContainerClient
|
|
101
101
|
self.hidden = false
|
102
102
|
end
|
103
103
|
|
104
|
-
if attributes.key?(:'repository')
|
105
|
-
self.repository = attributes[:'repository']
|
106
|
-
end
|
107
|
-
|
108
104
|
if attributes.key?(:'base_path')
|
109
105
|
self.base_path = attributes[:'base_path']
|
110
106
|
end
|
@@ -119,6 +115,10 @@ module PulpContainerClient
|
|
119
115
|
end
|
120
116
|
end
|
121
117
|
|
118
|
+
if attributes.key?(:'repository')
|
119
|
+
self.repository = attributes[:'repository']
|
120
|
+
end
|
121
|
+
|
122
122
|
if attributes.key?(:'name')
|
123
123
|
self.name = attributes[:'name']
|
124
124
|
end
|
@@ -218,10 +218,10 @@ module PulpContainerClient
|
|
218
218
|
return true if self.equal?(o)
|
219
219
|
self.class == o.class &&
|
220
220
|
hidden == o.hidden &&
|
221
|
-
repository == o.repository &&
|
222
221
|
base_path == o.base_path &&
|
223
222
|
content_guard == o.content_guard &&
|
224
223
|
pulp_labels == o.pulp_labels &&
|
224
|
+
repository == o.repository &&
|
225
225
|
name == o.name &&
|
226
226
|
repository_version == o.repository_version &&
|
227
227
|
private == o.private &&
|
@@ -237,7 +237,7 @@ module PulpContainerClient
|
|
237
237
|
# Calculates hash code according to all attributes.
|
238
238
|
# @return [Integer] Hash code
|
239
239
|
def hash
|
240
|
-
[hidden,
|
240
|
+
[hidden, base_path, content_guard, pulp_labels, repository, name, repository_version, private, description].hash
|
241
241
|
end
|
242
242
|
|
243
243
|
# Builds the object from hash
|
@@ -18,22 +18,22 @@ module PulpContainerClient
|
|
18
18
|
# Whether this distribution should be shown in the content app.
|
19
19
|
attr_accessor :hidden
|
20
20
|
|
21
|
-
attr_accessor :pulp_href
|
22
|
-
|
23
|
-
# The latest RepositoryVersion for this Repository will be served.
|
24
|
-
attr_accessor :repository
|
25
|
-
|
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
|
-
|
30
|
-
attr_accessor :content_guard
|
24
|
+
attr_accessor :pulp_href
|
31
25
|
|
32
26
|
# Timestamp of creation.
|
33
27
|
attr_accessor :pulp_created
|
34
28
|
|
29
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
30
|
+
attr_accessor :content_guard
|
31
|
+
|
35
32
|
attr_accessor :pulp_labels
|
36
33
|
|
34
|
+
# The latest RepositoryVersion for this Repository will be served.
|
35
|
+
attr_accessor :repository
|
36
|
+
|
37
37
|
# A unique name. Ex, `rawhide` and `stable`.
|
38
38
|
attr_accessor :name
|
39
39
|
|
@@ -56,12 +56,12 @@ module PulpContainerClient
|
|
56
56
|
def self.attribute_map
|
57
57
|
{
|
58
58
|
:'hidden' => :'hidden',
|
59
|
-
:'pulp_href' => :'pulp_href',
|
60
|
-
:'repository' => :'repository',
|
61
59
|
:'base_path' => :'base_path',
|
62
|
-
:'
|
60
|
+
:'pulp_href' => :'pulp_href',
|
63
61
|
:'pulp_created' => :'pulp_created',
|
62
|
+
:'content_guard' => :'content_guard',
|
64
63
|
:'pulp_labels' => :'pulp_labels',
|
64
|
+
:'repository' => :'repository',
|
65
65
|
:'name' => :'name',
|
66
66
|
:'repository_version' => :'repository_version',
|
67
67
|
:'registry_path' => :'registry_path',
|
@@ -75,12 +75,12 @@ module PulpContainerClient
|
|
75
75
|
def self.openapi_types
|
76
76
|
{
|
77
77
|
:'hidden' => :'Boolean',
|
78
|
-
:'pulp_href' => :'String',
|
79
|
-
:'repository' => :'String',
|
80
78
|
:'base_path' => :'String',
|
81
|
-
:'
|
79
|
+
:'pulp_href' => :'String',
|
82
80
|
:'pulp_created' => :'DateTime',
|
81
|
+
:'content_guard' => :'String',
|
83
82
|
:'pulp_labels' => :'Hash<String, String>',
|
83
|
+
:'repository' => :'String',
|
84
84
|
:'name' => :'String',
|
85
85
|
:'repository_version' => :'String',
|
86
86
|
:'registry_path' => :'String',
|
@@ -120,32 +120,32 @@ module PulpContainerClient
|
|
120
120
|
self.hidden = false
|
121
121
|
end
|
122
122
|
|
123
|
-
if attributes.key?(:'pulp_href')
|
124
|
-
self.pulp_href = attributes[:'pulp_href']
|
125
|
-
end
|
126
|
-
|
127
|
-
if attributes.key?(:'repository')
|
128
|
-
self.repository = attributes[:'repository']
|
129
|
-
end
|
130
|
-
|
131
123
|
if attributes.key?(:'base_path')
|
132
124
|
self.base_path = attributes[:'base_path']
|
133
125
|
end
|
134
126
|
|
135
|
-
if attributes.key?(:'
|
136
|
-
self.
|
127
|
+
if attributes.key?(:'pulp_href')
|
128
|
+
self.pulp_href = attributes[:'pulp_href']
|
137
129
|
end
|
138
130
|
|
139
131
|
if attributes.key?(:'pulp_created')
|
140
132
|
self.pulp_created = attributes[:'pulp_created']
|
141
133
|
end
|
142
134
|
|
135
|
+
if attributes.key?(:'content_guard')
|
136
|
+
self.content_guard = attributes[:'content_guard']
|
137
|
+
end
|
138
|
+
|
143
139
|
if attributes.key?(:'pulp_labels')
|
144
140
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
145
141
|
self.pulp_labels = value
|
146
142
|
end
|
147
143
|
end
|
148
144
|
|
145
|
+
if attributes.key?(:'repository')
|
146
|
+
self.repository = attributes[:'repository']
|
147
|
+
end
|
148
|
+
|
149
149
|
if attributes.key?(:'name')
|
150
150
|
self.name = attributes[:'name']
|
151
151
|
end
|
@@ -200,12 +200,12 @@ module PulpContainerClient
|
|
200
200
|
return true if self.equal?(o)
|
201
201
|
self.class == o.class &&
|
202
202
|
hidden == o.hidden &&
|
203
|
-
pulp_href == o.pulp_href &&
|
204
|
-
repository == o.repository &&
|
205
203
|
base_path == o.base_path &&
|
206
|
-
|
204
|
+
pulp_href == o.pulp_href &&
|
207
205
|
pulp_created == o.pulp_created &&
|
206
|
+
content_guard == o.content_guard &&
|
208
207
|
pulp_labels == o.pulp_labels &&
|
208
|
+
repository == o.repository &&
|
209
209
|
name == o.name &&
|
210
210
|
repository_version == o.repository_version &&
|
211
211
|
registry_path == o.registry_path &&
|
@@ -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
|
-
[hidden,
|
226
|
+
[hidden, base_path, pulp_href, pulp_created, content_guard, pulp_labels, repository, name, repository_version, registry_path, namespace, private, description].hash
|
227
227
|
end
|
228
228
|
|
229
229
|
# Builds the object from hash
|
@@ -15,27 +15,27 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class ContainerContainerPushRepository
|
18
|
+
attr_accessor :pulp_labels
|
19
|
+
|
20
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
21
|
+
attr_accessor :retain_repo_versions
|
22
|
+
|
18
23
|
# A reference to an associated signing service.
|
19
24
|
attr_accessor :manifest_signing_service
|
20
25
|
|
21
26
|
# An optional description.
|
22
27
|
attr_accessor :description
|
23
28
|
|
24
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
25
|
-
attr_accessor :retain_repo_versions
|
26
|
-
|
27
|
-
attr_accessor :pulp_labels
|
28
|
-
|
29
29
|
# A unique name for this repository.
|
30
30
|
attr_accessor :name
|
31
31
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
|
+
:'pulp_labels' => :'pulp_labels',
|
36
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
35
37
|
:'manifest_signing_service' => :'manifest_signing_service',
|
36
38
|
:'description' => :'description',
|
37
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
38
|
-
:'pulp_labels' => :'pulp_labels',
|
39
39
|
:'name' => :'name'
|
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
|
+
:'pulp_labels' => :'Hash<String, String>',
|
47
|
+
:'retain_repo_versions' => :'Integer',
|
46
48
|
:'manifest_signing_service' => :'String',
|
47
49
|
:'description' => :'String',
|
48
|
-
:'retain_repo_versions' => :'Integer',
|
49
|
-
:'pulp_labels' => :'Hash<String, String>',
|
50
50
|
:'name' => :'String'
|
51
51
|
}
|
52
52
|
end
|
@@ -54,9 +54,9 @@ module PulpContainerClient
|
|
54
54
|
# List of attributes with nullable: true
|
55
55
|
def self.openapi_nullable
|
56
56
|
Set.new([
|
57
|
+
:'retain_repo_versions',
|
57
58
|
:'manifest_signing_service',
|
58
59
|
:'description',
|
59
|
-
:'retain_repo_versions',
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -75,22 +75,22 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
-
if attributes.key?(:'
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
if attributes.key?(:'description')
|
83
|
-
self.description = attributes[:'description']
|
78
|
+
if attributes.key?(:'pulp_labels')
|
79
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
80
|
+
self.pulp_labels = value
|
81
|
+
end
|
84
82
|
end
|
85
83
|
|
86
84
|
if attributes.key?(:'retain_repo_versions')
|
87
85
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
88
86
|
end
|
89
87
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
|
92
|
-
|
93
|
-
|
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
94
|
end
|
95
95
|
|
96
96
|
if attributes.key?(:'name')
|
@@ -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 !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
110
106
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater 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 @name.nil?
|
114
114
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
115
115
|
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 !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
128
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
129
129
|
return false if @name.nil?
|
130
130
|
return false if @name.to_s.length < 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] retain_repo_versions Value to be assigned
|
146
136
|
def retain_repo_versions=(retain_repo_versions)
|
@@ -151,6 +141,16 @@ module PulpContainerClient
|
|
151
141
|
@retain_repo_versions = retain_repo_versions
|
152
142
|
end
|
153
143
|
|
144
|
+
# Custom attribute writer method with validation
|
145
|
+
# @param [Object] description Value to be assigned
|
146
|
+
def description=(description)
|
147
|
+
if !description.nil? && description.to_s.length < 1
|
148
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
149
|
+
end
|
150
|
+
|
151
|
+
@description = description
|
152
|
+
end
|
153
|
+
|
154
154
|
# Custom attribute writer method with validation
|
155
155
|
# @param [Object] name Value to be assigned
|
156
156
|
def name=(name)
|
@@ -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
|
+
pulp_labels == o.pulp_labels &&
|
174
|
+
retain_repo_versions == o.retain_repo_versions &&
|
173
175
|
manifest_signing_service == o.manifest_signing_service &&
|
174
176
|
description == o.description &&
|
175
|
-
retain_repo_versions == o.retain_repo_versions &&
|
176
|
-
pulp_labels == o.pulp_labels &&
|
177
177
|
name == o.name
|
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
|
+
[pulp_labels, retain_repo_versions, manifest_signing_service, description, name].hash
|
190
190
|
end
|
191
191
|
|
192
192
|
# Builds the object from hash
|