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