pulp_container_client 2.29.2 → 2.30.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 +6 -6
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
- data/docs/DistributionsContainerApi.md +2 -2
- data/docs/DistributionsPullThroughApi.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/lib/pulp_container_client/models/container_container_distribution.rb +58 -58
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +71 -71
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +58 -58
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +71 -71
- data/lib/pulp_container_client/models/container_container_push_repository.rb +54 -54
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +51 -51
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +51 -51
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +51 -51
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +50 -50
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_distribution_spec.rb +7 -7
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_pull_through_distribution_spec.rb +7 -7
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +1 -1
data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb
CHANGED
|
@@ -16,26 +16,26 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
18
18
|
class PatchedcontainerContainerPullThroughDistribution
|
|
19
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
20
|
+
attr_accessor :content_guard
|
|
21
|
+
|
|
22
|
+
# RepositoryVersion to be served
|
|
23
|
+
attr_accessor :repository_version
|
|
24
|
+
|
|
19
25
|
# The latest RepositoryVersion for this Repository will be served.
|
|
20
26
|
attr_accessor :repository
|
|
21
27
|
|
|
22
28
|
# Whether this distribution should be shown in the content app.
|
|
23
29
|
attr_accessor :hidden
|
|
24
30
|
|
|
31
|
+
# The registry path exposed by this pull-through distribution.
|
|
32
|
+
attr_accessor :base_path
|
|
33
|
+
|
|
25
34
|
attr_accessor :pulp_labels
|
|
26
35
|
|
|
27
36
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
28
37
|
attr_accessor :name
|
|
29
38
|
|
|
30
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
31
|
-
attr_accessor :content_guard
|
|
32
|
-
|
|
33
|
-
# The registry path exposed by this pull-through distribution.
|
|
34
|
-
attr_accessor :base_path
|
|
35
|
-
|
|
36
|
-
# RepositoryVersion to be served
|
|
37
|
-
attr_accessor :repository_version
|
|
38
|
-
|
|
39
39
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
40
40
|
attr_accessor :remote
|
|
41
41
|
|
|
@@ -51,13 +51,13 @@ module PulpContainerClient
|
|
|
51
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
52
52
|
def self.attribute_map
|
|
53
53
|
{
|
|
54
|
+
:'content_guard' => :'content_guard',
|
|
55
|
+
:'repository_version' => :'repository_version',
|
|
54
56
|
:'repository' => :'repository',
|
|
55
57
|
:'hidden' => :'hidden',
|
|
58
|
+
:'base_path' => :'base_path',
|
|
56
59
|
:'pulp_labels' => :'pulp_labels',
|
|
57
60
|
:'name' => :'name',
|
|
58
|
-
:'content_guard' => :'content_guard',
|
|
59
|
-
:'base_path' => :'base_path',
|
|
60
|
-
:'repository_version' => :'repository_version',
|
|
61
61
|
:'remote' => :'remote',
|
|
62
62
|
:'distributions' => :'distributions',
|
|
63
63
|
:'private' => :'private',
|
|
@@ -73,13 +73,13 @@ module PulpContainerClient
|
|
|
73
73
|
# Attribute type mapping.
|
|
74
74
|
def self.openapi_types
|
|
75
75
|
{
|
|
76
|
+
:'content_guard' => :'String',
|
|
77
|
+
:'repository_version' => :'String',
|
|
76
78
|
:'repository' => :'String',
|
|
77
79
|
:'hidden' => :'Boolean',
|
|
80
|
+
:'base_path' => :'String',
|
|
78
81
|
:'pulp_labels' => :'Hash<String, String>',
|
|
79
82
|
:'name' => :'String',
|
|
80
|
-
:'content_guard' => :'String',
|
|
81
|
-
:'base_path' => :'String',
|
|
82
|
-
:'repository_version' => :'String',
|
|
83
83
|
:'remote' => :'String',
|
|
84
84
|
:'distributions' => :'Array<String>',
|
|
85
85
|
:'private' => :'Boolean',
|
|
@@ -90,8 +90,8 @@ module PulpContainerClient
|
|
|
90
90
|
# List of attributes with nullable: true
|
|
91
91
|
def self.openapi_nullable
|
|
92
92
|
Set.new([
|
|
93
|
-
:'repository',
|
|
94
93
|
:'repository_version',
|
|
94
|
+
:'repository',
|
|
95
95
|
:'description'
|
|
96
96
|
])
|
|
97
97
|
end
|
|
@@ -111,6 +111,14 @@ module PulpContainerClient
|
|
|
111
111
|
h[k.to_sym] = v
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
if attributes.key?(:'content_guard')
|
|
115
|
+
self.content_guard = attributes[:'content_guard']
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
if attributes.key?(:'repository_version')
|
|
119
|
+
self.repository_version = attributes[:'repository_version']
|
|
120
|
+
end
|
|
121
|
+
|
|
114
122
|
if attributes.key?(:'repository')
|
|
115
123
|
self.repository = attributes[:'repository']
|
|
116
124
|
end
|
|
@@ -121,6 +129,10 @@ module PulpContainerClient
|
|
|
121
129
|
self.hidden = false
|
|
122
130
|
end
|
|
123
131
|
|
|
132
|
+
if attributes.key?(:'base_path')
|
|
133
|
+
self.base_path = attributes[:'base_path']
|
|
134
|
+
end
|
|
135
|
+
|
|
124
136
|
if attributes.key?(:'pulp_labels')
|
|
125
137
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
126
138
|
self.pulp_labels = value
|
|
@@ -131,18 +143,6 @@ module PulpContainerClient
|
|
|
131
143
|
self.name = attributes[:'name']
|
|
132
144
|
end
|
|
133
145
|
|
|
134
|
-
if attributes.key?(:'content_guard')
|
|
135
|
-
self.content_guard = attributes[:'content_guard']
|
|
136
|
-
end
|
|
137
|
-
|
|
138
|
-
if attributes.key?(:'base_path')
|
|
139
|
-
self.base_path = attributes[:'base_path']
|
|
140
|
-
end
|
|
141
|
-
|
|
142
|
-
if attributes.key?(:'repository_version')
|
|
143
|
-
self.repository_version = attributes[:'repository_version']
|
|
144
|
-
end
|
|
145
|
-
|
|
146
146
|
if attributes.key?(:'remote')
|
|
147
147
|
self.remote = attributes[:'remote']
|
|
148
148
|
end
|
|
@@ -167,14 +167,14 @@ module PulpContainerClient
|
|
|
167
167
|
def list_invalid_properties
|
|
168
168
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
169
169
|
invalid_properties = Array.new
|
|
170
|
-
if !@name.nil? && @name.to_s.length < 1
|
|
171
|
-
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
172
|
-
end
|
|
173
|
-
|
|
174
170
|
if !@base_path.nil? && @base_path.to_s.length < 1
|
|
175
171
|
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
|
176
172
|
end
|
|
177
173
|
|
|
174
|
+
if !@name.nil? && @name.to_s.length < 1
|
|
175
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
176
|
+
end
|
|
177
|
+
|
|
178
178
|
if !@description.nil? && @description.to_s.length < 1
|
|
179
179
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
180
180
|
end
|
|
@@ -186,26 +186,12 @@ module PulpContainerClient
|
|
|
186
186
|
# @return true if the model is valid
|
|
187
187
|
def valid?
|
|
188
188
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
189
|
-
return false if !@name.nil? && @name.to_s.length < 1
|
|
190
189
|
return false if !@base_path.nil? && @base_path.to_s.length < 1
|
|
190
|
+
return false if !@name.nil? && @name.to_s.length < 1
|
|
191
191
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
192
192
|
true
|
|
193
193
|
end
|
|
194
194
|
|
|
195
|
-
# Custom attribute writer method with validation
|
|
196
|
-
# @param [Object] name Value to be assigned
|
|
197
|
-
def name=(name)
|
|
198
|
-
if name.nil?
|
|
199
|
-
fail ArgumentError, 'name cannot be nil'
|
|
200
|
-
end
|
|
201
|
-
|
|
202
|
-
if name.to_s.length < 1
|
|
203
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
204
|
-
end
|
|
205
|
-
|
|
206
|
-
@name = name
|
|
207
|
-
end
|
|
208
|
-
|
|
209
195
|
# Custom attribute writer method with validation
|
|
210
196
|
# @param [Object] base_path Value to be assigned
|
|
211
197
|
def base_path=(base_path)
|
|
@@ -220,6 +206,20 @@ module PulpContainerClient
|
|
|
220
206
|
@base_path = base_path
|
|
221
207
|
end
|
|
222
208
|
|
|
209
|
+
# Custom attribute writer method with validation
|
|
210
|
+
# @param [Object] name Value to be assigned
|
|
211
|
+
def name=(name)
|
|
212
|
+
if name.nil?
|
|
213
|
+
fail ArgumentError, 'name cannot be nil'
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
if name.to_s.length < 1
|
|
217
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
@name = name
|
|
221
|
+
end
|
|
222
|
+
|
|
223
223
|
# Custom attribute writer method with validation
|
|
224
224
|
# @param [Object] description Value to be assigned
|
|
225
225
|
def description=(description)
|
|
@@ -235,13 +235,13 @@ module PulpContainerClient
|
|
|
235
235
|
def ==(o)
|
|
236
236
|
return true if self.equal?(o)
|
|
237
237
|
self.class == o.class &&
|
|
238
|
+
content_guard == o.content_guard &&
|
|
239
|
+
repository_version == o.repository_version &&
|
|
238
240
|
repository == o.repository &&
|
|
239
241
|
hidden == o.hidden &&
|
|
242
|
+
base_path == o.base_path &&
|
|
240
243
|
pulp_labels == o.pulp_labels &&
|
|
241
244
|
name == o.name &&
|
|
242
|
-
content_guard == o.content_guard &&
|
|
243
|
-
base_path == o.base_path &&
|
|
244
|
-
repository_version == o.repository_version &&
|
|
245
245
|
remote == o.remote &&
|
|
246
246
|
distributions == o.distributions &&
|
|
247
247
|
private == o.private &&
|
|
@@ -257,7 +257,7 @@ module PulpContainerClient
|
|
|
257
257
|
# Calculates hash code according to all attributes.
|
|
258
258
|
# @return [Integer] Hash code
|
|
259
259
|
def hash
|
|
260
|
-
[
|
|
260
|
+
[content_guard, repository_version, repository, hidden, base_path, pulp_labels, name, remote, distributions, private, description].hash
|
|
261
261
|
end
|
|
262
262
|
|
|
263
263
|
# Builds the object from hash
|
|
@@ -16,13 +16,13 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# Serializer for Container Push Repositories.
|
|
18
18
|
class PatchedcontainerContainerPushRepository
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# An optional description.
|
|
20
|
+
attr_accessor :description
|
|
21
21
|
|
|
22
22
|
attr_accessor :pulp_labels
|
|
23
23
|
|
|
24
|
-
#
|
|
25
|
-
attr_accessor :
|
|
24
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
|
25
|
+
attr_accessor :retain_repo_versions
|
|
26
26
|
|
|
27
27
|
# Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
|
|
28
28
|
attr_accessor :retain_checkpoints
|
|
@@ -30,18 +30,18 @@ module PulpContainerClient
|
|
|
30
30
|
# A reference to an associated signing service.
|
|
31
31
|
attr_accessor :manifest_signing_service
|
|
32
32
|
|
|
33
|
-
#
|
|
34
|
-
attr_accessor :
|
|
33
|
+
# A unique name for this repository.
|
|
34
|
+
attr_accessor :name
|
|
35
35
|
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
37
|
def self.attribute_map
|
|
38
38
|
{
|
|
39
|
-
:'
|
|
39
|
+
:'description' => :'description',
|
|
40
40
|
:'pulp_labels' => :'pulp_labels',
|
|
41
|
-
:'
|
|
41
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
42
42
|
:'retain_checkpoints' => :'retain_checkpoints',
|
|
43
43
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
44
|
-
:'
|
|
44
|
+
:'name' => :'name'
|
|
45
45
|
}
|
|
46
46
|
end
|
|
47
47
|
|
|
@@ -53,22 +53,22 @@ module PulpContainerClient
|
|
|
53
53
|
# Attribute type mapping.
|
|
54
54
|
def self.openapi_types
|
|
55
55
|
{
|
|
56
|
-
:'
|
|
56
|
+
:'description' => :'String',
|
|
57
57
|
:'pulp_labels' => :'Hash<String, String>',
|
|
58
|
-
:'
|
|
58
|
+
:'retain_repo_versions' => :'Integer',
|
|
59
59
|
:'retain_checkpoints' => :'Integer',
|
|
60
60
|
:'manifest_signing_service' => :'String',
|
|
61
|
-
:'
|
|
61
|
+
:'name' => :'String'
|
|
62
62
|
}
|
|
63
63
|
end
|
|
64
64
|
|
|
65
65
|
# List of attributes with nullable: true
|
|
66
66
|
def self.openapi_nullable
|
|
67
67
|
Set.new([
|
|
68
|
+
:'description',
|
|
68
69
|
:'retain_repo_versions',
|
|
69
70
|
:'retain_checkpoints',
|
|
70
71
|
:'manifest_signing_service',
|
|
71
|
-
:'description'
|
|
72
72
|
])
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -87,8 +87,8 @@ module PulpContainerClient
|
|
|
87
87
|
h[k.to_sym] = v
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
if attributes.key?(:'
|
|
91
|
-
self.
|
|
90
|
+
if attributes.key?(:'description')
|
|
91
|
+
self.description = attributes[:'description']
|
|
92
92
|
end
|
|
93
93
|
|
|
94
94
|
if attributes.key?(:'pulp_labels')
|
|
@@ -97,8 +97,8 @@ module PulpContainerClient
|
|
|
97
97
|
end
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
-
if attributes.key?(:'
|
|
101
|
-
self.
|
|
100
|
+
if attributes.key?(:'retain_repo_versions')
|
|
101
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
102
102
|
end
|
|
103
103
|
|
|
104
104
|
if attributes.key?(:'retain_checkpoints')
|
|
@@ -109,8 +109,8 @@ module PulpContainerClient
|
|
|
109
109
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
-
if attributes.key?(:'
|
|
113
|
-
self.
|
|
112
|
+
if attributes.key?(:'name')
|
|
113
|
+
self.name = attributes[:'name']
|
|
114
114
|
end
|
|
115
115
|
end
|
|
116
116
|
|
|
@@ -119,20 +119,20 @@ module PulpContainerClient
|
|
|
119
119
|
def list_invalid_properties
|
|
120
120
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
121
121
|
invalid_properties = Array.new
|
|
122
|
-
if !@
|
|
123
|
-
invalid_properties.push('invalid value for "
|
|
122
|
+
if !@description.nil? && @description.to_s.length < 1
|
|
123
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
-
if !@
|
|
127
|
-
invalid_properties.push('invalid value for "
|
|
126
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
127
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
128
128
|
end
|
|
129
129
|
|
|
130
130
|
if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
131
131
|
invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
|
|
132
132
|
end
|
|
133
133
|
|
|
134
|
-
if !@
|
|
135
|
-
invalid_properties.push('invalid value for "
|
|
134
|
+
if !@name.nil? && @name.to_s.length < 1
|
|
135
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
136
136
|
end
|
|
137
137
|
|
|
138
138
|
invalid_properties
|
|
@@ -142,35 +142,31 @@ module PulpContainerClient
|
|
|
142
142
|
# @return true if the model is valid
|
|
143
143
|
def valid?
|
|
144
144
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
145
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
|
145
146
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
146
|
-
return false if !@name.nil? && @name.to_s.length < 1
|
|
147
147
|
return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
148
|
-
return false if !@
|
|
148
|
+
return false if !@name.nil? && @name.to_s.length < 1
|
|
149
149
|
true
|
|
150
150
|
end
|
|
151
151
|
|
|
152
152
|
# Custom attribute writer method with validation
|
|
153
|
-
# @param [Object]
|
|
154
|
-
def
|
|
155
|
-
if !
|
|
156
|
-
fail ArgumentError, 'invalid value for "
|
|
153
|
+
# @param [Object] description Value to be assigned
|
|
154
|
+
def description=(description)
|
|
155
|
+
if !description.nil? && description.to_s.length < 1
|
|
156
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
157
157
|
end
|
|
158
158
|
|
|
159
|
-
@
|
|
159
|
+
@description = description
|
|
160
160
|
end
|
|
161
161
|
|
|
162
162
|
# Custom attribute writer method with validation
|
|
163
|
-
# @param [Object]
|
|
164
|
-
def
|
|
165
|
-
if
|
|
166
|
-
fail ArgumentError, '
|
|
167
|
-
end
|
|
168
|
-
|
|
169
|
-
if name.to_s.length < 1
|
|
170
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
163
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
164
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
165
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
166
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
171
167
|
end
|
|
172
168
|
|
|
173
|
-
@
|
|
169
|
+
@retain_repo_versions = retain_repo_versions
|
|
174
170
|
end
|
|
175
171
|
|
|
176
172
|
# Custom attribute writer method with validation
|
|
@@ -184,13 +180,17 @@ module PulpContainerClient
|
|
|
184
180
|
end
|
|
185
181
|
|
|
186
182
|
# Custom attribute writer method with validation
|
|
187
|
-
# @param [Object]
|
|
188
|
-
def
|
|
189
|
-
if
|
|
190
|
-
fail ArgumentError, '
|
|
183
|
+
# @param [Object] name Value to be assigned
|
|
184
|
+
def name=(name)
|
|
185
|
+
if name.nil?
|
|
186
|
+
fail ArgumentError, 'name cannot be nil'
|
|
191
187
|
end
|
|
192
188
|
|
|
193
|
-
|
|
189
|
+
if name.to_s.length < 1
|
|
190
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
@name = name
|
|
194
194
|
end
|
|
195
195
|
|
|
196
196
|
# Checks equality by comparing each attribute.
|
|
@@ -198,12 +198,12 @@ module PulpContainerClient
|
|
|
198
198
|
def ==(o)
|
|
199
199
|
return true if self.equal?(o)
|
|
200
200
|
self.class == o.class &&
|
|
201
|
-
|
|
201
|
+
description == o.description &&
|
|
202
202
|
pulp_labels == o.pulp_labels &&
|
|
203
|
-
|
|
203
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
204
204
|
retain_checkpoints == o.retain_checkpoints &&
|
|
205
205
|
manifest_signing_service == o.manifest_signing_service &&
|
|
206
|
-
|
|
206
|
+
name == o.name
|
|
207
207
|
end
|
|
208
208
|
|
|
209
209
|
# @see the `==` method
|
|
@@ -215,7 +215,7 @@ module PulpContainerClient
|
|
|
215
215
|
# Calculates hash code according to all attributes.
|
|
216
216
|
# @return [Integer] Hash code
|
|
217
217
|
def hash
|
|
218
|
-
[
|
|
218
|
+
[description, pulp_labels, retain_repo_versions, retain_checkpoints, manifest_signing_service, name].hash
|
|
219
219
|
end
|
|
220
220
|
|
|
221
221
|
# Builds the object from hash
|
|
@@ -27,19 +27,19 @@ describe PulpContainerClient::ContainerContainerDistributionResponse do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "content_guard"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "repository_version"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "repository"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
@@ -51,37 +51,37 @@ describe PulpContainerClient::ContainerContainerDistributionResponse do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "pulp_href"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "base_path"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "no_content_change_since"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "pulp_labels"' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
describe 'test attribute "
|
|
84
|
+
describe 'test attribute "content_guard_prn"' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
87
|
end
|
|
@@ -93,7 +93,7 @@ describe PulpContainerClient::ContainerContainerDistributionResponse do
|
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
describe 'test attribute "
|
|
96
|
+
describe 'test attribute "name"' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
99
|
end
|
|
@@ -27,43 +27,43 @@ describe PulpContainerClient::ContainerContainerDistribution do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "content_guard"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "repository_version"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "repository"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "hidden"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "base_path"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "pulp_labels"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "name"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
@@ -27,19 +27,19 @@ describe PulpContainerClient::ContainerContainerPullThroughDistributionResponse
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "content_guard"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "repository_version"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "repository"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
@@ -51,37 +51,37 @@ describe PulpContainerClient::ContainerContainerPullThroughDistributionResponse
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "pulp_href"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "base_path"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "no_content_change_since"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "pulp_labels"' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
describe 'test attribute "
|
|
84
|
+
describe 'test attribute "content_guard_prn"' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
87
|
end
|
|
@@ -93,7 +93,7 @@ describe PulpContainerClient::ContainerContainerPullThroughDistributionResponse
|
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
describe 'test attribute "
|
|
96
|
+
describe 'test attribute "name"' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
99
|
end
|