pulp_container_client 2.19.1 → 2.19.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +4 -4
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +6 -6
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/lib/pulp_container_client/models/container_container_distribution.rb +18 -18
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +18 -18
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +18 -18
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +18 -18
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +24 -24
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +18 -18
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +18 -18
- 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_pull_through_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- metadata +64 -64
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8d483a551b5f1c2b8d96a4d1f941c764f4a1fb196cc90fa24012fedb8e450a6
|
4
|
+
data.tar.gz: 0b37ab0d633382879729872263d79f7132380f522a5db3d430e73d7bd7eae192
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bac348fbbc22c0c241c849cc6b229434a7764cbf9bf2cbb8768b1b55ca0f120abee86d8f1924d787988028eae10a68a3c11e356465ebe584c27416cba58490f
|
7
|
+
data.tar.gz: d180ee36988349873cb94609b426a0657c17d33c96a987f0ad1487ee07d7d176be9158de53dfd52cc5ee51d9c5c9dbeffaf5acd06f652788e73a9d4e18ff7db9
|
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.19.
|
10
|
+
- Package version: 2.19.3
|
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.19.
|
27
|
+
gem install ./pulp_container_client-2.19.3.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.19.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.19.3.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.19.
|
36
|
+
gem 'pulp_container_client', '~> 2.19.3'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -5,11 +5,11 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**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\") |
|
8
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
11
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
11
12
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
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]
|
15
15
|
**description** | **String** | An optional description. | [optional]
|
@@ -20,11 +20,11 @@ Name | Type | Description | Notes
|
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
22
|
instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
|
23
|
-
content_guard: null,
|
24
23
|
name: null,
|
24
|
+
content_guard: null,
|
25
|
+
repository: null,
|
25
26
|
hidden: null,
|
26
27
|
pulp_labels: null,
|
27
|
-
repository: null,
|
28
28
|
repository_version: null,
|
29
29
|
private: null,
|
30
30
|
description: null)
|
@@ -5,13 +5,13 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**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\") |
|
8
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
8
9
|
**pulp_href** | **String** | | [optional] [readonly]
|
9
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
-
**
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
12
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
13
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
13
14
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
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
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] [readonly]
|
@@ -25,13 +25,13 @@ Name | Type | Description | Notes
|
|
25
25
|
require 'PulpContainerClient'
|
26
26
|
|
27
27
|
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(base_path: null,
|
28
|
+
name: null,
|
28
29
|
pulp_href: null,
|
29
30
|
content_guard: null,
|
30
|
-
|
31
|
+
repository: null,
|
31
32
|
pulp_created: null,
|
32
33
|
hidden: null,
|
33
34
|
pulp_labels: null,
|
34
|
-
repository: null,
|
35
35
|
repository_version: null,
|
36
36
|
registry_path: null,
|
37
37
|
remote: null,
|
@@ -5,11 +5,11 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**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\") |
|
8
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
11
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
11
12
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
12
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
13
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. |
|
14
14
|
**distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
|
15
15
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional]
|
@@ -21,11 +21,11 @@ Name | Type | Description | Notes
|
|
21
21
|
require 'PulpContainerClient'
|
22
22
|
|
23
23
|
instance = PulpContainerClient::ContainerContainerPullThroughDistribution.new(base_path: null,
|
24
|
-
content_guard: null,
|
25
24
|
name: null,
|
25
|
+
content_guard: null,
|
26
|
+
repository: null,
|
26
27
|
hidden: null,
|
27
28
|
pulp_labels: null,
|
28
|
-
repository: null,
|
29
29
|
remote: null,
|
30
30
|
distributions: null,
|
31
31
|
private: null,
|
@@ -5,13 +5,13 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**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\") |
|
8
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
8
9
|
**pulp_href** | **String** | | [optional] [readonly]
|
9
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
-
**
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
12
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
13
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
13
14
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
14
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
15
15
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. |
|
16
16
|
**distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
|
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::ContainerContainerPullThroughDistributionResponse.new(base_path: null,
|
27
|
+
name: null,
|
27
28
|
pulp_href: null,
|
28
29
|
content_guard: null,
|
29
|
-
|
30
|
+
repository: null,
|
30
31
|
pulp_created: null,
|
31
32
|
hidden: null,
|
32
33
|
pulp_labels: null,
|
33
|
-
repository: null,
|
34
34
|
remote: null,
|
35
35
|
distributions: null,
|
36
36
|
namespace: null,
|
@@ -5,11 +5,11 @@
|
|
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
|
-
**versions_href** | **String** | | [optional] [readonly]
|
9
|
-
**latest_version_href** | **String** | | [optional] [readonly]
|
10
8
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
11
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
12
9
|
**name** | **String** | A unique name for this repository. |
|
10
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
11
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
+
**versions_href** | **String** | | [optional] [readonly]
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
14
14
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
15
15
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
@@ -20,11 +20,11 @@ Name | Type | Description | Notes
|
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
22
|
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(retain_repo_versions: null,
|
23
|
-
versions_href: null,
|
24
|
-
latest_version_href: null,
|
25
23
|
manifest_signing_service: null,
|
26
|
-
pulp_href: null,
|
27
24
|
name: null,
|
25
|
+
latest_version_href: null,
|
26
|
+
pulp_href: null,
|
27
|
+
versions_href: null,
|
28
28
|
description: null,
|
29
29
|
pulp_created: null,
|
30
30
|
pulp_labels: null)
|
@@ -5,11 +5,11 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**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]
|
8
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
11
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
11
12
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
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]
|
15
15
|
**description** | **String** | An optional description. | [optional]
|
@@ -20,11 +20,11 @@ Name | Type | Description | Notes
|
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
22
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
|
23
|
-
content_guard: null,
|
24
23
|
name: null,
|
24
|
+
content_guard: null,
|
25
|
+
repository: null,
|
25
26
|
hidden: null,
|
26
27
|
pulp_labels: null,
|
27
|
-
repository: null,
|
28
28
|
repository_version: null,
|
29
29
|
private: null,
|
30
30
|
description: null)
|
@@ -5,11 +5,11 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**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]
|
8
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
11
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
11
12
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
12
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
13
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
|
14
14
|
**distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
|
15
15
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional]
|
@@ -21,11 +21,11 @@ Name | Type | Description | Notes
|
|
21
21
|
require 'PulpContainerClient'
|
22
22
|
|
23
23
|
instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(base_path: null,
|
24
|
-
content_guard: null,
|
25
24
|
name: null,
|
25
|
+
content_guard: null,
|
26
|
+
repository: null,
|
26
27
|
hidden: null,
|
27
28
|
pulp_labels: null,
|
28
|
-
repository: null,
|
29
29
|
remote: null,
|
30
30
|
distributions: null,
|
31
31
|
private: null,
|
@@ -18,20 +18,20 @@ module PulpContainerClient
|
|
18
18
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
19
19
|
attr_accessor :base_path
|
20
20
|
|
21
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
22
|
+
attr_accessor :name
|
23
|
+
|
21
24
|
# An optional content-guard. If none is specified, a default one will be used.
|
22
25
|
attr_accessor :content_guard
|
23
26
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
27
|
+
# The latest RepositoryVersion for this Repository will be served.
|
28
|
+
attr_accessor :repository
|
26
29
|
|
27
30
|
# Whether this distribution should be shown in the content app.
|
28
31
|
attr_accessor :hidden
|
29
32
|
|
30
33
|
attr_accessor :pulp_labels
|
31
34
|
|
32
|
-
# The latest RepositoryVersion for this Repository will be served.
|
33
|
-
attr_accessor :repository
|
34
|
-
|
35
35
|
# RepositoryVersion to be served
|
36
36
|
attr_accessor :repository_version
|
37
37
|
|
@@ -45,11 +45,11 @@ module PulpContainerClient
|
|
45
45
|
def self.attribute_map
|
46
46
|
{
|
47
47
|
:'base_path' => :'base_path',
|
48
|
-
:'content_guard' => :'content_guard',
|
49
48
|
:'name' => :'name',
|
49
|
+
:'content_guard' => :'content_guard',
|
50
|
+
:'repository' => :'repository',
|
50
51
|
:'hidden' => :'hidden',
|
51
52
|
:'pulp_labels' => :'pulp_labels',
|
52
|
-
:'repository' => :'repository',
|
53
53
|
:'repository_version' => :'repository_version',
|
54
54
|
:'private' => :'private',
|
55
55
|
:'description' => :'description'
|
@@ -60,11 +60,11 @@ module PulpContainerClient
|
|
60
60
|
def self.openapi_types
|
61
61
|
{
|
62
62
|
:'base_path' => :'String',
|
63
|
-
:'content_guard' => :'String',
|
64
63
|
:'name' => :'String',
|
64
|
+
:'content_guard' => :'String',
|
65
|
+
:'repository' => :'String',
|
65
66
|
:'hidden' => :'Boolean',
|
66
67
|
:'pulp_labels' => :'Hash<String, String>',
|
67
|
-
:'repository' => :'String',
|
68
68
|
:'repository_version' => :'String',
|
69
69
|
:'private' => :'Boolean',
|
70
70
|
:'description' => :'String'
|
@@ -99,12 +99,16 @@ module PulpContainerClient
|
|
99
99
|
self.base_path = attributes[:'base_path']
|
100
100
|
end
|
101
101
|
|
102
|
+
if attributes.key?(:'name')
|
103
|
+
self.name = attributes[:'name']
|
104
|
+
end
|
105
|
+
|
102
106
|
if attributes.key?(:'content_guard')
|
103
107
|
self.content_guard = attributes[:'content_guard']
|
104
108
|
end
|
105
109
|
|
106
|
-
if attributes.key?(:'
|
107
|
-
self.
|
110
|
+
if attributes.key?(:'repository')
|
111
|
+
self.repository = attributes[:'repository']
|
108
112
|
end
|
109
113
|
|
110
114
|
if attributes.key?(:'hidden')
|
@@ -119,10 +123,6 @@ module PulpContainerClient
|
|
119
123
|
end
|
120
124
|
end
|
121
125
|
|
122
|
-
if attributes.key?(:'repository')
|
123
|
-
self.repository = attributes[:'repository']
|
124
|
-
end
|
125
|
-
|
126
126
|
if attributes.key?(:'repository_version')
|
127
127
|
self.repository_version = attributes[:'repository_version']
|
128
128
|
end
|
@@ -218,11 +218,11 @@ module PulpContainerClient
|
|
218
218
|
return true if self.equal?(o)
|
219
219
|
self.class == o.class &&
|
220
220
|
base_path == o.base_path &&
|
221
|
-
content_guard == o.content_guard &&
|
222
221
|
name == o.name &&
|
222
|
+
content_guard == o.content_guard &&
|
223
|
+
repository == o.repository &&
|
223
224
|
hidden == o.hidden &&
|
224
225
|
pulp_labels == o.pulp_labels &&
|
225
|
-
repository == o.repository &&
|
226
226
|
repository_version == o.repository_version &&
|
227
227
|
private == o.private &&
|
228
228
|
description == o.description
|
@@ -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
|
-
[base_path, content_guard,
|
240
|
+
[base_path, name, content_guard, repository, hidden, pulp_labels, repository_version, private, description].hash
|
241
241
|
end
|
242
242
|
|
243
243
|
# Builds the object from hash
|
@@ -18,13 +18,16 @@ module PulpContainerClient
|
|
18
18
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
19
19
|
attr_accessor :base_path
|
20
20
|
|
21
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
22
|
+
attr_accessor :name
|
23
|
+
|
21
24
|
attr_accessor :pulp_href
|
22
25
|
|
23
26
|
# An optional content-guard. If none is specified, a default one will be used.
|
24
27
|
attr_accessor :content_guard
|
25
28
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
29
|
+
# The latest RepositoryVersion for this Repository will be served.
|
30
|
+
attr_accessor :repository
|
28
31
|
|
29
32
|
# Timestamp of creation.
|
30
33
|
attr_accessor :pulp_created
|
@@ -34,9 +37,6 @@ module PulpContainerClient
|
|
34
37
|
|
35
38
|
attr_accessor :pulp_labels
|
36
39
|
|
37
|
-
# The latest RepositoryVersion for this Repository will be served.
|
38
|
-
attr_accessor :repository
|
39
|
-
|
40
40
|
# RepositoryVersion to be served
|
41
41
|
attr_accessor :repository_version
|
42
42
|
|
@@ -59,13 +59,13 @@ module PulpContainerClient
|
|
59
59
|
def self.attribute_map
|
60
60
|
{
|
61
61
|
:'base_path' => :'base_path',
|
62
|
+
:'name' => :'name',
|
62
63
|
:'pulp_href' => :'pulp_href',
|
63
64
|
:'content_guard' => :'content_guard',
|
64
|
-
:'
|
65
|
+
:'repository' => :'repository',
|
65
66
|
:'pulp_created' => :'pulp_created',
|
66
67
|
:'hidden' => :'hidden',
|
67
68
|
:'pulp_labels' => :'pulp_labels',
|
68
|
-
:'repository' => :'repository',
|
69
69
|
:'repository_version' => :'repository_version',
|
70
70
|
:'registry_path' => :'registry_path',
|
71
71
|
:'remote' => :'remote',
|
@@ -79,13 +79,13 @@ module PulpContainerClient
|
|
79
79
|
def self.openapi_types
|
80
80
|
{
|
81
81
|
:'base_path' => :'String',
|
82
|
+
:'name' => :'String',
|
82
83
|
:'pulp_href' => :'String',
|
83
84
|
:'content_guard' => :'String',
|
84
|
-
:'
|
85
|
+
:'repository' => :'String',
|
85
86
|
:'pulp_created' => :'DateTime',
|
86
87
|
:'hidden' => :'Boolean',
|
87
88
|
:'pulp_labels' => :'Hash<String, String>',
|
88
|
-
:'repository' => :'String',
|
89
89
|
:'repository_version' => :'String',
|
90
90
|
:'registry_path' => :'String',
|
91
91
|
:'remote' => :'String',
|
@@ -123,6 +123,10 @@ module PulpContainerClient
|
|
123
123
|
self.base_path = attributes[:'base_path']
|
124
124
|
end
|
125
125
|
|
126
|
+
if attributes.key?(:'name')
|
127
|
+
self.name = attributes[:'name']
|
128
|
+
end
|
129
|
+
|
126
130
|
if attributes.key?(:'pulp_href')
|
127
131
|
self.pulp_href = attributes[:'pulp_href']
|
128
132
|
end
|
@@ -131,8 +135,8 @@ module PulpContainerClient
|
|
131
135
|
self.content_guard = attributes[:'content_guard']
|
132
136
|
end
|
133
137
|
|
134
|
-
if attributes.key?(:'
|
135
|
-
self.
|
138
|
+
if attributes.key?(:'repository')
|
139
|
+
self.repository = attributes[:'repository']
|
136
140
|
end
|
137
141
|
|
138
142
|
if attributes.key?(:'pulp_created')
|
@@ -151,10 +155,6 @@ module PulpContainerClient
|
|
151
155
|
end
|
152
156
|
end
|
153
157
|
|
154
|
-
if attributes.key?(:'repository')
|
155
|
-
self.repository = attributes[:'repository']
|
156
|
-
end
|
157
|
-
|
158
158
|
if attributes.key?(:'repository_version')
|
159
159
|
self.repository_version = attributes[:'repository_version']
|
160
160
|
end
|
@@ -209,13 +209,13 @@ module PulpContainerClient
|
|
209
209
|
return true if self.equal?(o)
|
210
210
|
self.class == o.class &&
|
211
211
|
base_path == o.base_path &&
|
212
|
+
name == o.name &&
|
212
213
|
pulp_href == o.pulp_href &&
|
213
214
|
content_guard == o.content_guard &&
|
214
|
-
|
215
|
+
repository == o.repository &&
|
215
216
|
pulp_created == o.pulp_created &&
|
216
217
|
hidden == o.hidden &&
|
217
218
|
pulp_labels == o.pulp_labels &&
|
218
|
-
repository == o.repository &&
|
219
219
|
repository_version == o.repository_version &&
|
220
220
|
registry_path == o.registry_path &&
|
221
221
|
remote == o.remote &&
|
@@ -233,7 +233,7 @@ module PulpContainerClient
|
|
233
233
|
# Calculates hash code according to all attributes.
|
234
234
|
# @return [Integer] Hash code
|
235
235
|
def hash
|
236
|
-
[base_path, pulp_href, content_guard,
|
236
|
+
[base_path, name, pulp_href, content_guard, repository, pulp_created, hidden, pulp_labels, repository_version, registry_path, remote, namespace, private, description].hash
|
237
237
|
end
|
238
238
|
|
239
239
|
# Builds the object from hash
|
@@ -18,20 +18,20 @@ module PulpContainerClient
|
|
18
18
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
19
19
|
attr_accessor :base_path
|
20
20
|
|
21
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
22
|
+
attr_accessor :name
|
23
|
+
|
21
24
|
# An optional content-guard. If none is specified, a default one will be used.
|
22
25
|
attr_accessor :content_guard
|
23
26
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
27
|
+
# The latest RepositoryVersion for this Repository will be served.
|
28
|
+
attr_accessor :repository
|
26
29
|
|
27
30
|
# Whether this distribution should be shown in the content app.
|
28
31
|
attr_accessor :hidden
|
29
32
|
|
30
33
|
attr_accessor :pulp_labels
|
31
34
|
|
32
|
-
# The latest RepositoryVersion for this Repository will be served.
|
33
|
-
attr_accessor :repository
|
34
|
-
|
35
35
|
# Remote that can be used to fetch content when using pull-through caching.
|
36
36
|
attr_accessor :remote
|
37
37
|
|
@@ -48,11 +48,11 @@ module PulpContainerClient
|
|
48
48
|
def self.attribute_map
|
49
49
|
{
|
50
50
|
:'base_path' => :'base_path',
|
51
|
-
:'content_guard' => :'content_guard',
|
52
51
|
:'name' => :'name',
|
52
|
+
:'content_guard' => :'content_guard',
|
53
|
+
:'repository' => :'repository',
|
53
54
|
:'hidden' => :'hidden',
|
54
55
|
:'pulp_labels' => :'pulp_labels',
|
55
|
-
:'repository' => :'repository',
|
56
56
|
:'remote' => :'remote',
|
57
57
|
:'distributions' => :'distributions',
|
58
58
|
:'private' => :'private',
|
@@ -64,11 +64,11 @@ module PulpContainerClient
|
|
64
64
|
def self.openapi_types
|
65
65
|
{
|
66
66
|
:'base_path' => :'String',
|
67
|
-
:'content_guard' => :'String',
|
68
67
|
:'name' => :'String',
|
68
|
+
:'content_guard' => :'String',
|
69
|
+
:'repository' => :'String',
|
69
70
|
:'hidden' => :'Boolean',
|
70
71
|
:'pulp_labels' => :'Hash<String, String>',
|
71
|
-
:'repository' => :'String',
|
72
72
|
:'remote' => :'String',
|
73
73
|
:'distributions' => :'Array<String>',
|
74
74
|
:'private' => :'Boolean',
|
@@ -103,12 +103,16 @@ module PulpContainerClient
|
|
103
103
|
self.base_path = attributes[:'base_path']
|
104
104
|
end
|
105
105
|
|
106
|
+
if attributes.key?(:'name')
|
107
|
+
self.name = attributes[:'name']
|
108
|
+
end
|
109
|
+
|
106
110
|
if attributes.key?(:'content_guard')
|
107
111
|
self.content_guard = attributes[:'content_guard']
|
108
112
|
end
|
109
113
|
|
110
|
-
if attributes.key?(:'
|
111
|
-
self.
|
114
|
+
if attributes.key?(:'repository')
|
115
|
+
self.repository = attributes[:'repository']
|
112
116
|
end
|
113
117
|
|
114
118
|
if attributes.key?(:'hidden')
|
@@ -123,10 +127,6 @@ module PulpContainerClient
|
|
123
127
|
end
|
124
128
|
end
|
125
129
|
|
126
|
-
if attributes.key?(:'repository')
|
127
|
-
self.repository = attributes[:'repository']
|
128
|
-
end
|
129
|
-
|
130
130
|
if attributes.key?(:'remote')
|
131
131
|
self.remote = attributes[:'remote']
|
132
132
|
end
|
@@ -233,11 +233,11 @@ module PulpContainerClient
|
|
233
233
|
return true if self.equal?(o)
|
234
234
|
self.class == o.class &&
|
235
235
|
base_path == o.base_path &&
|
236
|
-
content_guard == o.content_guard &&
|
237
236
|
name == o.name &&
|
237
|
+
content_guard == o.content_guard &&
|
238
|
+
repository == o.repository &&
|
238
239
|
hidden == o.hidden &&
|
239
240
|
pulp_labels == o.pulp_labels &&
|
240
|
-
repository == o.repository &&
|
241
241
|
remote == o.remote &&
|
242
242
|
distributions == o.distributions &&
|
243
243
|
private == o.private &&
|
@@ -253,7 +253,7 @@ module PulpContainerClient
|
|
253
253
|
# Calculates hash code according to all attributes.
|
254
254
|
# @return [Integer] Hash code
|
255
255
|
def hash
|
256
|
-
[base_path, content_guard,
|
256
|
+
[base_path, name, content_guard, repository, hidden, pulp_labels, remote, distributions, private, description].hash
|
257
257
|
end
|
258
258
|
|
259
259
|
# Builds the object from hash
|