pulp_container_client 2.29.3 → 2.30.0
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 +6 -6
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/lib/pulp_container_client/models/container_container_distribution.rb +32 -32
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +62 -62
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +32 -32
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +62 -62
- data/lib/pulp_container_client/models/container_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +65 -65
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +30 -30
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +12 -12
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -12
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- 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 +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +2 -2
|
@@ -16,14 +16,17 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistributionResponse
|
|
19
|
-
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
20
|
-
attr_accessor :content_guard_prn
|
|
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
|
-
#
|
|
26
|
-
attr_accessor :
|
|
22
|
+
# RepositoryVersion to be served
|
|
23
|
+
attr_accessor :repository_version
|
|
24
|
+
|
|
25
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
26
|
+
attr_accessor :repository
|
|
27
|
+
|
|
28
|
+
# Whether this distribution should be shown in the content app.
|
|
29
|
+
attr_accessor :hidden
|
|
27
30
|
|
|
28
31
|
# 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
32
|
attr_accessor :pulp_last_updated
|
|
@@ -33,25 +36,22 @@ module PulpContainerClient
|
|
|
33
36
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
34
37
|
attr_accessor :base_path
|
|
35
38
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
# The Pulp Resource Name (PRN).
|
|
39
|
-
attr_accessor :prn
|
|
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
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
attr_accessor :repository
|
|
42
|
+
attr_accessor :pulp_labels
|
|
43
43
|
|
|
44
|
-
#
|
|
45
|
-
attr_accessor :
|
|
44
|
+
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
45
|
+
attr_accessor :content_guard_prn
|
|
46
46
|
|
|
47
|
-
#
|
|
48
|
-
attr_accessor :
|
|
47
|
+
# Timestamp of creation.
|
|
48
|
+
attr_accessor :pulp_created
|
|
49
49
|
|
|
50
50
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
51
51
|
attr_accessor :name
|
|
52
52
|
|
|
53
|
-
#
|
|
54
|
-
attr_accessor :
|
|
53
|
+
# The Pulp Resource Name (PRN).
|
|
54
|
+
attr_accessor :prn
|
|
55
55
|
|
|
56
56
|
# The Registry hostname/name/ to use with docker pull command defined by this distribution.
|
|
57
57
|
attr_accessor :registry_path
|
|
@@ -71,19 +71,19 @@ module PulpContainerClient
|
|
|
71
71
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
72
72
|
def self.attribute_map
|
|
73
73
|
{
|
|
74
|
-
:'content_guard_prn' => :'content_guard_prn',
|
|
75
74
|
:'content_guard' => :'content_guard',
|
|
76
|
-
:'
|
|
75
|
+
:'repository_version' => :'repository_version',
|
|
76
|
+
:'repository' => :'repository',
|
|
77
|
+
:'hidden' => :'hidden',
|
|
77
78
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
78
79
|
:'pulp_href' => :'pulp_href',
|
|
79
80
|
:'base_path' => :'base_path',
|
|
81
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
80
82
|
:'pulp_labels' => :'pulp_labels',
|
|
81
|
-
:'
|
|
82
|
-
:'
|
|
83
|
-
:'repository_version' => :'repository_version',
|
|
84
|
-
:'hidden' => :'hidden',
|
|
83
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
84
|
+
:'pulp_created' => :'pulp_created',
|
|
85
85
|
:'name' => :'name',
|
|
86
|
-
:'
|
|
86
|
+
:'prn' => :'prn',
|
|
87
87
|
:'registry_path' => :'registry_path',
|
|
88
88
|
:'remote' => :'remote',
|
|
89
89
|
:'namespace' => :'namespace',
|
|
@@ -100,19 +100,19 @@ module PulpContainerClient
|
|
|
100
100
|
# Attribute type mapping.
|
|
101
101
|
def self.openapi_types
|
|
102
102
|
{
|
|
103
|
-
:'content_guard_prn' => :'String',
|
|
104
103
|
:'content_guard' => :'String',
|
|
105
|
-
:'
|
|
104
|
+
:'repository_version' => :'String',
|
|
105
|
+
:'repository' => :'String',
|
|
106
|
+
:'hidden' => :'Boolean',
|
|
106
107
|
:'pulp_last_updated' => :'Time',
|
|
107
108
|
:'pulp_href' => :'String',
|
|
108
109
|
:'base_path' => :'String',
|
|
110
|
+
:'no_content_change_since' => :'String',
|
|
109
111
|
:'pulp_labels' => :'Hash<String, String>',
|
|
110
|
-
:'
|
|
111
|
-
:'
|
|
112
|
-
:'repository_version' => :'String',
|
|
113
|
-
:'hidden' => :'Boolean',
|
|
112
|
+
:'content_guard_prn' => :'String',
|
|
113
|
+
:'pulp_created' => :'Time',
|
|
114
114
|
:'name' => :'String',
|
|
115
|
-
:'
|
|
115
|
+
:'prn' => :'String',
|
|
116
116
|
:'registry_path' => :'String',
|
|
117
117
|
:'remote' => :'String',
|
|
118
118
|
:'namespace' => :'String',
|
|
@@ -124,8 +124,8 @@ module PulpContainerClient
|
|
|
124
124
|
# List of attributes with nullable: true
|
|
125
125
|
def self.openapi_nullable
|
|
126
126
|
Set.new([
|
|
127
|
-
:'repository',
|
|
128
127
|
:'repository_version',
|
|
128
|
+
:'repository',
|
|
129
129
|
:'description'
|
|
130
130
|
])
|
|
131
131
|
end
|
|
@@ -145,16 +145,22 @@ module PulpContainerClient
|
|
|
145
145
|
h[k.to_sym] = v
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
if attributes.key?(:'content_guard_prn')
|
|
149
|
-
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
150
|
-
end
|
|
151
|
-
|
|
152
148
|
if attributes.key?(:'content_guard')
|
|
153
149
|
self.content_guard = attributes[:'content_guard']
|
|
154
150
|
end
|
|
155
151
|
|
|
156
|
-
if attributes.key?(:'
|
|
157
|
-
self.
|
|
152
|
+
if attributes.key?(:'repository_version')
|
|
153
|
+
self.repository_version = attributes[:'repository_version']
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
if attributes.key?(:'repository')
|
|
157
|
+
self.repository = attributes[:'repository']
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
if attributes.key?(:'hidden')
|
|
161
|
+
self.hidden = attributes[:'hidden']
|
|
162
|
+
else
|
|
163
|
+
self.hidden = false
|
|
158
164
|
end
|
|
159
165
|
|
|
160
166
|
if attributes.key?(:'pulp_last_updated')
|
|
@@ -171,28 +177,22 @@ module PulpContainerClient
|
|
|
171
177
|
self.base_path = nil
|
|
172
178
|
end
|
|
173
179
|
|
|
180
|
+
if attributes.key?(:'no_content_change_since')
|
|
181
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
182
|
+
end
|
|
183
|
+
|
|
174
184
|
if attributes.key?(:'pulp_labels')
|
|
175
185
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
176
186
|
self.pulp_labels = value
|
|
177
187
|
end
|
|
178
188
|
end
|
|
179
189
|
|
|
180
|
-
if attributes.key?(:'
|
|
181
|
-
self.
|
|
182
|
-
end
|
|
183
|
-
|
|
184
|
-
if attributes.key?(:'repository')
|
|
185
|
-
self.repository = attributes[:'repository']
|
|
186
|
-
end
|
|
187
|
-
|
|
188
|
-
if attributes.key?(:'repository_version')
|
|
189
|
-
self.repository_version = attributes[:'repository_version']
|
|
190
|
+
if attributes.key?(:'content_guard_prn')
|
|
191
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
190
192
|
end
|
|
191
193
|
|
|
192
|
-
if attributes.key?(:'
|
|
193
|
-
self.
|
|
194
|
-
else
|
|
195
|
-
self.hidden = false
|
|
194
|
+
if attributes.key?(:'pulp_created')
|
|
195
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
196
196
|
end
|
|
197
197
|
|
|
198
198
|
if attributes.key?(:'name')
|
|
@@ -201,8 +201,8 @@ module PulpContainerClient
|
|
|
201
201
|
self.name = nil
|
|
202
202
|
end
|
|
203
203
|
|
|
204
|
-
if attributes.key?(:'
|
|
205
|
-
self.
|
|
204
|
+
if attributes.key?(:'prn')
|
|
205
|
+
self.prn = attributes[:'prn']
|
|
206
206
|
end
|
|
207
207
|
|
|
208
208
|
if attributes.key?(:'registry_path')
|
|
@@ -256,19 +256,19 @@ module PulpContainerClient
|
|
|
256
256
|
def ==(o)
|
|
257
257
|
return true if self.equal?(o)
|
|
258
258
|
self.class == o.class &&
|
|
259
|
-
content_guard_prn == o.content_guard_prn &&
|
|
260
259
|
content_guard == o.content_guard &&
|
|
261
|
-
|
|
260
|
+
repository_version == o.repository_version &&
|
|
261
|
+
repository == o.repository &&
|
|
262
|
+
hidden == o.hidden &&
|
|
262
263
|
pulp_last_updated == o.pulp_last_updated &&
|
|
263
264
|
pulp_href == o.pulp_href &&
|
|
264
265
|
base_path == o.base_path &&
|
|
266
|
+
no_content_change_since == o.no_content_change_since &&
|
|
265
267
|
pulp_labels == o.pulp_labels &&
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
repository_version == o.repository_version &&
|
|
269
|
-
hidden == o.hidden &&
|
|
268
|
+
content_guard_prn == o.content_guard_prn &&
|
|
269
|
+
pulp_created == o.pulp_created &&
|
|
270
270
|
name == o.name &&
|
|
271
|
-
|
|
271
|
+
prn == o.prn &&
|
|
272
272
|
registry_path == o.registry_path &&
|
|
273
273
|
remote == o.remote &&
|
|
274
274
|
namespace == o.namespace &&
|
|
@@ -285,7 +285,7 @@ module PulpContainerClient
|
|
|
285
285
|
# Calculates hash code according to all attributes.
|
|
286
286
|
# @return [Integer] Hash code
|
|
287
287
|
def hash
|
|
288
|
-
[
|
|
288
|
+
[content_guard, repository_version, repository, hidden, pulp_last_updated, pulp_href, base_path, no_content_change_since, pulp_labels, content_guard_prn, pulp_created, name, prn, registry_path, remote, namespace, private, description].hash
|
|
289
289
|
end
|
|
290
290
|
|
|
291
291
|
# Builds the object from hash
|
|
@@ -19,20 +19,20 @@ module PulpContainerClient
|
|
|
19
19
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
20
20
|
attr_accessor :content_guard
|
|
21
21
|
|
|
22
|
-
#
|
|
23
|
-
attr_accessor :
|
|
24
|
-
|
|
25
|
-
attr_accessor :pulp_labels
|
|
22
|
+
# RepositoryVersion to be served
|
|
23
|
+
attr_accessor :repository_version
|
|
26
24
|
|
|
27
25
|
# The latest RepositoryVersion for this Repository will be served.
|
|
28
26
|
attr_accessor :repository
|
|
29
27
|
|
|
30
|
-
# RepositoryVersion to be served
|
|
31
|
-
attr_accessor :repository_version
|
|
32
|
-
|
|
33
28
|
# Whether this distribution should be shown in the content app.
|
|
34
29
|
attr_accessor :hidden
|
|
35
30
|
|
|
31
|
+
# The registry path exposed by this pull-through distribution.
|
|
32
|
+
attr_accessor :base_path
|
|
33
|
+
|
|
34
|
+
attr_accessor :pulp_labels
|
|
35
|
+
|
|
36
36
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
37
37
|
attr_accessor :name
|
|
38
38
|
|
|
@@ -52,11 +52,11 @@ module PulpContainerClient
|
|
|
52
52
|
def self.attribute_map
|
|
53
53
|
{
|
|
54
54
|
:'content_guard' => :'content_guard',
|
|
55
|
-
:'base_path' => :'base_path',
|
|
56
|
-
:'pulp_labels' => :'pulp_labels',
|
|
57
|
-
:'repository' => :'repository',
|
|
58
55
|
:'repository_version' => :'repository_version',
|
|
56
|
+
:'repository' => :'repository',
|
|
59
57
|
:'hidden' => :'hidden',
|
|
58
|
+
:'base_path' => :'base_path',
|
|
59
|
+
:'pulp_labels' => :'pulp_labels',
|
|
60
60
|
:'name' => :'name',
|
|
61
61
|
:'remote' => :'remote',
|
|
62
62
|
:'distributions' => :'distributions',
|
|
@@ -74,11 +74,11 @@ module PulpContainerClient
|
|
|
74
74
|
def self.openapi_types
|
|
75
75
|
{
|
|
76
76
|
:'content_guard' => :'String',
|
|
77
|
-
:'base_path' => :'String',
|
|
78
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
79
|
-
:'repository' => :'String',
|
|
80
77
|
:'repository_version' => :'String',
|
|
78
|
+
:'repository' => :'String',
|
|
81
79
|
:'hidden' => :'Boolean',
|
|
80
|
+
:'base_path' => :'String',
|
|
81
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
82
82
|
:'name' => :'String',
|
|
83
83
|
:'remote' => :'String',
|
|
84
84
|
:'distributions' => :'Array<String>',
|
|
@@ -90,8 +90,8 @@ module PulpContainerClient
|
|
|
90
90
|
# List of attributes with nullable: true
|
|
91
91
|
def self.openapi_nullable
|
|
92
92
|
Set.new([
|
|
93
|
-
:'repository',
|
|
94
93
|
:'repository_version',
|
|
94
|
+
:'repository',
|
|
95
95
|
:'description'
|
|
96
96
|
])
|
|
97
97
|
end
|
|
@@ -115,32 +115,32 @@ module PulpContainerClient
|
|
|
115
115
|
self.content_guard = attributes[:'content_guard']
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
if attributes.key?(:'
|
|
119
|
-
self.
|
|
120
|
-
else
|
|
121
|
-
self.base_path = nil
|
|
122
|
-
end
|
|
123
|
-
|
|
124
|
-
if attributes.key?(:'pulp_labels')
|
|
125
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
126
|
-
self.pulp_labels = value
|
|
127
|
-
end
|
|
118
|
+
if attributes.key?(:'repository_version')
|
|
119
|
+
self.repository_version = attributes[:'repository_version']
|
|
128
120
|
end
|
|
129
121
|
|
|
130
122
|
if attributes.key?(:'repository')
|
|
131
123
|
self.repository = attributes[:'repository']
|
|
132
124
|
end
|
|
133
125
|
|
|
134
|
-
if attributes.key?(:'repository_version')
|
|
135
|
-
self.repository_version = attributes[:'repository_version']
|
|
136
|
-
end
|
|
137
|
-
|
|
138
126
|
if attributes.key?(:'hidden')
|
|
139
127
|
self.hidden = attributes[:'hidden']
|
|
140
128
|
else
|
|
141
129
|
self.hidden = false
|
|
142
130
|
end
|
|
143
131
|
|
|
132
|
+
if attributes.key?(:'base_path')
|
|
133
|
+
self.base_path = attributes[:'base_path']
|
|
134
|
+
else
|
|
135
|
+
self.base_path = nil
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
if attributes.key?(:'pulp_labels')
|
|
139
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
140
|
+
self.pulp_labels = value
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
144
|
if attributes.key?(:'name')
|
|
145
145
|
self.name = attributes[:'name']
|
|
146
146
|
else
|
|
@@ -257,11 +257,11 @@ module PulpContainerClient
|
|
|
257
257
|
return true if self.equal?(o)
|
|
258
258
|
self.class == o.class &&
|
|
259
259
|
content_guard == o.content_guard &&
|
|
260
|
-
base_path == o.base_path &&
|
|
261
|
-
pulp_labels == o.pulp_labels &&
|
|
262
|
-
repository == o.repository &&
|
|
263
260
|
repository_version == o.repository_version &&
|
|
261
|
+
repository == o.repository &&
|
|
264
262
|
hidden == o.hidden &&
|
|
263
|
+
base_path == o.base_path &&
|
|
264
|
+
pulp_labels == o.pulp_labels &&
|
|
265
265
|
name == o.name &&
|
|
266
266
|
remote == o.remote &&
|
|
267
267
|
distributions == o.distributions &&
|
|
@@ -278,7 +278,7 @@ module PulpContainerClient
|
|
|
278
278
|
# Calculates hash code according to all attributes.
|
|
279
279
|
# @return [Integer] Hash code
|
|
280
280
|
def hash
|
|
281
|
-
[content_guard,
|
|
281
|
+
[content_guard, repository_version, repository, hidden, base_path, pulp_labels, name, remote, distributions, private, description].hash
|
|
282
282
|
end
|
|
283
283
|
|
|
284
284
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
|
@@ -16,14 +16,17 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
18
18
|
class ContainerContainerPullThroughDistributionResponse
|
|
19
|
-
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
20
|
-
attr_accessor :content_guard_prn
|
|
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
|
-
#
|
|
26
|
-
attr_accessor :
|
|
22
|
+
# RepositoryVersion to be served
|
|
23
|
+
attr_accessor :repository_version
|
|
24
|
+
|
|
25
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
26
|
+
attr_accessor :repository
|
|
27
|
+
|
|
28
|
+
# Whether this distribution should be shown in the content app.
|
|
29
|
+
attr_accessor :hidden
|
|
27
30
|
|
|
28
31
|
# 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
32
|
attr_accessor :pulp_last_updated
|
|
@@ -33,25 +36,22 @@ module PulpContainerClient
|
|
|
33
36
|
# The registry path exposed by this pull-through distribution.
|
|
34
37
|
attr_accessor :base_path
|
|
35
38
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
# The Pulp Resource Name (PRN).
|
|
39
|
-
attr_accessor :prn
|
|
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
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
attr_accessor :repository
|
|
42
|
+
attr_accessor :pulp_labels
|
|
43
43
|
|
|
44
|
-
#
|
|
45
|
-
attr_accessor :
|
|
44
|
+
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
45
|
+
attr_accessor :content_guard_prn
|
|
46
46
|
|
|
47
|
-
#
|
|
48
|
-
attr_accessor :
|
|
47
|
+
# Timestamp of creation.
|
|
48
|
+
attr_accessor :pulp_created
|
|
49
49
|
|
|
50
50
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
51
51
|
attr_accessor :name
|
|
52
52
|
|
|
53
|
-
#
|
|
54
|
-
attr_accessor :
|
|
53
|
+
# The Pulp Resource Name (PRN).
|
|
54
|
+
attr_accessor :prn
|
|
55
55
|
|
|
56
56
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
57
57
|
attr_accessor :remote
|
|
@@ -71,19 +71,19 @@ module PulpContainerClient
|
|
|
71
71
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
72
72
|
def self.attribute_map
|
|
73
73
|
{
|
|
74
|
-
:'content_guard_prn' => :'content_guard_prn',
|
|
75
74
|
:'content_guard' => :'content_guard',
|
|
76
|
-
:'
|
|
75
|
+
:'repository_version' => :'repository_version',
|
|
76
|
+
:'repository' => :'repository',
|
|
77
|
+
:'hidden' => :'hidden',
|
|
77
78
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
78
79
|
:'pulp_href' => :'pulp_href',
|
|
79
80
|
:'base_path' => :'base_path',
|
|
81
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
80
82
|
:'pulp_labels' => :'pulp_labels',
|
|
81
|
-
:'
|
|
82
|
-
:'
|
|
83
|
-
:'repository_version' => :'repository_version',
|
|
84
|
-
:'hidden' => :'hidden',
|
|
83
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
84
|
+
:'pulp_created' => :'pulp_created',
|
|
85
85
|
:'name' => :'name',
|
|
86
|
-
:'
|
|
86
|
+
:'prn' => :'prn',
|
|
87
87
|
:'remote' => :'remote',
|
|
88
88
|
:'distributions' => :'distributions',
|
|
89
89
|
:'namespace' => :'namespace',
|
|
@@ -100,19 +100,19 @@ module PulpContainerClient
|
|
|
100
100
|
# Attribute type mapping.
|
|
101
101
|
def self.openapi_types
|
|
102
102
|
{
|
|
103
|
-
:'content_guard_prn' => :'String',
|
|
104
103
|
:'content_guard' => :'String',
|
|
105
|
-
:'
|
|
104
|
+
:'repository_version' => :'String',
|
|
105
|
+
:'repository' => :'String',
|
|
106
|
+
:'hidden' => :'Boolean',
|
|
106
107
|
:'pulp_last_updated' => :'Time',
|
|
107
108
|
:'pulp_href' => :'String',
|
|
108
109
|
:'base_path' => :'String',
|
|
110
|
+
:'no_content_change_since' => :'String',
|
|
109
111
|
:'pulp_labels' => :'Hash<String, String>',
|
|
110
|
-
:'
|
|
111
|
-
:'
|
|
112
|
-
:'repository_version' => :'String',
|
|
113
|
-
:'hidden' => :'Boolean',
|
|
112
|
+
:'content_guard_prn' => :'String',
|
|
113
|
+
:'pulp_created' => :'Time',
|
|
114
114
|
:'name' => :'String',
|
|
115
|
-
:'
|
|
115
|
+
:'prn' => :'String',
|
|
116
116
|
:'remote' => :'String',
|
|
117
117
|
:'distributions' => :'Array<String>',
|
|
118
118
|
:'namespace' => :'String',
|
|
@@ -124,8 +124,8 @@ module PulpContainerClient
|
|
|
124
124
|
# List of attributes with nullable: true
|
|
125
125
|
def self.openapi_nullable
|
|
126
126
|
Set.new([
|
|
127
|
-
:'repository',
|
|
128
127
|
:'repository_version',
|
|
128
|
+
:'repository',
|
|
129
129
|
:'description'
|
|
130
130
|
])
|
|
131
131
|
end
|
|
@@ -145,16 +145,22 @@ module PulpContainerClient
|
|
|
145
145
|
h[k.to_sym] = v
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
if attributes.key?(:'content_guard_prn')
|
|
149
|
-
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
150
|
-
end
|
|
151
|
-
|
|
152
148
|
if attributes.key?(:'content_guard')
|
|
153
149
|
self.content_guard = attributes[:'content_guard']
|
|
154
150
|
end
|
|
155
151
|
|
|
156
|
-
if attributes.key?(:'
|
|
157
|
-
self.
|
|
152
|
+
if attributes.key?(:'repository_version')
|
|
153
|
+
self.repository_version = attributes[:'repository_version']
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
if attributes.key?(:'repository')
|
|
157
|
+
self.repository = attributes[:'repository']
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
if attributes.key?(:'hidden')
|
|
161
|
+
self.hidden = attributes[:'hidden']
|
|
162
|
+
else
|
|
163
|
+
self.hidden = false
|
|
158
164
|
end
|
|
159
165
|
|
|
160
166
|
if attributes.key?(:'pulp_last_updated')
|
|
@@ -171,28 +177,22 @@ module PulpContainerClient
|
|
|
171
177
|
self.base_path = nil
|
|
172
178
|
end
|
|
173
179
|
|
|
180
|
+
if attributes.key?(:'no_content_change_since')
|
|
181
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
182
|
+
end
|
|
183
|
+
|
|
174
184
|
if attributes.key?(:'pulp_labels')
|
|
175
185
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
176
186
|
self.pulp_labels = value
|
|
177
187
|
end
|
|
178
188
|
end
|
|
179
189
|
|
|
180
|
-
if attributes.key?(:'
|
|
181
|
-
self.
|
|
182
|
-
end
|
|
183
|
-
|
|
184
|
-
if attributes.key?(:'repository')
|
|
185
|
-
self.repository = attributes[:'repository']
|
|
186
|
-
end
|
|
187
|
-
|
|
188
|
-
if attributes.key?(:'repository_version')
|
|
189
|
-
self.repository_version = attributes[:'repository_version']
|
|
190
|
+
if attributes.key?(:'content_guard_prn')
|
|
191
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
190
192
|
end
|
|
191
193
|
|
|
192
|
-
if attributes.key?(:'
|
|
193
|
-
self.
|
|
194
|
-
else
|
|
195
|
-
self.hidden = false
|
|
194
|
+
if attributes.key?(:'pulp_created')
|
|
195
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
196
196
|
end
|
|
197
197
|
|
|
198
198
|
if attributes.key?(:'name')
|
|
@@ -201,8 +201,8 @@ module PulpContainerClient
|
|
|
201
201
|
self.name = nil
|
|
202
202
|
end
|
|
203
203
|
|
|
204
|
-
if attributes.key?(:'
|
|
205
|
-
self.
|
|
204
|
+
if attributes.key?(:'prn')
|
|
205
|
+
self.prn = attributes[:'prn']
|
|
206
206
|
end
|
|
207
207
|
|
|
208
208
|
if attributes.key?(:'remote')
|
|
@@ -265,19 +265,19 @@ module PulpContainerClient
|
|
|
265
265
|
def ==(o)
|
|
266
266
|
return true if self.equal?(o)
|
|
267
267
|
self.class == o.class &&
|
|
268
|
-
content_guard_prn == o.content_guard_prn &&
|
|
269
268
|
content_guard == o.content_guard &&
|
|
270
|
-
|
|
269
|
+
repository_version == o.repository_version &&
|
|
270
|
+
repository == o.repository &&
|
|
271
|
+
hidden == o.hidden &&
|
|
271
272
|
pulp_last_updated == o.pulp_last_updated &&
|
|
272
273
|
pulp_href == o.pulp_href &&
|
|
273
274
|
base_path == o.base_path &&
|
|
275
|
+
no_content_change_since == o.no_content_change_since &&
|
|
274
276
|
pulp_labels == o.pulp_labels &&
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
repository_version == o.repository_version &&
|
|
278
|
-
hidden == o.hidden &&
|
|
277
|
+
content_guard_prn == o.content_guard_prn &&
|
|
278
|
+
pulp_created == o.pulp_created &&
|
|
279
279
|
name == o.name &&
|
|
280
|
-
|
|
280
|
+
prn == o.prn &&
|
|
281
281
|
remote == o.remote &&
|
|
282
282
|
distributions == o.distributions &&
|
|
283
283
|
namespace == o.namespace &&
|
|
@@ -294,7 +294,7 @@ module PulpContainerClient
|
|
|
294
294
|
# Calculates hash code according to all attributes.
|
|
295
295
|
# @return [Integer] Hash code
|
|
296
296
|
def hash
|
|
297
|
-
[
|
|
297
|
+
[content_guard, repository_version, repository, hidden, pulp_last_updated, pulp_href, base_path, no_content_change_since, pulp_labels, content_guard_prn, pulp_created, name, prn, remote, distributions, namespace, private, description].hash
|
|
298
298
|
end
|
|
299
299
|
|
|
300
300
|
# Builds the object from hash
|