pulpcore_client 3.73.0 → 3.73.2
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 +12 -4
- data/docs/ArtifactDistributionResponse.md +15 -15
- data/docs/ContentOpenpgpPublicsubkeyApi.md +146 -0
- data/docs/ContentOpenpgpSignatureApi.md +146 -0
- data/docs/ContentOpenpgpUserattributeApi.md +146 -0
- data/docs/ContentOpenpgpUseridApi.md +146 -0
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +148 -0
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +148 -0
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +148 -0
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +148 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +64 -64
- data/lib/pulpcore_client/models/unset_label.rb +1 -1
- data/lib/pulpcore_client/models/unset_label_response.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +26 -0
- data/spec/api/content_openpgp_signature_api_spec.rb +26 -0
- data/spec/api/content_openpgp_userattribute_api_spec.rb +26 -0
- data/spec/api/content_openpgp_userid_api_spec.rb +26 -0
- data/spec/models/artifact_distribution_response_spec.rb +11 -11
- metadata +2 -2
@@ -217,5 +217,153 @@ module PulpcoreClient
|
|
217
217
|
end
|
218
218
|
return data, status_code, headers
|
219
219
|
end
|
220
|
+
|
221
|
+
# Set a label
|
222
|
+
# Set a single pulp_label on the object to a specific value or null.
|
223
|
+
# @param open_p_g_p_user_i_d_href [String]
|
224
|
+
# @param set_label [SetLabel]
|
225
|
+
# @param [Hash] opts the optional parameters
|
226
|
+
# @return [SetLabelResponse]
|
227
|
+
def set_label(open_p_g_p_user_i_d_href, set_label, opts = {})
|
228
|
+
data, _status_code, _headers = set_label_with_http_info(open_p_g_p_user_i_d_href, set_label, opts)
|
229
|
+
data
|
230
|
+
end
|
231
|
+
|
232
|
+
# Set a label
|
233
|
+
# Set a single pulp_label on the object to a specific value or null.
|
234
|
+
# @param open_p_g_p_user_i_d_href [String]
|
235
|
+
# @param set_label [SetLabel]
|
236
|
+
# @param [Hash] opts the optional parameters
|
237
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
238
|
+
def set_label_with_http_info(open_p_g_p_user_i_d_href, set_label, opts = {})
|
239
|
+
if @api_client.config.debugging
|
240
|
+
@api_client.config.logger.debug 'Calling API: ContentOpenpgpUseridApi.set_label ...'
|
241
|
+
end
|
242
|
+
# verify the required parameter 'open_p_g_p_user_i_d_href' is set
|
243
|
+
if @api_client.config.client_side_validation && open_p_g_p_user_i_d_href.nil?
|
244
|
+
fail ArgumentError, "Missing the required parameter 'open_p_g_p_user_i_d_href' when calling ContentOpenpgpUseridApi.set_label"
|
245
|
+
end
|
246
|
+
# verify the required parameter 'set_label' is set
|
247
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
248
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentOpenpgpUseridApi.set_label"
|
249
|
+
end
|
250
|
+
# resource path
|
251
|
+
local_var_path = '{open_p_g_p_user_i_d_href}set_label/'.sub('{' + 'open_p_g_p_user_i_d_href' + '}', CGI.escape(open_p_g_p_user_i_d_href.to_s).gsub('%2F', '/'))
|
252
|
+
|
253
|
+
# query parameters
|
254
|
+
query_params = opts[:query_params] || {}
|
255
|
+
|
256
|
+
# header parameters
|
257
|
+
header_params = opts[:header_params] || {}
|
258
|
+
# HTTP header 'Accept' (if needed)
|
259
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
260
|
+
# HTTP header 'Content-Type'
|
261
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
262
|
+
if !content_type.nil?
|
263
|
+
header_params['Content-Type'] = content_type
|
264
|
+
end
|
265
|
+
|
266
|
+
# form parameters
|
267
|
+
form_params = opts[:form_params] || {}
|
268
|
+
|
269
|
+
# http body (model)
|
270
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
271
|
+
|
272
|
+
# return_type
|
273
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
274
|
+
|
275
|
+
# auth_names
|
276
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
277
|
+
|
278
|
+
new_options = opts.merge(
|
279
|
+
:operation => :"ContentOpenpgpUseridApi.set_label",
|
280
|
+
:header_params => header_params,
|
281
|
+
:query_params => query_params,
|
282
|
+
:form_params => form_params,
|
283
|
+
:body => post_body,
|
284
|
+
:auth_names => auth_names,
|
285
|
+
:return_type => return_type
|
286
|
+
)
|
287
|
+
|
288
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
289
|
+
if @api_client.config.debugging
|
290
|
+
@api_client.config.logger.debug "API called: ContentOpenpgpUseridApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
291
|
+
end
|
292
|
+
return data, status_code, headers
|
293
|
+
end
|
294
|
+
|
295
|
+
# Unset a label
|
296
|
+
# Unset a single pulp_label on the object.
|
297
|
+
# @param open_p_g_p_user_i_d_href [String]
|
298
|
+
# @param unset_label [UnsetLabel]
|
299
|
+
# @param [Hash] opts the optional parameters
|
300
|
+
# @return [UnsetLabelResponse]
|
301
|
+
def unset_label(open_p_g_p_user_i_d_href, unset_label, opts = {})
|
302
|
+
data, _status_code, _headers = unset_label_with_http_info(open_p_g_p_user_i_d_href, unset_label, opts)
|
303
|
+
data
|
304
|
+
end
|
305
|
+
|
306
|
+
# Unset a label
|
307
|
+
# Unset a single pulp_label on the object.
|
308
|
+
# @param open_p_g_p_user_i_d_href [String]
|
309
|
+
# @param unset_label [UnsetLabel]
|
310
|
+
# @param [Hash] opts the optional parameters
|
311
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
312
|
+
def unset_label_with_http_info(open_p_g_p_user_i_d_href, unset_label, opts = {})
|
313
|
+
if @api_client.config.debugging
|
314
|
+
@api_client.config.logger.debug 'Calling API: ContentOpenpgpUseridApi.unset_label ...'
|
315
|
+
end
|
316
|
+
# verify the required parameter 'open_p_g_p_user_i_d_href' is set
|
317
|
+
if @api_client.config.client_side_validation && open_p_g_p_user_i_d_href.nil?
|
318
|
+
fail ArgumentError, "Missing the required parameter 'open_p_g_p_user_i_d_href' when calling ContentOpenpgpUseridApi.unset_label"
|
319
|
+
end
|
320
|
+
# verify the required parameter 'unset_label' is set
|
321
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
322
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentOpenpgpUseridApi.unset_label"
|
323
|
+
end
|
324
|
+
# resource path
|
325
|
+
local_var_path = '{open_p_g_p_user_i_d_href}unset_label/'.sub('{' + 'open_p_g_p_user_i_d_href' + '}', CGI.escape(open_p_g_p_user_i_d_href.to_s).gsub('%2F', '/'))
|
326
|
+
|
327
|
+
# query parameters
|
328
|
+
query_params = opts[:query_params] || {}
|
329
|
+
|
330
|
+
# header parameters
|
331
|
+
header_params = opts[:header_params] || {}
|
332
|
+
# HTTP header 'Accept' (if needed)
|
333
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
334
|
+
# HTTP header 'Content-Type'
|
335
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
336
|
+
if !content_type.nil?
|
337
|
+
header_params['Content-Type'] = content_type
|
338
|
+
end
|
339
|
+
|
340
|
+
# form parameters
|
341
|
+
form_params = opts[:form_params] || {}
|
342
|
+
|
343
|
+
# http body (model)
|
344
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
345
|
+
|
346
|
+
# return_type
|
347
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
348
|
+
|
349
|
+
# auth_names
|
350
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
351
|
+
|
352
|
+
new_options = opts.merge(
|
353
|
+
:operation => :"ContentOpenpgpUseridApi.unset_label",
|
354
|
+
:header_params => header_params,
|
355
|
+
:query_params => query_params,
|
356
|
+
:form_params => form_params,
|
357
|
+
:body => post_body,
|
358
|
+
:auth_names => auth_names,
|
359
|
+
:return_type => return_type
|
360
|
+
)
|
361
|
+
|
362
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
363
|
+
if @api_client.config.debugging
|
364
|
+
@api_client.config.logger.debug "API called: ContentOpenpgpUseridApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
365
|
+
end
|
366
|
+
return data, status_code, headers
|
367
|
+
end
|
220
368
|
end
|
221
369
|
end
|
@@ -16,51 +16,51 @@ require 'time'
|
|
16
16
|
module PulpcoreClient
|
17
17
|
# A serializer for ArtifactDistribution.
|
18
18
|
class ArtifactDistributionResponse
|
19
|
-
#
|
20
|
-
attr_accessor :
|
19
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
20
|
+
attr_accessor :no_content_change_since
|
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
|
+
# An optional content-guard.
|
26
|
+
attr_accessor :content_guard
|
27
|
+
|
28
|
+
attr_accessor :pulp_labels
|
21
29
|
|
22
30
|
# A unique name. Ex, `rawhide` and `stable`.
|
23
31
|
attr_accessor :name
|
24
32
|
|
25
|
-
#
|
26
|
-
attr_accessor :
|
33
|
+
# Whether this distribution should be shown in the content app.
|
34
|
+
attr_accessor :hidden
|
27
35
|
|
28
|
-
|
36
|
+
# The Pulp Resource Name (PRN).
|
37
|
+
attr_accessor :prn
|
29
38
|
|
30
39
|
# The URL for accessing the publication as defined by this distribution.
|
31
40
|
attr_accessor :base_url
|
32
41
|
|
33
|
-
|
34
|
-
attr_accessor :prn
|
35
|
-
|
36
|
-
# An optional content-guard.
|
37
|
-
attr_accessor :content_guard
|
42
|
+
attr_accessor :pulp_href
|
38
43
|
|
39
44
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
40
45
|
attr_accessor :base_path
|
41
46
|
|
42
|
-
attr_accessor :pulp_labels
|
43
|
-
|
44
47
|
# Timestamp of creation.
|
45
48
|
attr_accessor :pulp_created
|
46
49
|
|
47
|
-
# 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.
|
48
|
-
attr_accessor :pulp_last_updated
|
49
|
-
|
50
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
51
51
|
def self.attribute_map
|
52
52
|
{
|
53
|
-
:'hidden' => :'hidden',
|
54
|
-
:'name' => :'name',
|
55
53
|
:'no_content_change_since' => :'no_content_change_since',
|
56
|
-
:'
|
57
|
-
:'base_url' => :'base_url',
|
58
|
-
:'prn' => :'prn',
|
54
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
59
55
|
:'content_guard' => :'content_guard',
|
60
|
-
:'base_path' => :'base_path',
|
61
56
|
:'pulp_labels' => :'pulp_labels',
|
62
|
-
:'
|
63
|
-
:'
|
57
|
+
:'name' => :'name',
|
58
|
+
:'hidden' => :'hidden',
|
59
|
+
:'prn' => :'prn',
|
60
|
+
:'base_url' => :'base_url',
|
61
|
+
:'pulp_href' => :'pulp_href',
|
62
|
+
:'base_path' => :'base_path',
|
63
|
+
:'pulp_created' => :'pulp_created'
|
64
64
|
}
|
65
65
|
end
|
66
66
|
|
@@ -72,17 +72,17 @@ module PulpcoreClient
|
|
72
72
|
# Attribute type mapping.
|
73
73
|
def self.openapi_types
|
74
74
|
{
|
75
|
-
:'hidden' => :'Boolean',
|
76
|
-
:'name' => :'String',
|
77
75
|
:'no_content_change_since' => :'String',
|
78
|
-
:'
|
79
|
-
:'base_url' => :'String',
|
80
|
-
:'prn' => :'String',
|
76
|
+
:'pulp_last_updated' => :'Time',
|
81
77
|
:'content_guard' => :'String',
|
82
|
-
:'base_path' => :'String',
|
83
78
|
:'pulp_labels' => :'Hash<String, String>',
|
84
|
-
:'
|
85
|
-
:'
|
79
|
+
:'name' => :'String',
|
80
|
+
:'hidden' => :'Boolean',
|
81
|
+
:'prn' => :'String',
|
82
|
+
:'base_url' => :'String',
|
83
|
+
:'pulp_href' => :'String',
|
84
|
+
:'base_path' => :'String',
|
85
|
+
:'pulp_created' => :'Time'
|
86
86
|
}
|
87
87
|
end
|
88
88
|
|
@@ -108,10 +108,22 @@ module PulpcoreClient
|
|
108
108
|
h[k.to_sym] = v
|
109
109
|
}
|
110
110
|
|
111
|
-
if attributes.key?(:'
|
112
|
-
self.
|
113
|
-
|
114
|
-
|
111
|
+
if attributes.key?(:'no_content_change_since')
|
112
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
113
|
+
end
|
114
|
+
|
115
|
+
if attributes.key?(:'pulp_last_updated')
|
116
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
117
|
+
end
|
118
|
+
|
119
|
+
if attributes.key?(:'content_guard')
|
120
|
+
self.content_guard = attributes[:'content_guard']
|
121
|
+
end
|
122
|
+
|
123
|
+
if attributes.key?(:'pulp_labels')
|
124
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
125
|
+
self.pulp_labels = value
|
126
|
+
end
|
115
127
|
end
|
116
128
|
|
117
129
|
if attributes.key?(:'name')
|
@@ -120,24 +132,22 @@ module PulpcoreClient
|
|
120
132
|
self.name = nil
|
121
133
|
end
|
122
134
|
|
123
|
-
if attributes.key?(:'
|
124
|
-
self.
|
135
|
+
if attributes.key?(:'hidden')
|
136
|
+
self.hidden = attributes[:'hidden']
|
137
|
+
else
|
138
|
+
self.hidden = false
|
125
139
|
end
|
126
140
|
|
127
|
-
if attributes.key?(:'
|
128
|
-
self.
|
141
|
+
if attributes.key?(:'prn')
|
142
|
+
self.prn = attributes[:'prn']
|
129
143
|
end
|
130
144
|
|
131
145
|
if attributes.key?(:'base_url')
|
132
146
|
self.base_url = attributes[:'base_url']
|
133
147
|
end
|
134
148
|
|
135
|
-
if attributes.key?(:'
|
136
|
-
self.
|
137
|
-
end
|
138
|
-
|
139
|
-
if attributes.key?(:'content_guard')
|
140
|
-
self.content_guard = attributes[:'content_guard']
|
149
|
+
if attributes.key?(:'pulp_href')
|
150
|
+
self.pulp_href = attributes[:'pulp_href']
|
141
151
|
end
|
142
152
|
|
143
153
|
if attributes.key?(:'base_path')
|
@@ -146,19 +156,9 @@ module PulpcoreClient
|
|
146
156
|
self.base_path = nil
|
147
157
|
end
|
148
158
|
|
149
|
-
if attributes.key?(:'pulp_labels')
|
150
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
151
|
-
self.pulp_labels = value
|
152
|
-
end
|
153
|
-
end
|
154
|
-
|
155
159
|
if attributes.key?(:'pulp_created')
|
156
160
|
self.pulp_created = attributes[:'pulp_created']
|
157
161
|
end
|
158
|
-
|
159
|
-
if attributes.key?(:'pulp_last_updated')
|
160
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
161
|
-
end
|
162
162
|
end
|
163
163
|
|
164
164
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -191,17 +191,17 @@ module PulpcoreClient
|
|
191
191
|
def ==(o)
|
192
192
|
return true if self.equal?(o)
|
193
193
|
self.class == o.class &&
|
194
|
-
hidden == o.hidden &&
|
195
|
-
name == o.name &&
|
196
194
|
no_content_change_since == o.no_content_change_since &&
|
197
|
-
|
198
|
-
base_url == o.base_url &&
|
199
|
-
prn == o.prn &&
|
195
|
+
pulp_last_updated == o.pulp_last_updated &&
|
200
196
|
content_guard == o.content_guard &&
|
201
|
-
base_path == o.base_path &&
|
202
197
|
pulp_labels == o.pulp_labels &&
|
203
|
-
|
204
|
-
|
198
|
+
name == o.name &&
|
199
|
+
hidden == o.hidden &&
|
200
|
+
prn == o.prn &&
|
201
|
+
base_url == o.base_url &&
|
202
|
+
pulp_href == o.pulp_href &&
|
203
|
+
base_path == o.base_path &&
|
204
|
+
pulp_created == o.pulp_created
|
205
205
|
end
|
206
206
|
|
207
207
|
# @see the `==` method
|
@@ -213,7 +213,7 @@ module PulpcoreClient
|
|
213
213
|
# Calculates hash code according to all attributes.
|
214
214
|
# @return [Integer] Hash code
|
215
215
|
def hash
|
216
|
-
[
|
216
|
+
[no_content_change_since, pulp_last_updated, content_guard, pulp_labels, name, hidden, prn, base_url, pulp_href, base_path, pulp_created].hash
|
217
217
|
end
|
218
218
|
|
219
219
|
# Builds the object from hash
|
@@ -72,4 +72,30 @@ describe 'ContentOpenpgpPublicsubkeyApi' do
|
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
|
+
# unit tests for set_label
|
76
|
+
# Set a label
|
77
|
+
# Set a single pulp_label on the object to a specific value or null.
|
78
|
+
# @param open_p_g_p_public_subkey_href
|
79
|
+
# @param set_label
|
80
|
+
# @param [Hash] opts the optional parameters
|
81
|
+
# @return [SetLabelResponse]
|
82
|
+
describe 'set_label test' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# unit tests for unset_label
|
89
|
+
# Unset a label
|
90
|
+
# Unset a single pulp_label on the object.
|
91
|
+
# @param open_p_g_p_public_subkey_href
|
92
|
+
# @param unset_label
|
93
|
+
# @param [Hash] opts the optional parameters
|
94
|
+
# @return [UnsetLabelResponse]
|
95
|
+
describe 'unset_label test' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
75
101
|
end
|
@@ -72,4 +72,30 @@ describe 'ContentOpenpgpSignatureApi' do
|
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
|
+
# unit tests for set_label
|
76
|
+
# Set a label
|
77
|
+
# Set a single pulp_label on the object to a specific value or null.
|
78
|
+
# @param open_p_g_p_signature_href
|
79
|
+
# @param set_label
|
80
|
+
# @param [Hash] opts the optional parameters
|
81
|
+
# @return [SetLabelResponse]
|
82
|
+
describe 'set_label test' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# unit tests for unset_label
|
89
|
+
# Unset a label
|
90
|
+
# Unset a single pulp_label on the object.
|
91
|
+
# @param open_p_g_p_signature_href
|
92
|
+
# @param unset_label
|
93
|
+
# @param [Hash] opts the optional parameters
|
94
|
+
# @return [UnsetLabelResponse]
|
95
|
+
describe 'unset_label test' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
75
101
|
end
|
@@ -72,4 +72,30 @@ describe 'ContentOpenpgpUserattributeApi' do
|
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
|
+
# unit tests for set_label
|
76
|
+
# Set a label
|
77
|
+
# Set a single pulp_label on the object to a specific value or null.
|
78
|
+
# @param open_p_g_p_user_attribute_href
|
79
|
+
# @param set_label
|
80
|
+
# @param [Hash] opts the optional parameters
|
81
|
+
# @return [SetLabelResponse]
|
82
|
+
describe 'set_label test' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# unit tests for unset_label
|
89
|
+
# Unset a label
|
90
|
+
# Unset a single pulp_label on the object.
|
91
|
+
# @param open_p_g_p_user_attribute_href
|
92
|
+
# @param unset_label
|
93
|
+
# @param [Hash] opts the optional parameters
|
94
|
+
# @return [UnsetLabelResponse]
|
95
|
+
describe 'unset_label test' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
75
101
|
end
|
@@ -80,4 +80,30 @@ describe 'ContentOpenpgpUseridApi' do
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
+
# unit tests for set_label
|
84
|
+
# Set a label
|
85
|
+
# Set a single pulp_label on the object to a specific value or null.
|
86
|
+
# @param open_p_g_p_user_i_d_href
|
87
|
+
# @param set_label
|
88
|
+
# @param [Hash] opts the optional parameters
|
89
|
+
# @return [SetLabelResponse]
|
90
|
+
describe 'set_label test' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# unit tests for unset_label
|
97
|
+
# Unset a label
|
98
|
+
# Unset a single pulp_label on the object.
|
99
|
+
# @param open_p_g_p_user_i_d_href
|
100
|
+
# @param unset_label
|
101
|
+
# @param [Hash] opts the optional parameters
|
102
|
+
# @return [UnsetLabelResponse]
|
103
|
+
describe 'unset_label test' do
|
104
|
+
it 'should work' do
|
105
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
83
109
|
end
|
@@ -27,67 +27,67 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test attribute "
|
30
|
+
describe 'test attribute "no_content_change_since"' 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 "pulp_last_updated"' 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 "content_guard"' 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 "pulp_labels"' 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 "name"' 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 "hidden"' 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 "prn"' 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 "base_url"' 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_href"' 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 "base_path"' 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
|
88
88
|
end
|
89
89
|
|
90
|
-
describe 'test attribute "
|
90
|
+
describe 'test attribute "pulp_created"' do
|
91
91
|
it 'should work' do
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
93
93
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulpcore_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.73.
|
4
|
+
version: 3.73.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday-net_http
|