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