autosde_openapi_client 1.1.29 → 1.1.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/EventApi.md +6 -6
- data/lib/autosde_openapi_client/api/event_api.rb +9 -9
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/spec/api/event_api_spec.rb +1 -1
- metadata +73 -73
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdda1a478c033cf4f1cb77eefbe72666fcd477d05227da180c3ed5215f3474e7
|
4
|
+
data.tar.gz: 1e9e1704f154f50567e8ac49c82bc8c7f76782c2700a55586c9a31a4a4de9a5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 630ef2164b1e091a799a9370436dd8daca3660f6b65c38a4e061d8cb8dd3f950a379291310652324876af455bffcb04e751cab2639e1e5e45b759e2ace2fe9df
|
7
|
+
data.tar.gz: 17e9b0ff22d9b3d1c0356d1cf8e84dd2e32e1e4f7b929dde2bec37b1c29371eb171e26fe1df0c47bf02302b15351be00d307c0586832d80d7c352df5a7e29da8
|
data/docs/EventApi.md
CHANGED
@@ -210,7 +210,7 @@ end
|
|
210
210
|
|
211
211
|
## events_post
|
212
212
|
|
213
|
-
> <Event> events_post(
|
213
|
+
> <Event> events_post(event_response)
|
214
214
|
|
215
215
|
|
216
216
|
|
@@ -226,11 +226,11 @@ AutosdeOpenapiClient.configure do |config|
|
|
226
226
|
end
|
227
227
|
|
228
228
|
api_instance = AutosdeOpenapiClient::EventApi.new
|
229
|
-
|
229
|
+
event_response = AutosdeOpenapiClient::EventResponse.new # EventResponse |
|
230
230
|
|
231
231
|
begin
|
232
232
|
|
233
|
-
result = api_instance.events_post(
|
233
|
+
result = api_instance.events_post(event_response)
|
234
234
|
p result
|
235
235
|
rescue AutosdeOpenapiClient::ApiError => e
|
236
236
|
puts "Error when calling EventApi->events_post: #{e}"
|
@@ -241,12 +241,12 @@ end
|
|
241
241
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
243
243
|
|
244
|
-
> <Array(<Event>, Integer, Hash)> events_post_with_http_info(
|
244
|
+
> <Array(<Event>, Integer, Hash)> events_post_with_http_info(event_response)
|
245
245
|
|
246
246
|
```ruby
|
247
247
|
begin
|
248
248
|
|
249
|
-
data, status_code, headers = api_instance.events_post_with_http_info(
|
249
|
+
data, status_code, headers = api_instance.events_post_with_http_info(event_response)
|
250
250
|
p status_code # => 2xx
|
251
251
|
p headers # => { ... }
|
252
252
|
p data # => <Event>
|
@@ -259,7 +259,7 @@ end
|
|
259
259
|
|
260
260
|
| Name | Type | Description | Notes |
|
261
261
|
| ---- | ---- | ----------- | ----- |
|
262
|
-
| **
|
262
|
+
| **event_response** | [**EventResponse**](EventResponse.md) | | |
|
263
263
|
|
264
264
|
### Return type
|
265
265
|
|
@@ -190,24 +190,24 @@ module AutosdeOpenapiClient
|
|
190
190
|
return data, status_code, headers
|
191
191
|
end
|
192
192
|
|
193
|
-
# @param
|
193
|
+
# @param event_response [EventResponse]
|
194
194
|
# @param [Hash] opts the optional parameters
|
195
195
|
# @return [Event]
|
196
|
-
def events_post(
|
197
|
-
data, _status_code, _headers = events_post_with_http_info(
|
196
|
+
def events_post(event_response, opts = {})
|
197
|
+
data, _status_code, _headers = events_post_with_http_info(event_response, opts)
|
198
198
|
data
|
199
199
|
end
|
200
200
|
|
201
|
-
# @param
|
201
|
+
# @param event_response [EventResponse]
|
202
202
|
# @param [Hash] opts the optional parameters
|
203
203
|
# @return [Array<(Event, Integer, Hash)>] Event data, response status code and response headers
|
204
|
-
def events_post_with_http_info(
|
204
|
+
def events_post_with_http_info(event_response, opts = {})
|
205
205
|
if @api_client.config.debugging
|
206
206
|
@api_client.config.logger.debug 'Calling API: EventApi.events_post ...'
|
207
207
|
end
|
208
|
-
# verify the required parameter '
|
209
|
-
if @api_client.config.client_side_validation &&
|
210
|
-
fail ArgumentError, "Missing the required parameter '
|
208
|
+
# verify the required parameter 'event_response' is set
|
209
|
+
if @api_client.config.client_side_validation && event_response.nil?
|
210
|
+
fail ArgumentError, "Missing the required parameter 'event_response' when calling EventApi.events_post"
|
211
211
|
end
|
212
212
|
# resource path
|
213
213
|
local_var_path = '/events'
|
@@ -226,7 +226,7 @@ module AutosdeOpenapiClient
|
|
226
226
|
form_params = opts[:form_params] || {}
|
227
227
|
|
228
228
|
# http body (model)
|
229
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
229
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(event_response)
|
230
230
|
|
231
231
|
# return_type
|
232
232
|
return_type = opts[:debug_return_type] || 'Event'
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Site Manager API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.1.
|
6
|
+
The version of the OpenAPI document: 1.1.30
|
7
7
|
Contact: autosde@il.ibm.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.0
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.0.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module AutosdeOpenapiClient
|
14
|
-
VERSION = '1.1.
|
14
|
+
VERSION = '1.1.30'
|
15
15
|
end
|
data/spec/api/event_api_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autosde_openapi_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -383,102 +383,102 @@ signing_key:
|
|
383
383
|
specification_version: 4
|
384
384
|
summary: Site Manager API Ruby Gem
|
385
385
|
test_files:
|
386
|
-
- spec/api/
|
387
|
-
- spec/api/
|
386
|
+
- spec/api/host_volume_connection_api_spec.rb
|
387
|
+
- spec/api/system_type_api_spec.rb
|
388
|
+
- spec/api/snapshot_api_spec.rb
|
389
|
+
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
388
390
|
- spec/api/service_resource_attachment_api_spec.rb
|
389
|
-
- spec/api/
|
391
|
+
- spec/api/abstract_capability_api_spec.rb
|
390
392
|
- spec/api/user_api_spec.rb
|
391
|
-
- spec/api/
|
392
|
-
- spec/api/
|
393
|
-
- spec/api/service_api_spec.rb
|
394
|
-
- spec/api/capability_translation_api_spec.rb
|
393
|
+
- spec/api/volume_safe_delete_api_spec.rb
|
394
|
+
- spec/api/provisioning_strategy_api_spec.rb
|
395
395
|
- spec/api/host_api_spec.rb
|
396
|
+
- spec/api/account_api_spec.rb
|
397
|
+
- spec/api/host_cluster_membership_api_spec.rb
|
396
398
|
- spec/api/storage_system_api_spec.rb
|
397
|
-
- spec/api/
|
398
|
-
- spec/api/
|
399
|
+
- spec/api/storage_host_api_spec.rb
|
400
|
+
- spec/api/job_api_spec.rb
|
401
|
+
- spec/api/capability_translation_api_spec.rb
|
402
|
+
- spec/api/authentication_api_spec.rb
|
403
|
+
- spec/api/storage_resource_api_spec.rb
|
399
404
|
- spec/api/storage_host_volume_mapping_api_spec.rb
|
400
|
-
- spec/api/
|
401
|
-
- spec/api/
|
405
|
+
- spec/api/profile_api_spec.rb
|
406
|
+
- spec/api/service_api_spec.rb
|
402
407
|
- spec/api/celery_config_api_spec.rb
|
408
|
+
- spec/api/auto_sde_role_api_spec.rb
|
409
|
+
- spec/api/host_cluster_api_spec.rb
|
410
|
+
- spec/api/volume_api_spec.rb
|
403
411
|
- spec/api/auto_sde_project_api_spec.rb
|
404
|
-
- spec/api/refresh_system_api_spec.rb
|
405
|
-
- spec/api/host_volume_connection_api_spec.rb
|
406
|
-
- spec/api/storage_host_api_spec.rb
|
407
412
|
- spec/api/event_api_spec.rb
|
408
|
-
- spec/api/
|
409
|
-
- spec/api/
|
410
|
-
- spec/api/snapshot_api_spec.rb
|
411
|
-
- spec/api/auto_sde_role_api_spec.rb
|
412
|
-
- spec/api/profile_api_spec.rb
|
413
|
-
- spec/api/abstract_capability_api_spec.rb
|
413
|
+
- spec/api/address_api_spec.rb
|
414
|
+
- spec/api/native_capability_api_spec.rb
|
414
415
|
- spec/api/validate_system_api_spec.rb
|
415
|
-
- spec/api/job_api_spec.rb
|
416
416
|
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
417
|
-
- spec/api/
|
417
|
+
- spec/api/refresh_system_api_spec.rb
|
418
418
|
- spec/api_client_spec.rb
|
419
419
|
- spec/configuration_spec.rb
|
420
|
-
- spec/models/
|
421
|
-
- spec/models/
|
420
|
+
- spec/models/storage_host_volume_mapping_spec.rb
|
421
|
+
- spec/models/service_resource_attachment_spec.rb
|
422
422
|
- spec/models/user_spec.rb
|
423
|
-
- spec/models/
|
424
|
-
- spec/models/
|
423
|
+
- spec/models/event_response_spec.rb
|
424
|
+
- spec/models/storage_host_spec.rb
|
425
|
+
- spec/models/storage_host_volume_mapping_create_spec.rb
|
426
|
+
- spec/models/refresh_system_spec.rb
|
427
|
+
- spec/models/capability_translation_create_spec.rb
|
428
|
+
- spec/models/system_type_create_spec.rb
|
425
429
|
- spec/models/host_cluster_response_spec.rb
|
426
|
-
- spec/models/
|
430
|
+
- spec/models/host_cluster_spec.rb
|
431
|
+
- spec/models/service_create_spec.rb
|
432
|
+
- spec/models/storage_resource_spec.rb
|
433
|
+
- spec/models/host_spec.rb
|
434
|
+
- spec/models/auth_response_spec.rb
|
427
435
|
- spec/models/job_spec.rb
|
428
|
-
- spec/models/
|
429
|
-
- spec/models/volume_spec.rb
|
430
|
-
- spec/models/service_spec.rb
|
431
|
-
- spec/models/snapshot_create_spec.rb
|
436
|
+
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
432
437
|
- spec/models/volume_create_spec.rb
|
433
|
-
- spec/models/
|
434
|
-
- spec/models/
|
438
|
+
- spec/models/native_capability_spec.rb
|
439
|
+
- spec/models/storage_system_update_spec.rb
|
440
|
+
- spec/models/host_cluster_membership_spec.rb
|
441
|
+
- spec/models/host_cluster_create_spec.rb
|
442
|
+
- spec/models/system_type_spec.rb
|
443
|
+
- spec/models/provisioning_strategy_spec.rb
|
435
444
|
- spec/models/event_spec.rb
|
436
|
-
- spec/models/address_spec.rb
|
437
|
-
- spec/models/storage_host_wwpn_candidates_spec.rb
|
438
445
|
- spec/models/host_volume_connection_spec.rb
|
439
|
-
- spec/models/host_create_spec.rb
|
440
|
-
- spec/models/system_type_spec.rb
|
441
446
|
- spec/models/storage_system_create_spec.rb
|
442
|
-
- spec/models/
|
443
|
-
- spec/models/
|
444
|
-
- spec/models/
|
447
|
+
- spec/models/volume_spec.rb
|
448
|
+
- spec/models/celery_config_spec.rb
|
449
|
+
- spec/models/volume_safe_delete_create_spec.rb
|
450
|
+
- spec/models/service_spec.rb
|
451
|
+
- spec/models/authentication_spec.rb
|
445
452
|
- spec/models/abstract_capability_spec.rb
|
446
|
-
- spec/models/storage_system_update_spec.rb
|
447
|
-
- spec/models/volume_response_spec.rb
|
448
|
-
- spec/models/profile_spec.rb
|
449
|
-
- spec/models/provisioning_strategy_spec.rb
|
450
|
-
- spec/models/host_cluster_create_spec.rb
|
451
|
-
- spec/models/auth_response_spec.rb
|
452
|
-
- spec/models/storage_host_volume_mapping_response_spec.rb
|
453
|
-
- spec/models/storage_host_create_spec.rb
|
454
453
|
- spec/models/storage_host_response_spec.rb
|
455
|
-
- spec/models/
|
456
|
-
- spec/models/
|
457
|
-
- spec/models/
|
454
|
+
- spec/models/account_post_response_spec.rb
|
455
|
+
- spec/models/snapshot_spec.rb
|
456
|
+
- spec/models/user_create_spec.rb
|
458
457
|
- spec/models/storage_system_spec.rb
|
459
|
-
- spec/models/
|
460
|
-
- spec/models/
|
461
|
-
- spec/models/
|
462
|
-
- spec/models/
|
463
|
-
- spec/models/storage_host_volume_mapping_spec.rb
|
464
|
-
- spec/models/authentication_spec.rb
|
458
|
+
- spec/models/account_post_request_spec.rb
|
459
|
+
- spec/models/job_create_spec.rb
|
460
|
+
- spec/models/auto_sde_project_spec.rb
|
461
|
+
- spec/models/storage_host_volume_mapping_response_spec.rb
|
465
462
|
- spec/models/storage_resource_response_spec.rb
|
466
|
-
- spec/models/
|
467
|
-
- spec/models/user_create_spec.rb
|
468
|
-
- spec/models/auto_sde_role_spec.rb
|
469
|
-
- spec/models/service_abstract_capability_value_spec.rb
|
470
|
-
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
463
|
+
- spec/models/account_spec.rb
|
471
464
|
- spec/models/validate_system_spec.rb
|
472
|
-
- spec/models/capability_translation_spec.rb
|
473
465
|
- spec/models/volume_update_spec.rb
|
474
|
-
- spec/models/
|
475
|
-
- spec/models/
|
476
|
-
- spec/models/
|
477
|
-
- spec/models/
|
478
|
-
- spec/models/
|
479
|
-
- spec/models/
|
480
|
-
- spec/models/capability_translation_create_spec.rb
|
466
|
+
- spec/models/profile_spec.rb
|
467
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
468
|
+
- spec/models/capability_translation_spec.rb
|
469
|
+
- spec/models/storage_resource_create_spec.rb
|
470
|
+
- spec/models/address_create_spec.rb
|
471
|
+
- spec/models/storage_host_create_spec.rb
|
481
472
|
- spec/models/volume_safe_delete_spec.rb
|
473
|
+
- spec/models/volume_response_spec.rb
|
474
|
+
- spec/models/host_create_spec.rb
|
482
475
|
- spec/models/storage_host_update_spec.rb
|
483
|
-
- spec/models/
|
476
|
+
- spec/models/user_update_spec.rb
|
477
|
+
- spec/models/address_spec.rb
|
478
|
+
- spec/models/service_abstract_capability_value_spec.rb
|
479
|
+
- spec/models/snapshot_create_spec.rb
|
480
|
+
- spec/models/auto_sde_role_spec.rb
|
481
|
+
- spec/models/host_volume_connection_create_spec.rb
|
482
|
+
- spec/models/storage_host_wwpn_candidates_spec.rb
|
483
|
+
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
484
484
|
- spec/spec_helper.rb
|