pulp_container_client 2.22.5 → 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 +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- 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 +32 -32
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +55 -55
- 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 +32 -32
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +2 -2
- 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 +2 -2
- metadata +60 -60
|
@@ -15,36 +15,36 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
-
# Whether this distribution should be shown in the content app.
|
|
19
|
-
attr_accessor :hidden
|
|
20
|
-
|
|
21
|
-
attr_accessor :pulp_labels
|
|
22
|
-
|
|
23
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
24
|
-
attr_accessor :repository
|
|
25
|
-
|
|
26
18
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
27
19
|
attr_accessor :content_guard
|
|
28
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
|
+
# Whether this distribution should be shown in the content app.
|
|
25
|
+
attr_accessor :hidden
|
|
26
|
+
|
|
29
27
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
30
28
|
attr_accessor :name
|
|
31
29
|
|
|
32
30
|
# Timestamp of creation.
|
|
33
31
|
attr_accessor :pulp_created
|
|
34
32
|
|
|
35
|
-
#
|
|
36
|
-
attr_accessor :
|
|
33
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
34
|
+
attr_accessor :repository
|
|
37
35
|
|
|
38
|
-
attr_accessor :
|
|
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
|
-
:'repository' => :'repository',
|
|
73
70
|
:'content_guard' => :'content_guard',
|
|
71
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
72
|
+
:'hidden' => :'hidden',
|
|
74
73
|
:'name' => :'name',
|
|
75
74
|
:'pulp_created' => :'pulp_created',
|
|
76
|
-
:'
|
|
77
|
-
:'
|
|
78
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
79
|
-
:'base_path' => :'base_path',
|
|
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
|
-
:'repository' => :'String',
|
|
96
93
|
:'content_guard' => :'String',
|
|
94
|
+
:'no_content_change_since' => :'String',
|
|
95
|
+
:'hidden' => :'Boolean',
|
|
97
96
|
:'name' => :'String',
|
|
98
97
|
:'pulp_created' => :'DateTime',
|
|
99
|
-
:'
|
|
100
|
-
:'
|
|
101
|
-
:'pulp_last_updated' => :'DateTime',
|
|
102
|
-
:'base_path' => :'String',
|
|
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,24 +134,18 @@ 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
|
-
if attributes.key?(:'
|
|
150
|
-
self.
|
|
141
|
+
if attributes.key?(:'no_content_change_since')
|
|
142
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
151
143
|
end
|
|
152
144
|
|
|
153
|
-
if attributes.key?(:'
|
|
154
|
-
self.
|
|
145
|
+
if attributes.key?(:'hidden')
|
|
146
|
+
self.hidden = attributes[:'hidden']
|
|
147
|
+
else
|
|
148
|
+
self.hidden = false
|
|
155
149
|
end
|
|
156
150
|
|
|
157
151
|
if attributes.key?(:'name')
|
|
@@ -162,24 +156,30 @@ module PulpContainerClient
|
|
|
162
156
|
self.pulp_created = attributes[:'pulp_created']
|
|
163
157
|
end
|
|
164
158
|
|
|
165
|
-
if attributes.key?(:'
|
|
166
|
-
self.
|
|
159
|
+
if attributes.key?(:'repository')
|
|
160
|
+
self.repository = attributes[:'repository']
|
|
167
161
|
end
|
|
168
162
|
|
|
169
|
-
if attributes.key?(:'
|
|
170
|
-
|
|
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
|
-
repository == o.repository &&
|
|
241
238
|
content_guard == o.content_guard &&
|
|
239
|
+
no_content_change_since == o.no_content_change_since &&
|
|
240
|
+
hidden == o.hidden &&
|
|
242
241
|
name == o.name &&
|
|
243
242
|
pulp_created == o.pulp_created &&
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
247
|
-
base_path == o.base_path &&
|
|
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
|
-
|
|
24
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
25
|
+
attr_accessor :name
|
|
22
26
|
|
|
23
27
|
# The latest RepositoryVersion for this Repository will be served.
|
|
24
28
|
attr_accessor :repository
|
|
25
29
|
|
|
26
|
-
|
|
27
|
-
attr_accessor :content_guard
|
|
28
|
-
|
|
29
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
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
|
-
:'repository' => :'repository',
|
|
53
50
|
:'content_guard' => :'content_guard',
|
|
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
|
-
:'repository' => :'String',
|
|
69
66
|
:'content_guard' => :'String',
|
|
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
|
+
if attributes.key?(:'name')
|
|
113
|
+
self.name = attributes[:'name']
|
|
112
114
|
end
|
|
113
115
|
|
|
114
116
|
if attributes.key?(:'repository')
|
|
115
117
|
self.repository = attributes[:'repository']
|
|
116
118
|
end
|
|
117
119
|
|
|
118
|
-
if attributes.key?(:'
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
if attributes.key?(:'name')
|
|
123
|
-
self.name = attributes[:'name']
|
|
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
|
-
repository == o.repository &&
|
|
238
235
|
content_guard == o.content_guard &&
|
|
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
|
-
[hidden,
|
|
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
|
-
# Whether this distribution should be shown in the content app.
|
|
19
|
-
attr_accessor :hidden
|
|
20
|
-
|
|
21
|
-
attr_accessor :pulp_labels
|
|
22
|
-
|
|
23
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
24
|
-
attr_accessor :repository
|
|
25
|
-
|
|
26
18
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
27
19
|
attr_accessor :content_guard
|
|
28
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
|
+
# Whether this distribution should be shown in the content app.
|
|
25
|
+
attr_accessor :hidden
|
|
26
|
+
|
|
29
27
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
30
28
|
attr_accessor :name
|
|
31
29
|
|
|
32
30
|
# Timestamp of creation.
|
|
33
31
|
attr_accessor :pulp_created
|
|
34
32
|
|
|
35
|
-
#
|
|
36
|
-
attr_accessor :
|
|
33
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
34
|
+
attr_accessor :repository
|
|
37
35
|
|
|
38
|
-
attr_accessor :
|
|
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
|
-
:'repository' => :'repository',
|
|
70
67
|
:'content_guard' => :'content_guard',
|
|
68
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
69
|
+
:'hidden' => :'hidden',
|
|
71
70
|
:'name' => :'name',
|
|
72
71
|
:'pulp_created' => :'pulp_created',
|
|
73
|
-
:'
|
|
74
|
-
:'
|
|
75
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
76
|
-
:'base_path' => :'base_path',
|
|
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
|
-
:'repository' => :'String',
|
|
92
89
|
:'content_guard' => :'String',
|
|
90
|
+
:'no_content_change_since' => :'String',
|
|
91
|
+
:'hidden' => :'Boolean',
|
|
93
92
|
:'name' => :'String',
|
|
94
93
|
:'pulp_created' => :'DateTime',
|
|
95
|
-
:'
|
|
96
|
-
:'
|
|
97
|
-
:'pulp_last_updated' => :'DateTime',
|
|
98
|
-
:'base_path' => :'String',
|
|
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,24 +128,18 @@ 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
|
-
if attributes.key?(:'
|
|
144
|
-
self.
|
|
135
|
+
if attributes.key?(:'no_content_change_since')
|
|
136
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
145
137
|
end
|
|
146
138
|
|
|
147
|
-
if attributes.key?(:'
|
|
148
|
-
self.
|
|
139
|
+
if attributes.key?(:'hidden')
|
|
140
|
+
self.hidden = attributes[:'hidden']
|
|
141
|
+
else
|
|
142
|
+
self.hidden = false
|
|
149
143
|
end
|
|
150
144
|
|
|
151
145
|
if attributes.key?(:'name')
|
|
@@ -156,24 +150,30 @@ module PulpContainerClient
|
|
|
156
150
|
self.pulp_created = attributes[:'pulp_created']
|
|
157
151
|
end
|
|
158
152
|
|
|
159
|
-
if attributes.key?(:'
|
|
160
|
-
self.
|
|
153
|
+
if attributes.key?(:'repository')
|
|
154
|
+
self.repository = attributes[:'repository']
|
|
161
155
|
end
|
|
162
156
|
|
|
163
|
-
if attributes.key?(:'
|
|
164
|
-
|
|
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
|
-
repository == o.repository &&
|
|
238
235
|
content_guard == o.content_guard &&
|
|
236
|
+
no_content_change_since == o.no_content_change_since &&
|
|
237
|
+
hidden == o.hidden &&
|
|
239
238
|
name == o.name &&
|
|
240
239
|
pulp_created == o.pulp_created &&
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
244
|
-
base_path == o.base_path &&
|
|
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
|