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