pulp_container_client 2.26.11 → 2.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
- data/docs/ContainerContainerPushRepository.md +2 -2
- data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +54 -54
- 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 +54 -54
- data/lib/pulp_container_client/models/container_container_push_repository.rb +10 -10
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +59 -59
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
- 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 +10 -10
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_pull_through_distribution_spec.rb +3 -3
- 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 +3 -3
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
- metadata +60 -60
|
@@ -19,17 +19,17 @@ module PulpContainerClient
|
|
|
19
19
|
# The latest RepositoryVersion for this Repository will be served.
|
|
20
20
|
attr_accessor :repository
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
# Whether this distribution should be shown in the content app.
|
|
23
|
+
attr_accessor :hidden
|
|
23
24
|
|
|
24
25
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
25
26
|
attr_accessor :content_guard
|
|
26
27
|
|
|
27
|
-
# Whether this distribution should be shown in the content app.
|
|
28
|
-
attr_accessor :hidden
|
|
29
|
-
|
|
30
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\")
|
|
31
29
|
attr_accessor :base_path
|
|
32
30
|
|
|
31
|
+
attr_accessor :pulp_labels
|
|
32
|
+
|
|
33
33
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
34
34
|
attr_accessor :name
|
|
35
35
|
|
|
@@ -49,10 +49,10 @@ module PulpContainerClient
|
|
|
49
49
|
def self.attribute_map
|
|
50
50
|
{
|
|
51
51
|
:'repository' => :'repository',
|
|
52
|
-
:'pulp_labels' => :'pulp_labels',
|
|
53
|
-
:'content_guard' => :'content_guard',
|
|
54
52
|
:'hidden' => :'hidden',
|
|
53
|
+
:'content_guard' => :'content_guard',
|
|
55
54
|
:'base_path' => :'base_path',
|
|
55
|
+
:'pulp_labels' => :'pulp_labels',
|
|
56
56
|
:'name' => :'name',
|
|
57
57
|
:'remote' => :'remote',
|
|
58
58
|
:'distributions' => :'distributions',
|
|
@@ -70,10 +70,10 @@ module PulpContainerClient
|
|
|
70
70
|
def self.openapi_types
|
|
71
71
|
{
|
|
72
72
|
:'repository' => :'String',
|
|
73
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
74
|
-
:'content_guard' => :'String',
|
|
75
73
|
:'hidden' => :'Boolean',
|
|
74
|
+
:'content_guard' => :'String',
|
|
76
75
|
:'base_path' => :'String',
|
|
76
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
77
77
|
:'name' => :'String',
|
|
78
78
|
:'remote' => :'String',
|
|
79
79
|
:'distributions' => :'Array<String>',
|
|
@@ -109,28 +109,28 @@ module PulpContainerClient
|
|
|
109
109
|
self.repository = attributes[:'repository']
|
|
110
110
|
end
|
|
111
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?(:'content_guard')
|
|
119
|
-
self.content_guard = attributes[:'content_guard']
|
|
120
|
-
end
|
|
121
|
-
|
|
122
112
|
if attributes.key?(:'hidden')
|
|
123
113
|
self.hidden = attributes[:'hidden']
|
|
124
114
|
else
|
|
125
115
|
self.hidden = false
|
|
126
116
|
end
|
|
127
117
|
|
|
118
|
+
if attributes.key?(:'content_guard')
|
|
119
|
+
self.content_guard = attributes[:'content_guard']
|
|
120
|
+
end
|
|
121
|
+
|
|
128
122
|
if attributes.key?(:'base_path')
|
|
129
123
|
self.base_path = attributes[:'base_path']
|
|
130
124
|
else
|
|
131
125
|
self.base_path = nil
|
|
132
126
|
end
|
|
133
127
|
|
|
128
|
+
if attributes.key?(:'pulp_labels')
|
|
129
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
130
|
+
self.pulp_labels = value
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
|
|
134
134
|
if attributes.key?(:'name')
|
|
135
135
|
self.name = attributes[:'name']
|
|
136
136
|
else
|
|
@@ -247,10 +247,10 @@ module PulpContainerClient
|
|
|
247
247
|
return true if self.equal?(o)
|
|
248
248
|
self.class == o.class &&
|
|
249
249
|
repository == o.repository &&
|
|
250
|
-
pulp_labels == o.pulp_labels &&
|
|
251
|
-
content_guard == o.content_guard &&
|
|
252
250
|
hidden == o.hidden &&
|
|
251
|
+
content_guard == o.content_guard &&
|
|
253
252
|
base_path == o.base_path &&
|
|
253
|
+
pulp_labels == o.pulp_labels &&
|
|
254
254
|
name == o.name &&
|
|
255
255
|
remote == o.remote &&
|
|
256
256
|
distributions == o.distributions &&
|
|
@@ -267,7 +267,7 @@ module PulpContainerClient
|
|
|
267
267
|
# Calculates hash code according to all attributes.
|
|
268
268
|
# @return [Integer] Hash code
|
|
269
269
|
def hash
|
|
270
|
-
[repository,
|
|
270
|
+
[repository, hidden, content_guard, base_path, pulp_labels, name, remote, distributions, private, description].hash
|
|
271
271
|
end
|
|
272
272
|
|
|
273
273
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
|
@@ -19,33 +19,33 @@ module PulpContainerClient
|
|
|
19
19
|
# The latest RepositoryVersion for this Repository will be served.
|
|
20
20
|
attr_accessor :repository
|
|
21
21
|
|
|
22
|
-
#
|
|
23
|
-
attr_accessor :
|
|
22
|
+
# Whether this distribution should be shown in the content app.
|
|
23
|
+
attr_accessor :hidden
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
# 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.
|
|
26
|
+
attr_accessor :pulp_last_updated
|
|
26
27
|
|
|
27
28
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
28
29
|
attr_accessor :content_guard
|
|
29
30
|
|
|
30
|
-
attr_accessor :pulp_href
|
|
31
|
-
|
|
32
|
-
# Whether this distribution should be shown in the content app.
|
|
33
|
-
attr_accessor :hidden
|
|
34
|
-
|
|
35
31
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
36
32
|
attr_accessor :base_path
|
|
37
33
|
|
|
34
|
+
attr_accessor :pulp_labels
|
|
35
|
+
|
|
36
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
37
|
+
attr_accessor :no_content_change_since
|
|
38
|
+
|
|
39
|
+
# Timestamp of creation.
|
|
40
|
+
attr_accessor :pulp_created
|
|
41
|
+
|
|
38
42
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
39
43
|
attr_accessor :name
|
|
40
44
|
|
|
41
|
-
# 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.
|
|
42
|
-
attr_accessor :pulp_last_updated
|
|
43
|
-
|
|
44
45
|
# The Pulp Resource Name (PRN).
|
|
45
46
|
attr_accessor :prn
|
|
46
47
|
|
|
47
|
-
|
|
48
|
-
attr_accessor :pulp_created
|
|
48
|
+
attr_accessor :pulp_href
|
|
49
49
|
|
|
50
50
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
51
51
|
attr_accessor :remote
|
|
@@ -66,16 +66,16 @@ module PulpContainerClient
|
|
|
66
66
|
def self.attribute_map
|
|
67
67
|
{
|
|
68
68
|
:'repository' => :'repository',
|
|
69
|
-
:'no_content_change_since' => :'no_content_change_since',
|
|
70
|
-
:'pulp_labels' => :'pulp_labels',
|
|
71
|
-
:'content_guard' => :'content_guard',
|
|
72
|
-
:'pulp_href' => :'pulp_href',
|
|
73
69
|
:'hidden' => :'hidden',
|
|
70
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
71
|
+
:'content_guard' => :'content_guard',
|
|
74
72
|
:'base_path' => :'base_path',
|
|
73
|
+
:'pulp_labels' => :'pulp_labels',
|
|
74
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
75
|
+
:'pulp_created' => :'pulp_created',
|
|
75
76
|
:'name' => :'name',
|
|
76
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
77
77
|
:'prn' => :'prn',
|
|
78
|
-
:'
|
|
78
|
+
:'pulp_href' => :'pulp_href',
|
|
79
79
|
:'remote' => :'remote',
|
|
80
80
|
:'distributions' => :'distributions',
|
|
81
81
|
:'namespace' => :'namespace',
|
|
@@ -93,16 +93,16 @@ module PulpContainerClient
|
|
|
93
93
|
def self.openapi_types
|
|
94
94
|
{
|
|
95
95
|
:'repository' => :'String',
|
|
96
|
-
:'no_content_change_since' => :'String',
|
|
97
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
98
|
-
:'content_guard' => :'String',
|
|
99
|
-
:'pulp_href' => :'String',
|
|
100
96
|
:'hidden' => :'Boolean',
|
|
97
|
+
:'pulp_last_updated' => :'Time',
|
|
98
|
+
:'content_guard' => :'String',
|
|
101
99
|
:'base_path' => :'String',
|
|
100
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
101
|
+
:'no_content_change_since' => :'String',
|
|
102
|
+
:'pulp_created' => :'Time',
|
|
102
103
|
:'name' => :'String',
|
|
103
|
-
:'pulp_last_updated' => :'Time',
|
|
104
104
|
:'prn' => :'String',
|
|
105
|
-
:'
|
|
105
|
+
:'pulp_href' => :'String',
|
|
106
106
|
:'remote' => :'String',
|
|
107
107
|
:'distributions' => :'Array<String>',
|
|
108
108
|
:'namespace' => :'String',
|
|
@@ -138,52 +138,52 @@ module PulpContainerClient
|
|
|
138
138
|
self.repository = attributes[:'repository']
|
|
139
139
|
end
|
|
140
140
|
|
|
141
|
-
if attributes.key?(:'
|
|
142
|
-
self.
|
|
141
|
+
if attributes.key?(:'hidden')
|
|
142
|
+
self.hidden = attributes[:'hidden']
|
|
143
|
+
else
|
|
144
|
+
self.hidden = false
|
|
143
145
|
end
|
|
144
146
|
|
|
145
|
-
if attributes.key?(:'
|
|
146
|
-
|
|
147
|
-
self.pulp_labels = value
|
|
148
|
-
end
|
|
147
|
+
if attributes.key?(:'pulp_last_updated')
|
|
148
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
149
149
|
end
|
|
150
150
|
|
|
151
151
|
if attributes.key?(:'content_guard')
|
|
152
152
|
self.content_guard = attributes[:'content_guard']
|
|
153
153
|
end
|
|
154
154
|
|
|
155
|
-
if attributes.key?(:'pulp_href')
|
|
156
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
if attributes.key?(:'hidden')
|
|
160
|
-
self.hidden = attributes[:'hidden']
|
|
161
|
-
else
|
|
162
|
-
self.hidden = false
|
|
163
|
-
end
|
|
164
|
-
|
|
165
155
|
if attributes.key?(:'base_path')
|
|
166
156
|
self.base_path = attributes[:'base_path']
|
|
167
157
|
else
|
|
168
158
|
self.base_path = nil
|
|
169
159
|
end
|
|
170
160
|
|
|
161
|
+
if attributes.key?(:'pulp_labels')
|
|
162
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
163
|
+
self.pulp_labels = value
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
if attributes.key?(:'no_content_change_since')
|
|
168
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
if attributes.key?(:'pulp_created')
|
|
172
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
173
|
+
end
|
|
174
|
+
|
|
171
175
|
if attributes.key?(:'name')
|
|
172
176
|
self.name = attributes[:'name']
|
|
173
177
|
else
|
|
174
178
|
self.name = nil
|
|
175
179
|
end
|
|
176
180
|
|
|
177
|
-
if attributes.key?(:'pulp_last_updated')
|
|
178
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
179
|
-
end
|
|
180
|
-
|
|
181
181
|
if attributes.key?(:'prn')
|
|
182
182
|
self.prn = attributes[:'prn']
|
|
183
183
|
end
|
|
184
184
|
|
|
185
|
-
if attributes.key?(:'
|
|
186
|
-
self.
|
|
185
|
+
if attributes.key?(:'pulp_href')
|
|
186
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
187
187
|
end
|
|
188
188
|
|
|
189
189
|
if attributes.key?(:'remote')
|
|
@@ -247,16 +247,16 @@ module PulpContainerClient
|
|
|
247
247
|
return true if self.equal?(o)
|
|
248
248
|
self.class == o.class &&
|
|
249
249
|
repository == o.repository &&
|
|
250
|
-
no_content_change_since == o.no_content_change_since &&
|
|
251
|
-
pulp_labels == o.pulp_labels &&
|
|
252
|
-
content_guard == o.content_guard &&
|
|
253
|
-
pulp_href == o.pulp_href &&
|
|
254
250
|
hidden == o.hidden &&
|
|
251
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
252
|
+
content_guard == o.content_guard &&
|
|
255
253
|
base_path == o.base_path &&
|
|
254
|
+
pulp_labels == o.pulp_labels &&
|
|
255
|
+
no_content_change_since == o.no_content_change_since &&
|
|
256
|
+
pulp_created == o.pulp_created &&
|
|
256
257
|
name == o.name &&
|
|
257
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
258
258
|
prn == o.prn &&
|
|
259
|
-
|
|
259
|
+
pulp_href == o.pulp_href &&
|
|
260
260
|
remote == o.remote &&
|
|
261
261
|
distributions == o.distributions &&
|
|
262
262
|
namespace == o.namespace &&
|
|
@@ -273,7 +273,7 @@ module PulpContainerClient
|
|
|
273
273
|
# Calculates hash code according to all attributes.
|
|
274
274
|
# @return [Integer] Hash code
|
|
275
275
|
def hash
|
|
276
|
-
[repository,
|
|
276
|
+
[repository, hidden, pulp_last_updated, content_guard, base_path, pulp_labels, no_content_change_since, pulp_created, name, prn, pulp_href, remote, distributions, namespace, private, description].hash
|
|
277
277
|
end
|
|
278
278
|
|
|
279
279
|
# Builds the object from hash
|
|
@@ -16,11 +16,11 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# Serializer for Container Push Repositories.
|
|
18
18
|
class ContainerContainerPushRepository
|
|
19
|
-
attr_accessor :pulp_labels
|
|
20
|
-
|
|
21
19
|
# A reference to an associated signing service.
|
|
22
20
|
attr_accessor :manifest_signing_service
|
|
23
21
|
|
|
22
|
+
attr_accessor :pulp_labels
|
|
23
|
+
|
|
24
24
|
# An optional description.
|
|
25
25
|
attr_accessor :description
|
|
26
26
|
|
|
@@ -33,8 +33,8 @@ module PulpContainerClient
|
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
34
|
def self.attribute_map
|
|
35
35
|
{
|
|
36
|
-
:'pulp_labels' => :'pulp_labels',
|
|
37
36
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
37
|
+
:'pulp_labels' => :'pulp_labels',
|
|
38
38
|
:'description' => :'description',
|
|
39
39
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
40
40
|
:'name' => :'name'
|
|
@@ -49,8 +49,8 @@ module PulpContainerClient
|
|
|
49
49
|
# Attribute type mapping.
|
|
50
50
|
def self.openapi_types
|
|
51
51
|
{
|
|
52
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
53
52
|
:'manifest_signing_service' => :'String',
|
|
53
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
54
54
|
:'description' => :'String',
|
|
55
55
|
:'retain_repo_versions' => :'Integer',
|
|
56
56
|
:'name' => :'String'
|
|
@@ -81,16 +81,16 @@ module PulpContainerClient
|
|
|
81
81
|
h[k.to_sym] = v
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
if attributes.key?(:'manifest_signing_service')
|
|
85
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
86
|
+
end
|
|
87
|
+
|
|
84
88
|
if attributes.key?(:'pulp_labels')
|
|
85
89
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
86
90
|
self.pulp_labels = value
|
|
87
91
|
end
|
|
88
92
|
end
|
|
89
93
|
|
|
90
|
-
if attributes.key?(:'manifest_signing_service')
|
|
91
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
92
|
-
end
|
|
93
|
-
|
|
94
94
|
if attributes.key?(:'description')
|
|
95
95
|
self.description = attributes[:'description']
|
|
96
96
|
end
|
|
@@ -165,8 +165,8 @@ module PulpContainerClient
|
|
|
165
165
|
def ==(o)
|
|
166
166
|
return true if self.equal?(o)
|
|
167
167
|
self.class == o.class &&
|
|
168
|
-
pulp_labels == o.pulp_labels &&
|
|
169
168
|
manifest_signing_service == o.manifest_signing_service &&
|
|
169
|
+
pulp_labels == o.pulp_labels &&
|
|
170
170
|
description == o.description &&
|
|
171
171
|
retain_repo_versions == o.retain_repo_versions &&
|
|
172
172
|
name == o.name
|
|
@@ -181,7 +181,7 @@ module PulpContainerClient
|
|
|
181
181
|
# Calculates hash code according to all attributes.
|
|
182
182
|
# @return [Integer] Hash code
|
|
183
183
|
def hash
|
|
184
|
-
[
|
|
184
|
+
[manifest_signing_service, pulp_labels, description, retain_repo_versions, name].hash
|
|
185
185
|
end
|
|
186
186
|
|
|
187
187
|
# Builds the object from hash
|
|
@@ -16,49 +16,49 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# Serializer for Container Push Repositories.
|
|
18
18
|
class ContainerContainerPushRepositoryResponse
|
|
19
|
-
attr_accessor :pulp_labels
|
|
20
|
-
|
|
21
|
-
attr_accessor :pulp_href
|
|
22
|
-
|
|
23
19
|
# A reference to an associated signing service.
|
|
24
20
|
attr_accessor :manifest_signing_service
|
|
25
21
|
|
|
22
|
+
# 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.
|
|
23
|
+
attr_accessor :pulp_last_updated
|
|
24
|
+
|
|
25
|
+
attr_accessor :pulp_labels
|
|
26
|
+
|
|
26
27
|
# An optional description.
|
|
27
28
|
attr_accessor :description
|
|
28
29
|
|
|
29
|
-
#
|
|
30
|
-
attr_accessor :
|
|
31
|
-
|
|
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.
|
|
33
|
-
attr_accessor :pulp_last_updated
|
|
30
|
+
# Timestamp of creation.
|
|
31
|
+
attr_accessor :pulp_created
|
|
34
32
|
|
|
35
|
-
|
|
36
|
-
attr_accessor :prn
|
|
33
|
+
attr_accessor :latest_version_href
|
|
37
34
|
|
|
38
|
-
|
|
35
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
|
36
|
+
attr_accessor :retain_repo_versions
|
|
39
37
|
|
|
40
38
|
# A unique name for this repository.
|
|
41
39
|
attr_accessor :name
|
|
42
40
|
|
|
43
|
-
|
|
44
|
-
attr_accessor :pulp_created
|
|
41
|
+
attr_accessor :versions_href
|
|
45
42
|
|
|
46
|
-
|
|
43
|
+
# The Pulp Resource Name (PRN).
|
|
44
|
+
attr_accessor :prn
|
|
45
|
+
|
|
46
|
+
attr_accessor :pulp_href
|
|
47
47
|
|
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
49
|
def self.attribute_map
|
|
50
50
|
{
|
|
51
|
-
:'pulp_labels' => :'pulp_labels',
|
|
52
|
-
:'pulp_href' => :'pulp_href',
|
|
53
51
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
52
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
53
|
+
:'pulp_labels' => :'pulp_labels',
|
|
54
54
|
:'description' => :'description',
|
|
55
|
+
:'pulp_created' => :'pulp_created',
|
|
56
|
+
:'latest_version_href' => :'latest_version_href',
|
|
55
57
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
56
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
57
|
-
:'prn' => :'prn',
|
|
58
|
-
:'versions_href' => :'versions_href',
|
|
59
58
|
:'name' => :'name',
|
|
60
|
-
:'
|
|
61
|
-
:'
|
|
59
|
+
:'versions_href' => :'versions_href',
|
|
60
|
+
:'prn' => :'prn',
|
|
61
|
+
:'pulp_href' => :'pulp_href'
|
|
62
62
|
}
|
|
63
63
|
end
|
|
64
64
|
|
|
@@ -70,17 +70,17 @@ module PulpContainerClient
|
|
|
70
70
|
# Attribute type mapping.
|
|
71
71
|
def self.openapi_types
|
|
72
72
|
{
|
|
73
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
74
|
-
:'pulp_href' => :'String',
|
|
75
73
|
:'manifest_signing_service' => :'String',
|
|
74
|
+
:'pulp_last_updated' => :'Time',
|
|
75
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
76
76
|
:'description' => :'String',
|
|
77
|
+
:'pulp_created' => :'Time',
|
|
78
|
+
:'latest_version_href' => :'String',
|
|
77
79
|
:'retain_repo_versions' => :'Integer',
|
|
78
|
-
:'pulp_last_updated' => :'Time',
|
|
79
|
-
:'prn' => :'String',
|
|
80
|
-
:'versions_href' => :'String',
|
|
81
80
|
:'name' => :'String',
|
|
82
|
-
:'
|
|
83
|
-
:'
|
|
81
|
+
:'versions_href' => :'String',
|
|
82
|
+
:'prn' => :'String',
|
|
83
|
+
:'pulp_href' => :'String'
|
|
84
84
|
}
|
|
85
85
|
end
|
|
86
86
|
|
|
@@ -108,38 +108,34 @@ module PulpContainerClient
|
|
|
108
108
|
h[k.to_sym] = v
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
if attributes.key?(:'
|
|
112
|
-
|
|
113
|
-
self.pulp_labels = value
|
|
114
|
-
end
|
|
111
|
+
if attributes.key?(:'manifest_signing_service')
|
|
112
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
115
113
|
end
|
|
116
114
|
|
|
117
|
-
if attributes.key?(:'
|
|
118
|
-
self.
|
|
115
|
+
if attributes.key?(:'pulp_last_updated')
|
|
116
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
119
117
|
end
|
|
120
118
|
|
|
121
|
-
if attributes.key?(:'
|
|
122
|
-
|
|
119
|
+
if attributes.key?(:'pulp_labels')
|
|
120
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
121
|
+
self.pulp_labels = value
|
|
122
|
+
end
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
if attributes.key?(:'description')
|
|
126
126
|
self.description = attributes[:'description']
|
|
127
127
|
end
|
|
128
128
|
|
|
129
|
-
if attributes.key?(:'
|
|
130
|
-
self.
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
if attributes.key?(:'pulp_last_updated')
|
|
134
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
129
|
+
if attributes.key?(:'pulp_created')
|
|
130
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
135
131
|
end
|
|
136
132
|
|
|
137
|
-
if attributes.key?(:'
|
|
138
|
-
self.
|
|
133
|
+
if attributes.key?(:'latest_version_href')
|
|
134
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
|
139
135
|
end
|
|
140
136
|
|
|
141
|
-
if attributes.key?(:'
|
|
142
|
-
self.
|
|
137
|
+
if attributes.key?(:'retain_repo_versions')
|
|
138
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
143
139
|
end
|
|
144
140
|
|
|
145
141
|
if attributes.key?(:'name')
|
|
@@ -148,12 +144,16 @@ module PulpContainerClient
|
|
|
148
144
|
self.name = nil
|
|
149
145
|
end
|
|
150
146
|
|
|
151
|
-
if attributes.key?(:'
|
|
152
|
-
self.
|
|
147
|
+
if attributes.key?(:'versions_href')
|
|
148
|
+
self.versions_href = attributes[:'versions_href']
|
|
153
149
|
end
|
|
154
150
|
|
|
155
|
-
if attributes.key?(:'
|
|
156
|
-
self.
|
|
151
|
+
if attributes.key?(:'prn')
|
|
152
|
+
self.prn = attributes[:'prn']
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
if attributes.key?(:'pulp_href')
|
|
156
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
157
157
|
end
|
|
158
158
|
end
|
|
159
159
|
|
|
@@ -182,17 +182,17 @@ module PulpContainerClient
|
|
|
182
182
|
def ==(o)
|
|
183
183
|
return true if self.equal?(o)
|
|
184
184
|
self.class == o.class &&
|
|
185
|
-
pulp_labels == o.pulp_labels &&
|
|
186
|
-
pulp_href == o.pulp_href &&
|
|
187
185
|
manifest_signing_service == o.manifest_signing_service &&
|
|
186
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
187
|
+
pulp_labels == o.pulp_labels &&
|
|
188
188
|
description == o.description &&
|
|
189
|
+
pulp_created == o.pulp_created &&
|
|
190
|
+
latest_version_href == o.latest_version_href &&
|
|
189
191
|
retain_repo_versions == o.retain_repo_versions &&
|
|
190
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
191
|
-
prn == o.prn &&
|
|
192
|
-
versions_href == o.versions_href &&
|
|
193
192
|
name == o.name &&
|
|
194
|
-
|
|
195
|
-
|
|
193
|
+
versions_href == o.versions_href &&
|
|
194
|
+
prn == o.prn &&
|
|
195
|
+
pulp_href == o.pulp_href
|
|
196
196
|
end
|
|
197
197
|
|
|
198
198
|
# @see the `==` method
|
|
@@ -204,7 +204,7 @@ module PulpContainerClient
|
|
|
204
204
|
# Calculates hash code according to all attributes.
|
|
205
205
|
# @return [Integer] Hash code
|
|
206
206
|
def hash
|
|
207
|
-
[
|
|
207
|
+
[manifest_signing_service, pulp_last_updated, pulp_labels, description, pulp_created, latest_version_href, retain_repo_versions, name, versions_href, prn, pulp_href].hash
|
|
208
208
|
end
|
|
209
209
|
|
|
210
210
|
# Builds the object from hash
|