pulpcore_client 3.114.1 → 3.115.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 -6
- data/docs/ArtifactDistributionResponse.md +17 -17
- data/docs/MinimalTaskResponse.md +2 -0
- data/docs/Purge.md +1 -1
- data/docs/TaskResponse.md +3 -1
- data/docs/TasksApi.md +3 -3
- data/lib/pulpcore_client/api/tasks_api.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +77 -77
- data/lib/pulpcore_client/models/minimal_task_response.rb +13 -1
- data/lib/pulpcore_client/models/purge.rb +1 -1
- data/lib/pulpcore_client/models/task_response.rb +17 -5
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +0 -2
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +13 -13
- data/spec/models/minimal_task_response_spec.rb +6 -0
- data/spec/models/task_response_spec.rb +6 -0
- metadata +200 -208
- data/docs/DataRepair7465.md +0 -18
- data/docs/Datarepair7465Api.md +0 -82
- data/lib/pulpcore_client/api/datarepair7465_api.rb +0 -93
- data/lib/pulpcore_client/models/data_repair7465.rb +0 -217
- data/spec/api/datarepair7465_api_spec.rb +0 -48
- data/spec/models/data_repair7465_spec.rb +0 -36
|
@@ -76,6 +76,9 @@ module PulpcoreClient
|
|
|
76
76
|
|
|
77
77
|
attr_accessor :result
|
|
78
78
|
|
|
79
|
+
# The API-version that was invoked when creating the task.
|
|
80
|
+
attr_accessor :pulp_api_version
|
|
81
|
+
|
|
79
82
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
80
83
|
def self.attribute_map
|
|
81
84
|
{
|
|
@@ -99,7 +102,8 @@ module PulpcoreClient
|
|
|
99
102
|
:'created_resources' => :'created_resources',
|
|
100
103
|
:'created_resource_prns' => :'created_resource_prns',
|
|
101
104
|
:'reserved_resources_record' => :'reserved_resources_record',
|
|
102
|
-
:'result' => :'result'
|
|
105
|
+
:'result' => :'result',
|
|
106
|
+
:'pulp_api_version' => :'pulp_api_version'
|
|
103
107
|
}
|
|
104
108
|
end
|
|
105
109
|
|
|
@@ -131,7 +135,8 @@ module PulpcoreClient
|
|
|
131
135
|
:'created_resources' => :'Array<String>',
|
|
132
136
|
:'created_resource_prns' => :'Array<String>',
|
|
133
137
|
:'reserved_resources_record' => :'Array<String>',
|
|
134
|
-
:'result' => :'Object'
|
|
138
|
+
:'result' => :'Object',
|
|
139
|
+
:'pulp_api_version' => :'String'
|
|
135
140
|
}
|
|
136
141
|
end
|
|
137
142
|
|
|
@@ -140,7 +145,7 @@ module PulpcoreClient
|
|
|
140
145
|
Set.new([
|
|
141
146
|
:'created_by',
|
|
142
147
|
:'worker',
|
|
143
|
-
:'result'
|
|
148
|
+
:'result',
|
|
144
149
|
])
|
|
145
150
|
end
|
|
146
151
|
|
|
@@ -256,6 +261,12 @@ module PulpcoreClient
|
|
|
256
261
|
if attributes.key?(:'result')
|
|
257
262
|
self.result = attributes[:'result']
|
|
258
263
|
end
|
|
264
|
+
|
|
265
|
+
if attributes.key?(:'pulp_api_version')
|
|
266
|
+
self.pulp_api_version = attributes[:'pulp_api_version']
|
|
267
|
+
else
|
|
268
|
+
self.pulp_api_version = 'v3'
|
|
269
|
+
end
|
|
259
270
|
end
|
|
260
271
|
|
|
261
272
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -308,7 +319,8 @@ module PulpcoreClient
|
|
|
308
319
|
created_resources == o.created_resources &&
|
|
309
320
|
created_resource_prns == o.created_resource_prns &&
|
|
310
321
|
reserved_resources_record == o.reserved_resources_record &&
|
|
311
|
-
result == o.result
|
|
322
|
+
result == o.result &&
|
|
323
|
+
pulp_api_version == o.pulp_api_version
|
|
312
324
|
end
|
|
313
325
|
|
|
314
326
|
# @see the `==` method
|
|
@@ -320,7 +332,7 @@ module PulpcoreClient
|
|
|
320
332
|
# Calculates hash code according to all attributes.
|
|
321
333
|
# @return [Integer] Hash code
|
|
322
334
|
def hash
|
|
323
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, state, name, logging_cid, created_by, unblocked_at, started_at, finished_at, error, worker, parent_task, child_tasks, task_group, progress_reports, created_resources, created_resource_prns, reserved_resources_record, result].hash
|
|
335
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, state, name, logging_cid, created_by, unblocked_at, started_at, finished_at, error, worker, parent_task, child_tasks, task_group, progress_reports, created_resources, created_resource_prns, reserved_resources_record, result, pulp_api_version].hash
|
|
324
336
|
end
|
|
325
337
|
|
|
326
338
|
# Builds the object from hash
|
data/lib/pulpcore_client.rb
CHANGED
|
@@ -31,7 +31,6 @@ require 'pulpcore_client/models/content_redirect_content_guard_response'
|
|
|
31
31
|
require 'pulpcore_client/models/content_settings_response'
|
|
32
32
|
require 'pulpcore_client/models/content_summary_response'
|
|
33
33
|
require 'pulpcore_client/models/data_repair7272'
|
|
34
|
-
require 'pulpcore_client/models/data_repair7465'
|
|
35
34
|
require 'pulpcore_client/models/database_connection_response'
|
|
36
35
|
require 'pulpcore_client/models/distribution_response'
|
|
37
36
|
require 'pulpcore_client/models/domain'
|
|
@@ -213,7 +212,6 @@ require 'pulpcore_client/api/contentguards_content_redirect_api'
|
|
|
213
212
|
require 'pulpcore_client/api/contentguards_header_api'
|
|
214
213
|
require 'pulpcore_client/api/contentguards_rbac_api'
|
|
215
214
|
require 'pulpcore_client/api/datarepair7272_api'
|
|
216
|
-
require 'pulpcore_client/api/datarepair7465_api'
|
|
217
215
|
require 'pulpcore_client/api/distributions_api'
|
|
218
216
|
require 'pulpcore_client/api/distributions_artifacts_api'
|
|
219
217
|
require 'pulpcore_client/api/distributions_openpgp_api'
|
data/spec/api/tasks_api_spec.rb
CHANGED
|
@@ -83,7 +83,7 @@ describe 'TasksApi' do
|
|
|
83
83
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
84
84
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
|
85
85
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
86
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
86
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pulp_api_version` - Pulp api version * `-pulp_api_version` - Pulp api version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
87
87
|
# @option opts [String] :parent_task
|
|
88
88
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
89
89
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
|
@@ -27,79 +27,79 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "base_path"' 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 "no_content_change_since"' 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 "content_guard"' 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 "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
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "pulp_labels"' 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 "content_guard_prn"' 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_url"' 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
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
describe 'test attribute "
|
|
96
|
+
describe 'test attribute "prn"' 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
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
describe 'test attribute "
|
|
102
|
+
describe 'test attribute "repository_version"' do
|
|
103
103
|
it 'should work' do
|
|
104
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
105
|
end
|
|
@@ -51,6 +51,12 @@ describe PulpcoreClient::MinimalTaskResponse do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
describe 'test attribute "pulp_api_version"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
54
60
|
describe 'test attribute "name"' do
|
|
55
61
|
it 'should work' do
|
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -153,4 +153,10 @@ describe PulpcoreClient::TaskResponse do
|
|
|
153
153
|
end
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
+
describe 'test attribute "pulp_api_version"' do
|
|
157
|
+
it 'should work' do
|
|
158
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
|
|
156
162
|
end
|