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