pulp_container_client 2.27.0 → 2.27.2
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 +7 -7
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughRemote.md +6 -6
- data/docs/ContainerContainerPullThroughRemoteResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- data/docs/ContainerContainerRemote.md +6 -6
- data/docs/ContainerContainerRemoteResponse.md +8 -8
- data/docs/ContentBlobsApi.md +6 -6
- data/docs/ContentManifestsApi.md +6 -6
- data/docs/ContentSignaturesApi.md +6 -6
- data/docs/ContentTagsApi.md +6 -6
- data/docs/DistributionsContainerApi.md +4 -4
- data/docs/DistributionsPullThroughApi.md +4 -4
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughRemote.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/docs/PatchedcontainerContainerRemote.md +6 -6
- data/docs/RepositoriesContainerApi.md +2 -2
- data/docs/RepositoriesContainerPushApi.md +2 -2
- data/lib/pulp_container_client/api/content_blobs_api.rb +6 -6
- data/lib/pulp_container_client/api/content_manifests_api.rb +6 -6
- data/lib/pulp_container_client/api/content_signatures_api.rb +6 -6
- data/lib/pulp_container_client/api/content_tags_api.rb +6 -6
- data/lib/pulp_container_client/api/distributions_container_api.rb +4 -4
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -4
- data/lib/pulp_container_client/api/repositories_container_api.rb +2 -2
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +60 -60
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +60 -60
- 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 +21 -21
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +59 -59
- 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 +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +21 -21
- 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 +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +33 -33
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +3 -3
- data/spec/api/content_manifests_api_spec.rb +3 -3
- data/spec/api/content_signatures_api_spec.rb +3 -3
- data/spec/api/content_tags_api_spec.rb +3 -3
- data/spec/api/distributions_container_api_spec.rb +2 -2
- data/spec/api/distributions_pull_through_api_spec.rb +2 -2
- data/spec/api/repositories_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_push_api_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
- 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 +11 -11
- 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 +2 -2
|
@@ -16,37 +16,37 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistributionResponse
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
20
|
+
attr_accessor :no_content_change_since
|
|
21
|
+
|
|
22
|
+
# Timestamp of creation.
|
|
23
|
+
attr_accessor :pulp_created
|
|
21
24
|
|
|
22
25
|
# Whether this distribution should be shown in the content app.
|
|
23
26
|
attr_accessor :hidden
|
|
24
27
|
|
|
25
|
-
#
|
|
26
|
-
attr_accessor :
|
|
28
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
29
|
+
attr_accessor :base_path
|
|
30
|
+
|
|
31
|
+
# The Pulp Resource Name (PRN).
|
|
32
|
+
attr_accessor :prn
|
|
33
|
+
|
|
34
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
35
|
+
attr_accessor :repository
|
|
27
36
|
|
|
28
37
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
29
38
|
attr_accessor :content_guard
|
|
30
39
|
|
|
31
|
-
#
|
|
32
|
-
attr_accessor :
|
|
40
|
+
# 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.
|
|
41
|
+
attr_accessor :pulp_last_updated
|
|
33
42
|
|
|
34
43
|
attr_accessor :pulp_labels
|
|
35
44
|
|
|
36
|
-
|
|
37
|
-
attr_accessor :no_content_change_since
|
|
38
|
-
|
|
39
|
-
# Timestamp of creation.
|
|
40
|
-
attr_accessor :pulp_created
|
|
45
|
+
attr_accessor :pulp_href
|
|
41
46
|
|
|
42
47
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
43
48
|
attr_accessor :name
|
|
44
49
|
|
|
45
|
-
# The Pulp Resource Name (PRN).
|
|
46
|
-
attr_accessor :prn
|
|
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
|
-
:'repository' => :'repository',
|
|
72
|
-
:'hidden' => :'hidden',
|
|
73
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
74
|
-
:'content_guard' => :'content_guard',
|
|
75
|
-
:'base_path' => :'base_path',
|
|
76
|
-
:'pulp_labels' => :'pulp_labels',
|
|
77
71
|
:'no_content_change_since' => :'no_content_change_since',
|
|
78
72
|
:'pulp_created' => :'pulp_created',
|
|
79
|
-
:'
|
|
73
|
+
:'hidden' => :'hidden',
|
|
74
|
+
:'base_path' => :'base_path',
|
|
80
75
|
:'prn' => :'prn',
|
|
76
|
+
:'repository' => :'repository',
|
|
77
|
+
:'content_guard' => :'content_guard',
|
|
78
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
79
|
+
:'pulp_labels' => :'pulp_labels',
|
|
81
80
|
:'pulp_href' => :'pulp_href',
|
|
81
|
+
:'name' => :'name',
|
|
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
|
-
:'repository' => :'String',
|
|
100
|
-
:'hidden' => :'Boolean',
|
|
101
|
-
:'pulp_last_updated' => :'Time',
|
|
102
|
-
:'content_guard' => :'String',
|
|
103
|
-
:'base_path' => :'String',
|
|
104
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
105
99
|
:'no_content_change_since' => :'String',
|
|
106
100
|
:'pulp_created' => :'Time',
|
|
107
|
-
:'
|
|
101
|
+
:'hidden' => :'Boolean',
|
|
102
|
+
:'base_path' => :'String',
|
|
108
103
|
:'prn' => :'String',
|
|
104
|
+
:'repository' => :'String',
|
|
105
|
+
:'content_guard' => :'String',
|
|
106
|
+
:'pulp_last_updated' => :'Time',
|
|
107
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
109
108
|
:'pulp_href' => :'String',
|
|
109
|
+
:'name' => :'String',
|
|
110
110
|
:'repository_version' => :'String',
|
|
111
111
|
:'registry_path' => :'String',
|
|
112
112
|
:'remote' => :'String',
|
|
@@ -140,8 +140,12 @@ module PulpContainerClient
|
|
|
140
140
|
h[k.to_sym] = v
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
if attributes.key?(:'
|
|
144
|
-
self.
|
|
143
|
+
if attributes.key?(:'no_content_change_since')
|
|
144
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
if attributes.key?(:'pulp_created')
|
|
148
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
145
149
|
end
|
|
146
150
|
|
|
147
151
|
if attributes.key?(:'hidden')
|
|
@@ -150,18 +154,26 @@ module PulpContainerClient
|
|
|
150
154
|
self.hidden = false
|
|
151
155
|
end
|
|
152
156
|
|
|
153
|
-
if attributes.key?(:'
|
|
154
|
-
self.
|
|
157
|
+
if attributes.key?(:'base_path')
|
|
158
|
+
self.base_path = attributes[:'base_path']
|
|
159
|
+
else
|
|
160
|
+
self.base_path = nil
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
if attributes.key?(:'prn')
|
|
164
|
+
self.prn = attributes[:'prn']
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
if attributes.key?(:'repository')
|
|
168
|
+
self.repository = attributes[:'repository']
|
|
155
169
|
end
|
|
156
170
|
|
|
157
171
|
if attributes.key?(:'content_guard')
|
|
158
172
|
self.content_guard = attributes[:'content_guard']
|
|
159
173
|
end
|
|
160
174
|
|
|
161
|
-
if attributes.key?(:'
|
|
162
|
-
self.
|
|
163
|
-
else
|
|
164
|
-
self.base_path = nil
|
|
175
|
+
if attributes.key?(:'pulp_last_updated')
|
|
176
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
165
177
|
end
|
|
166
178
|
|
|
167
179
|
if attributes.key?(:'pulp_labels')
|
|
@@ -170,12 +182,8 @@ module PulpContainerClient
|
|
|
170
182
|
end
|
|
171
183
|
end
|
|
172
184
|
|
|
173
|
-
if attributes.key?(:'
|
|
174
|
-
self.
|
|
175
|
-
end
|
|
176
|
-
|
|
177
|
-
if attributes.key?(:'pulp_created')
|
|
178
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
185
|
+
if attributes.key?(:'pulp_href')
|
|
186
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
179
187
|
end
|
|
180
188
|
|
|
181
189
|
if attributes.key?(:'name')
|
|
@@ -184,14 +192,6 @@ module PulpContainerClient
|
|
|
184
192
|
self.name = nil
|
|
185
193
|
end
|
|
186
194
|
|
|
187
|
-
if attributes.key?(:'prn')
|
|
188
|
-
self.prn = attributes[:'prn']
|
|
189
|
-
end
|
|
190
|
-
|
|
191
|
-
if attributes.key?(:'pulp_href')
|
|
192
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
193
|
-
end
|
|
194
|
-
|
|
195
195
|
if attributes.key?(:'repository_version')
|
|
196
196
|
self.repository_version = attributes[:'repository_version']
|
|
197
197
|
end
|
|
@@ -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
|
-
repository == o.repository &&
|
|
251
|
-
hidden == o.hidden &&
|
|
252
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
253
|
-
content_guard == o.content_guard &&
|
|
254
|
-
base_path == o.base_path &&
|
|
255
|
-
pulp_labels == o.pulp_labels &&
|
|
256
250
|
no_content_change_since == o.no_content_change_since &&
|
|
257
251
|
pulp_created == o.pulp_created &&
|
|
258
|
-
|
|
252
|
+
hidden == o.hidden &&
|
|
253
|
+
base_path == o.base_path &&
|
|
259
254
|
prn == o.prn &&
|
|
255
|
+
repository == o.repository &&
|
|
256
|
+
content_guard == o.content_guard &&
|
|
257
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
258
|
+
pulp_labels == o.pulp_labels &&
|
|
260
259
|
pulp_href == o.pulp_href &&
|
|
260
|
+
name == o.name &&
|
|
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
|
+
[no_content_change_since, pulp_created, hidden, base_path, prn, repository, content_guard, pulp_last_updated, pulp_labels, pulp_href, name, repository_version, registry_path, remote, namespace, private, description].hash
|
|
279
279
|
end
|
|
280
280
|
|
|
281
281
|
# Builds the object from hash
|
|
@@ -16,18 +16,18 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
18
18
|
class ContainerContainerPullThroughDistribution
|
|
19
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
20
|
-
attr_accessor :repository
|
|
21
|
-
|
|
22
19
|
# Whether this distribution should be shown in the content app.
|
|
23
20
|
attr_accessor :hidden
|
|
24
21
|
|
|
25
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
26
|
-
attr_accessor :content_guard
|
|
27
|
-
|
|
28
22
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
29
23
|
attr_accessor :base_path
|
|
30
24
|
|
|
25
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
26
|
+
attr_accessor :repository
|
|
27
|
+
|
|
28
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
29
|
+
attr_accessor :content_guard
|
|
30
|
+
|
|
31
31
|
attr_accessor :pulp_labels
|
|
32
32
|
|
|
33
33
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
@@ -48,10 +48,10 @@ module PulpContainerClient
|
|
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
49
|
def self.attribute_map
|
|
50
50
|
{
|
|
51
|
-
:'repository' => :'repository',
|
|
52
51
|
:'hidden' => :'hidden',
|
|
53
|
-
:'content_guard' => :'content_guard',
|
|
54
52
|
:'base_path' => :'base_path',
|
|
53
|
+
:'repository' => :'repository',
|
|
54
|
+
:'content_guard' => :'content_guard',
|
|
55
55
|
:'pulp_labels' => :'pulp_labels',
|
|
56
56
|
:'name' => :'name',
|
|
57
57
|
:'remote' => :'remote',
|
|
@@ -69,10 +69,10 @@ module PulpContainerClient
|
|
|
69
69
|
# Attribute type mapping.
|
|
70
70
|
def self.openapi_types
|
|
71
71
|
{
|
|
72
|
-
:'repository' => :'String',
|
|
73
72
|
:'hidden' => :'Boolean',
|
|
74
|
-
:'content_guard' => :'String',
|
|
75
73
|
:'base_path' => :'String',
|
|
74
|
+
:'repository' => :'String',
|
|
75
|
+
:'content_guard' => :'String',
|
|
76
76
|
:'pulp_labels' => :'Hash<String, String>',
|
|
77
77
|
:'name' => :'String',
|
|
78
78
|
:'remote' => :'String',
|
|
@@ -105,26 +105,26 @@ module PulpContainerClient
|
|
|
105
105
|
h[k.to_sym] = v
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
if attributes.key?(:'repository')
|
|
109
|
-
self.repository = attributes[:'repository']
|
|
110
|
-
end
|
|
111
|
-
|
|
112
108
|
if attributes.key?(:'hidden')
|
|
113
109
|
self.hidden = attributes[:'hidden']
|
|
114
110
|
else
|
|
115
111
|
self.hidden = false
|
|
116
112
|
end
|
|
117
113
|
|
|
118
|
-
if attributes.key?(:'content_guard')
|
|
119
|
-
self.content_guard = attributes[:'content_guard']
|
|
120
|
-
end
|
|
121
|
-
|
|
122
114
|
if attributes.key?(:'base_path')
|
|
123
115
|
self.base_path = attributes[:'base_path']
|
|
124
116
|
else
|
|
125
117
|
self.base_path = nil
|
|
126
118
|
end
|
|
127
119
|
|
|
120
|
+
if attributes.key?(:'repository')
|
|
121
|
+
self.repository = attributes[:'repository']
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
if attributes.key?(:'content_guard')
|
|
125
|
+
self.content_guard = attributes[:'content_guard']
|
|
126
|
+
end
|
|
127
|
+
|
|
128
128
|
if attributes.key?(:'pulp_labels')
|
|
129
129
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
130
130
|
self.pulp_labels = value
|
|
@@ -246,10 +246,10 @@ module PulpContainerClient
|
|
|
246
246
|
def ==(o)
|
|
247
247
|
return true if self.equal?(o)
|
|
248
248
|
self.class == o.class &&
|
|
249
|
-
repository == o.repository &&
|
|
250
249
|
hidden == o.hidden &&
|
|
251
|
-
content_guard == o.content_guard &&
|
|
252
250
|
base_path == o.base_path &&
|
|
251
|
+
repository == o.repository &&
|
|
252
|
+
content_guard == o.content_guard &&
|
|
253
253
|
pulp_labels == o.pulp_labels &&
|
|
254
254
|
name == o.name &&
|
|
255
255
|
remote == o.remote &&
|
|
@@ -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
|
-
[
|
|
270
|
+
[hidden, base_path, repository, content_guard, pulp_labels, name, remote, distributions, private, description].hash
|
|
271
271
|
end
|
|
272
272
|
|
|
273
273
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
|
@@ -16,37 +16,37 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
18
18
|
class ContainerContainerPullThroughDistributionResponse
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
20
|
+
attr_accessor :no_content_change_since
|
|
21
|
+
|
|
22
|
+
# Timestamp of creation.
|
|
23
|
+
attr_accessor :pulp_created
|
|
21
24
|
|
|
22
25
|
# Whether this distribution should be shown in the content app.
|
|
23
26
|
attr_accessor :hidden
|
|
24
27
|
|
|
25
|
-
#
|
|
26
|
-
attr_accessor :
|
|
28
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
29
|
+
attr_accessor :base_path
|
|
30
|
+
|
|
31
|
+
# The Pulp Resource Name (PRN).
|
|
32
|
+
attr_accessor :prn
|
|
33
|
+
|
|
34
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
35
|
+
attr_accessor :repository
|
|
27
36
|
|
|
28
37
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
29
38
|
attr_accessor :content_guard
|
|
30
39
|
|
|
31
|
-
#
|
|
32
|
-
attr_accessor :
|
|
40
|
+
# 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.
|
|
41
|
+
attr_accessor :pulp_last_updated
|
|
33
42
|
|
|
34
43
|
attr_accessor :pulp_labels
|
|
35
44
|
|
|
36
|
-
|
|
37
|
-
attr_accessor :no_content_change_since
|
|
38
|
-
|
|
39
|
-
# Timestamp of creation.
|
|
40
|
-
attr_accessor :pulp_created
|
|
45
|
+
attr_accessor :pulp_href
|
|
41
46
|
|
|
42
47
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
43
48
|
attr_accessor :name
|
|
44
49
|
|
|
45
|
-
# The Pulp Resource Name (PRN).
|
|
46
|
-
attr_accessor :prn
|
|
47
|
-
|
|
48
|
-
attr_accessor :pulp_href
|
|
49
|
-
|
|
50
50
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
51
51
|
attr_accessor :remote
|
|
52
52
|
|
|
@@ -65,17 +65,17 @@ module PulpContainerClient
|
|
|
65
65
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
66
66
|
def self.attribute_map
|
|
67
67
|
{
|
|
68
|
-
:'repository' => :'repository',
|
|
69
|
-
:'hidden' => :'hidden',
|
|
70
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
71
|
-
:'content_guard' => :'content_guard',
|
|
72
|
-
:'base_path' => :'base_path',
|
|
73
|
-
:'pulp_labels' => :'pulp_labels',
|
|
74
68
|
:'no_content_change_since' => :'no_content_change_since',
|
|
75
69
|
:'pulp_created' => :'pulp_created',
|
|
76
|
-
:'
|
|
70
|
+
:'hidden' => :'hidden',
|
|
71
|
+
:'base_path' => :'base_path',
|
|
77
72
|
:'prn' => :'prn',
|
|
73
|
+
:'repository' => :'repository',
|
|
74
|
+
:'content_guard' => :'content_guard',
|
|
75
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
76
|
+
:'pulp_labels' => :'pulp_labels',
|
|
78
77
|
:'pulp_href' => :'pulp_href',
|
|
78
|
+
:'name' => :'name',
|
|
79
79
|
:'remote' => :'remote',
|
|
80
80
|
:'distributions' => :'distributions',
|
|
81
81
|
:'namespace' => :'namespace',
|
|
@@ -92,17 +92,17 @@ module PulpContainerClient
|
|
|
92
92
|
# Attribute type mapping.
|
|
93
93
|
def self.openapi_types
|
|
94
94
|
{
|
|
95
|
-
:'repository' => :'String',
|
|
96
|
-
:'hidden' => :'Boolean',
|
|
97
|
-
:'pulp_last_updated' => :'Time',
|
|
98
|
-
:'content_guard' => :'String',
|
|
99
|
-
:'base_path' => :'String',
|
|
100
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
101
95
|
:'no_content_change_since' => :'String',
|
|
102
96
|
:'pulp_created' => :'Time',
|
|
103
|
-
:'
|
|
97
|
+
:'hidden' => :'Boolean',
|
|
98
|
+
:'base_path' => :'String',
|
|
104
99
|
:'prn' => :'String',
|
|
100
|
+
:'repository' => :'String',
|
|
101
|
+
:'content_guard' => :'String',
|
|
102
|
+
:'pulp_last_updated' => :'Time',
|
|
103
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
105
104
|
:'pulp_href' => :'String',
|
|
105
|
+
:'name' => :'String',
|
|
106
106
|
:'remote' => :'String',
|
|
107
107
|
:'distributions' => :'Array<String>',
|
|
108
108
|
:'namespace' => :'String',
|
|
@@ -134,8 +134,12 @@ module PulpContainerClient
|
|
|
134
134
|
h[k.to_sym] = v
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
if attributes.key?(:'
|
|
138
|
-
self.
|
|
137
|
+
if attributes.key?(:'no_content_change_since')
|
|
138
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
if attributes.key?(:'pulp_created')
|
|
142
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
139
143
|
end
|
|
140
144
|
|
|
141
145
|
if attributes.key?(:'hidden')
|
|
@@ -144,18 +148,26 @@ module PulpContainerClient
|
|
|
144
148
|
self.hidden = false
|
|
145
149
|
end
|
|
146
150
|
|
|
147
|
-
if attributes.key?(:'
|
|
148
|
-
self.
|
|
151
|
+
if attributes.key?(:'base_path')
|
|
152
|
+
self.base_path = attributes[:'base_path']
|
|
153
|
+
else
|
|
154
|
+
self.base_path = nil
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
if attributes.key?(:'prn')
|
|
158
|
+
self.prn = attributes[:'prn']
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
if attributes.key?(:'repository')
|
|
162
|
+
self.repository = attributes[:'repository']
|
|
149
163
|
end
|
|
150
164
|
|
|
151
165
|
if attributes.key?(:'content_guard')
|
|
152
166
|
self.content_guard = attributes[:'content_guard']
|
|
153
167
|
end
|
|
154
168
|
|
|
155
|
-
if attributes.key?(:'
|
|
156
|
-
self.
|
|
157
|
-
else
|
|
158
|
-
self.base_path = nil
|
|
169
|
+
if attributes.key?(:'pulp_last_updated')
|
|
170
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
159
171
|
end
|
|
160
172
|
|
|
161
173
|
if attributes.key?(:'pulp_labels')
|
|
@@ -164,12 +176,8 @@ module PulpContainerClient
|
|
|
164
176
|
end
|
|
165
177
|
end
|
|
166
178
|
|
|
167
|
-
if attributes.key?(:'
|
|
168
|
-
self.
|
|
169
|
-
end
|
|
170
|
-
|
|
171
|
-
if attributes.key?(:'pulp_created')
|
|
172
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
179
|
+
if attributes.key?(:'pulp_href')
|
|
180
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
173
181
|
end
|
|
174
182
|
|
|
175
183
|
if attributes.key?(:'name')
|
|
@@ -178,14 +186,6 @@ module PulpContainerClient
|
|
|
178
186
|
self.name = nil
|
|
179
187
|
end
|
|
180
188
|
|
|
181
|
-
if attributes.key?(:'prn')
|
|
182
|
-
self.prn = attributes[:'prn']
|
|
183
|
-
end
|
|
184
|
-
|
|
185
|
-
if attributes.key?(:'pulp_href')
|
|
186
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
187
|
-
end
|
|
188
|
-
|
|
189
189
|
if attributes.key?(:'remote')
|
|
190
190
|
self.remote = attributes[:'remote']
|
|
191
191
|
else
|
|
@@ -246,17 +246,17 @@ module PulpContainerClient
|
|
|
246
246
|
def ==(o)
|
|
247
247
|
return true if self.equal?(o)
|
|
248
248
|
self.class == o.class &&
|
|
249
|
-
repository == o.repository &&
|
|
250
|
-
hidden == o.hidden &&
|
|
251
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
252
|
-
content_guard == o.content_guard &&
|
|
253
|
-
base_path == o.base_path &&
|
|
254
|
-
pulp_labels == o.pulp_labels &&
|
|
255
249
|
no_content_change_since == o.no_content_change_since &&
|
|
256
250
|
pulp_created == o.pulp_created &&
|
|
257
|
-
|
|
251
|
+
hidden == o.hidden &&
|
|
252
|
+
base_path == o.base_path &&
|
|
258
253
|
prn == o.prn &&
|
|
254
|
+
repository == o.repository &&
|
|
255
|
+
content_guard == o.content_guard &&
|
|
256
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
257
|
+
pulp_labels == o.pulp_labels &&
|
|
259
258
|
pulp_href == o.pulp_href &&
|
|
259
|
+
name == o.name &&
|
|
260
260
|
remote == o.remote &&
|
|
261
261
|
distributions == o.distributions &&
|
|
262
262
|
namespace == o.namespace &&
|
|
@@ -273,7 +273,7 @@ module PulpContainerClient
|
|
|
273
273
|
# Calculates hash code according to all attributes.
|
|
274
274
|
# @return [Integer] Hash code
|
|
275
275
|
def hash
|
|
276
|
-
[
|
|
276
|
+
[no_content_change_since, pulp_created, hidden, base_path, prn, repository, content_guard, pulp_last_updated, pulp_labels, pulp_href, name, remote, distributions, namespace, private, description].hash
|
|
277
277
|
end
|
|
278
278
|
|
|
279
279
|
# Builds the object from hash
|