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