pulp_container_client 2.16.10 → 2.16.11
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 +6 -6
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/lib/pulp_container_client/models/container_container_distribution.rb +30 -30
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +43 -43
- data/lib/pulp_container_client/models/container_container_push_repository.rb +46 -46
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +54 -54
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +46 -46
- 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 +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +51 -51
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a046a78c2875330a847ca164a7a7bb8c66dcc3ba3bddd384d0775767ae8907f4
|
4
|
+
data.tar.gz: 52ed73a814207c6e173d66bd69fd6a3644618886caef017261a1b49d72fa5104
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43dcf54ec2eb997fb03b3507f3f8853d4c8d4dc854f9095d7dc53378ea4f3ddc383d4dbf02b88939d2213309268483ccf0438c9adb6d0a410809f820d2f32414
|
7
|
+
data.tar.gz: 9ea8d53d70d300d18b384ac2206436f3d59b572291fd1ea5ee8d74889ce4f90d50fc0d4ed81846eafb39a8eff4355a16c73764d940d8809ef28d12003c134ca0
|
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.11
|
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.11.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.11.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.11'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
8
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
11
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
-
**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
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
14
14
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
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(hidden: null,
|
23
23
|
repository: null,
|
24
|
+
base_path: null,
|
25
|
+
name: null,
|
24
26
|
content_guard: null,
|
25
|
-
hidden: null,
|
26
27
|
pulp_labels: null,
|
27
|
-
name: 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
|
-
**
|
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\") |
|
7
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
9
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
-
**
|
9
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
11
|
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
-
**
|
12
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
13
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
13
14
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
14
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
15
15
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
16
16
|
**registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
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(
|
27
|
-
base_path: null,
|
26
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(hidden: null,
|
28
27
|
repository: null,
|
29
|
-
|
28
|
+
base_path: null,
|
29
|
+
name: null,
|
30
30
|
pulp_href: null,
|
31
|
-
|
31
|
+
content_guard: null,
|
32
|
+
pulp_created: null,
|
32
33
|
pulp_labels: null,
|
33
|
-
name: 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
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
8
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
10
7
|
**name** | **String** | A unique name for this repository. |
|
8
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [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(
|
18
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(name: null,
|
19
19
|
pulp_labels: null,
|
20
|
-
|
21
|
-
|
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_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
9
7
|
**latest_version_href** | **String** | | [optional] [readonly]
|
10
8
|
**versions_href** | **String** | | [optional] [readonly]
|
11
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
12
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
13
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
14
9
|
**name** | **String** | A unique name for this repository. |
|
10
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
11
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
15
13
|
**description** | **String** | An optional description. | [optional]
|
14
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [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
|
-
pulp_href: null,
|
24
|
-
latest_version_href: null,
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(latest_version_href: null,
|
25
23
|
versions_href: null,
|
26
|
-
manifest_signing_service: null,
|
27
|
-
pulp_labels: null,
|
28
|
-
retain_repo_versions: null,
|
29
24
|
name: null,
|
30
|
-
|
25
|
+
pulp_href: null,
|
26
|
+
pulp_created: null,
|
27
|
+
pulp_labels: null,
|
28
|
+
description: null,
|
29
|
+
manifest_signing_service: 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
|
-
**
|
7
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
8
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
9
11
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
-
**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
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
13
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
14
14
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
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(hidden: null,
|
23
23
|
repository: null,
|
24
|
+
base_path: null,
|
25
|
+
name: null,
|
24
26
|
content_guard: null,
|
25
|
-
hidden: null,
|
26
27
|
pulp_labels: null,
|
27
|
-
name: 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
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
8
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
10
7
|
**name** | **String** | A unique name for this repository. | [optional]
|
8
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [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(
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(name: null,
|
19
19
|
pulp_labels: null,
|
20
|
-
|
21
|
-
|
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
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# Whether this distribution should be shown in the content app.
|
19
|
+
attr_accessor :hidden
|
20
20
|
|
21
21
|
# The latest RepositoryVersion for this Repository will be served.
|
22
22
|
attr_accessor :repository
|
23
23
|
|
24
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
25
|
+
attr_accessor :base_path
|
26
|
+
|
27
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
28
|
+
attr_accessor :name
|
29
|
+
|
24
30
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
31
|
attr_accessor :content_guard
|
26
32
|
|
27
|
-
# Whether this distribution should be shown in the content app.
|
28
|
-
attr_accessor :hidden
|
29
|
-
|
30
33
|
attr_accessor :pulp_labels
|
31
34
|
|
32
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
33
|
-
attr_accessor :name
|
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
|
-
:'
|
47
|
+
:'hidden' => :'hidden',
|
48
48
|
:'repository' => :'repository',
|
49
|
+
:'base_path' => :'base_path',
|
50
|
+
:'name' => :'name',
|
49
51
|
:'content_guard' => :'content_guard',
|
50
|
-
:'hidden' => :'hidden',
|
51
52
|
:'pulp_labels' => :'pulp_labels',
|
52
|
-
:'name' => :'name',
|
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
|
-
:'
|
62
|
+
:'hidden' => :'Boolean',
|
63
63
|
:'repository' => :'String',
|
64
|
+
:'base_path' => :'String',
|
65
|
+
:'name' => :'String',
|
64
66
|
:'content_guard' => :'String',
|
65
|
-
:'hidden' => :'Boolean',
|
66
67
|
:'pulp_labels' => :'Hash<String, String>',
|
67
|
-
:'name' => :'String',
|
68
68
|
:'repository_version' => :'String',
|
69
69
|
:'private' => :'Boolean',
|
70
70
|
:'description' => :'String'
|
@@ -95,22 +95,26 @@ module PulpContainerClient
|
|
95
95
|
h[k.to_sym] = v
|
96
96
|
}
|
97
97
|
|
98
|
-
if attributes.key?(:'
|
99
|
-
self.
|
98
|
+
if attributes.key?(:'hidden')
|
99
|
+
self.hidden = attributes[:'hidden']
|
100
|
+
else
|
101
|
+
self.hidden = false
|
100
102
|
end
|
101
103
|
|
102
104
|
if attributes.key?(:'repository')
|
103
105
|
self.repository = attributes[:'repository']
|
104
106
|
end
|
105
107
|
|
106
|
-
if attributes.key?(:'
|
107
|
-
self.
|
108
|
+
if attributes.key?(:'base_path')
|
109
|
+
self.base_path = attributes[:'base_path']
|
108
110
|
end
|
109
111
|
|
110
|
-
if attributes.key?(:'
|
111
|
-
self.
|
112
|
-
|
113
|
-
|
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']
|
114
118
|
end
|
115
119
|
|
116
120
|
if attributes.key?(:'pulp_labels')
|
@@ -119,10 +123,6 @@ module PulpContainerClient
|
|
119
123
|
end
|
120
124
|
end
|
121
125
|
|
122
|
-
if attributes.key?(:'name')
|
123
|
-
self.name = attributes[:'name']
|
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
|
-
|
220
|
+
hidden == o.hidden &&
|
221
221
|
repository == o.repository &&
|
222
|
+
base_path == o.base_path &&
|
223
|
+
name == o.name &&
|
222
224
|
content_guard == o.content_guard &&
|
223
|
-
hidden == o.hidden &&
|
224
225
|
pulp_labels == o.pulp_labels &&
|
225
|
-
name == o.name &&
|
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
|
-
[
|
240
|
+
[hidden, repository, base_path, name, content_guard, pulp_labels, repository_version, private, description].hash
|
241
241
|
end
|
242
242
|
|
243
243
|
# Builds the object from hash
|
@@ -15,28 +15,28 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# Whether this distribution should be shown in the content app.
|
19
|
+
attr_accessor :hidden
|
20
|
+
|
21
|
+
# The latest RepositoryVersion for this Repository will be served.
|
22
|
+
attr_accessor :repository
|
20
23
|
|
21
24
|
# 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
25
|
attr_accessor :base_path
|
23
26
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
27
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
28
|
+
attr_accessor :name
|
29
|
+
|
30
|
+
attr_accessor :pulp_href
|
26
31
|
|
27
32
|
# An optional content-guard. If none is specified, a default one will be used.
|
28
33
|
attr_accessor :content_guard
|
29
34
|
|
30
|
-
|
31
|
-
|
32
|
-
# Whether this distribution should be shown in the content app.
|
33
|
-
attr_accessor :hidden
|
35
|
+
# Timestamp of creation.
|
36
|
+
attr_accessor :pulp_created
|
34
37
|
|
35
38
|
attr_accessor :pulp_labels
|
36
39
|
|
37
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
38
|
-
attr_accessor :name
|
39
|
-
|
40
40
|
# RepositoryVersion to be served
|
41
41
|
attr_accessor :repository_version
|
42
42
|
|
@@ -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
|
-
:'
|
59
|
-
:'base_path' => :'base_path',
|
58
|
+
:'hidden' => :'hidden',
|
60
59
|
:'repository' => :'repository',
|
61
|
-
:'
|
60
|
+
:'base_path' => :'base_path',
|
61
|
+
:'name' => :'name',
|
62
62
|
:'pulp_href' => :'pulp_href',
|
63
|
-
:'
|
63
|
+
:'content_guard' => :'content_guard',
|
64
|
+
:'pulp_created' => :'pulp_created',
|
64
65
|
:'pulp_labels' => :'pulp_labels',
|
65
|
-
:'name' => :'name',
|
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
|
-
:'
|
78
|
-
:'base_path' => :'String',
|
77
|
+
:'hidden' => :'Boolean',
|
79
78
|
:'repository' => :'String',
|
80
|
-
:'
|
79
|
+
:'base_path' => :'String',
|
80
|
+
:'name' => :'String',
|
81
81
|
:'pulp_href' => :'String',
|
82
|
-
:'
|
82
|
+
:'content_guard' => :'String',
|
83
|
+
:'pulp_created' => :'DateTime',
|
83
84
|
:'pulp_labels' => :'Hash<String, String>',
|
84
|
-
:'name' => :'String',
|
85
85
|
:'repository_version' => :'String',
|
86
86
|
:'registry_path' => :'String',
|
87
87
|
:'namespace' => :'String',
|
@@ -114,30 +114,34 @@ module PulpContainerClient
|
|
114
114
|
h[k.to_sym] = v
|
115
115
|
}
|
116
116
|
|
117
|
-
if attributes.key?(:'
|
118
|
-
self.
|
119
|
-
|
120
|
-
|
121
|
-
if attributes.key?(:'base_path')
|
122
|
-
self.base_path = attributes[:'base_path']
|
117
|
+
if attributes.key?(:'hidden')
|
118
|
+
self.hidden = attributes[:'hidden']
|
119
|
+
else
|
120
|
+
self.hidden = false
|
123
121
|
end
|
124
122
|
|
125
123
|
if attributes.key?(:'repository')
|
126
124
|
self.repository = attributes[:'repository']
|
127
125
|
end
|
128
126
|
|
129
|
-
if attributes.key?(:'
|
130
|
-
self.
|
127
|
+
if attributes.key?(:'base_path')
|
128
|
+
self.base_path = attributes[:'base_path']
|
129
|
+
end
|
130
|
+
|
131
|
+
if attributes.key?(:'name')
|
132
|
+
self.name = attributes[:'name']
|
131
133
|
end
|
132
134
|
|
133
135
|
if attributes.key?(:'pulp_href')
|
134
136
|
self.pulp_href = attributes[:'pulp_href']
|
135
137
|
end
|
136
138
|
|
137
|
-
if attributes.key?(:'
|
138
|
-
self.
|
139
|
-
|
140
|
-
|
139
|
+
if attributes.key?(:'content_guard')
|
140
|
+
self.content_guard = attributes[:'content_guard']
|
141
|
+
end
|
142
|
+
|
143
|
+
if attributes.key?(:'pulp_created')
|
144
|
+
self.pulp_created = attributes[:'pulp_created']
|
141
145
|
end
|
142
146
|
|
143
147
|
if attributes.key?(:'pulp_labels')
|
@@ -146,10 +150,6 @@ module PulpContainerClient
|
|
146
150
|
end
|
147
151
|
end
|
148
152
|
|
149
|
-
if attributes.key?(:'name')
|
150
|
-
self.name = attributes[:'name']
|
151
|
-
end
|
152
|
-
|
153
153
|
if attributes.key?(:'repository_version')
|
154
154
|
self.repository_version = attributes[:'repository_version']
|
155
155
|
end
|
@@ -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
|
-
|
203
|
-
base_path == o.base_path &&
|
202
|
+
hidden == o.hidden &&
|
204
203
|
repository == o.repository &&
|
205
|
-
|
204
|
+
base_path == o.base_path &&
|
205
|
+
name == o.name &&
|
206
206
|
pulp_href == o.pulp_href &&
|
207
|
-
|
207
|
+
content_guard == o.content_guard &&
|
208
|
+
pulp_created == o.pulp_created &&
|
208
209
|
pulp_labels == o.pulp_labels &&
|
209
|
-
name == o.name &&
|
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
|
+
[hidden, repository, base_path, name, pulp_href, content_guard, pulp_created, pulp_labels, repository_version, registry_path, namespace, private, description].hash
|
227
227
|
end
|
228
228
|
|
229
229
|
# Builds the object from hash
|