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