pulp_container_client 2.26.6 → 2.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughRemote.md +6 -6
- data/docs/ContainerContainerPullThroughRemoteResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/ContainerContainerRemote.md +6 -6
- data/docs/ContainerContainerRemoteResponse.md +8 -8
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughRemote.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PatchedcontainerContainerRemote.md +6 -6
- data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +59 -59
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +59 -59
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +32 -32
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +44 -44
- data/lib/pulp_container_client/models/container_container_push_repository.rb +42 -42
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +55 -55
- data/lib/pulp_container_client/models/container_container_remote.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote_response.rb +45 -45
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +32 -32
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +42 -42
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +33 -33
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_remote_response_spec.rb +10 -10
- data/spec/models/container_container_pull_through_remote_spec.rb +17 -17
- data/spec/models/container_container_push_repository_response_spec.rb +10 -10
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_container_remote_response_spec.rb +10 -10
- data/spec/models/container_container_remote_spec.rb +17 -17
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_pull_through_remote_spec.rb +17 -17
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_remote_spec.rb +17 -17
- metadata +1 -1
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
8
8
|
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
+
| **policy** | [**Policy692Enum**](Policy692Enum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
9
11
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
10
12
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
11
13
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
@@ -15,15 +17,13 @@
|
|
|
15
17
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
18
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
17
19
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
18
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
19
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
20
20
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
21
|
-
| **policy** | [**Policy692Enum**](Policy692Enum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
22
21
|
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
23
22
|
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
24
23
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
25
24
|
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
26
25
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
27
27
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
28
28
|
| **upstream_name** | **String** | Name of the upstream repository | [optional] |
|
|
29
29
|
| **include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional] |
|
|
@@ -38,6 +38,8 @@ require 'pulp_container_client'
|
|
|
38
38
|
instance = PulpContainerClient::PatchedcontainerContainerRemote.new(
|
|
39
39
|
name: null,
|
|
40
40
|
url: null,
|
|
41
|
+
pulp_labels: null,
|
|
42
|
+
policy: null,
|
|
41
43
|
ca_cert: null,
|
|
42
44
|
client_cert: null,
|
|
43
45
|
client_key: null,
|
|
@@ -47,15 +49,13 @@ instance = PulpContainerClient::PatchedcontainerContainerRemote.new(
|
|
|
47
49
|
proxy_password: null,
|
|
48
50
|
username: null,
|
|
49
51
|
password: null,
|
|
50
|
-
pulp_labels: null,
|
|
51
|
-
download_concurrency: null,
|
|
52
52
|
max_retries: null,
|
|
53
|
-
policy: null,
|
|
54
53
|
total_timeout: null,
|
|
55
54
|
connect_timeout: null,
|
|
56
55
|
sock_connect_timeout: null,
|
|
57
56
|
sock_read_timeout: null,
|
|
58
57
|
headers: null,
|
|
58
|
+
download_concurrency: null,
|
|
59
59
|
rate_limit: null,
|
|
60
60
|
upstream_name: null,
|
|
61
61
|
include_tags: null,
|
|
@@ -22,17 +22,17 @@ module PulpContainerClient
|
|
|
22
22
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
23
23
|
attr_accessor :content_guard
|
|
24
24
|
|
|
25
|
-
attr_accessor :pulp_labels
|
|
26
|
-
|
|
27
|
-
# Whether this distribution should be shown in the content app.
|
|
28
|
-
attr_accessor :hidden
|
|
29
|
-
|
|
30
25
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
31
26
|
attr_accessor :base_path
|
|
32
27
|
|
|
33
28
|
# The latest RepositoryVersion for this Repository will be served.
|
|
34
29
|
attr_accessor :repository
|
|
35
30
|
|
|
31
|
+
attr_accessor :pulp_labels
|
|
32
|
+
|
|
33
|
+
# Whether this distribution should be shown in the content app.
|
|
34
|
+
attr_accessor :hidden
|
|
35
|
+
|
|
36
36
|
# RepositoryVersion to be served
|
|
37
37
|
attr_accessor :repository_version
|
|
38
38
|
|
|
@@ -47,10 +47,10 @@ module PulpContainerClient
|
|
|
47
47
|
{
|
|
48
48
|
:'name' => :'name',
|
|
49
49
|
:'content_guard' => :'content_guard',
|
|
50
|
-
:'pulp_labels' => :'pulp_labels',
|
|
51
|
-
:'hidden' => :'hidden',
|
|
52
50
|
:'base_path' => :'base_path',
|
|
53
51
|
:'repository' => :'repository',
|
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
|
53
|
+
:'hidden' => :'hidden',
|
|
54
54
|
:'repository_version' => :'repository_version',
|
|
55
55
|
:'private' => :'private',
|
|
56
56
|
:'description' => :'description'
|
|
@@ -67,10 +67,10 @@ module PulpContainerClient
|
|
|
67
67
|
{
|
|
68
68
|
:'name' => :'String',
|
|
69
69
|
:'content_guard' => :'String',
|
|
70
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
71
|
-
:'hidden' => :'Boolean',
|
|
72
70
|
:'base_path' => :'String',
|
|
73
71
|
:'repository' => :'String',
|
|
72
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
73
|
+
:'hidden' => :'Boolean',
|
|
74
74
|
:'repository_version' => :'String',
|
|
75
75
|
:'private' => :'Boolean',
|
|
76
76
|
:'description' => :'String'
|
|
@@ -111,6 +111,16 @@ module PulpContainerClient
|
|
|
111
111
|
self.content_guard = attributes[:'content_guard']
|
|
112
112
|
end
|
|
113
113
|
|
|
114
|
+
if attributes.key?(:'base_path')
|
|
115
|
+
self.base_path = attributes[:'base_path']
|
|
116
|
+
else
|
|
117
|
+
self.base_path = nil
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
if attributes.key?(:'repository')
|
|
121
|
+
self.repository = attributes[:'repository']
|
|
122
|
+
end
|
|
123
|
+
|
|
114
124
|
if attributes.key?(:'pulp_labels')
|
|
115
125
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
116
126
|
self.pulp_labels = value
|
|
@@ -123,16 +133,6 @@ module PulpContainerClient
|
|
|
123
133
|
self.hidden = false
|
|
124
134
|
end
|
|
125
135
|
|
|
126
|
-
if attributes.key?(:'base_path')
|
|
127
|
-
self.base_path = attributes[:'base_path']
|
|
128
|
-
else
|
|
129
|
-
self.base_path = nil
|
|
130
|
-
end
|
|
131
|
-
|
|
132
|
-
if attributes.key?(:'repository')
|
|
133
|
-
self.repository = attributes[:'repository']
|
|
134
|
-
end
|
|
135
|
-
|
|
136
136
|
if attributes.key?(:'repository_version')
|
|
137
137
|
self.repository_version = attributes[:'repository_version']
|
|
138
138
|
end
|
|
@@ -231,10 +231,10 @@ module PulpContainerClient
|
|
|
231
231
|
self.class == o.class &&
|
|
232
232
|
name == o.name &&
|
|
233
233
|
content_guard == o.content_guard &&
|
|
234
|
-
pulp_labels == o.pulp_labels &&
|
|
235
|
-
hidden == o.hidden &&
|
|
236
234
|
base_path == o.base_path &&
|
|
237
235
|
repository == o.repository &&
|
|
236
|
+
pulp_labels == o.pulp_labels &&
|
|
237
|
+
hidden == o.hidden &&
|
|
238
238
|
repository_version == o.repository_version &&
|
|
239
239
|
private == o.private &&
|
|
240
240
|
description == o.description
|
|
@@ -249,7 +249,7 @@ module PulpContainerClient
|
|
|
249
249
|
# Calculates hash code according to all attributes.
|
|
250
250
|
# @return [Integer] Hash code
|
|
251
251
|
def hash
|
|
252
|
-
[name, content_guard,
|
|
252
|
+
[name, content_guard, base_path, repository, pulp_labels, hidden, repository_version, private, description].hash
|
|
253
253
|
end
|
|
254
254
|
|
|
255
255
|
# Builds the object from hash
|
|
@@ -16,30 +16,17 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistributionResponse
|
|
19
|
-
# The Pulp Resource Name (PRN).
|
|
20
|
-
attr_accessor :prn
|
|
21
|
-
|
|
22
|
-
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
23
|
-
attr_accessor :pulp_last_updated
|
|
24
|
-
|
|
25
19
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
26
20
|
attr_accessor :name
|
|
27
21
|
|
|
28
|
-
attr_accessor :pulp_href
|
|
29
|
-
|
|
30
22
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
31
23
|
attr_accessor :content_guard
|
|
32
24
|
|
|
33
|
-
attr_accessor :pulp_labels
|
|
34
|
-
|
|
35
25
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
36
26
|
attr_accessor :no_content_change_since
|
|
37
27
|
|
|
38
|
-
#
|
|
39
|
-
attr_accessor :
|
|
40
|
-
|
|
41
|
-
# Timestamp of creation.
|
|
42
|
-
attr_accessor :pulp_created
|
|
28
|
+
# The Pulp Resource Name (PRN).
|
|
29
|
+
attr_accessor :prn
|
|
43
30
|
|
|
44
31
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
45
32
|
attr_accessor :base_path
|
|
@@ -47,6 +34,19 @@ module PulpContainerClient
|
|
|
47
34
|
# The latest RepositoryVersion for this Repository will be served.
|
|
48
35
|
attr_accessor :repository
|
|
49
36
|
|
|
37
|
+
attr_accessor :pulp_labels
|
|
38
|
+
|
|
39
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
40
|
+
attr_accessor :pulp_last_updated
|
|
41
|
+
|
|
42
|
+
# Timestamp of creation.
|
|
43
|
+
attr_accessor :pulp_created
|
|
44
|
+
|
|
45
|
+
# Whether this distribution should be shown in the content app.
|
|
46
|
+
attr_accessor :hidden
|
|
47
|
+
|
|
48
|
+
attr_accessor :pulp_href
|
|
49
|
+
|
|
50
50
|
# RepositoryVersion to be served
|
|
51
51
|
attr_accessor :repository_version
|
|
52
52
|
|
|
@@ -68,17 +68,17 @@ module PulpContainerClient
|
|
|
68
68
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
69
69
|
def self.attribute_map
|
|
70
70
|
{
|
|
71
|
-
:'prn' => :'prn',
|
|
72
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
73
71
|
:'name' => :'name',
|
|
74
|
-
:'pulp_href' => :'pulp_href',
|
|
75
72
|
:'content_guard' => :'content_guard',
|
|
76
|
-
:'pulp_labels' => :'pulp_labels',
|
|
77
73
|
:'no_content_change_since' => :'no_content_change_since',
|
|
78
|
-
:'
|
|
79
|
-
:'pulp_created' => :'pulp_created',
|
|
74
|
+
:'prn' => :'prn',
|
|
80
75
|
:'base_path' => :'base_path',
|
|
81
76
|
:'repository' => :'repository',
|
|
77
|
+
:'pulp_labels' => :'pulp_labels',
|
|
78
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
79
|
+
:'pulp_created' => :'pulp_created',
|
|
80
|
+
:'hidden' => :'hidden',
|
|
81
|
+
:'pulp_href' => :'pulp_href',
|
|
82
82
|
:'repository_version' => :'repository_version',
|
|
83
83
|
:'registry_path' => :'registry_path',
|
|
84
84
|
:'remote' => :'remote',
|
|
@@ -96,17 +96,17 @@ module PulpContainerClient
|
|
|
96
96
|
# Attribute type mapping.
|
|
97
97
|
def self.openapi_types
|
|
98
98
|
{
|
|
99
|
-
:'prn' => :'String',
|
|
100
|
-
:'pulp_last_updated' => :'Time',
|
|
101
99
|
:'name' => :'String',
|
|
102
|
-
:'pulp_href' => :'String',
|
|
103
100
|
:'content_guard' => :'String',
|
|
104
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
105
101
|
:'no_content_change_since' => :'String',
|
|
106
|
-
:'
|
|
107
|
-
:'pulp_created' => :'Time',
|
|
102
|
+
:'prn' => :'String',
|
|
108
103
|
:'base_path' => :'String',
|
|
109
104
|
:'repository' => :'String',
|
|
105
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
106
|
+
:'pulp_last_updated' => :'Time',
|
|
107
|
+
:'pulp_created' => :'Time',
|
|
108
|
+
:'hidden' => :'Boolean',
|
|
109
|
+
:'pulp_href' => :'String',
|
|
110
110
|
:'repository_version' => :'String',
|
|
111
111
|
:'registry_path' => :'String',
|
|
112
112
|
:'remote' => :'String',
|
|
@@ -140,56 +140,56 @@ module PulpContainerClient
|
|
|
140
140
|
h[k.to_sym] = v
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
if attributes.key?(:'prn')
|
|
144
|
-
self.prn = attributes[:'prn']
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
if attributes.key?(:'pulp_last_updated')
|
|
148
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
149
|
-
end
|
|
150
|
-
|
|
151
143
|
if attributes.key?(:'name')
|
|
152
144
|
self.name = attributes[:'name']
|
|
153
145
|
else
|
|
154
146
|
self.name = nil
|
|
155
147
|
end
|
|
156
148
|
|
|
157
|
-
if attributes.key?(:'pulp_href')
|
|
158
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
159
|
-
end
|
|
160
|
-
|
|
161
149
|
if attributes.key?(:'content_guard')
|
|
162
150
|
self.content_guard = attributes[:'content_guard']
|
|
163
151
|
end
|
|
164
152
|
|
|
153
|
+
if attributes.key?(:'no_content_change_since')
|
|
154
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
if attributes.key?(:'prn')
|
|
158
|
+
self.prn = attributes[:'prn']
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
if attributes.key?(:'base_path')
|
|
162
|
+
self.base_path = attributes[:'base_path']
|
|
163
|
+
else
|
|
164
|
+
self.base_path = nil
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
if attributes.key?(:'repository')
|
|
168
|
+
self.repository = attributes[:'repository']
|
|
169
|
+
end
|
|
170
|
+
|
|
165
171
|
if attributes.key?(:'pulp_labels')
|
|
166
172
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
167
173
|
self.pulp_labels = value
|
|
168
174
|
end
|
|
169
175
|
end
|
|
170
176
|
|
|
171
|
-
if attributes.key?(:'
|
|
172
|
-
self.
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
if attributes.key?(:'hidden')
|
|
176
|
-
self.hidden = attributes[:'hidden']
|
|
177
|
-
else
|
|
178
|
-
self.hidden = false
|
|
177
|
+
if attributes.key?(:'pulp_last_updated')
|
|
178
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
179
179
|
end
|
|
180
180
|
|
|
181
181
|
if attributes.key?(:'pulp_created')
|
|
182
182
|
self.pulp_created = attributes[:'pulp_created']
|
|
183
183
|
end
|
|
184
184
|
|
|
185
|
-
if attributes.key?(:'
|
|
186
|
-
self.
|
|
185
|
+
if attributes.key?(:'hidden')
|
|
186
|
+
self.hidden = attributes[:'hidden']
|
|
187
187
|
else
|
|
188
|
-
self.
|
|
188
|
+
self.hidden = false
|
|
189
189
|
end
|
|
190
190
|
|
|
191
|
-
if attributes.key?(:'
|
|
192
|
-
self.
|
|
191
|
+
if attributes.key?(:'pulp_href')
|
|
192
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
if attributes.key?(:'repository_version')
|
|
@@ -247,17 +247,17 @@ module PulpContainerClient
|
|
|
247
247
|
def ==(o)
|
|
248
248
|
return true if self.equal?(o)
|
|
249
249
|
self.class == o.class &&
|
|
250
|
-
prn == o.prn &&
|
|
251
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
252
250
|
name == o.name &&
|
|
253
|
-
pulp_href == o.pulp_href &&
|
|
254
251
|
content_guard == o.content_guard &&
|
|
255
|
-
pulp_labels == o.pulp_labels &&
|
|
256
252
|
no_content_change_since == o.no_content_change_since &&
|
|
257
|
-
|
|
258
|
-
pulp_created == o.pulp_created &&
|
|
253
|
+
prn == o.prn &&
|
|
259
254
|
base_path == o.base_path &&
|
|
260
255
|
repository == o.repository &&
|
|
256
|
+
pulp_labels == o.pulp_labels &&
|
|
257
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
258
|
+
pulp_created == o.pulp_created &&
|
|
259
|
+
hidden == o.hidden &&
|
|
260
|
+
pulp_href == o.pulp_href &&
|
|
261
261
|
repository_version == o.repository_version &&
|
|
262
262
|
registry_path == o.registry_path &&
|
|
263
263
|
remote == o.remote &&
|
|
@@ -275,7 +275,7 @@ module PulpContainerClient
|
|
|
275
275
|
# Calculates hash code according to all attributes.
|
|
276
276
|
# @return [Integer] Hash code
|
|
277
277
|
def hash
|
|
278
|
-
[
|
|
278
|
+
[name, content_guard, no_content_change_since, prn, base_path, repository, pulp_labels, pulp_last_updated, pulp_created, hidden, pulp_href, repository_version, registry_path, remote, namespace, private, description].hash
|
|
279
279
|
end
|
|
280
280
|
|
|
281
281
|
# Builds the object from hash
|
|
@@ -22,17 +22,17 @@ module PulpContainerClient
|
|
|
22
22
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
23
23
|
attr_accessor :content_guard
|
|
24
24
|
|
|
25
|
-
attr_accessor :pulp_labels
|
|
26
|
-
|
|
27
|
-
# Whether this distribution should be shown in the content app.
|
|
28
|
-
attr_accessor :hidden
|
|
29
|
-
|
|
30
25
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
31
26
|
attr_accessor :base_path
|
|
32
27
|
|
|
33
28
|
# The latest RepositoryVersion for this Repository will be served.
|
|
34
29
|
attr_accessor :repository
|
|
35
30
|
|
|
31
|
+
attr_accessor :pulp_labels
|
|
32
|
+
|
|
33
|
+
# Whether this distribution should be shown in the content app.
|
|
34
|
+
attr_accessor :hidden
|
|
35
|
+
|
|
36
36
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
37
37
|
attr_accessor :remote
|
|
38
38
|
|
|
@@ -50,10 +50,10 @@ module PulpContainerClient
|
|
|
50
50
|
{
|
|
51
51
|
:'name' => :'name',
|
|
52
52
|
:'content_guard' => :'content_guard',
|
|
53
|
-
:'pulp_labels' => :'pulp_labels',
|
|
54
|
-
:'hidden' => :'hidden',
|
|
55
53
|
:'base_path' => :'base_path',
|
|
56
54
|
:'repository' => :'repository',
|
|
55
|
+
:'pulp_labels' => :'pulp_labels',
|
|
56
|
+
:'hidden' => :'hidden',
|
|
57
57
|
:'remote' => :'remote',
|
|
58
58
|
:'distributions' => :'distributions',
|
|
59
59
|
:'private' => :'private',
|
|
@@ -71,10 +71,10 @@ module PulpContainerClient
|
|
|
71
71
|
{
|
|
72
72
|
:'name' => :'String',
|
|
73
73
|
:'content_guard' => :'String',
|
|
74
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
75
|
-
:'hidden' => :'Boolean',
|
|
76
74
|
:'base_path' => :'String',
|
|
77
75
|
:'repository' => :'String',
|
|
76
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
77
|
+
:'hidden' => :'Boolean',
|
|
78
78
|
:'remote' => :'String',
|
|
79
79
|
:'distributions' => :'Array<String>',
|
|
80
80
|
:'private' => :'Boolean',
|
|
@@ -115,6 +115,16 @@ module PulpContainerClient
|
|
|
115
115
|
self.content_guard = attributes[:'content_guard']
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
+
if attributes.key?(:'base_path')
|
|
119
|
+
self.base_path = attributes[:'base_path']
|
|
120
|
+
else
|
|
121
|
+
self.base_path = nil
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
if attributes.key?(:'repository')
|
|
125
|
+
self.repository = attributes[:'repository']
|
|
126
|
+
end
|
|
127
|
+
|
|
118
128
|
if attributes.key?(:'pulp_labels')
|
|
119
129
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
120
130
|
self.pulp_labels = value
|
|
@@ -127,16 +137,6 @@ module PulpContainerClient
|
|
|
127
137
|
self.hidden = false
|
|
128
138
|
end
|
|
129
139
|
|
|
130
|
-
if attributes.key?(:'base_path')
|
|
131
|
-
self.base_path = attributes[:'base_path']
|
|
132
|
-
else
|
|
133
|
-
self.base_path = nil
|
|
134
|
-
end
|
|
135
|
-
|
|
136
|
-
if attributes.key?(:'repository')
|
|
137
|
-
self.repository = attributes[:'repository']
|
|
138
|
-
end
|
|
139
|
-
|
|
140
140
|
if attributes.key?(:'remote')
|
|
141
141
|
self.remote = attributes[:'remote']
|
|
142
142
|
else
|
|
@@ -248,10 +248,10 @@ module PulpContainerClient
|
|
|
248
248
|
self.class == o.class &&
|
|
249
249
|
name == o.name &&
|
|
250
250
|
content_guard == o.content_guard &&
|
|
251
|
-
pulp_labels == o.pulp_labels &&
|
|
252
|
-
hidden == o.hidden &&
|
|
253
251
|
base_path == o.base_path &&
|
|
254
252
|
repository == o.repository &&
|
|
253
|
+
pulp_labels == o.pulp_labels &&
|
|
254
|
+
hidden == o.hidden &&
|
|
255
255
|
remote == o.remote &&
|
|
256
256
|
distributions == o.distributions &&
|
|
257
257
|
private == o.private &&
|
|
@@ -267,7 +267,7 @@ module PulpContainerClient
|
|
|
267
267
|
# Calculates hash code according to all attributes.
|
|
268
268
|
# @return [Integer] Hash code
|
|
269
269
|
def hash
|
|
270
|
-
[name, content_guard,
|
|
270
|
+
[name, content_guard, base_path, repository, pulp_labels, hidden, remote, distributions, private, description].hash
|
|
271
271
|
end
|
|
272
272
|
|
|
273
273
|
# Builds the object from hash
|