pulp_container_client 2.22.8 → 2.22.9
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 +8 -8
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +8 -8
- data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/lib/pulp_container_client/models/container_container_distribution.rb +33 -33
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +61 -61
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +33 -33
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +61 -61
- data/lib/pulp_container_client/models/container_container_push_repository.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +55 -55
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +33 -33
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +33 -33
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +39 -39
- 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 +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +10 -10
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +60 -60
|
@@ -15,37 +15,37 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
20
|
-
|
|
21
|
-
attr_accessor :pulp_labels
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
22
20
|
|
|
23
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
22
|
attr_accessor :name
|
|
25
23
|
|
|
26
|
-
|
|
24
|
+
# 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.
|
|
25
|
+
attr_accessor :pulp_last_updated
|
|
26
|
+
|
|
27
|
+
attr_accessor :pulp_labels
|
|
27
28
|
|
|
28
29
|
# Timestamp of creation.
|
|
29
30
|
attr_accessor :pulp_created
|
|
30
31
|
|
|
31
|
-
|
|
32
|
-
attr_accessor :content_guard
|
|
33
|
-
|
|
34
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
35
|
-
attr_accessor :base_path
|
|
32
|
+
attr_accessor :pulp_href
|
|
36
33
|
|
|
37
|
-
#
|
|
38
|
-
attr_accessor :
|
|
34
|
+
# The Pulp Resource Name (PRN).
|
|
35
|
+
attr_accessor :prn
|
|
39
36
|
|
|
40
37
|
# The latest RepositoryVersion for this Repository will be served.
|
|
41
38
|
attr_accessor :repository
|
|
42
39
|
|
|
43
|
-
# The Pulp Resource Name (PRN).
|
|
44
|
-
attr_accessor :prn
|
|
45
|
-
|
|
46
40
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
47
41
|
attr_accessor :no_content_change_since
|
|
48
42
|
|
|
43
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
44
|
+
attr_accessor :base_path
|
|
45
|
+
|
|
46
|
+
# Whether this distribution should be shown in the content app.
|
|
47
|
+
attr_accessor :hidden
|
|
48
|
+
|
|
49
49
|
# RepositoryVersion to be served
|
|
50
50
|
attr_accessor :repository_version
|
|
51
51
|
|
|
@@ -67,17 +67,17 @@ module PulpContainerClient
|
|
|
67
67
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
68
68
|
def self.attribute_map
|
|
69
69
|
{
|
|
70
|
-
:'hidden' => :'hidden',
|
|
71
|
-
:'pulp_labels' => :'pulp_labels',
|
|
72
|
-
:'name' => :'name',
|
|
73
|
-
:'pulp_href' => :'pulp_href',
|
|
74
|
-
:'pulp_created' => :'pulp_created',
|
|
75
70
|
:'content_guard' => :'content_guard',
|
|
76
|
-
:'
|
|
71
|
+
:'name' => :'name',
|
|
77
72
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
78
|
-
:'
|
|
73
|
+
:'pulp_labels' => :'pulp_labels',
|
|
74
|
+
:'pulp_created' => :'pulp_created',
|
|
75
|
+
:'pulp_href' => :'pulp_href',
|
|
79
76
|
:'prn' => :'prn',
|
|
77
|
+
:'repository' => :'repository',
|
|
80
78
|
:'no_content_change_since' => :'no_content_change_since',
|
|
79
|
+
:'base_path' => :'base_path',
|
|
80
|
+
:'hidden' => :'hidden',
|
|
81
81
|
:'repository_version' => :'repository_version',
|
|
82
82
|
:'registry_path' => :'registry_path',
|
|
83
83
|
:'remote' => :'remote',
|
|
@@ -90,17 +90,17 @@ module PulpContainerClient
|
|
|
90
90
|
# Attribute type mapping.
|
|
91
91
|
def self.openapi_types
|
|
92
92
|
{
|
|
93
|
-
:'hidden' => :'Boolean',
|
|
94
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
95
|
-
:'name' => :'String',
|
|
96
|
-
:'pulp_href' => :'String',
|
|
97
|
-
:'pulp_created' => :'DateTime',
|
|
98
93
|
:'content_guard' => :'String',
|
|
99
|
-
:'
|
|
94
|
+
:'name' => :'String',
|
|
100
95
|
:'pulp_last_updated' => :'DateTime',
|
|
101
|
-
:'
|
|
96
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
97
|
+
:'pulp_created' => :'DateTime',
|
|
98
|
+
:'pulp_href' => :'String',
|
|
102
99
|
:'prn' => :'String',
|
|
100
|
+
:'repository' => :'String',
|
|
103
101
|
:'no_content_change_since' => :'String',
|
|
102
|
+
:'base_path' => :'String',
|
|
103
|
+
:'hidden' => :'Boolean',
|
|
104
104
|
:'repository_version' => :'String',
|
|
105
105
|
:'registry_path' => :'String',
|
|
106
106
|
:'remote' => :'String',
|
|
@@ -134,54 +134,54 @@ module PulpContainerClient
|
|
|
134
134
|
h[k.to_sym] = v
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
if attributes.key?(:'
|
|
138
|
-
self.
|
|
139
|
-
else
|
|
140
|
-
self.hidden = false
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
if attributes.key?(:'pulp_labels')
|
|
144
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
145
|
-
self.pulp_labels = value
|
|
146
|
-
end
|
|
137
|
+
if attributes.key?(:'content_guard')
|
|
138
|
+
self.content_guard = attributes[:'content_guard']
|
|
147
139
|
end
|
|
148
140
|
|
|
149
141
|
if attributes.key?(:'name')
|
|
150
142
|
self.name = attributes[:'name']
|
|
151
143
|
end
|
|
152
144
|
|
|
153
|
-
if attributes.key?(:'
|
|
154
|
-
self.
|
|
145
|
+
if attributes.key?(:'pulp_last_updated')
|
|
146
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
155
147
|
end
|
|
156
148
|
|
|
157
|
-
if attributes.key?(:'
|
|
158
|
-
|
|
149
|
+
if attributes.key?(:'pulp_labels')
|
|
150
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
151
|
+
self.pulp_labels = value
|
|
152
|
+
end
|
|
159
153
|
end
|
|
160
154
|
|
|
161
|
-
if attributes.key?(:'
|
|
162
|
-
self.
|
|
155
|
+
if attributes.key?(:'pulp_created')
|
|
156
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
163
157
|
end
|
|
164
158
|
|
|
165
|
-
if attributes.key?(:'
|
|
166
|
-
self.
|
|
159
|
+
if attributes.key?(:'pulp_href')
|
|
160
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
167
161
|
end
|
|
168
162
|
|
|
169
|
-
if attributes.key?(:'
|
|
170
|
-
self.
|
|
163
|
+
if attributes.key?(:'prn')
|
|
164
|
+
self.prn = attributes[:'prn']
|
|
171
165
|
end
|
|
172
166
|
|
|
173
167
|
if attributes.key?(:'repository')
|
|
174
168
|
self.repository = attributes[:'repository']
|
|
175
169
|
end
|
|
176
170
|
|
|
177
|
-
if attributes.key?(:'prn')
|
|
178
|
-
self.prn = attributes[:'prn']
|
|
179
|
-
end
|
|
180
|
-
|
|
181
171
|
if attributes.key?(:'no_content_change_since')
|
|
182
172
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
183
173
|
end
|
|
184
174
|
|
|
175
|
+
if attributes.key?(:'base_path')
|
|
176
|
+
self.base_path = attributes[:'base_path']
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
if attributes.key?(:'hidden')
|
|
180
|
+
self.hidden = attributes[:'hidden']
|
|
181
|
+
else
|
|
182
|
+
self.hidden = false
|
|
183
|
+
end
|
|
184
|
+
|
|
185
185
|
if attributes.key?(:'repository_version')
|
|
186
186
|
self.repository_version = attributes[:'repository_version']
|
|
187
187
|
end
|
|
@@ -235,17 +235,17 @@ module PulpContainerClient
|
|
|
235
235
|
def ==(o)
|
|
236
236
|
return true if self.equal?(o)
|
|
237
237
|
self.class == o.class &&
|
|
238
|
-
hidden == o.hidden &&
|
|
239
|
-
pulp_labels == o.pulp_labels &&
|
|
240
|
-
name == o.name &&
|
|
241
|
-
pulp_href == o.pulp_href &&
|
|
242
|
-
pulp_created == o.pulp_created &&
|
|
243
238
|
content_guard == o.content_guard &&
|
|
244
|
-
|
|
239
|
+
name == o.name &&
|
|
245
240
|
pulp_last_updated == o.pulp_last_updated &&
|
|
246
|
-
|
|
241
|
+
pulp_labels == o.pulp_labels &&
|
|
242
|
+
pulp_created == o.pulp_created &&
|
|
243
|
+
pulp_href == o.pulp_href &&
|
|
247
244
|
prn == o.prn &&
|
|
245
|
+
repository == o.repository &&
|
|
248
246
|
no_content_change_since == o.no_content_change_since &&
|
|
247
|
+
base_path == o.base_path &&
|
|
248
|
+
hidden == o.hidden &&
|
|
249
249
|
repository_version == o.repository_version &&
|
|
250
250
|
registry_path == o.registry_path &&
|
|
251
251
|
remote == o.remote &&
|
|
@@ -263,7 +263,7 @@ module PulpContainerClient
|
|
|
263
263
|
# Calculates hash code according to all attributes.
|
|
264
264
|
# @return [Integer] Hash code
|
|
265
265
|
def hash
|
|
266
|
-
[
|
|
266
|
+
[content_guard, name, pulp_last_updated, pulp_labels, pulp_created, pulp_href, prn, repository, no_content_change_since, base_path, hidden, repository_version, registry_path, remote, namespace, private, description].hash
|
|
267
267
|
end
|
|
268
268
|
|
|
269
269
|
# Builds the object from hash
|
|
@@ -15,22 +15,22 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
17
17
|
class ContainerContainerPullThroughDistribution
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
20
|
-
|
|
21
|
-
attr_accessor :pulp_labels
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
22
20
|
|
|
23
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
22
|
attr_accessor :name
|
|
25
23
|
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
attr_accessor :pulp_labels
|
|
25
|
+
|
|
26
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
27
|
+
attr_accessor :repository
|
|
28
28
|
|
|
29
29
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
30
30
|
attr_accessor :base_path
|
|
31
31
|
|
|
32
|
-
#
|
|
33
|
-
attr_accessor :
|
|
32
|
+
# Whether this distribution should be shown in the content app.
|
|
33
|
+
attr_accessor :hidden
|
|
34
34
|
|
|
35
35
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
36
36
|
attr_accessor :remote
|
|
@@ -47,12 +47,12 @@ module PulpContainerClient
|
|
|
47
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
48
48
|
def self.attribute_map
|
|
49
49
|
{
|
|
50
|
-
:'hidden' => :'hidden',
|
|
51
|
-
:'pulp_labels' => :'pulp_labels',
|
|
52
|
-
:'name' => :'name',
|
|
53
50
|
:'content_guard' => :'content_guard',
|
|
54
|
-
:'
|
|
51
|
+
:'name' => :'name',
|
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
|
55
53
|
:'repository' => :'repository',
|
|
54
|
+
:'base_path' => :'base_path',
|
|
55
|
+
:'hidden' => :'hidden',
|
|
56
56
|
:'remote' => :'remote',
|
|
57
57
|
:'distributions' => :'distributions',
|
|
58
58
|
:'private' => :'private',
|
|
@@ -63,12 +63,12 @@ module PulpContainerClient
|
|
|
63
63
|
# Attribute type mapping.
|
|
64
64
|
def self.openapi_types
|
|
65
65
|
{
|
|
66
|
-
:'hidden' => :'Boolean',
|
|
67
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
68
|
-
:'name' => :'String',
|
|
69
66
|
:'content_guard' => :'String',
|
|
70
|
-
:'
|
|
67
|
+
:'name' => :'String',
|
|
68
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
71
69
|
:'repository' => :'String',
|
|
70
|
+
:'base_path' => :'String',
|
|
71
|
+
:'hidden' => :'Boolean',
|
|
72
72
|
:'remote' => :'String',
|
|
73
73
|
:'distributions' => :'Array<String>',
|
|
74
74
|
:'private' => :'Boolean',
|
|
@@ -99,10 +99,12 @@ module PulpContainerClient
|
|
|
99
99
|
h[k.to_sym] = v
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
if attributes.key?(:'
|
|
103
|
-
self.
|
|
104
|
-
|
|
105
|
-
|
|
102
|
+
if attributes.key?(:'content_guard')
|
|
103
|
+
self.content_guard = attributes[:'content_guard']
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
if attributes.key?(:'name')
|
|
107
|
+
self.name = attributes[:'name']
|
|
106
108
|
end
|
|
107
109
|
|
|
108
110
|
if attributes.key?(:'pulp_labels')
|
|
@@ -111,20 +113,18 @@ module PulpContainerClient
|
|
|
111
113
|
end
|
|
112
114
|
end
|
|
113
115
|
|
|
114
|
-
if attributes.key?(:'
|
|
115
|
-
self.
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
if attributes.key?(:'content_guard')
|
|
119
|
-
self.content_guard = attributes[:'content_guard']
|
|
116
|
+
if attributes.key?(:'repository')
|
|
117
|
+
self.repository = attributes[:'repository']
|
|
120
118
|
end
|
|
121
119
|
|
|
122
120
|
if attributes.key?(:'base_path')
|
|
123
121
|
self.base_path = attributes[:'base_path']
|
|
124
122
|
end
|
|
125
123
|
|
|
126
|
-
if attributes.key?(:'
|
|
127
|
-
self.
|
|
124
|
+
if attributes.key?(:'hidden')
|
|
125
|
+
self.hidden = attributes[:'hidden']
|
|
126
|
+
else
|
|
127
|
+
self.hidden = false
|
|
128
128
|
end
|
|
129
129
|
|
|
130
130
|
if attributes.key?(:'remote')
|
|
@@ -232,12 +232,12 @@ module PulpContainerClient
|
|
|
232
232
|
def ==(o)
|
|
233
233
|
return true if self.equal?(o)
|
|
234
234
|
self.class == o.class &&
|
|
235
|
-
hidden == o.hidden &&
|
|
236
|
-
pulp_labels == o.pulp_labels &&
|
|
237
|
-
name == o.name &&
|
|
238
235
|
content_guard == o.content_guard &&
|
|
239
|
-
|
|
236
|
+
name == o.name &&
|
|
237
|
+
pulp_labels == o.pulp_labels &&
|
|
240
238
|
repository == o.repository &&
|
|
239
|
+
base_path == o.base_path &&
|
|
240
|
+
hidden == o.hidden &&
|
|
241
241
|
remote == o.remote &&
|
|
242
242
|
distributions == o.distributions &&
|
|
243
243
|
private == o.private &&
|
|
@@ -253,7 +253,7 @@ module PulpContainerClient
|
|
|
253
253
|
# Calculates hash code according to all attributes.
|
|
254
254
|
# @return [Integer] Hash code
|
|
255
255
|
def hash
|
|
256
|
-
[
|
|
256
|
+
[content_guard, name, pulp_labels, repository, base_path, hidden, remote, distributions, private, description].hash
|
|
257
257
|
end
|
|
258
258
|
|
|
259
259
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
|
@@ -15,37 +15,37 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
17
17
|
class ContainerContainerPullThroughDistributionResponse
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
20
|
-
|
|
21
|
-
attr_accessor :pulp_labels
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
22
20
|
|
|
23
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
22
|
attr_accessor :name
|
|
25
23
|
|
|
26
|
-
|
|
24
|
+
# 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.
|
|
25
|
+
attr_accessor :pulp_last_updated
|
|
26
|
+
|
|
27
|
+
attr_accessor :pulp_labels
|
|
27
28
|
|
|
28
29
|
# Timestamp of creation.
|
|
29
30
|
attr_accessor :pulp_created
|
|
30
31
|
|
|
31
|
-
|
|
32
|
-
attr_accessor :content_guard
|
|
33
|
-
|
|
34
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
35
|
-
attr_accessor :base_path
|
|
32
|
+
attr_accessor :pulp_href
|
|
36
33
|
|
|
37
|
-
#
|
|
38
|
-
attr_accessor :
|
|
34
|
+
# The Pulp Resource Name (PRN).
|
|
35
|
+
attr_accessor :prn
|
|
39
36
|
|
|
40
37
|
# The latest RepositoryVersion for this Repository will be served.
|
|
41
38
|
attr_accessor :repository
|
|
42
39
|
|
|
43
|
-
# The Pulp Resource Name (PRN).
|
|
44
|
-
attr_accessor :prn
|
|
45
|
-
|
|
46
40
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
47
41
|
attr_accessor :no_content_change_since
|
|
48
42
|
|
|
43
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
44
|
+
attr_accessor :base_path
|
|
45
|
+
|
|
46
|
+
# Whether this distribution should be shown in the content app.
|
|
47
|
+
attr_accessor :hidden
|
|
48
|
+
|
|
49
49
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
50
50
|
attr_accessor :remote
|
|
51
51
|
|
|
@@ -64,17 +64,17 @@ module PulpContainerClient
|
|
|
64
64
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
65
65
|
def self.attribute_map
|
|
66
66
|
{
|
|
67
|
-
:'hidden' => :'hidden',
|
|
68
|
-
:'pulp_labels' => :'pulp_labels',
|
|
69
|
-
:'name' => :'name',
|
|
70
|
-
:'pulp_href' => :'pulp_href',
|
|
71
|
-
:'pulp_created' => :'pulp_created',
|
|
72
67
|
:'content_guard' => :'content_guard',
|
|
73
|
-
:'
|
|
68
|
+
:'name' => :'name',
|
|
74
69
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
75
|
-
:'
|
|
70
|
+
:'pulp_labels' => :'pulp_labels',
|
|
71
|
+
:'pulp_created' => :'pulp_created',
|
|
72
|
+
:'pulp_href' => :'pulp_href',
|
|
76
73
|
:'prn' => :'prn',
|
|
74
|
+
:'repository' => :'repository',
|
|
77
75
|
:'no_content_change_since' => :'no_content_change_since',
|
|
76
|
+
:'base_path' => :'base_path',
|
|
77
|
+
:'hidden' => :'hidden',
|
|
78
78
|
:'remote' => :'remote',
|
|
79
79
|
:'distributions' => :'distributions',
|
|
80
80
|
:'namespace' => :'namespace',
|
|
@@ -86,17 +86,17 @@ module PulpContainerClient
|
|
|
86
86
|
# Attribute type mapping.
|
|
87
87
|
def self.openapi_types
|
|
88
88
|
{
|
|
89
|
-
:'hidden' => :'Boolean',
|
|
90
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
91
|
-
:'name' => :'String',
|
|
92
|
-
:'pulp_href' => :'String',
|
|
93
|
-
:'pulp_created' => :'DateTime',
|
|
94
89
|
:'content_guard' => :'String',
|
|
95
|
-
:'
|
|
90
|
+
:'name' => :'String',
|
|
96
91
|
:'pulp_last_updated' => :'DateTime',
|
|
97
|
-
:'
|
|
92
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
93
|
+
:'pulp_created' => :'DateTime',
|
|
94
|
+
:'pulp_href' => :'String',
|
|
98
95
|
:'prn' => :'String',
|
|
96
|
+
:'repository' => :'String',
|
|
99
97
|
:'no_content_change_since' => :'String',
|
|
98
|
+
:'base_path' => :'String',
|
|
99
|
+
:'hidden' => :'Boolean',
|
|
100
100
|
:'remote' => :'String',
|
|
101
101
|
:'distributions' => :'Array<String>',
|
|
102
102
|
:'namespace' => :'String',
|
|
@@ -128,54 +128,54 @@ module PulpContainerClient
|
|
|
128
128
|
h[k.to_sym] = v
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
if attributes.key?(:'
|
|
132
|
-
self.
|
|
133
|
-
else
|
|
134
|
-
self.hidden = false
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
if attributes.key?(:'pulp_labels')
|
|
138
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
139
|
-
self.pulp_labels = value
|
|
140
|
-
end
|
|
131
|
+
if attributes.key?(:'content_guard')
|
|
132
|
+
self.content_guard = attributes[:'content_guard']
|
|
141
133
|
end
|
|
142
134
|
|
|
143
135
|
if attributes.key?(:'name')
|
|
144
136
|
self.name = attributes[:'name']
|
|
145
137
|
end
|
|
146
138
|
|
|
147
|
-
if attributes.key?(:'
|
|
148
|
-
self.
|
|
139
|
+
if attributes.key?(:'pulp_last_updated')
|
|
140
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
149
141
|
end
|
|
150
142
|
|
|
151
|
-
if attributes.key?(:'
|
|
152
|
-
|
|
143
|
+
if attributes.key?(:'pulp_labels')
|
|
144
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
145
|
+
self.pulp_labels = value
|
|
146
|
+
end
|
|
153
147
|
end
|
|
154
148
|
|
|
155
|
-
if attributes.key?(:'
|
|
156
|
-
self.
|
|
149
|
+
if attributes.key?(:'pulp_created')
|
|
150
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
157
151
|
end
|
|
158
152
|
|
|
159
|
-
if attributes.key?(:'
|
|
160
|
-
self.
|
|
153
|
+
if attributes.key?(:'pulp_href')
|
|
154
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
161
155
|
end
|
|
162
156
|
|
|
163
|
-
if attributes.key?(:'
|
|
164
|
-
self.
|
|
157
|
+
if attributes.key?(:'prn')
|
|
158
|
+
self.prn = attributes[:'prn']
|
|
165
159
|
end
|
|
166
160
|
|
|
167
161
|
if attributes.key?(:'repository')
|
|
168
162
|
self.repository = attributes[:'repository']
|
|
169
163
|
end
|
|
170
164
|
|
|
171
|
-
if attributes.key?(:'prn')
|
|
172
|
-
self.prn = attributes[:'prn']
|
|
173
|
-
end
|
|
174
|
-
|
|
175
165
|
if attributes.key?(:'no_content_change_since')
|
|
176
166
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
177
167
|
end
|
|
178
168
|
|
|
169
|
+
if attributes.key?(:'base_path')
|
|
170
|
+
self.base_path = attributes[:'base_path']
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
if attributes.key?(:'hidden')
|
|
174
|
+
self.hidden = attributes[:'hidden']
|
|
175
|
+
else
|
|
176
|
+
self.hidden = false
|
|
177
|
+
end
|
|
178
|
+
|
|
179
179
|
if attributes.key?(:'remote')
|
|
180
180
|
self.remote = attributes[:'remote']
|
|
181
181
|
end
|
|
@@ -232,17 +232,17 @@ module PulpContainerClient
|
|
|
232
232
|
def ==(o)
|
|
233
233
|
return true if self.equal?(o)
|
|
234
234
|
self.class == o.class &&
|
|
235
|
-
hidden == o.hidden &&
|
|
236
|
-
pulp_labels == o.pulp_labels &&
|
|
237
|
-
name == o.name &&
|
|
238
|
-
pulp_href == o.pulp_href &&
|
|
239
|
-
pulp_created == o.pulp_created &&
|
|
240
235
|
content_guard == o.content_guard &&
|
|
241
|
-
|
|
236
|
+
name == o.name &&
|
|
242
237
|
pulp_last_updated == o.pulp_last_updated &&
|
|
243
|
-
|
|
238
|
+
pulp_labels == o.pulp_labels &&
|
|
239
|
+
pulp_created == o.pulp_created &&
|
|
240
|
+
pulp_href == o.pulp_href &&
|
|
244
241
|
prn == o.prn &&
|
|
242
|
+
repository == o.repository &&
|
|
245
243
|
no_content_change_since == o.no_content_change_since &&
|
|
244
|
+
base_path == o.base_path &&
|
|
245
|
+
hidden == o.hidden &&
|
|
246
246
|
remote == o.remote &&
|
|
247
247
|
distributions == o.distributions &&
|
|
248
248
|
namespace == o.namespace &&
|
|
@@ -259,7 +259,7 @@ module PulpContainerClient
|
|
|
259
259
|
# Calculates hash code according to all attributes.
|
|
260
260
|
# @return [Integer] Hash code
|
|
261
261
|
def hash
|
|
262
|
-
[
|
|
262
|
+
[content_guard, name, pulp_last_updated, pulp_labels, pulp_created, pulp_href, prn, repository, no_content_change_since, base_path, hidden, remote, distributions, namespace, private, description].hash
|
|
263
263
|
end
|
|
264
264
|
|
|
265
265
|
# Builds the object from hash
|