pulp_container_client 2.16.4 → 2.16.5
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 +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +32 -32
- data/lib/pulp_container_client/models/container_container_push_repository.rb +54 -54
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +51 -51
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +5 -5
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +55 -55
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d1cc3c8531a2e4c2b5a9efbaee4d4d7fbd72ead400292f4746f2b809b99095f
|
4
|
+
data.tar.gz: 9de783233064a7ff1be23916fa0ca97179052a0e18cc3b8312b04b0ba200402b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7cf5a9437ed45d21b299dc6e569db152c5905439a24c0820a5b04bc96c060b7fafc30f8ecdd4d52da32708cec6477473e3ed687dbc5716acbe4eb85eb9265b6
|
7
|
+
data.tar.gz: 535cc046f38227819939ac94f00c581aa18cc1c5a0a4e61db08caabbe1cc8dca04400ba0de4f17f8e98091541e53d4adabf6692a460ca534c065ebcd93498bef
|
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.5
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_container_client-2.16.
|
27
|
+
gem install ./pulp_container_client-2.16.5.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.5.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_container_client', '~> 2.16.
|
36
|
+
gem 'pulp_container_client', '~> 2.16.5'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
7
8
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
10
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
11
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
10
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
12
|
-
**pulp_labels** | **Hash<String, String>** | | [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]
|
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
22
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(content_guard: null,
|
23
|
+
base_path: null,
|
24
|
+
pulp_labels: null,
|
23
25
|
repository: null,
|
24
26
|
hidden: null,
|
25
|
-
content_guard: null,
|
26
27
|
name: null,
|
27
|
-
pulp_labels: null,
|
28
28
|
repository_version: null,
|
29
29
|
private: null,
|
30
30
|
description: null)
|
@@ -4,14 +4,14 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
8
8
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
9
|
-
**
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
10
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
11
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
12
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
13
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
|
-
**
|
13
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
14
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
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]
|
@@ -23,14 +23,14 @@ Name | Type | Description | Notes
|
|
23
23
|
```ruby
|
24
24
|
require 'PulpContainerClient'
|
25
25
|
|
26
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
26
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(content_guard: null,
|
27
27
|
base_path: null,
|
28
|
-
|
28
|
+
pulp_labels: null,
|
29
29
|
repository: null,
|
30
30
|
hidden: null,
|
31
|
-
content_guard: null,
|
32
31
|
name: null,
|
33
|
-
|
32
|
+
pulp_created: null,
|
33
|
+
pulp_href: null,
|
34
34
|
repository_version: null,
|
35
35
|
registry_path: null,
|
36
36
|
namespace: null,
|
@@ -4,22 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
|
+
**name** | **String** | A unique name for this repository. |
|
7
9
|
**description** | **String** | An optional description. | [optional]
|
8
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
9
10
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
10
|
-
**
|
11
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerPushRepository.new(
|
19
|
-
retain_repo_versions: null,
|
20
|
-
manifest_signing_service: null,
|
18
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(pulp_labels: null,
|
21
19
|
name: null,
|
22
|
-
|
20
|
+
description: null,
|
21
|
+
manifest_signing_service: null,
|
22
|
+
retain_repo_versions: 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
|
+
**versions_href** | **String** | | [optional] [readonly]
|
9
|
+
**name** | **String** | A unique name for this repository. |
|
7
10
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
11
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
8
12
|
**description** | **String** | An optional description. | [optional]
|
9
|
-
**versions_href** | **String** | | [optional] [readonly]
|
10
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
11
13
|
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
-
**latest_version_href** | **String** | | [optional] [readonly]
|
13
14
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
14
|
-
**
|
15
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
15
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
16
16
|
|
17
17
|
## Code Sample
|
18
18
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
23
|
-
description: null,
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_labels: null,
|
24
23
|
versions_href: null,
|
25
|
-
|
26
|
-
|
24
|
+
name: null,
|
25
|
+
pulp_created: null,
|
27
26
|
latest_version_href: null,
|
27
|
+
description: null,
|
28
|
+
pulp_href: null,
|
28
29
|
manifest_signing_service: null,
|
29
|
-
|
30
|
-
pulp_labels: null)
|
30
|
+
retain_repo_versions: null)
|
31
31
|
```
|
32
32
|
|
33
33
|
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
7
8
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
10
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
11
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
10
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
12
|
-
**pulp_labels** | **Hash<String, String>** | | [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]
|
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
22
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(content_guard: null,
|
23
|
+
base_path: null,
|
24
|
+
pulp_labels: null,
|
23
25
|
repository: null,
|
24
26
|
hidden: null,
|
25
|
-
content_guard: null,
|
26
27
|
name: null,
|
27
|
-
pulp_labels: null,
|
28
28
|
repository_version: null,
|
29
29
|
private: null,
|
30
30
|
description: null)
|
@@ -4,22 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
|
+
**name** | **String** | A unique name for this repository. | [optional]
|
7
9
|
**description** | **String** | An optional description. | [optional]
|
8
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
9
10
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
10
|
-
**
|
11
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
19
|
-
retain_repo_versions: null,
|
20
|
-
manifest_signing_service: null,
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(pulp_labels: null,
|
21
19
|
name: null,
|
22
|
-
|
20
|
+
description: null,
|
21
|
+
manifest_signing_service: null,
|
22
|
+
retain_repo_versions: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
@@ -15,23 +15,23 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
19
|
+
attr_accessor :content_guard
|
20
|
+
|
18
21
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
19
22
|
attr_accessor :base_path
|
20
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
21
26
|
# The latest RepositoryVersion for this Repository will be served.
|
22
27
|
attr_accessor :repository
|
23
28
|
|
24
29
|
# Whether this distribution should be shown in the content app.
|
25
30
|
attr_accessor :hidden
|
26
31
|
|
27
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
28
|
-
attr_accessor :content_guard
|
29
|
-
|
30
32
|
# A unique name. Ex, `rawhide` and `stable`.
|
31
33
|
attr_accessor :name
|
32
34
|
|
33
|
-
attr_accessor :pulp_labels
|
34
|
-
|
35
35
|
# RepositoryVersion to be served
|
36
36
|
attr_accessor :repository_version
|
37
37
|
|
@@ -44,12 +44,12 @@ module PulpContainerClient
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
45
|
def self.attribute_map
|
46
46
|
{
|
47
|
+
:'content_guard' => :'content_guard',
|
47
48
|
:'base_path' => :'base_path',
|
49
|
+
:'pulp_labels' => :'pulp_labels',
|
48
50
|
:'repository' => :'repository',
|
49
51
|
:'hidden' => :'hidden',
|
50
|
-
:'content_guard' => :'content_guard',
|
51
52
|
:'name' => :'name',
|
52
|
-
:'pulp_labels' => :'pulp_labels',
|
53
53
|
:'repository_version' => :'repository_version',
|
54
54
|
:'private' => :'private',
|
55
55
|
:'description' => :'description'
|
@@ -59,12 +59,12 @@ module PulpContainerClient
|
|
59
59
|
# Attribute type mapping.
|
60
60
|
def self.openapi_types
|
61
61
|
{
|
62
|
+
:'content_guard' => :'String',
|
62
63
|
:'base_path' => :'String',
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
63
65
|
:'repository' => :'String',
|
64
66
|
:'hidden' => :'Boolean',
|
65
|
-
:'content_guard' => :'String',
|
66
67
|
:'name' => :'String',
|
67
|
-
:'pulp_labels' => :'Hash<String, String>',
|
68
68
|
:'repository_version' => :'String',
|
69
69
|
:'private' => :'Boolean',
|
70
70
|
:'description' => :'String'
|
@@ -95,10 +95,20 @@ module PulpContainerClient
|
|
95
95
|
h[k.to_sym] = v
|
96
96
|
}
|
97
97
|
|
98
|
+
if attributes.key?(:'content_guard')
|
99
|
+
self.content_guard = attributes[:'content_guard']
|
100
|
+
end
|
101
|
+
|
98
102
|
if attributes.key?(:'base_path')
|
99
103
|
self.base_path = attributes[:'base_path']
|
100
104
|
end
|
101
105
|
|
106
|
+
if attributes.key?(:'pulp_labels')
|
107
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
108
|
+
self.pulp_labels = value
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
102
112
|
if attributes.key?(:'repository')
|
103
113
|
self.repository = attributes[:'repository']
|
104
114
|
end
|
@@ -109,20 +119,10 @@ module PulpContainerClient
|
|
109
119
|
self.hidden = false
|
110
120
|
end
|
111
121
|
|
112
|
-
if attributes.key?(:'content_guard')
|
113
|
-
self.content_guard = attributes[:'content_guard']
|
114
|
-
end
|
115
|
-
|
116
122
|
if attributes.key?(:'name')
|
117
123
|
self.name = attributes[:'name']
|
118
124
|
end
|
119
125
|
|
120
|
-
if attributes.key?(:'pulp_labels')
|
121
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
122
|
-
self.pulp_labels = value
|
123
|
-
end
|
124
|
-
end
|
125
|
-
|
126
126
|
if attributes.key?(:'repository_version')
|
127
127
|
self.repository_version = attributes[:'repository_version']
|
128
128
|
end
|
@@ -217,12 +217,12 @@ module PulpContainerClient
|
|
217
217
|
def ==(o)
|
218
218
|
return true if self.equal?(o)
|
219
219
|
self.class == o.class &&
|
220
|
+
content_guard == o.content_guard &&
|
220
221
|
base_path == o.base_path &&
|
222
|
+
pulp_labels == o.pulp_labels &&
|
221
223
|
repository == o.repository &&
|
222
224
|
hidden == o.hidden &&
|
223
|
-
content_guard == o.content_guard &&
|
224
225
|
name == o.name &&
|
225
|
-
pulp_labels == o.pulp_labels &&
|
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, repository, hidden,
|
240
|
+
[content_guard, base_path, pulp_labels, repository, hidden, name, repository_version, private, description].hash
|
241
241
|
end
|
242
242
|
|
243
243
|
# Builds the object from hash
|
@@ -15,13 +15,13 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
19
|
+
attr_accessor :content_guard
|
20
20
|
|
21
21
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
22
22
|
attr_accessor :base_path
|
23
23
|
|
24
|
-
attr_accessor :
|
24
|
+
attr_accessor :pulp_labels
|
25
25
|
|
26
26
|
# The latest RepositoryVersion for this Repository will be served.
|
27
27
|
attr_accessor :repository
|
@@ -29,13 +29,13 @@ module PulpContainerClient
|
|
29
29
|
# Whether this distribution should be shown in the content app.
|
30
30
|
attr_accessor :hidden
|
31
31
|
|
32
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
33
|
-
attr_accessor :content_guard
|
34
|
-
|
35
32
|
# A unique name. Ex, `rawhide` and `stable`.
|
36
33
|
attr_accessor :name
|
37
34
|
|
38
|
-
|
35
|
+
# Timestamp of creation.
|
36
|
+
attr_accessor :pulp_created
|
37
|
+
|
38
|
+
attr_accessor :pulp_href
|
39
39
|
|
40
40
|
# RepositoryVersion to be served
|
41
41
|
attr_accessor :repository_version
|
@@ -55,14 +55,14 @@ module PulpContainerClient
|
|
55
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
56
56
|
def self.attribute_map
|
57
57
|
{
|
58
|
-
:'
|
58
|
+
:'content_guard' => :'content_guard',
|
59
59
|
:'base_path' => :'base_path',
|
60
|
-
:'
|
60
|
+
:'pulp_labels' => :'pulp_labels',
|
61
61
|
:'repository' => :'repository',
|
62
62
|
:'hidden' => :'hidden',
|
63
|
-
:'content_guard' => :'content_guard',
|
64
63
|
:'name' => :'name',
|
65
|
-
:'
|
64
|
+
:'pulp_created' => :'pulp_created',
|
65
|
+
:'pulp_href' => :'pulp_href',
|
66
66
|
:'repository_version' => :'repository_version',
|
67
67
|
:'registry_path' => :'registry_path',
|
68
68
|
:'namespace' => :'namespace',
|
@@ -74,14 +74,14 @@ module PulpContainerClient
|
|
74
74
|
# Attribute type mapping.
|
75
75
|
def self.openapi_types
|
76
76
|
{
|
77
|
-
:'
|
77
|
+
:'content_guard' => :'String',
|
78
78
|
:'base_path' => :'String',
|
79
|
-
:'
|
79
|
+
:'pulp_labels' => :'Hash<String, String>',
|
80
80
|
:'repository' => :'String',
|
81
81
|
:'hidden' => :'Boolean',
|
82
|
-
:'content_guard' => :'String',
|
83
82
|
:'name' => :'String',
|
84
|
-
:'
|
83
|
+
:'pulp_created' => :'DateTime',
|
84
|
+
:'pulp_href' => :'String',
|
85
85
|
:'repository_version' => :'String',
|
86
86
|
:'registry_path' => :'String',
|
87
87
|
:'namespace' => :'String',
|
@@ -114,16 +114,18 @@ module PulpContainerClient
|
|
114
114
|
h[k.to_sym] = v
|
115
115
|
}
|
116
116
|
|
117
|
-
if attributes.key?(:'
|
118
|
-
self.
|
117
|
+
if attributes.key?(:'content_guard')
|
118
|
+
self.content_guard = attributes[:'content_guard']
|
119
119
|
end
|
120
120
|
|
121
121
|
if attributes.key?(:'base_path')
|
122
122
|
self.base_path = attributes[:'base_path']
|
123
123
|
end
|
124
124
|
|
125
|
-
if attributes.key?(:'
|
126
|
-
|
125
|
+
if attributes.key?(:'pulp_labels')
|
126
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
127
|
+
self.pulp_labels = value
|
128
|
+
end
|
127
129
|
end
|
128
130
|
|
129
131
|
if attributes.key?(:'repository')
|
@@ -136,18 +138,16 @@ module PulpContainerClient
|
|
136
138
|
self.hidden = false
|
137
139
|
end
|
138
140
|
|
139
|
-
if attributes.key?(:'content_guard')
|
140
|
-
self.content_guard = attributes[:'content_guard']
|
141
|
-
end
|
142
|
-
|
143
141
|
if attributes.key?(:'name')
|
144
142
|
self.name = attributes[:'name']
|
145
143
|
end
|
146
144
|
|
147
|
-
if attributes.key?(:'
|
148
|
-
|
149
|
-
|
150
|
-
|
145
|
+
if attributes.key?(:'pulp_created')
|
146
|
+
self.pulp_created = attributes[:'pulp_created']
|
147
|
+
end
|
148
|
+
|
149
|
+
if attributes.key?(:'pulp_href')
|
150
|
+
self.pulp_href = attributes[:'pulp_href']
|
151
151
|
end
|
152
152
|
|
153
153
|
if attributes.key?(:'repository_version')
|
@@ -199,14 +199,14 @@ module PulpContainerClient
|
|
199
199
|
def ==(o)
|
200
200
|
return true if self.equal?(o)
|
201
201
|
self.class == o.class &&
|
202
|
-
|
202
|
+
content_guard == o.content_guard &&
|
203
203
|
base_path == o.base_path &&
|
204
|
-
|
204
|
+
pulp_labels == o.pulp_labels &&
|
205
205
|
repository == o.repository &&
|
206
206
|
hidden == o.hidden &&
|
207
|
-
content_guard == o.content_guard &&
|
208
207
|
name == o.name &&
|
209
|
-
|
208
|
+
pulp_created == o.pulp_created &&
|
209
|
+
pulp_href == o.pulp_href &&
|
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
|
-
[
|
226
|
+
[content_guard, base_path, pulp_labels, repository, hidden, name, pulp_created, pulp_href, repository_version, registry_path, namespace, private, description].hash
|
227
227
|
end
|
228
228
|
|
229
229
|
# Builds the object from hash
|