pulp_container_client 2.19.13 → 2.19.15
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 +4 -4
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPullThroughDistribution.md +5 -5
- data/docs/ContainerContainerPullThroughDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/DistributionsPullThroughApi.md +6 -8
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -8
- data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +38 -38
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +51 -51
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +52 -52
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +43 -43
- 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 +3 -3
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_pull_through_distribution_spec.rb +3 -3
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +60 -60
|
@@ -15,8 +15,11 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
20
|
+
|
|
21
|
+
# 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.
|
|
22
|
+
attr_accessor :pulp_last_updated
|
|
20
23
|
|
|
21
24
|
attr_accessor :pulp_labels
|
|
22
25
|
|
|
@@ -25,21 +28,18 @@ module PulpContainerClient
|
|
|
25
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\")
|
|
26
29
|
attr_accessor :base_path
|
|
27
30
|
|
|
28
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
29
|
-
attr_accessor :name
|
|
30
|
-
|
|
31
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
32
|
-
attr_accessor :content_guard
|
|
33
|
-
|
|
34
31
|
# Timestamp of creation.
|
|
35
32
|
attr_accessor :pulp_created
|
|
36
33
|
|
|
34
|
+
# Whether this distribution should be shown in the content app.
|
|
35
|
+
attr_accessor :hidden
|
|
36
|
+
|
|
37
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
38
|
+
attr_accessor :name
|
|
39
|
+
|
|
37
40
|
# The latest RepositoryVersion for this Repository will be served.
|
|
38
41
|
attr_accessor :repository
|
|
39
42
|
|
|
40
|
-
# 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.
|
|
41
|
-
attr_accessor :pulp_last_updated
|
|
42
|
-
|
|
43
43
|
# RepositoryVersion to be served
|
|
44
44
|
attr_accessor :repository_version
|
|
45
45
|
|
|
@@ -61,15 +61,15 @@ module PulpContainerClient
|
|
|
61
61
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
62
62
|
def self.attribute_map
|
|
63
63
|
{
|
|
64
|
-
:'
|
|
64
|
+
:'content_guard' => :'content_guard',
|
|
65
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
65
66
|
:'pulp_labels' => :'pulp_labels',
|
|
66
67
|
:'pulp_href' => :'pulp_href',
|
|
67
68
|
:'base_path' => :'base_path',
|
|
68
|
-
:'name' => :'name',
|
|
69
|
-
:'content_guard' => :'content_guard',
|
|
70
69
|
:'pulp_created' => :'pulp_created',
|
|
70
|
+
:'hidden' => :'hidden',
|
|
71
|
+
:'name' => :'name',
|
|
71
72
|
:'repository' => :'repository',
|
|
72
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
73
73
|
:'repository_version' => :'repository_version',
|
|
74
74
|
:'registry_path' => :'registry_path',
|
|
75
75
|
:'remote' => :'remote',
|
|
@@ -82,15 +82,15 @@ module PulpContainerClient
|
|
|
82
82
|
# Attribute type mapping.
|
|
83
83
|
def self.openapi_types
|
|
84
84
|
{
|
|
85
|
-
:'
|
|
85
|
+
:'content_guard' => :'String',
|
|
86
|
+
:'pulp_last_updated' => :'DateTime',
|
|
86
87
|
:'pulp_labels' => :'Hash<String, String>',
|
|
87
88
|
:'pulp_href' => :'String',
|
|
88
89
|
:'base_path' => :'String',
|
|
89
|
-
:'name' => :'String',
|
|
90
|
-
:'content_guard' => :'String',
|
|
91
90
|
:'pulp_created' => :'DateTime',
|
|
91
|
+
:'hidden' => :'Boolean',
|
|
92
|
+
:'name' => :'String',
|
|
92
93
|
:'repository' => :'String',
|
|
93
|
-
:'pulp_last_updated' => :'DateTime',
|
|
94
94
|
:'repository_version' => :'String',
|
|
95
95
|
:'registry_path' => :'String',
|
|
96
96
|
:'remote' => :'String',
|
|
@@ -124,10 +124,12 @@ module PulpContainerClient
|
|
|
124
124
|
h[k.to_sym] = v
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
if attributes.key?(:'
|
|
128
|
-
self.
|
|
129
|
-
|
|
130
|
-
|
|
127
|
+
if attributes.key?(:'content_guard')
|
|
128
|
+
self.content_guard = attributes[:'content_guard']
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
if attributes.key?(:'pulp_last_updated')
|
|
132
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
131
133
|
end
|
|
132
134
|
|
|
133
135
|
if attributes.key?(:'pulp_labels')
|
|
@@ -144,26 +146,24 @@ module PulpContainerClient
|
|
|
144
146
|
self.base_path = attributes[:'base_path']
|
|
145
147
|
end
|
|
146
148
|
|
|
147
|
-
if attributes.key?(:'
|
|
148
|
-
self.
|
|
149
|
+
if attributes.key?(:'pulp_created')
|
|
150
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
149
151
|
end
|
|
150
152
|
|
|
151
|
-
if attributes.key?(:'
|
|
152
|
-
self.
|
|
153
|
+
if attributes.key?(:'hidden')
|
|
154
|
+
self.hidden = attributes[:'hidden']
|
|
155
|
+
else
|
|
156
|
+
self.hidden = false
|
|
153
157
|
end
|
|
154
158
|
|
|
155
|
-
if attributes.key?(:'
|
|
156
|
-
self.
|
|
159
|
+
if attributes.key?(:'name')
|
|
160
|
+
self.name = attributes[:'name']
|
|
157
161
|
end
|
|
158
162
|
|
|
159
163
|
if attributes.key?(:'repository')
|
|
160
164
|
self.repository = attributes[:'repository']
|
|
161
165
|
end
|
|
162
166
|
|
|
163
|
-
if attributes.key?(:'pulp_last_updated')
|
|
164
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
165
|
-
end
|
|
166
|
-
|
|
167
167
|
if attributes.key?(:'repository_version')
|
|
168
168
|
self.repository_version = attributes[:'repository_version']
|
|
169
169
|
end
|
|
@@ -217,15 +217,15 @@ module PulpContainerClient
|
|
|
217
217
|
def ==(o)
|
|
218
218
|
return true if self.equal?(o)
|
|
219
219
|
self.class == o.class &&
|
|
220
|
-
|
|
220
|
+
content_guard == o.content_guard &&
|
|
221
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
221
222
|
pulp_labels == o.pulp_labels &&
|
|
222
223
|
pulp_href == o.pulp_href &&
|
|
223
224
|
base_path == o.base_path &&
|
|
224
|
-
name == o.name &&
|
|
225
|
-
content_guard == o.content_guard &&
|
|
226
225
|
pulp_created == o.pulp_created &&
|
|
226
|
+
hidden == o.hidden &&
|
|
227
|
+
name == o.name &&
|
|
227
228
|
repository == o.repository &&
|
|
228
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
229
229
|
repository_version == o.repository_version &&
|
|
230
230
|
registry_path == o.registry_path &&
|
|
231
231
|
remote == o.remote &&
|
|
@@ -243,7 +243,7 @@ module PulpContainerClient
|
|
|
243
243
|
# Calculates hash code according to all attributes.
|
|
244
244
|
# @return [Integer] Hash code
|
|
245
245
|
def hash
|
|
246
|
-
[
|
|
246
|
+
[content_guard, pulp_last_updated, pulp_labels, pulp_href, base_path, pulp_created, hidden, name, repository, repository_version, registry_path, remote, namespace, private, description].hash
|
|
247
247
|
end
|
|
248
248
|
|
|
249
249
|
# Builds the object from hash
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
17
17
|
class ContainerContainerPullThroughDistribution
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
20
20
|
|
|
21
21
|
attr_accessor :pulp_labels
|
|
22
22
|
|
|
23
|
-
# The
|
|
23
|
+
# The registry path exposed by this pull-through distribution.
|
|
24
24
|
attr_accessor :base_path
|
|
25
25
|
|
|
26
|
+
# Whether this distribution should be shown in the content app.
|
|
27
|
+
attr_accessor :hidden
|
|
28
|
+
|
|
26
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
27
30
|
attr_accessor :name
|
|
28
31
|
|
|
29
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
30
|
-
attr_accessor :content_guard
|
|
31
|
-
|
|
32
32
|
# The latest RepositoryVersion for this Repository will be served.
|
|
33
33
|
attr_accessor :repository
|
|
34
34
|
|
|
@@ -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
|
-
:'
|
|
50
|
+
:'content_guard' => :'content_guard',
|
|
51
51
|
:'pulp_labels' => :'pulp_labels',
|
|
52
52
|
:'base_path' => :'base_path',
|
|
53
|
+
:'hidden' => :'hidden',
|
|
53
54
|
:'name' => :'name',
|
|
54
|
-
:'content_guard' => :'content_guard',
|
|
55
55
|
:'repository' => :'repository',
|
|
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
|
-
:'
|
|
66
|
+
:'content_guard' => :'String',
|
|
67
67
|
:'pulp_labels' => :'Hash<String, String>',
|
|
68
68
|
:'base_path' => :'String',
|
|
69
|
+
:'hidden' => :'Boolean',
|
|
69
70
|
:'name' => :'String',
|
|
70
|
-
:'content_guard' => :'String',
|
|
71
71
|
:'repository' => :'String',
|
|
72
72
|
:'remote' => :'String',
|
|
73
73
|
:'distributions' => :'Array<String>',
|
|
@@ -99,10 +99,8 @@ module PulpContainerClient
|
|
|
99
99
|
h[k.to_sym] = v
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
if attributes.key?(:'
|
|
103
|
-
self.
|
|
104
|
-
else
|
|
105
|
-
self.hidden = false
|
|
102
|
+
if attributes.key?(:'content_guard')
|
|
103
|
+
self.content_guard = attributes[:'content_guard']
|
|
106
104
|
end
|
|
107
105
|
|
|
108
106
|
if attributes.key?(:'pulp_labels')
|
|
@@ -115,12 +113,14 @@ module PulpContainerClient
|
|
|
115
113
|
self.base_path = attributes[:'base_path']
|
|
116
114
|
end
|
|
117
115
|
|
|
118
|
-
if attributes.key?(:'
|
|
119
|
-
self.
|
|
116
|
+
if attributes.key?(:'hidden')
|
|
117
|
+
self.hidden = attributes[:'hidden']
|
|
118
|
+
else
|
|
119
|
+
self.hidden = false
|
|
120
120
|
end
|
|
121
121
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
self.
|
|
122
|
+
if attributes.key?(:'name')
|
|
123
|
+
self.name = attributes[:'name']
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
if attributes.key?(:'repository')
|
|
@@ -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
|
-
|
|
235
|
+
content_guard == o.content_guard &&
|
|
236
236
|
pulp_labels == o.pulp_labels &&
|
|
237
237
|
base_path == o.base_path &&
|
|
238
|
+
hidden == o.hidden &&
|
|
238
239
|
name == o.name &&
|
|
239
|
-
content_guard == o.content_guard &&
|
|
240
240
|
repository == o.repository &&
|
|
241
241
|
remote == o.remote &&
|
|
242
242
|
distributions == o.distributions &&
|
|
@@ -253,7 +253,7 @@ module PulpContainerClient
|
|
|
253
253
|
# Calculates hash code according to all attributes.
|
|
254
254
|
# @return [Integer] Hash code
|
|
255
255
|
def hash
|
|
256
|
-
[
|
|
256
|
+
[content_guard, pulp_labels, base_path, hidden, name, repository, 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,31 +15,31 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
17
17
|
class ContainerContainerPullThroughDistributionResponse
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
20
|
+
|
|
21
|
+
# 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.
|
|
22
|
+
attr_accessor :pulp_last_updated
|
|
20
23
|
|
|
21
24
|
attr_accessor :pulp_labels
|
|
22
25
|
|
|
23
26
|
attr_accessor :pulp_href
|
|
24
27
|
|
|
25
|
-
# The
|
|
28
|
+
# The registry path exposed by this pull-through distribution.
|
|
26
29
|
attr_accessor :base_path
|
|
27
30
|
|
|
28
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
29
|
-
attr_accessor :name
|
|
30
|
-
|
|
31
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
32
|
-
attr_accessor :content_guard
|
|
33
|
-
|
|
34
31
|
# Timestamp of creation.
|
|
35
32
|
attr_accessor :pulp_created
|
|
36
33
|
|
|
34
|
+
# Whether this distribution should be shown in the content app.
|
|
35
|
+
attr_accessor :hidden
|
|
36
|
+
|
|
37
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
38
|
+
attr_accessor :name
|
|
39
|
+
|
|
37
40
|
# The latest RepositoryVersion for this Repository will be served.
|
|
38
41
|
attr_accessor :repository
|
|
39
42
|
|
|
40
|
-
# 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.
|
|
41
|
-
attr_accessor :pulp_last_updated
|
|
42
|
-
|
|
43
43
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
44
44
|
attr_accessor :remote
|
|
45
45
|
|
|
@@ -58,15 +58,15 @@ module PulpContainerClient
|
|
|
58
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
59
59
|
def self.attribute_map
|
|
60
60
|
{
|
|
61
|
-
:'
|
|
61
|
+
:'content_guard' => :'content_guard',
|
|
62
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
62
63
|
:'pulp_labels' => :'pulp_labels',
|
|
63
64
|
:'pulp_href' => :'pulp_href',
|
|
64
65
|
:'base_path' => :'base_path',
|
|
65
|
-
:'name' => :'name',
|
|
66
|
-
:'content_guard' => :'content_guard',
|
|
67
66
|
:'pulp_created' => :'pulp_created',
|
|
67
|
+
:'hidden' => :'hidden',
|
|
68
|
+
:'name' => :'name',
|
|
68
69
|
:'repository' => :'repository',
|
|
69
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
70
70
|
:'remote' => :'remote',
|
|
71
71
|
:'distributions' => :'distributions',
|
|
72
72
|
:'namespace' => :'namespace',
|
|
@@ -78,15 +78,15 @@ module PulpContainerClient
|
|
|
78
78
|
# Attribute type mapping.
|
|
79
79
|
def self.openapi_types
|
|
80
80
|
{
|
|
81
|
-
:'
|
|
81
|
+
:'content_guard' => :'String',
|
|
82
|
+
:'pulp_last_updated' => :'DateTime',
|
|
82
83
|
:'pulp_labels' => :'Hash<String, String>',
|
|
83
84
|
:'pulp_href' => :'String',
|
|
84
85
|
:'base_path' => :'String',
|
|
85
|
-
:'name' => :'String',
|
|
86
|
-
:'content_guard' => :'String',
|
|
87
86
|
:'pulp_created' => :'DateTime',
|
|
87
|
+
:'hidden' => :'Boolean',
|
|
88
|
+
:'name' => :'String',
|
|
88
89
|
:'repository' => :'String',
|
|
89
|
-
:'pulp_last_updated' => :'DateTime',
|
|
90
90
|
:'remote' => :'String',
|
|
91
91
|
:'distributions' => :'Array<String>',
|
|
92
92
|
:'namespace' => :'String',
|
|
@@ -118,10 +118,12 @@ module PulpContainerClient
|
|
|
118
118
|
h[k.to_sym] = v
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
if attributes.key?(:'
|
|
122
|
-
self.
|
|
123
|
-
|
|
124
|
-
|
|
121
|
+
if attributes.key?(:'content_guard')
|
|
122
|
+
self.content_guard = attributes[:'content_guard']
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
if attributes.key?(:'pulp_last_updated')
|
|
126
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
125
127
|
end
|
|
126
128
|
|
|
127
129
|
if attributes.key?(:'pulp_labels')
|
|
@@ -138,26 +140,24 @@ module PulpContainerClient
|
|
|
138
140
|
self.base_path = attributes[:'base_path']
|
|
139
141
|
end
|
|
140
142
|
|
|
141
|
-
if attributes.key?(:'
|
|
142
|
-
self.
|
|
143
|
+
if attributes.key?(:'pulp_created')
|
|
144
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
143
145
|
end
|
|
144
146
|
|
|
145
|
-
if attributes.key?(:'
|
|
146
|
-
self.
|
|
147
|
+
if attributes.key?(:'hidden')
|
|
148
|
+
self.hidden = attributes[:'hidden']
|
|
149
|
+
else
|
|
150
|
+
self.hidden = false
|
|
147
151
|
end
|
|
148
152
|
|
|
149
|
-
if attributes.key?(:'
|
|
150
|
-
self.
|
|
153
|
+
if attributes.key?(:'name')
|
|
154
|
+
self.name = attributes[:'name']
|
|
151
155
|
end
|
|
152
156
|
|
|
153
157
|
if attributes.key?(:'repository')
|
|
154
158
|
self.repository = attributes[:'repository']
|
|
155
159
|
end
|
|
156
160
|
|
|
157
|
-
if attributes.key?(:'pulp_last_updated')
|
|
158
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
159
|
-
end
|
|
160
|
-
|
|
161
161
|
if attributes.key?(:'remote')
|
|
162
162
|
self.remote = attributes[:'remote']
|
|
163
163
|
end
|
|
@@ -214,15 +214,15 @@ module PulpContainerClient
|
|
|
214
214
|
def ==(o)
|
|
215
215
|
return true if self.equal?(o)
|
|
216
216
|
self.class == o.class &&
|
|
217
|
-
|
|
217
|
+
content_guard == o.content_guard &&
|
|
218
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
218
219
|
pulp_labels == o.pulp_labels &&
|
|
219
220
|
pulp_href == o.pulp_href &&
|
|
220
221
|
base_path == o.base_path &&
|
|
221
|
-
name == o.name &&
|
|
222
|
-
content_guard == o.content_guard &&
|
|
223
222
|
pulp_created == o.pulp_created &&
|
|
223
|
+
hidden == o.hidden &&
|
|
224
|
+
name == o.name &&
|
|
224
225
|
repository == o.repository &&
|
|
225
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
226
226
|
remote == o.remote &&
|
|
227
227
|
distributions == o.distributions &&
|
|
228
228
|
namespace == o.namespace &&
|
|
@@ -239,7 +239,7 @@ module PulpContainerClient
|
|
|
239
239
|
# Calculates hash code according to all attributes.
|
|
240
240
|
# @return [Integer] Hash code
|
|
241
241
|
def hash
|
|
242
|
-
[
|
|
242
|
+
[content_guard, pulp_last_updated, pulp_labels, pulp_href, base_path, pulp_created, hidden, name, repository, remote, distributions, namespace, private, description].hash
|
|
243
243
|
end
|
|
244
244
|
|
|
245
245
|
# Builds the object from hash
|
|
@@ -17,26 +17,26 @@ module PulpContainerClient
|
|
|
17
17
|
class ContainerContainerPushRepository
|
|
18
18
|
attr_accessor :pulp_labels
|
|
19
19
|
|
|
20
|
-
#
|
|
21
|
-
attr_accessor :
|
|
22
|
-
|
|
23
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
|
24
|
-
attr_accessor :retain_repo_versions
|
|
20
|
+
# A reference to an associated signing service.
|
|
21
|
+
attr_accessor :manifest_signing_service
|
|
25
22
|
|
|
26
23
|
# A unique name for this repository.
|
|
27
24
|
attr_accessor :name
|
|
28
25
|
|
|
29
|
-
#
|
|
30
|
-
attr_accessor :
|
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
|
27
|
+
attr_accessor :retain_repo_versions
|
|
28
|
+
|
|
29
|
+
# An optional description.
|
|
30
|
+
attr_accessor :description
|
|
31
31
|
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
35
|
:'pulp_labels' => :'pulp_labels',
|
|
36
|
-
:'
|
|
37
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
36
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
38
37
|
:'name' => :'name',
|
|
39
|
-
:'
|
|
38
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
|
+
:'description' => :'description'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
42
42
|
|
|
@@ -44,19 +44,19 @@ module PulpContainerClient
|
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
46
|
:'pulp_labels' => :'Hash<String, String>',
|
|
47
|
-
:'
|
|
48
|
-
:'retain_repo_versions' => :'Integer',
|
|
47
|
+
:'manifest_signing_service' => :'String',
|
|
49
48
|
:'name' => :'String',
|
|
50
|
-
:'
|
|
49
|
+
:'retain_repo_versions' => :'Integer',
|
|
50
|
+
:'description' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# List of attributes with nullable: true
|
|
55
55
|
def self.openapi_nullable
|
|
56
56
|
Set.new([
|
|
57
|
-
:'
|
|
57
|
+
:'manifest_signing_service',
|
|
58
58
|
:'retain_repo_versions',
|
|
59
|
-
:'
|
|
59
|
+
:'description'
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -81,20 +81,20 @@ module PulpContainerClient
|
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
if attributes.key?(:'
|
|
85
|
-
self.
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
if attributes.key?(:'retain_repo_versions')
|
|
89
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
84
|
+
if attributes.key?(:'manifest_signing_service')
|
|
85
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
90
86
|
end
|
|
91
87
|
|
|
92
88
|
if attributes.key?(:'name')
|
|
93
89
|
self.name = attributes[:'name']
|
|
94
90
|
end
|
|
95
91
|
|
|
96
|
-
if attributes.key?(:'
|
|
97
|
-
self.
|
|
92
|
+
if attributes.key?(:'retain_repo_versions')
|
|
93
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
if attributes.key?(:'description')
|
|
97
|
+
self.description = attributes[:'description']
|
|
98
98
|
end
|
|
99
99
|
end
|
|
100
100
|
|
|
@@ -102,14 +102,6 @@ module PulpContainerClient
|
|
|
102
102
|
# @return Array for valid properties with the reasons
|
|
103
103
|
def list_invalid_properties
|
|
104
104
|
invalid_properties = Array.new
|
|
105
|
-
if !@description.nil? && @description.to_s.length < 1
|
|
106
|
-
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
107
|
-
end
|
|
108
|
-
|
|
109
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
110
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
111
|
-
end
|
|
112
|
-
|
|
113
105
|
if @name.nil?
|
|
114
106
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
115
107
|
end
|
|
@@ -118,27 +110,39 @@ module PulpContainerClient
|
|
|
118
110
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
119
111
|
end
|
|
120
112
|
|
|
113
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
114
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
if !@description.nil? && @description.to_s.length < 1
|
|
118
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
119
|
+
end
|
|
120
|
+
|
|
121
121
|
invalid_properties
|
|
122
122
|
end
|
|
123
123
|
|
|
124
124
|
# Check to see if the all the properties in the model are valid
|
|
125
125
|
# @return true if the model is valid
|
|
126
126
|
def valid?
|
|
127
|
-
return false if !@description.nil? && @description.to_s.length < 1
|
|
128
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
129
127
|
return false if @name.nil?
|
|
130
128
|
return false if @name.to_s.length < 1
|
|
129
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
130
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
|
131
131
|
true
|
|
132
132
|
end
|
|
133
133
|
|
|
134
134
|
# Custom attribute writer method with validation
|
|
135
|
-
# @param [Object]
|
|
136
|
-
def
|
|
137
|
-
if
|
|
138
|
-
fail ArgumentError, '
|
|
135
|
+
# @param [Object] name Value to be assigned
|
|
136
|
+
def name=(name)
|
|
137
|
+
if name.nil?
|
|
138
|
+
fail ArgumentError, 'name cannot be nil'
|
|
139
139
|
end
|
|
140
140
|
|
|
141
|
-
|
|
141
|
+
if name.to_s.length < 1
|
|
142
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
@name = name
|
|
142
146
|
end
|
|
143
147
|
|
|
144
148
|
# Custom attribute writer method with validation
|
|
@@ -152,17 +156,13 @@ module PulpContainerClient
|
|
|
152
156
|
end
|
|
153
157
|
|
|
154
158
|
# Custom attribute writer method with validation
|
|
155
|
-
# @param [Object]
|
|
156
|
-
def
|
|
157
|
-
if
|
|
158
|
-
fail ArgumentError, '
|
|
159
|
-
end
|
|
160
|
-
|
|
161
|
-
if name.to_s.length < 1
|
|
162
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
159
|
+
# @param [Object] description Value to be assigned
|
|
160
|
+
def description=(description)
|
|
161
|
+
if !description.nil? && description.to_s.length < 1
|
|
162
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
163
163
|
end
|
|
164
164
|
|
|
165
|
-
@
|
|
165
|
+
@description = description
|
|
166
166
|
end
|
|
167
167
|
|
|
168
168
|
# Checks equality by comparing each attribute.
|
|
@@ -171,10 +171,10 @@ module PulpContainerClient
|
|
|
171
171
|
return true if self.equal?(o)
|
|
172
172
|
self.class == o.class &&
|
|
173
173
|
pulp_labels == o.pulp_labels &&
|
|
174
|
-
|
|
175
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
174
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
176
175
|
name == o.name &&
|
|
177
|
-
|
|
176
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
177
|
+
description == o.description
|
|
178
178
|
end
|
|
179
179
|
|
|
180
180
|
# @see the `==` method
|
|
@@ -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
|
-
[pulp_labels,
|
|
189
|
+
[pulp_labels, manifest_signing_service, name, retain_repo_versions, description].hash
|
|
190
190
|
end
|
|
191
191
|
|
|
192
192
|
# Builds the object from hash
|