pulp_container_client 2.15.0.dev1671246343 → 2.15.0.dev1671419159
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 +5 -5
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +37 -37
- data/lib/pulp_container_client/models/container_container_push_repository.rb +16 -16
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +43 -43
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +16 -16
- 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 +8 -8
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- 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: a8821cdc10aaef9f9574e30cf63a7849eb078fc9dd946a61cc6a1747ea3abe07
|
|
4
|
+
data.tar.gz: 79a54408ebf3194df075a8a078b90e2e992f348d0b04b11039bf754941771093
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b56c3c2a38fa1778664ec3aeb849ff0865db306dc9fa4f59daefbc2efe916d37b89fcfaeb75b0cd23ba10074a7edcc9874c741e6782bf42803dc200ed80bd450
|
|
7
|
+
data.tar.gz: 4366cb73862679f0f58c0a77465dd8a8c7737072348d1d14892a552b96d546b46ecbc1e950a64ed1c5694990d19e2894cf12152447087b36e9119b208fc3d311
|
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.dev1671419159
|
|
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.dev1671419159.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.dev1671419159.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.dev1671419159'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
8
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
9
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
10
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
11
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
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [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
|
-
content_guard: null,
|
|
23
|
-
repository: null,
|
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
|
|
24
22
|
pulp_labels: null,
|
|
23
|
+
name: null,
|
|
25
24
|
base_path: null,
|
|
25
|
+
content_guard: 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
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
8
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
9
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
10
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
8
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
11
9
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
12
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\") |
|
|
13
|
-
**
|
|
12
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
13
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
14
14
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
15
15
|
**registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
|
16
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
|
@@ -22,13 +22,13 @@ Name | Type | Description | Notes
|
|
|
22
22
|
```ruby
|
|
23
23
|
require 'PulpContainerClient'
|
|
24
24
|
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
|
26
|
-
|
|
27
|
-
pulp_created: null,
|
|
28
|
-
repository: null,
|
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository: null,
|
|
26
|
+
pulp_href: null,
|
|
29
27
|
pulp_labels: null,
|
|
28
|
+
name: null,
|
|
30
29
|
base_path: null,
|
|
31
|
-
|
|
30
|
+
pulp_created: null,
|
|
31
|
+
content_guard: null,
|
|
32
32
|
repository_version: null,
|
|
33
33
|
registry_path: null,
|
|
34
34
|
namespace: null,
|
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
7
8
|
**name** | **String** | A unique name for this repository. |
|
|
8
9
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
|
9
10
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
10
11
|
**description** | **String** | An optional description. | [optional]
|
|
11
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
14
14
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerPushRepository.new(
|
|
18
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(pulp_labels: null,
|
|
19
|
+
name: null,
|
|
19
20
|
retain_repo_versions: null,
|
|
20
21
|
manifest_signing_service: null,
|
|
21
|
-
description: null
|
|
22
|
-
pulp_labels: null)
|
|
22
|
+
description: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
|
|
@@ -4,30 +4,30 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
8
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
9
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
|
7
10
|
**name** | **String** | A unique name for this repository. |
|
|
8
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]
|
|
9
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
10
|
-
**latest_version_href** | **String** | | [optional] [readonly]
|
|
11
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
12
12
|
**versions_href** | **String** | | [optional] [readonly]
|
|
13
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
13
14
|
**description** | **String** | An optional description. | [optional]
|
|
14
|
-
**
|
|
15
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
15
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [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
|
-
|
|
24
|
-
pulp_created: null,
|
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_labels: null,
|
|
23
|
+
pulp_href: null,
|
|
25
24
|
latest_version_href: null,
|
|
26
|
-
|
|
25
|
+
name: null,
|
|
26
|
+
retain_repo_versions: null,
|
|
27
27
|
versions_href: null,
|
|
28
|
+
manifest_signing_service: null,
|
|
28
29
|
description: null,
|
|
29
|
-
|
|
30
|
-
pulp_href: null)
|
|
30
|
+
pulp_created: null)
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
8
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
9
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
10
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
11
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\") | [optional]
|
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [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
|
-
content_guard: null,
|
|
23
|
-
repository: null,
|
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
|
|
24
22
|
pulp_labels: null,
|
|
23
|
+
name: null,
|
|
25
24
|
base_path: null,
|
|
25
|
+
content_guard: null,
|
|
26
26
|
repository_version: null,
|
|
27
27
|
private: null,
|
|
28
28
|
description: null)
|
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
7
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
|
8
9
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
|
9
10
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
10
11
|
**description** | **String** | An optional description. | [optional]
|
|
11
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
14
14
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(pulp_labels: null,
|
|
19
|
+
name: null,
|
|
19
20
|
retain_repo_versions: null,
|
|
20
21
|
manifest_signing_service: null,
|
|
21
|
-
description: null
|
|
22
|
-
pulp_labels: null)
|
|
22
|
+
description: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistribution
|
|
18
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
19
|
-
attr_accessor :name
|
|
20
|
-
|
|
21
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
22
|
-
attr_accessor :content_guard
|
|
23
|
-
|
|
24
18
|
# The latest RepositoryVersion for this Repository will be served.
|
|
25
19
|
attr_accessor :repository
|
|
26
20
|
|
|
27
21
|
attr_accessor :pulp_labels
|
|
28
22
|
|
|
23
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
|
+
attr_accessor :name
|
|
25
|
+
|
|
29
26
|
# 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
27
|
attr_accessor :base_path
|
|
31
28
|
|
|
29
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
30
|
+
attr_accessor :content_guard
|
|
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
|
-
:'name' => :'name',
|
|
45
|
-
:'content_guard' => :'content_guard',
|
|
46
44
|
:'repository' => :'repository',
|
|
47
45
|
:'pulp_labels' => :'pulp_labels',
|
|
46
|
+
:'name' => :'name',
|
|
48
47
|
:'base_path' => :'base_path',
|
|
48
|
+
:'content_guard' => :'content_guard',
|
|
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
|
-
:'name' => :'String',
|
|
59
|
-
:'content_guard' => :'String',
|
|
60
58
|
:'repository' => :'String',
|
|
61
59
|
:'pulp_labels' => :'Hash<String, String>',
|
|
60
|
+
:'name' => :'String',
|
|
62
61
|
:'base_path' => :'String',
|
|
62
|
+
:'content_guard' => :'String',
|
|
63
63
|
:'repository_version' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
65
65
|
:'description' => :'String'
|
|
@@ -90,14 +90,6 @@ module PulpContainerClient
|
|
|
90
90
|
h[k.to_sym] = v
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
if attributes.key?(:'name')
|
|
94
|
-
self.name = attributes[:'name']
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
if attributes.key?(:'content_guard')
|
|
98
|
-
self.content_guard = attributes[:'content_guard']
|
|
99
|
-
end
|
|
100
|
-
|
|
101
93
|
if attributes.key?(:'repository')
|
|
102
94
|
self.repository = attributes[:'repository']
|
|
103
95
|
end
|
|
@@ -108,10 +100,18 @@ module PulpContainerClient
|
|
|
108
100
|
end
|
|
109
101
|
end
|
|
110
102
|
|
|
103
|
+
if attributes.key?(:'name')
|
|
104
|
+
self.name = attributes[:'name']
|
|
105
|
+
end
|
|
106
|
+
|
|
111
107
|
if attributes.key?(:'base_path')
|
|
112
108
|
self.base_path = attributes[:'base_path']
|
|
113
109
|
end
|
|
114
110
|
|
|
111
|
+
if attributes.key?(:'content_guard')
|
|
112
|
+
self.content_guard = attributes[:'content_guard']
|
|
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
|
-
name == o.name &&
|
|
210
|
-
content_guard == o.content_guard &&
|
|
211
209
|
repository == o.repository &&
|
|
212
210
|
pulp_labels == o.pulp_labels &&
|
|
211
|
+
name == o.name &&
|
|
213
212
|
base_path == o.base_path &&
|
|
213
|
+
content_guard == o.content_guard &&
|
|
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
|
+
[repository, pulp_labels, name, base_path, content_guard, repository_version, private, description].hash
|
|
229
229
|
end
|
|
230
230
|
|
|
231
231
|
# Builds the object from hash
|
|
@@ -15,24 +15,24 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
19
|
-
attr_accessor :name
|
|
20
|
-
|
|
21
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
22
|
-
attr_accessor :content_guard
|
|
23
|
-
|
|
24
|
-
# Timestamp of creation.
|
|
25
|
-
attr_accessor :pulp_created
|
|
26
|
-
|
|
27
18
|
# The latest RepositoryVersion for this Repository will be served.
|
|
28
19
|
attr_accessor :repository
|
|
29
20
|
|
|
21
|
+
attr_accessor :pulp_href
|
|
22
|
+
|
|
30
23
|
attr_accessor :pulp_labels
|
|
31
24
|
|
|
25
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
26
|
+
attr_accessor :name
|
|
27
|
+
|
|
32
28
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
33
29
|
attr_accessor :base_path
|
|
34
30
|
|
|
35
|
-
|
|
31
|
+
# Timestamp of creation.
|
|
32
|
+
attr_accessor :pulp_created
|
|
33
|
+
|
|
34
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
35
|
+
attr_accessor :content_guard
|
|
36
36
|
|
|
37
37
|
# RepositoryVersion to be served
|
|
38
38
|
attr_accessor :repository_version
|
|
@@ -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
|
-
:'name' => :'name',
|
|
56
|
-
:'content_guard' => :'content_guard',
|
|
57
|
-
:'pulp_created' => :'pulp_created',
|
|
58
55
|
:'repository' => :'repository',
|
|
56
|
+
:'pulp_href' => :'pulp_href',
|
|
59
57
|
:'pulp_labels' => :'pulp_labels',
|
|
58
|
+
:'name' => :'name',
|
|
60
59
|
:'base_path' => :'base_path',
|
|
61
|
-
:'
|
|
60
|
+
:'pulp_created' => :'pulp_created',
|
|
61
|
+
:'content_guard' => :'content_guard',
|
|
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
|
-
:'name' => :'String',
|
|
74
|
-
:'content_guard' => :'String',
|
|
75
|
-
:'pulp_created' => :'DateTime',
|
|
76
73
|
:'repository' => :'String',
|
|
74
|
+
:'pulp_href' => :'String',
|
|
77
75
|
:'pulp_labels' => :'Hash<String, String>',
|
|
76
|
+
:'name' => :'String',
|
|
78
77
|
:'base_path' => :'String',
|
|
79
|
-
:'
|
|
78
|
+
:'pulp_created' => :'DateTime',
|
|
79
|
+
:'content_guard' => :'String',
|
|
80
80
|
:'repository_version' => :'String',
|
|
81
81
|
:'registry_path' => :'String',
|
|
82
82
|
:'namespace' => :'String',
|
|
@@ -109,34 +109,34 @@ module PulpContainerClient
|
|
|
109
109
|
h[k.to_sym] = v
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
if attributes.key?(:'name')
|
|
113
|
-
self.name = attributes[:'name']
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
if attributes.key?(:'content_guard')
|
|
117
|
-
self.content_guard = attributes[:'content_guard']
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
if attributes.key?(:'pulp_created')
|
|
121
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
122
|
-
end
|
|
123
|
-
|
|
124
112
|
if attributes.key?(:'repository')
|
|
125
113
|
self.repository = attributes[:'repository']
|
|
126
114
|
end
|
|
127
115
|
|
|
116
|
+
if attributes.key?(:'pulp_href')
|
|
117
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
118
|
+
end
|
|
119
|
+
|
|
128
120
|
if attributes.key?(:'pulp_labels')
|
|
129
121
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
130
122
|
self.pulp_labels = value
|
|
131
123
|
end
|
|
132
124
|
end
|
|
133
125
|
|
|
126
|
+
if attributes.key?(:'name')
|
|
127
|
+
self.name = attributes[:'name']
|
|
128
|
+
end
|
|
129
|
+
|
|
134
130
|
if attributes.key?(:'base_path')
|
|
135
131
|
self.base_path = attributes[:'base_path']
|
|
136
132
|
end
|
|
137
133
|
|
|
138
|
-
if attributes.key?(:'
|
|
139
|
-
self.
|
|
134
|
+
if attributes.key?(:'pulp_created')
|
|
135
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
if attributes.key?(:'content_guard')
|
|
139
|
+
self.content_guard = attributes[:'content_guard']
|
|
140
140
|
end
|
|
141
141
|
|
|
142
142
|
if attributes.key?(:'repository_version')
|
|
@@ -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
|
-
name == o.name &&
|
|
192
|
-
content_guard == o.content_guard &&
|
|
193
|
-
pulp_created == o.pulp_created &&
|
|
194
191
|
repository == o.repository &&
|
|
192
|
+
pulp_href == o.pulp_href &&
|
|
195
193
|
pulp_labels == o.pulp_labels &&
|
|
194
|
+
name == o.name &&
|
|
196
195
|
base_path == o.base_path &&
|
|
197
|
-
|
|
196
|
+
pulp_created == o.pulp_created &&
|
|
197
|
+
content_guard == o.content_guard &&
|
|
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
|
+
[repository, pulp_href, pulp_labels, name, base_path, pulp_created, content_guard, repository_version, registry_path, namespace, private, description].hash
|
|
215
215
|
end
|
|
216
216
|
|
|
217
217
|
# Builds the object from hash
|
|
@@ -15,6 +15,8 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepository
|
|
18
|
+
attr_accessor :pulp_labels
|
|
19
|
+
|
|
18
20
|
# A unique name for this repository.
|
|
19
21
|
attr_accessor :name
|
|
20
22
|
|
|
@@ -27,27 +29,25 @@ module PulpContainerClient
|
|
|
27
29
|
# An optional description.
|
|
28
30
|
attr_accessor :description
|
|
29
31
|
|
|
30
|
-
attr_accessor :pulp_labels
|
|
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',
|
|
35
36
|
:'name' => :'name',
|
|
36
37
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
37
38
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
38
|
-
:'description' => :'description'
|
|
39
|
-
:'pulp_labels' => :'pulp_labels'
|
|
39
|
+
:'description' => :'description'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
# Attribute type mapping.
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
46
47
|
:'name' => :'String',
|
|
47
48
|
:'retain_repo_versions' => :'Integer',
|
|
48
49
|
:'manifest_signing_service' => :'String',
|
|
49
|
-
:'description' => :'String'
|
|
50
|
-
:'pulp_labels' => :'Hash<String, String>'
|
|
50
|
+
:'description' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
53
53
|
|
|
@@ -56,7 +56,7 @@ module PulpContainerClient
|
|
|
56
56
|
Set.new([
|
|
57
57
|
:'retain_repo_versions',
|
|
58
58
|
:'manifest_signing_service',
|
|
59
|
-
:'description'
|
|
59
|
+
:'description'
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -75,6 +75,12 @@ module PulpContainerClient
|
|
|
75
75
|
h[k.to_sym] = v
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
if attributes.key?(:'pulp_labels')
|
|
79
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
80
|
+
self.pulp_labels = value
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
78
84
|
if attributes.key?(:'name')
|
|
79
85
|
self.name = attributes[:'name']
|
|
80
86
|
end
|
|
@@ -90,12 +96,6 @@ module PulpContainerClient
|
|
|
90
96
|
if attributes.key?(:'description')
|
|
91
97
|
self.description = attributes[:'description']
|
|
92
98
|
end
|
|
93
|
-
|
|
94
|
-
if attributes.key?(:'pulp_labels')
|
|
95
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
96
|
-
self.pulp_labels = value
|
|
97
|
-
end
|
|
98
|
-
end
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -170,11 +170,11 @@ 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 &&
|
|
173
174
|
name == o.name &&
|
|
174
175
|
retain_repo_versions == o.retain_repo_versions &&
|
|
175
176
|
manifest_signing_service == o.manifest_signing_service &&
|
|
176
|
-
description == o.description
|
|
177
|
-
pulp_labels == o.pulp_labels
|
|
177
|
+
description == o.description
|
|
178
178
|
end
|
|
179
179
|
|
|
180
180
|
# @see the `==` method
|
|
@@ -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
|
-
[name, retain_repo_versions, manifest_signing_service, description
|
|
189
|
+
[pulp_labels, name, retain_repo_versions, manifest_signing_service, 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
|
+
attr_accessor :pulp_labels
|
|
19
|
+
|
|
20
|
+
attr_accessor :pulp_href
|
|
21
|
+
|
|
22
|
+
attr_accessor :latest_version_href
|
|
23
|
+
|
|
18
24
|
# A unique name for this repository.
|
|
19
25
|
attr_accessor :name
|
|
20
26
|
|
|
21
27
|
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
|
22
28
|
attr_accessor :retain_repo_versions
|
|
23
29
|
|
|
24
|
-
|
|
25
|
-
attr_accessor :pulp_created
|
|
26
|
-
|
|
27
|
-
attr_accessor :latest_version_href
|
|
30
|
+
attr_accessor :versions_href
|
|
28
31
|
|
|
29
32
|
# A reference to an associated signing service.
|
|
30
33
|
attr_accessor :manifest_signing_service
|
|
31
34
|
|
|
32
|
-
attr_accessor :versions_href
|
|
33
|
-
|
|
34
35
|
# An optional description.
|
|
35
36
|
attr_accessor :description
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
attr_accessor :pulp_href
|
|
38
|
+
# Timestamp of creation.
|
|
39
|
+
attr_accessor :pulp_created
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
+
:'pulp_labels' => :'pulp_labels',
|
|
45
|
+
:'pulp_href' => :'pulp_href',
|
|
46
|
+
:'latest_version_href' => :'latest_version_href',
|
|
44
47
|
:'name' => :'name',
|
|
45
48
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
46
|
-
:'pulp_created' => :'pulp_created',
|
|
47
|
-
:'latest_version_href' => :'latest_version_href',
|
|
48
|
-
:'manifest_signing_service' => :'manifest_signing_service',
|
|
49
49
|
:'versions_href' => :'versions_href',
|
|
50
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
50
51
|
:'description' => :'description',
|
|
51
|
-
:'
|
|
52
|
-
:'pulp_href' => :'pulp_href'
|
|
52
|
+
:'pulp_created' => :'pulp_created'
|
|
53
53
|
}
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
# Attribute type mapping.
|
|
57
57
|
def self.openapi_types
|
|
58
58
|
{
|
|
59
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
60
|
+
:'pulp_href' => :'String',
|
|
61
|
+
:'latest_version_href' => :'String',
|
|
59
62
|
:'name' => :'String',
|
|
60
63
|
:'retain_repo_versions' => :'Integer',
|
|
61
|
-
:'pulp_created' => :'DateTime',
|
|
62
|
-
:'latest_version_href' => :'String',
|
|
63
|
-
:'manifest_signing_service' => :'String',
|
|
64
64
|
:'versions_href' => :'String',
|
|
65
|
+
:'manifest_signing_service' => :'String',
|
|
65
66
|
:'description' => :'String',
|
|
66
|
-
:'
|
|
67
|
-
:'pulp_href' => :'String'
|
|
67
|
+
:'pulp_created' => :'DateTime'
|
|
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?(:'
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
if attributes.key?(:'retain_repo_versions')
|
|
100
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
95
|
+
if attributes.key?(:'pulp_labels')
|
|
96
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
97
|
+
self.pulp_labels = value
|
|
98
|
+
end
|
|
101
99
|
end
|
|
102
100
|
|
|
103
|
-
if attributes.key?(:'
|
|
104
|
-
self.
|
|
101
|
+
if attributes.key?(:'pulp_href')
|
|
102
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
105
103
|
end
|
|
106
104
|
|
|
107
105
|
if attributes.key?(:'latest_version_href')
|
|
108
106
|
self.latest_version_href = attributes[:'latest_version_href']
|
|
109
107
|
end
|
|
110
108
|
|
|
111
|
-
if attributes.key?(:'
|
|
112
|
-
self.
|
|
109
|
+
if attributes.key?(:'name')
|
|
110
|
+
self.name = attributes[:'name']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
if attributes.key?(:'retain_repo_versions')
|
|
114
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
113
115
|
end
|
|
114
116
|
|
|
115
117
|
if attributes.key?(:'versions_href')
|
|
116
118
|
self.versions_href = attributes[:'versions_href']
|
|
117
119
|
end
|
|
118
120
|
|
|
119
|
-
if attributes.key?(:'
|
|
120
|
-
self.
|
|
121
|
+
if attributes.key?(:'manifest_signing_service')
|
|
122
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
121
123
|
end
|
|
122
124
|
|
|
123
|
-
if attributes.key?(:'
|
|
124
|
-
|
|
125
|
-
self.pulp_labels = value
|
|
126
|
-
end
|
|
125
|
+
if attributes.key?(:'description')
|
|
126
|
+
self.description = attributes[:'description']
|
|
127
127
|
end
|
|
128
128
|
|
|
129
|
-
if attributes.key?(:'
|
|
130
|
-
self.
|
|
129
|
+
if attributes.key?(:'pulp_created')
|
|
130
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
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_labels == o.pulp_labels &&
|
|
173
|
+
pulp_href == o.pulp_href &&
|
|
174
|
+
latest_version_href == o.latest_version_href &&
|
|
172
175
|
name == o.name &&
|
|
173
176
|
retain_repo_versions == o.retain_repo_versions &&
|
|
174
|
-
pulp_created == o.pulp_created &&
|
|
175
|
-
latest_version_href == o.latest_version_href &&
|
|
176
|
-
manifest_signing_service == o.manifest_signing_service &&
|
|
177
177
|
versions_href == o.versions_href &&
|
|
178
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
178
179
|
description == o.description &&
|
|
179
|
-
|
|
180
|
-
pulp_href == o.pulp_href
|
|
180
|
+
pulp_created == o.pulp_created
|
|
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
|
+
[pulp_labels, pulp_href, latest_version_href, name, retain_repo_versions, versions_href, manifest_signing_service, description, pulp_created].hash
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
# Builds the object from hash
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class PatchedcontainerContainerDistribution
|
|
18
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
19
|
-
attr_accessor :name
|
|
20
|
-
|
|
21
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
22
|
-
attr_accessor :content_guard
|
|
23
|
-
|
|
24
18
|
# The latest RepositoryVersion for this Repository will be served.
|
|
25
19
|
attr_accessor :repository
|
|
26
20
|
|
|
27
21
|
attr_accessor :pulp_labels
|
|
28
22
|
|
|
23
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
|
+
attr_accessor :name
|
|
25
|
+
|
|
29
26
|
# 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
27
|
attr_accessor :base_path
|
|
31
28
|
|
|
29
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
30
|
+
attr_accessor :content_guard
|
|
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
|
-
:'name' => :'name',
|
|
45
|
-
:'content_guard' => :'content_guard',
|
|
46
44
|
:'repository' => :'repository',
|
|
47
45
|
:'pulp_labels' => :'pulp_labels',
|
|
46
|
+
:'name' => :'name',
|
|
48
47
|
:'base_path' => :'base_path',
|
|
48
|
+
:'content_guard' => :'content_guard',
|
|
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
|
-
:'name' => :'String',
|
|
59
|
-
:'content_guard' => :'String',
|
|
60
58
|
:'repository' => :'String',
|
|
61
59
|
:'pulp_labels' => :'Hash<String, String>',
|
|
60
|
+
:'name' => :'String',
|
|
62
61
|
:'base_path' => :'String',
|
|
62
|
+
:'content_guard' => :'String',
|
|
63
63
|
:'repository_version' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
65
65
|
:'description' => :'String'
|
|
@@ -90,14 +90,6 @@ module PulpContainerClient
|
|
|
90
90
|
h[k.to_sym] = v
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
if attributes.key?(:'name')
|
|
94
|
-
self.name = attributes[:'name']
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
if attributes.key?(:'content_guard')
|
|
98
|
-
self.content_guard = attributes[:'content_guard']
|
|
99
|
-
end
|
|
100
|
-
|
|
101
93
|
if attributes.key?(:'repository')
|
|
102
94
|
self.repository = attributes[:'repository']
|
|
103
95
|
end
|
|
@@ -108,10 +100,18 @@ module PulpContainerClient
|
|
|
108
100
|
end
|
|
109
101
|
end
|
|
110
102
|
|
|
103
|
+
if attributes.key?(:'name')
|
|
104
|
+
self.name = attributes[:'name']
|
|
105
|
+
end
|
|
106
|
+
|
|
111
107
|
if attributes.key?(:'base_path')
|
|
112
108
|
self.base_path = attributes[:'base_path']
|
|
113
109
|
end
|
|
114
110
|
|
|
111
|
+
if attributes.key?(:'content_guard')
|
|
112
|
+
self.content_guard = attributes[:'content_guard']
|
|
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
|
-
name == o.name &&
|
|
192
|
-
content_guard == o.content_guard &&
|
|
193
191
|
repository == o.repository &&
|
|
194
192
|
pulp_labels == o.pulp_labels &&
|
|
193
|
+
name == o.name &&
|
|
195
194
|
base_path == o.base_path &&
|
|
195
|
+
content_guard == o.content_guard &&
|
|
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
|
+
[repository, pulp_labels, name, base_path, content_guard, repository_version, private, description].hash
|
|
211
211
|
end
|
|
212
212
|
|
|
213
213
|
# Builds the object from hash
|
|
@@ -15,6 +15,8 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class PatchedcontainerContainerPushRepository
|
|
18
|
+
attr_accessor :pulp_labels
|
|
19
|
+
|
|
18
20
|
# A unique name for this repository.
|
|
19
21
|
attr_accessor :name
|
|
20
22
|
|
|
@@ -27,27 +29,25 @@ module PulpContainerClient
|
|
|
27
29
|
# An optional description.
|
|
28
30
|
attr_accessor :description
|
|
29
31
|
|
|
30
|
-
attr_accessor :pulp_labels
|
|
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',
|
|
35
36
|
:'name' => :'name',
|
|
36
37
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
37
38
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
38
|
-
:'description' => :'description'
|
|
39
|
-
:'pulp_labels' => :'pulp_labels'
|
|
39
|
+
:'description' => :'description'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
# Attribute type mapping.
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
46
47
|
:'name' => :'String',
|
|
47
48
|
:'retain_repo_versions' => :'Integer',
|
|
48
49
|
:'manifest_signing_service' => :'String',
|
|
49
|
-
:'description' => :'String'
|
|
50
|
-
:'pulp_labels' => :'Hash<String, String>'
|
|
50
|
+
:'description' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
53
53
|
|
|
@@ -56,7 +56,7 @@ module PulpContainerClient
|
|
|
56
56
|
Set.new([
|
|
57
57
|
:'retain_repo_versions',
|
|
58
58
|
:'manifest_signing_service',
|
|
59
|
-
:'description'
|
|
59
|
+
:'description'
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -75,6 +75,12 @@ module PulpContainerClient
|
|
|
75
75
|
h[k.to_sym] = v
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
if attributes.key?(:'pulp_labels')
|
|
79
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
80
|
+
self.pulp_labels = value
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
78
84
|
if attributes.key?(:'name')
|
|
79
85
|
self.name = attributes[:'name']
|
|
80
86
|
end
|
|
@@ -90,12 +96,6 @@ module PulpContainerClient
|
|
|
90
96
|
if attributes.key?(:'description')
|
|
91
97
|
self.description = attributes[:'description']
|
|
92
98
|
end
|
|
93
|
-
|
|
94
|
-
if attributes.key?(:'pulp_labels')
|
|
95
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
96
|
-
self.pulp_labels = value
|
|
97
|
-
end
|
|
98
|
-
end
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -161,11 +161,11 @@ module PulpContainerClient
|
|
|
161
161
|
def ==(o)
|
|
162
162
|
return true if self.equal?(o)
|
|
163
163
|
self.class == o.class &&
|
|
164
|
+
pulp_labels == o.pulp_labels &&
|
|
164
165
|
name == o.name &&
|
|
165
166
|
retain_repo_versions == o.retain_repo_versions &&
|
|
166
167
|
manifest_signing_service == o.manifest_signing_service &&
|
|
167
|
-
description == o.description
|
|
168
|
-
pulp_labels == o.pulp_labels
|
|
168
|
+
description == o.description
|
|
169
169
|
end
|
|
170
170
|
|
|
171
171
|
# @see the `==` method
|
|
@@ -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
|
-
[name, retain_repo_versions, manifest_signing_service, description
|
|
180
|
+
[pulp_labels, name, retain_repo_versions, manifest_signing_service, description].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 "repository"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "pulp_href"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "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
|
|
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
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "pulp_created"' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "content_guard"' do
|
|
72
72
|
it 'should work' do
|
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
74
|
end
|
|
@@ -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 "repository"' 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
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "name"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "base_path"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "content_guard"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
@@ -32,31 +32,31 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepositoryResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_labels"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "pulp_href"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "latest_version_href"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "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
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "retain_repo_versions"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
@@ -68,19 +68,19 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "manifest_signing_service"' 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 "pulp_created"' do
|
|
84
84
|
it 'should work' do
|
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
86
|
end
|
|
@@ -32,31 +32,31 @@ describe 'ContainerContainerPushRepository' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepository)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_labels"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "name"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "retain_repo_versions"' 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 "manifest_signing_service"' 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 "description"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
@@ -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 "repository"' 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
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "name"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "base_path"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "content_guard"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
@@ -32,31 +32,31 @@ describe 'PatchedcontainerContainerPushRepository' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerPushRepository)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_labels"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "name"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "retain_repo_versions"' 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 "manifest_signing_service"' 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 "description"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_container_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.15.0.
|
|
4
|
+
version: 2.15.0.dev1671419159
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-12-
|
|
11
|
+
date: 2022-12-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|