pulp_container_client 2.16.1 → 2.16.2
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +2 -2
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +39 -39
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +11 -11
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +42 -42
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +11 -11
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +2 -2
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +2 -2
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9aef1017f810f6931f7ad590a950893f526c241277125bda8385f95885421552
|
|
4
|
+
data.tar.gz: d6146f2a09dbb4ecb93308da1993411dde8bd768481d75ace0d8b9d19341ce59
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28b36abebee5778f9c7fb50917e9b1b6cfd72395bf3cec0e66c264de4eea18aeb011f48ff17f0052c8ddc881162b8de73cbfa28b5c28729add8661296159572e
|
|
7
|
+
data.tar.gz: 3ca096b2311c62b28793b3a74bca3a7e541276b5d7e5d2eb4146da2109644fb0df7ee0665ab8084fc8449a0193afb83b9fae3c30d5f80f96851016d9d989b590
|
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.16.
|
|
10
|
+
- Package version: 2.16.2
|
|
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.16.
|
|
27
|
+
gem install ./pulp_container_client-2.16.2.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.16.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.16.2.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.16.
|
|
36
|
+
gem 'pulp_container_client', '~> 2.16.2'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -6,9 +6,9 @@ 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
8
|
**pulp_labels** | **Hash<String, String>** | | [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\") |
|
|
10
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
11
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
11
|
+
**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** | **String** | The latest RepositoryVersion for this Repository will be served. | [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]
|
|
@@ -21,9 +21,9 @@ require 'PulpContainerClient'
|
|
|
21
21
|
|
|
22
22
|
instance = PulpContainerClient::ContainerContainerDistribution.new(hidden: null,
|
|
23
23
|
pulp_labels: null,
|
|
24
|
-
base_path: null,
|
|
25
|
-
name: null,
|
|
26
24
|
content_guard: null,
|
|
25
|
+
name: null,
|
|
26
|
+
base_path: null,
|
|
27
27
|
repository: null,
|
|
28
28
|
repository_version: null,
|
|
29
29
|
private: null,
|
|
@@ -5,13 +5,13 @@
|
|
|
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_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
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
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
12
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
13
|
-
**
|
|
10
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
11
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
14
12
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
13
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
|
14
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
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]
|
|
17
17
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
|
@@ -24,13 +24,13 @@ Name | Type | Description | Notes
|
|
|
24
24
|
require 'PulpContainerClient'
|
|
25
25
|
|
|
26
26
|
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(hidden: null,
|
|
27
|
-
pulp_created: null,
|
|
28
27
|
pulp_labels: null,
|
|
29
|
-
base_path: null,
|
|
30
|
-
name: null,
|
|
31
28
|
content_guard: null,
|
|
32
|
-
|
|
29
|
+
pulp_created: null,
|
|
30
|
+
name: null,
|
|
33
31
|
pulp_href: null,
|
|
32
|
+
base_path: null,
|
|
33
|
+
repository: null,
|
|
34
34
|
repository_version: null,
|
|
35
35
|
registry_path: null,
|
|
36
36
|
namespace: null,
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
8
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
8
9
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
10
|
**name** | **String** | A unique name for this repository. |
|
|
10
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
11
11
|
**description** | **String** | An optional description. | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
18
|
instance = PulpContainerClient::ContainerContainerPushRepository.new(retain_repo_versions: null,
|
|
19
|
+
manifest_signing_service: null,
|
|
19
20
|
pulp_labels: null,
|
|
20
21
|
name: null,
|
|
21
|
-
manifest_signing_service: null,
|
|
22
22
|
description: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -4,30 +4,30 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
8
7
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
8
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
9
9
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
10
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
|
11
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
10
12
|
**name** | **String** | A unique name for this repository. |
|
|
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
13
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
15
|
-
**
|
|
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
|
-
|
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(retain_repo_versions: null,
|
|
23
|
+
manifest_signing_service: null,
|
|
24
24
|
pulp_labels: null,
|
|
25
|
+
latest_version_href: null,
|
|
26
|
+
pulp_created: null,
|
|
25
27
|
name: null,
|
|
26
|
-
versions_href: null,
|
|
27
|
-
manifest_signing_service: null,
|
|
28
|
-
description: null,
|
|
29
28
|
pulp_href: null,
|
|
30
|
-
|
|
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
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
8
8
|
**pulp_labels** | **Hash<String, String>** | | [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]
|
|
10
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
11
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
11
|
+
**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** | **String** | The latest RepositoryVersion for this Repository will be served. | [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]
|
|
@@ -21,9 +21,9 @@ require 'PulpContainerClient'
|
|
|
21
21
|
|
|
22
22
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(hidden: null,
|
|
23
23
|
pulp_labels: null,
|
|
24
|
-
base_path: null,
|
|
25
|
-
name: null,
|
|
26
24
|
content_guard: null,
|
|
25
|
+
name: null,
|
|
26
|
+
base_path: null,
|
|
27
27
|
repository: null,
|
|
28
28
|
repository_version: null,
|
|
29
29
|
private: null,
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
8
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
8
9
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
10
|
**name** | **String** | A unique name for this repository. | [optional]
|
|
10
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
11
11
|
**description** | **String** | An optional description. | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
18
|
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
|
|
19
|
+
manifest_signing_service: null,
|
|
19
20
|
pulp_labels: null,
|
|
20
21
|
name: null,
|
|
21
|
-
manifest_signing_service: null,
|
|
22
22
|
description: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -20,14 +20,14 @@ module PulpContainerClient
|
|
|
20
20
|
|
|
21
21
|
attr_accessor :pulp_labels
|
|
22
22
|
|
|
23
|
-
#
|
|
24
|
-
attr_accessor :
|
|
23
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
24
|
+
attr_accessor :content_guard
|
|
25
25
|
|
|
26
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
27
27
|
attr_accessor :name
|
|
28
28
|
|
|
29
|
-
#
|
|
30
|
-
attr_accessor :
|
|
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
31
|
|
|
32
32
|
# The latest RepositoryVersion for this Repository will be served.
|
|
33
33
|
attr_accessor :repository
|
|
@@ -46,9 +46,9 @@ module PulpContainerClient
|
|
|
46
46
|
{
|
|
47
47
|
:'hidden' => :'hidden',
|
|
48
48
|
:'pulp_labels' => :'pulp_labels',
|
|
49
|
-
:'base_path' => :'base_path',
|
|
50
|
-
:'name' => :'name',
|
|
51
49
|
:'content_guard' => :'content_guard',
|
|
50
|
+
:'name' => :'name',
|
|
51
|
+
:'base_path' => :'base_path',
|
|
52
52
|
:'repository' => :'repository',
|
|
53
53
|
:'repository_version' => :'repository_version',
|
|
54
54
|
:'private' => :'private',
|
|
@@ -61,9 +61,9 @@ module PulpContainerClient
|
|
|
61
61
|
{
|
|
62
62
|
:'hidden' => :'Boolean',
|
|
63
63
|
:'pulp_labels' => :'Hash<String, String>',
|
|
64
|
-
:'base_path' => :'String',
|
|
65
|
-
:'name' => :'String',
|
|
66
64
|
:'content_guard' => :'String',
|
|
65
|
+
:'name' => :'String',
|
|
66
|
+
:'base_path' => :'String',
|
|
67
67
|
:'repository' => :'String',
|
|
68
68
|
:'repository_version' => :'String',
|
|
69
69
|
:'private' => :'Boolean',
|
|
@@ -107,16 +107,16 @@ module PulpContainerClient
|
|
|
107
107
|
end
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
-
if attributes.key?(:'
|
|
111
|
-
self.
|
|
110
|
+
if attributes.key?(:'content_guard')
|
|
111
|
+
self.content_guard = attributes[:'content_guard']
|
|
112
112
|
end
|
|
113
113
|
|
|
114
114
|
if attributes.key?(:'name')
|
|
115
115
|
self.name = attributes[:'name']
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
if attributes.key?(:'
|
|
119
|
-
self.
|
|
118
|
+
if attributes.key?(:'base_path')
|
|
119
|
+
self.base_path = attributes[:'base_path']
|
|
120
120
|
end
|
|
121
121
|
|
|
122
122
|
if attributes.key?(:'repository')
|
|
@@ -140,14 +140,6 @@ module PulpContainerClient
|
|
|
140
140
|
# @return Array for valid properties with the reasons
|
|
141
141
|
def list_invalid_properties
|
|
142
142
|
invalid_properties = Array.new
|
|
143
|
-
if @base_path.nil?
|
|
144
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
if @base_path.to_s.length < 1
|
|
148
|
-
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
|
149
|
-
end
|
|
150
|
-
|
|
151
143
|
if @name.nil?
|
|
152
144
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
153
145
|
end
|
|
@@ -156,6 +148,14 @@ module PulpContainerClient
|
|
|
156
148
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
157
149
|
end
|
|
158
150
|
|
|
151
|
+
if @base_path.nil?
|
|
152
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
if @base_path.to_s.length < 1
|
|
156
|
+
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
|
157
|
+
end
|
|
158
|
+
|
|
159
159
|
if !@description.nil? && @description.to_s.length < 1
|
|
160
160
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
161
161
|
end
|
|
@@ -166,28 +166,14 @@ module PulpContainerClient
|
|
|
166
166
|
# Check to see if the all the properties in the model are valid
|
|
167
167
|
# @return true if the model is valid
|
|
168
168
|
def valid?
|
|
169
|
-
return false if @base_path.nil?
|
|
170
|
-
return false if @base_path.to_s.length < 1
|
|
171
169
|
return false if @name.nil?
|
|
172
170
|
return false if @name.to_s.length < 1
|
|
171
|
+
return false if @base_path.nil?
|
|
172
|
+
return false if @base_path.to_s.length < 1
|
|
173
173
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
174
174
|
true
|
|
175
175
|
end
|
|
176
176
|
|
|
177
|
-
# Custom attribute writer method with validation
|
|
178
|
-
# @param [Object] base_path Value to be assigned
|
|
179
|
-
def base_path=(base_path)
|
|
180
|
-
if base_path.nil?
|
|
181
|
-
fail ArgumentError, 'base_path cannot be nil'
|
|
182
|
-
end
|
|
183
|
-
|
|
184
|
-
if base_path.to_s.length < 1
|
|
185
|
-
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
|
186
|
-
end
|
|
187
|
-
|
|
188
|
-
@base_path = base_path
|
|
189
|
-
end
|
|
190
|
-
|
|
191
177
|
# Custom attribute writer method with validation
|
|
192
178
|
# @param [Object] name Value to be assigned
|
|
193
179
|
def name=(name)
|
|
@@ -202,6 +188,20 @@ module PulpContainerClient
|
|
|
202
188
|
@name = name
|
|
203
189
|
end
|
|
204
190
|
|
|
191
|
+
# Custom attribute writer method with validation
|
|
192
|
+
# @param [Object] base_path Value to be assigned
|
|
193
|
+
def base_path=(base_path)
|
|
194
|
+
if base_path.nil?
|
|
195
|
+
fail ArgumentError, 'base_path cannot be nil'
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
if base_path.to_s.length < 1
|
|
199
|
+
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
@base_path = base_path
|
|
203
|
+
end
|
|
204
|
+
|
|
205
205
|
# Custom attribute writer method with validation
|
|
206
206
|
# @param [Object] description Value to be assigned
|
|
207
207
|
def description=(description)
|
|
@@ -219,9 +219,9 @@ module PulpContainerClient
|
|
|
219
219
|
self.class == o.class &&
|
|
220
220
|
hidden == o.hidden &&
|
|
221
221
|
pulp_labels == o.pulp_labels &&
|
|
222
|
-
base_path == o.base_path &&
|
|
223
|
-
name == o.name &&
|
|
224
222
|
content_guard == o.content_guard &&
|
|
223
|
+
name == o.name &&
|
|
224
|
+
base_path == o.base_path &&
|
|
225
225
|
repository == o.repository &&
|
|
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, pulp_labels,
|
|
240
|
+
[hidden, pulp_labels, content_guard, name, base_path, repository, repository_version, private, description].hash
|
|
241
241
|
end
|
|
242
242
|
|
|
243
243
|
# Builds the object from hash
|
|
@@ -18,25 +18,25 @@ module PulpContainerClient
|
|
|
18
18
|
# Whether this distribution should be shown in the content app.
|
|
19
19
|
attr_accessor :hidden
|
|
20
20
|
|
|
21
|
-
# Timestamp of creation.
|
|
22
|
-
attr_accessor :pulp_created
|
|
23
|
-
|
|
24
21
|
attr_accessor :pulp_labels
|
|
25
22
|
|
|
26
|
-
#
|
|
27
|
-
attr_accessor :
|
|
23
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
24
|
+
attr_accessor :content_guard
|
|
25
|
+
|
|
26
|
+
# Timestamp of creation.
|
|
27
|
+
attr_accessor :pulp_created
|
|
28
28
|
|
|
29
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
30
30
|
attr_accessor :name
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
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
|
|
34
36
|
|
|
35
37
|
# The latest RepositoryVersion for this Repository will be served.
|
|
36
38
|
attr_accessor :repository
|
|
37
39
|
|
|
38
|
-
attr_accessor :pulp_href
|
|
39
|
-
|
|
40
40
|
# RepositoryVersion to be served
|
|
41
41
|
attr_accessor :repository_version
|
|
42
42
|
|
|
@@ -56,13 +56,13 @@ module PulpContainerClient
|
|
|
56
56
|
def self.attribute_map
|
|
57
57
|
{
|
|
58
58
|
:'hidden' => :'hidden',
|
|
59
|
-
:'pulp_created' => :'pulp_created',
|
|
60
59
|
:'pulp_labels' => :'pulp_labels',
|
|
61
|
-
:'base_path' => :'base_path',
|
|
62
|
-
:'name' => :'name',
|
|
63
60
|
:'content_guard' => :'content_guard',
|
|
64
|
-
:'
|
|
61
|
+
:'pulp_created' => :'pulp_created',
|
|
62
|
+
:'name' => :'name',
|
|
65
63
|
:'pulp_href' => :'pulp_href',
|
|
64
|
+
:'base_path' => :'base_path',
|
|
65
|
+
:'repository' => :'repository',
|
|
66
66
|
:'repository_version' => :'repository_version',
|
|
67
67
|
:'registry_path' => :'registry_path',
|
|
68
68
|
:'namespace' => :'namespace',
|
|
@@ -75,13 +75,13 @@ module PulpContainerClient
|
|
|
75
75
|
def self.openapi_types
|
|
76
76
|
{
|
|
77
77
|
:'hidden' => :'Boolean',
|
|
78
|
-
:'pulp_created' => :'DateTime',
|
|
79
78
|
:'pulp_labels' => :'Hash<String, String>',
|
|
80
|
-
:'base_path' => :'String',
|
|
81
|
-
:'name' => :'String',
|
|
82
79
|
:'content_guard' => :'String',
|
|
83
|
-
:'
|
|
80
|
+
:'pulp_created' => :'DateTime',
|
|
81
|
+
:'name' => :'String',
|
|
84
82
|
:'pulp_href' => :'String',
|
|
83
|
+
:'base_path' => :'String',
|
|
84
|
+
:'repository' => :'String',
|
|
85
85
|
:'repository_version' => :'String',
|
|
86
86
|
:'registry_path' => :'String',
|
|
87
87
|
:'namespace' => :'String',
|
|
@@ -120,34 +120,34 @@ module PulpContainerClient
|
|
|
120
120
|
self.hidden = false
|
|
121
121
|
end
|
|
122
122
|
|
|
123
|
-
if attributes.key?(:'pulp_created')
|
|
124
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
125
|
-
end
|
|
126
|
-
|
|
127
123
|
if attributes.key?(:'pulp_labels')
|
|
128
124
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
129
125
|
self.pulp_labels = value
|
|
130
126
|
end
|
|
131
127
|
end
|
|
132
128
|
|
|
133
|
-
if attributes.key?(:'
|
|
134
|
-
self.
|
|
129
|
+
if attributes.key?(:'content_guard')
|
|
130
|
+
self.content_guard = attributes[:'content_guard']
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
if attributes.key?(:'pulp_created')
|
|
134
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
135
135
|
end
|
|
136
136
|
|
|
137
137
|
if attributes.key?(:'name')
|
|
138
138
|
self.name = attributes[:'name']
|
|
139
139
|
end
|
|
140
140
|
|
|
141
|
-
if attributes.key?(:'
|
|
142
|
-
self.
|
|
141
|
+
if attributes.key?(:'pulp_href')
|
|
142
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
-
if attributes.key?(:'
|
|
146
|
-
self.
|
|
145
|
+
if attributes.key?(:'base_path')
|
|
146
|
+
self.base_path = attributes[:'base_path']
|
|
147
147
|
end
|
|
148
148
|
|
|
149
|
-
if attributes.key?(:'
|
|
150
|
-
self.
|
|
149
|
+
if attributes.key?(:'repository')
|
|
150
|
+
self.repository = attributes[:'repository']
|
|
151
151
|
end
|
|
152
152
|
|
|
153
153
|
if attributes.key?(:'repository_version')
|
|
@@ -175,22 +175,22 @@ module PulpContainerClient
|
|
|
175
175
|
# @return Array for valid properties with the reasons
|
|
176
176
|
def list_invalid_properties
|
|
177
177
|
invalid_properties = Array.new
|
|
178
|
-
if @base_path.nil?
|
|
179
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
180
|
-
end
|
|
181
|
-
|
|
182
178
|
if @name.nil?
|
|
183
179
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
184
180
|
end
|
|
185
181
|
|
|
182
|
+
if @base_path.nil?
|
|
183
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
184
|
+
end
|
|
185
|
+
|
|
186
186
|
invalid_properties
|
|
187
187
|
end
|
|
188
188
|
|
|
189
189
|
# Check to see if the all the properties in the model are valid
|
|
190
190
|
# @return true if the model is valid
|
|
191
191
|
def valid?
|
|
192
|
-
return false if @base_path.nil?
|
|
193
192
|
return false if @name.nil?
|
|
193
|
+
return false if @base_path.nil?
|
|
194
194
|
true
|
|
195
195
|
end
|
|
196
196
|
|
|
@@ -200,13 +200,13 @@ module PulpContainerClient
|
|
|
200
200
|
return true if self.equal?(o)
|
|
201
201
|
self.class == o.class &&
|
|
202
202
|
hidden == o.hidden &&
|
|
203
|
-
pulp_created == o.pulp_created &&
|
|
204
203
|
pulp_labels == o.pulp_labels &&
|
|
205
|
-
base_path == o.base_path &&
|
|
206
|
-
name == o.name &&
|
|
207
204
|
content_guard == o.content_guard &&
|
|
208
|
-
|
|
205
|
+
pulp_created == o.pulp_created &&
|
|
206
|
+
name == o.name &&
|
|
209
207
|
pulp_href == o.pulp_href &&
|
|
208
|
+
base_path == o.base_path &&
|
|
209
|
+
repository == o.repository &&
|
|
210
210
|
repository_version == o.repository_version &&
|
|
211
211
|
registry_path == o.registry_path &&
|
|
212
212
|
namespace == o.namespace &&
|
|
@@ -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, pulp_labels, content_guard, pulp_created, name, pulp_href, base_path, repository, repository_version, registry_path, namespace, private, description].hash
|
|
227
227
|
end
|
|
228
228
|
|
|
229
229
|
# Builds the object from hash
|
|
@@ -18,14 +18,14 @@ module PulpContainerClient
|
|
|
18
18
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
19
19
|
attr_accessor :retain_repo_versions
|
|
20
20
|
|
|
21
|
+
# A reference to an associated signing service.
|
|
22
|
+
attr_accessor :manifest_signing_service
|
|
23
|
+
|
|
21
24
|
attr_accessor :pulp_labels
|
|
22
25
|
|
|
23
26
|
# A unique name for this repository.
|
|
24
27
|
attr_accessor :name
|
|
25
28
|
|
|
26
|
-
# A reference to an associated signing service.
|
|
27
|
-
attr_accessor :manifest_signing_service
|
|
28
|
-
|
|
29
29
|
# An optional description.
|
|
30
30
|
attr_accessor :description
|
|
31
31
|
|
|
@@ -33,9 +33,9 @@ module PulpContainerClient
|
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
35
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
36
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
36
37
|
:'pulp_labels' => :'pulp_labels',
|
|
37
38
|
:'name' => :'name',
|
|
38
|
-
:'manifest_signing_service' => :'manifest_signing_service',
|
|
39
39
|
:'description' => :'description'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -44,9 +44,9 @@ module PulpContainerClient
|
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
46
|
:'retain_repo_versions' => :'Integer',
|
|
47
|
+
:'manifest_signing_service' => :'String',
|
|
47
48
|
:'pulp_labels' => :'Hash<String, String>',
|
|
48
49
|
:'name' => :'String',
|
|
49
|
-
:'manifest_signing_service' => :'String',
|
|
50
50
|
:'description' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -79,6 +79,10 @@ module PulpContainerClient
|
|
|
79
79
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
+
if attributes.key?(:'manifest_signing_service')
|
|
83
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
84
|
+
end
|
|
85
|
+
|
|
82
86
|
if attributes.key?(:'pulp_labels')
|
|
83
87
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
84
88
|
self.pulp_labels = value
|
|
@@ -89,10 +93,6 @@ module PulpContainerClient
|
|
|
89
93
|
self.name = attributes[:'name']
|
|
90
94
|
end
|
|
91
95
|
|
|
92
|
-
if attributes.key?(:'manifest_signing_service')
|
|
93
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
94
|
-
end
|
|
95
|
-
|
|
96
96
|
if attributes.key?(:'description')
|
|
97
97
|
self.description = attributes[:'description']
|
|
98
98
|
end
|
|
@@ -171,9 +171,9 @@ module PulpContainerClient
|
|
|
171
171
|
return true if self.equal?(o)
|
|
172
172
|
self.class == o.class &&
|
|
173
173
|
retain_repo_versions == o.retain_repo_versions &&
|
|
174
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
174
175
|
pulp_labels == o.pulp_labels &&
|
|
175
176
|
name == o.name &&
|
|
176
|
-
manifest_signing_service == o.manifest_signing_service &&
|
|
177
177
|
description == o.description
|
|
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
|
-
[retain_repo_versions, pulp_labels, name,
|
|
189
|
+
[retain_repo_versions, manifest_signing_service, pulp_labels, name, description].hash
|
|
190
190
|
end
|
|
191
191
|
|
|
192
192
|
# Builds the object from hash
|
|
@@ -15,56 +15,56 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
|
18
|
-
# Timestamp of creation.
|
|
19
|
-
attr_accessor :pulp_created
|
|
20
|
-
|
|
21
18
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
22
19
|
attr_accessor :retain_repo_versions
|
|
23
20
|
|
|
21
|
+
# A reference to an associated signing service.
|
|
22
|
+
attr_accessor :manifest_signing_service
|
|
23
|
+
|
|
24
24
|
attr_accessor :pulp_labels
|
|
25
25
|
|
|
26
|
+
attr_accessor :latest_version_href
|
|
27
|
+
|
|
28
|
+
# Timestamp of creation.
|
|
29
|
+
attr_accessor :pulp_created
|
|
30
|
+
|
|
26
31
|
# A unique name for this repository.
|
|
27
32
|
attr_accessor :name
|
|
28
33
|
|
|
29
|
-
attr_accessor :
|
|
30
|
-
|
|
31
|
-
# A reference to an associated signing service.
|
|
32
|
-
attr_accessor :manifest_signing_service
|
|
34
|
+
attr_accessor :pulp_href
|
|
33
35
|
|
|
34
36
|
# An optional description.
|
|
35
37
|
attr_accessor :description
|
|
36
38
|
|
|
37
|
-
attr_accessor :
|
|
38
|
-
|
|
39
|
-
attr_accessor :latest_version_href
|
|
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
|
-
:'pulp_created' => :'pulp_created',
|
|
45
44
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
45
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
46
46
|
:'pulp_labels' => :'pulp_labels',
|
|
47
|
+
:'latest_version_href' => :'latest_version_href',
|
|
48
|
+
:'pulp_created' => :'pulp_created',
|
|
47
49
|
:'name' => :'name',
|
|
48
|
-
:'versions_href' => :'versions_href',
|
|
49
|
-
:'manifest_signing_service' => :'manifest_signing_service',
|
|
50
|
-
:'description' => :'description',
|
|
51
50
|
:'pulp_href' => :'pulp_href',
|
|
52
|
-
:'
|
|
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
|
-
:'pulp_created' => :'DateTime',
|
|
60
59
|
:'retain_repo_versions' => :'Integer',
|
|
60
|
+
:'manifest_signing_service' => :'String',
|
|
61
61
|
:'pulp_labels' => :'Hash<String, String>',
|
|
62
|
+
:'latest_version_href' => :'String',
|
|
63
|
+
:'pulp_created' => :'DateTime',
|
|
62
64
|
:'name' => :'String',
|
|
63
|
-
:'versions_href' => :'String',
|
|
64
|
-
:'manifest_signing_service' => :'String',
|
|
65
|
-
:'description' => :'String',
|
|
66
65
|
:'pulp_href' => :'String',
|
|
67
|
-
:'
|
|
66
|
+
:'description' => :'String',
|
|
67
|
+
:'versions_href' => :'String'
|
|
68
68
|
}
|
|
69
69
|
end
|
|
70
70
|
|
|
@@ -92,42 +92,42 @@ module PulpContainerClient
|
|
|
92
92
|
h[k.to_sym] = v
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
if attributes.key?(:'pulp_created')
|
|
96
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
97
|
-
end
|
|
98
|
-
|
|
99
95
|
if attributes.key?(:'retain_repo_versions')
|
|
100
96
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
101
97
|
end
|
|
102
98
|
|
|
99
|
+
if attributes.key?(:'manifest_signing_service')
|
|
100
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
101
|
+
end
|
|
102
|
+
|
|
103
103
|
if attributes.key?(:'pulp_labels')
|
|
104
104
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
105
105
|
self.pulp_labels = value
|
|
106
106
|
end
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
-
if attributes.key?(:'
|
|
110
|
-
self.
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
if attributes.key?(:'versions_href')
|
|
114
|
-
self.versions_href = attributes[:'versions_href']
|
|
109
|
+
if attributes.key?(:'latest_version_href')
|
|
110
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
|
115
111
|
end
|
|
116
112
|
|
|
117
|
-
if attributes.key?(:'
|
|
118
|
-
self.
|
|
113
|
+
if attributes.key?(:'pulp_created')
|
|
114
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
119
115
|
end
|
|
120
116
|
|
|
121
|
-
if attributes.key?(:'
|
|
122
|
-
self.
|
|
117
|
+
if attributes.key?(:'name')
|
|
118
|
+
self.name = attributes[:'name']
|
|
123
119
|
end
|
|
124
120
|
|
|
125
121
|
if attributes.key?(:'pulp_href')
|
|
126
122
|
self.pulp_href = attributes[:'pulp_href']
|
|
127
123
|
end
|
|
128
124
|
|
|
129
|
-
if attributes.key?(:'
|
|
130
|
-
self.
|
|
125
|
+
if attributes.key?(:'description')
|
|
126
|
+
self.description = attributes[:'description']
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
if attributes.key?(:'versions_href')
|
|
130
|
+
self.versions_href = attributes[:'versions_href']
|
|
131
131
|
end
|
|
132
132
|
end
|
|
133
133
|
|
|
@@ -169,15 +169,15 @@ module PulpContainerClient
|
|
|
169
169
|
def ==(o)
|
|
170
170
|
return true if self.equal?(o)
|
|
171
171
|
self.class == o.class &&
|
|
172
|
-
pulp_created == o.pulp_created &&
|
|
173
172
|
retain_repo_versions == o.retain_repo_versions &&
|
|
173
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
174
174
|
pulp_labels == o.pulp_labels &&
|
|
175
|
+
latest_version_href == o.latest_version_href &&
|
|
176
|
+
pulp_created == o.pulp_created &&
|
|
175
177
|
name == o.name &&
|
|
176
|
-
versions_href == o.versions_href &&
|
|
177
|
-
manifest_signing_service == o.manifest_signing_service &&
|
|
178
|
-
description == o.description &&
|
|
179
178
|
pulp_href == o.pulp_href &&
|
|
180
|
-
|
|
179
|
+
description == o.description &&
|
|
180
|
+
versions_href == o.versions_href
|
|
181
181
|
end
|
|
182
182
|
|
|
183
183
|
# @see the `==` method
|
|
@@ -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
|
+
[retain_repo_versions, manifest_signing_service, pulp_labels, latest_version_href, pulp_created, name, pulp_href, description, versions_href].hash
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
# Builds the object from hash
|
|
@@ -20,14 +20,14 @@ module PulpContainerClient
|
|
|
20
20
|
|
|
21
21
|
attr_accessor :pulp_labels
|
|
22
22
|
|
|
23
|
-
#
|
|
24
|
-
attr_accessor :
|
|
23
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
24
|
+
attr_accessor :content_guard
|
|
25
25
|
|
|
26
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
27
27
|
attr_accessor :name
|
|
28
28
|
|
|
29
|
-
#
|
|
30
|
-
attr_accessor :
|
|
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
31
|
|
|
32
32
|
# The latest RepositoryVersion for this Repository will be served.
|
|
33
33
|
attr_accessor :repository
|
|
@@ -46,9 +46,9 @@ module PulpContainerClient
|
|
|
46
46
|
{
|
|
47
47
|
:'hidden' => :'hidden',
|
|
48
48
|
:'pulp_labels' => :'pulp_labels',
|
|
49
|
-
:'base_path' => :'base_path',
|
|
50
|
-
:'name' => :'name',
|
|
51
49
|
:'content_guard' => :'content_guard',
|
|
50
|
+
:'name' => :'name',
|
|
51
|
+
:'base_path' => :'base_path',
|
|
52
52
|
:'repository' => :'repository',
|
|
53
53
|
:'repository_version' => :'repository_version',
|
|
54
54
|
:'private' => :'private',
|
|
@@ -61,9 +61,9 @@ module PulpContainerClient
|
|
|
61
61
|
{
|
|
62
62
|
:'hidden' => :'Boolean',
|
|
63
63
|
:'pulp_labels' => :'Hash<String, String>',
|
|
64
|
-
:'base_path' => :'String',
|
|
65
|
-
:'name' => :'String',
|
|
66
64
|
:'content_guard' => :'String',
|
|
65
|
+
:'name' => :'String',
|
|
66
|
+
:'base_path' => :'String',
|
|
67
67
|
:'repository' => :'String',
|
|
68
68
|
:'repository_version' => :'String',
|
|
69
69
|
:'private' => :'Boolean',
|
|
@@ -107,16 +107,16 @@ module PulpContainerClient
|
|
|
107
107
|
end
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
-
if attributes.key?(:'
|
|
111
|
-
self.
|
|
110
|
+
if attributes.key?(:'content_guard')
|
|
111
|
+
self.content_guard = attributes[:'content_guard']
|
|
112
112
|
end
|
|
113
113
|
|
|
114
114
|
if attributes.key?(:'name')
|
|
115
115
|
self.name = attributes[:'name']
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
if attributes.key?(:'
|
|
119
|
-
self.
|
|
118
|
+
if attributes.key?(:'base_path')
|
|
119
|
+
self.base_path = attributes[:'base_path']
|
|
120
120
|
end
|
|
121
121
|
|
|
122
122
|
if attributes.key?(:'repository')
|
|
@@ -140,14 +140,14 @@ module PulpContainerClient
|
|
|
140
140
|
# @return Array for valid properties with the reasons
|
|
141
141
|
def list_invalid_properties
|
|
142
142
|
invalid_properties = Array.new
|
|
143
|
-
if !@base_path.nil? && @base_path.to_s.length < 1
|
|
144
|
-
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
|
145
|
-
end
|
|
146
|
-
|
|
147
143
|
if !@name.nil? && @name.to_s.length < 1
|
|
148
144
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
149
145
|
end
|
|
150
146
|
|
|
147
|
+
if !@base_path.nil? && @base_path.to_s.length < 1
|
|
148
|
+
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
|
149
|
+
end
|
|
150
|
+
|
|
151
151
|
if !@description.nil? && @description.to_s.length < 1
|
|
152
152
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
153
153
|
end
|
|
@@ -158,22 +158,12 @@ module PulpContainerClient
|
|
|
158
158
|
# Check to see if the all the properties in the model are valid
|
|
159
159
|
# @return true if the model is valid
|
|
160
160
|
def valid?
|
|
161
|
-
return false if !@base_path.nil? && @base_path.to_s.length < 1
|
|
162
161
|
return false if !@name.nil? && @name.to_s.length < 1
|
|
162
|
+
return false if !@base_path.nil? && @base_path.to_s.length < 1
|
|
163
163
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
164
164
|
true
|
|
165
165
|
end
|
|
166
166
|
|
|
167
|
-
# Custom attribute writer method with validation
|
|
168
|
-
# @param [Object] base_path Value to be assigned
|
|
169
|
-
def base_path=(base_path)
|
|
170
|
-
if !base_path.nil? && base_path.to_s.length < 1
|
|
171
|
-
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
|
172
|
-
end
|
|
173
|
-
|
|
174
|
-
@base_path = base_path
|
|
175
|
-
end
|
|
176
|
-
|
|
177
167
|
# Custom attribute writer method with validation
|
|
178
168
|
# @param [Object] name Value to be assigned
|
|
179
169
|
def name=(name)
|
|
@@ -184,6 +174,16 @@ module PulpContainerClient
|
|
|
184
174
|
@name = name
|
|
185
175
|
end
|
|
186
176
|
|
|
177
|
+
# Custom attribute writer method with validation
|
|
178
|
+
# @param [Object] base_path Value to be assigned
|
|
179
|
+
def base_path=(base_path)
|
|
180
|
+
if !base_path.nil? && base_path.to_s.length < 1
|
|
181
|
+
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
@base_path = base_path
|
|
185
|
+
end
|
|
186
|
+
|
|
187
187
|
# Custom attribute writer method with validation
|
|
188
188
|
# @param [Object] description Value to be assigned
|
|
189
189
|
def description=(description)
|
|
@@ -201,9 +201,9 @@ module PulpContainerClient
|
|
|
201
201
|
self.class == o.class &&
|
|
202
202
|
hidden == o.hidden &&
|
|
203
203
|
pulp_labels == o.pulp_labels &&
|
|
204
|
-
base_path == o.base_path &&
|
|
205
|
-
name == o.name &&
|
|
206
204
|
content_guard == o.content_guard &&
|
|
205
|
+
name == o.name &&
|
|
206
|
+
base_path == o.base_path &&
|
|
207
207
|
repository == o.repository &&
|
|
208
208
|
repository_version == o.repository_version &&
|
|
209
209
|
private == o.private &&
|
|
@@ -219,7 +219,7 @@ module PulpContainerClient
|
|
|
219
219
|
# Calculates hash code according to all attributes.
|
|
220
220
|
# @return [Integer] Hash code
|
|
221
221
|
def hash
|
|
222
|
-
[hidden, pulp_labels,
|
|
222
|
+
[hidden, pulp_labels, content_guard, name, base_path, repository, repository_version, private, description].hash
|
|
223
223
|
end
|
|
224
224
|
|
|
225
225
|
# Builds the object from hash
|
|
@@ -18,14 +18,14 @@ module PulpContainerClient
|
|
|
18
18
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
19
19
|
attr_accessor :retain_repo_versions
|
|
20
20
|
|
|
21
|
+
# A reference to an associated signing service.
|
|
22
|
+
attr_accessor :manifest_signing_service
|
|
23
|
+
|
|
21
24
|
attr_accessor :pulp_labels
|
|
22
25
|
|
|
23
26
|
# A unique name for this repository.
|
|
24
27
|
attr_accessor :name
|
|
25
28
|
|
|
26
|
-
# A reference to an associated signing service.
|
|
27
|
-
attr_accessor :manifest_signing_service
|
|
28
|
-
|
|
29
29
|
# An optional description.
|
|
30
30
|
attr_accessor :description
|
|
31
31
|
|
|
@@ -33,9 +33,9 @@ module PulpContainerClient
|
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
35
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
36
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
36
37
|
:'pulp_labels' => :'pulp_labels',
|
|
37
38
|
:'name' => :'name',
|
|
38
|
-
:'manifest_signing_service' => :'manifest_signing_service',
|
|
39
39
|
:'description' => :'description'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -44,9 +44,9 @@ module PulpContainerClient
|
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
46
|
:'retain_repo_versions' => :'Integer',
|
|
47
|
+
:'manifest_signing_service' => :'String',
|
|
47
48
|
:'pulp_labels' => :'Hash<String, String>',
|
|
48
49
|
:'name' => :'String',
|
|
49
|
-
:'manifest_signing_service' => :'String',
|
|
50
50
|
:'description' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -79,6 +79,10 @@ module PulpContainerClient
|
|
|
79
79
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
+
if attributes.key?(:'manifest_signing_service')
|
|
83
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
84
|
+
end
|
|
85
|
+
|
|
82
86
|
if attributes.key?(:'pulp_labels')
|
|
83
87
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
84
88
|
self.pulp_labels = value
|
|
@@ -89,10 +93,6 @@ module PulpContainerClient
|
|
|
89
93
|
self.name = attributes[:'name']
|
|
90
94
|
end
|
|
91
95
|
|
|
92
|
-
if attributes.key?(:'manifest_signing_service')
|
|
93
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
94
|
-
end
|
|
95
|
-
|
|
96
96
|
if attributes.key?(:'description')
|
|
97
97
|
self.description = attributes[:'description']
|
|
98
98
|
end
|
|
@@ -162,9 +162,9 @@ module PulpContainerClient
|
|
|
162
162
|
return true if self.equal?(o)
|
|
163
163
|
self.class == o.class &&
|
|
164
164
|
retain_repo_versions == o.retain_repo_versions &&
|
|
165
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
165
166
|
pulp_labels == o.pulp_labels &&
|
|
166
167
|
name == o.name &&
|
|
167
|
-
manifest_signing_service == o.manifest_signing_service &&
|
|
168
168
|
description == o.description
|
|
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
|
-
[retain_repo_versions, pulp_labels, name,
|
|
180
|
+
[retain_repo_versions, manifest_signing_service, pulp_labels, name, description].hash
|
|
181
181
|
end
|
|
182
182
|
|
|
183
183
|
# Builds the object from hash
|
|
@@ -38,19 +38,19 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "pulp_labels"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "content_guard"' 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_created"' 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
|
|
@@ -62,19 +62,19 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
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 "base_path"' 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 "repository"' do
|
|
78
78
|
it 'should work' do
|
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
80
|
end
|
|
@@ -44,7 +44,7 @@ describe 'ContainerContainerDistribution' do
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "content_guard"' 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 'ContainerContainerDistribution' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "base_path"' 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 "retain_repo_versions"' 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 "manifest_signing_service"' 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 "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 "name"' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "pulp_href"' 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
|
|
@@ -38,19 +38,19 @@ describe 'ContainerContainerPushRepository' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "manifest_signing_service"' 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 "name"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
@@ -44,7 +44,7 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "content_guard"' 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 'PatchedcontainerContainerDistribution' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "base_path"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
@@ -38,19 +38,19 @@ describe 'PatchedcontainerContainerPushRepository' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "manifest_signing_service"' 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 "name"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|