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.
@@ -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
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.114.1'
14
+ VERSION = '3.115.0'
15
15
  end
@@ -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'
@@ -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 * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;unblocked_at&#x60; - Unblocked at * &#x60;-unblocked_at&#x60; - Unblocked at (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;enc_args&#x60; - Enc args * &#x60;-enc_args&#x60; - Enc args (descending) * &#x60;enc_kwargs&#x60; - Enc kwargs * &#x60;-enc_kwargs&#x60; - Enc kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;profile_options&#x60; - Profile options * &#x60;-profile_options&#x60; - Profile options (descending) * &#x60;immediate&#x60; - Immediate * &#x60;-immediate&#x60; - Immediate (descending) * &#x60;deferred&#x60; - Deferred * &#x60;-deferred&#x60; - Deferred (descending) * &#x60;result&#x60; - Result * &#x60;-result&#x60; - Result (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
86
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;unblocked_at&#x60; - Unblocked at * &#x60;-unblocked_at&#x60; - Unblocked at (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;enc_args&#x60; - Enc args * &#x60;-enc_args&#x60; - Enc args (descending) * &#x60;enc_kwargs&#x60; - Enc kwargs * &#x60;-enc_kwargs&#x60; - Enc kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;profile_options&#x60; - Profile options * &#x60;-profile_options&#x60; - Profile options (descending) * &#x60;immediate&#x60; - Immediate * &#x60;-immediate&#x60; - Immediate (descending) * &#x60;deferred&#x60; - Deferred * &#x60;-deferred&#x60; - Deferred (descending) * &#x60;result&#x60; - Result * &#x60;-result&#x60; - Result (descending) * &#x60;pulp_api_version&#x60; - Pulp api version * &#x60;-pulp_api_version&#x60; - Pulp api version (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 "no_content_change_since"' do
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 "pulp_created"' do
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 "pulp_last_updated"' do
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 "pulp_href"' do
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 "hidden"' do
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 "prn"' do
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 "content_guard_prn"' do
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 "base_url"' do
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 "pulp_labels"' do
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 "name"' do
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 "repository_version"' do
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 "content_guard"' do
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 "base_path"' do
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