autosde_openapi_client 1.1.32 → 1.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.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -7
  3. data/docs/CeleryConfig.md +20 -0
  4. data/docs/CeleryConfigApi.md +140 -0
  5. data/docs/Event.md +4 -0
  6. data/docs/EventApi.md +16 -16
  7. data/docs/EventResponse.md +36 -0
  8. data/docs/Job.md +2 -0
  9. data/docs/JobApi.md +136 -0
  10. data/docs/JobCreate.md +2 -2
  11. data/docs/RefreshSystem.md +18 -0
  12. data/docs/RefreshSystemApi.md +75 -0
  13. data/docs/{StorageHostVolumeMapping.md → StorageHostsMapping.md} +2 -2
  14. data/docs/{StorageHostVolumeMappingApi.md → StorageHostsMappingApi.md} +37 -37
  15. data/docs/{StorageHostVolumeMappingCreate.md → StorageHostsMappingCreate.md} +2 -2
  16. data/docs/{StorageHostVolumeMappingResponse.md → StorageHostsMappingResponse.md} +2 -2
  17. data/docs/StorageSystem.md +2 -2
  18. data/docs/StorageSystemCreate.md +4 -4
  19. data/lib/autosde_openapi_client/api/celery_config_api.rb +136 -0
  20. data/lib/autosde_openapi_client/api/event_api.rb +12 -12
  21. data/lib/autosde_openapi_client/api/job_api.rb +118 -0
  22. data/lib/autosde_openapi_client/api/refresh_system_api.rb +83 -0
  23. data/lib/autosde_openapi_client/api/{storage_host_volume_mapping_api.rb → storage_hosts_mapping_api.rb} +36 -36
  24. data/lib/autosde_openapi_client/models/celery_config.rb +230 -0
  25. data/lib/autosde_openapi_client/models/event.rb +22 -2
  26. data/lib/autosde_openapi_client/models/event_response.rb +310 -0
  27. data/lib/autosde_openapi_client/models/job.rb +11 -1
  28. data/lib/autosde_openapi_client/models/job_create.rb +8 -8
  29. data/lib/autosde_openapi_client/models/refresh_system.rb +220 -0
  30. data/lib/autosde_openapi_client/models/{storage_host_volume_mapping.rb → storage_hosts_mapping.rb} +4 -4
  31. data/lib/autosde_openapi_client/models/{storage_host_volume_mapping_create.rb → storage_hosts_mapping_create.rb} +3 -3
  32. data/lib/autosde_openapi_client/models/{storage_host_volume_mapping_response.rb → storage_hosts_mapping_response.rb} +3 -3
  33. data/lib/autosde_openapi_client/models/storage_system.rb +9 -9
  34. data/lib/autosde_openapi_client/models/storage_system_create.rb +21 -21
  35. data/lib/autosde_openapi_client/version.rb +2 -2
  36. data/lib/autosde_openapi_client.rb +9 -4
  37. data/spec/api/celery_config_api_spec.rb +54 -0
  38. data/spec/api/event_api_spec.rb +4 -4
  39. data/spec/api/job_api_spec.rb +20 -0
  40. data/spec/api/refresh_system_api_spec.rb +45 -0
  41. data/spec/api/{storage_host_volume_mapping_api_spec.rb → storage_hosts_mapping_api_spec.rb} +11 -11
  42. data/spec/models/celery_config_spec.rb +40 -0
  43. data/spec/models/event_response_spec.rb +88 -0
  44. data/spec/models/event_spec.rb +12 -0
  45. data/spec/models/job_create_spec.rb +1 -1
  46. data/spec/models/job_spec.rb +6 -0
  47. data/spec/models/refresh_system_spec.rb +34 -0
  48. data/spec/models/{storage_host_volume_mapping_create_spec.rb → storage_hosts_mapping_create_spec.rb} +6 -6
  49. data/spec/models/{storage_host_volume_mapping_response_spec.rb → storage_hosts_mapping_response_spec.rb} +6 -6
  50. data/spec/models/{storage_host_volume_mapping_spec.rb → storage_hosts_mapping_spec.rb} +6 -6
  51. data/spec/models/storage_system_create_spec.rb +7 -7
  52. data/spec/models/storage_system_spec.rb +1 -1
  53. metadata +38 -18
@@ -0,0 +1,75 @@
1
+ # AutosdeOpenapiClient::RefreshSystemApi
2
+
3
+ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**refresh_system_post**](RefreshSystemApi.md#refresh_system_post) | **POST** /refresh-system | |
8
+
9
+
10
+ ## refresh_system_post
11
+
12
+ > <RefreshSystem> refresh_system_post(refresh_system)
13
+
14
+
15
+
16
+ ### Examples
17
+
18
+ ```ruby
19
+ require 'time'
20
+ require 'autosde_openapi_client'
21
+ # setup authorization
22
+ AutosdeOpenapiClient.configure do |config|
23
+ # Configure Bearer authorization: bearerAuth
24
+ config.access_token = 'YOUR_BEARER_TOKEN'
25
+ end
26
+
27
+ api_instance = AutosdeOpenapiClient::RefreshSystemApi.new
28
+ refresh_system = AutosdeOpenapiClient::RefreshSystem.new # RefreshSystem |
29
+
30
+ begin
31
+
32
+ result = api_instance.refresh_system_post(refresh_system)
33
+ p result
34
+ rescue AutosdeOpenapiClient::ApiError => e
35
+ puts "Error when calling RefreshSystemApi->refresh_system_post: #{e}"
36
+ end
37
+ ```
38
+
39
+ #### Using the refresh_system_post_with_http_info variant
40
+
41
+ This returns an Array which contains the response data, status code and headers.
42
+
43
+ > <Array(<RefreshSystem>, Integer, Hash)> refresh_system_post_with_http_info(refresh_system)
44
+
45
+ ```ruby
46
+ begin
47
+
48
+ data, status_code, headers = api_instance.refresh_system_post_with_http_info(refresh_system)
49
+ p status_code # => 2xx
50
+ p headers # => { ... }
51
+ p data # => <RefreshSystem>
52
+ rescue AutosdeOpenapiClient::ApiError => e
53
+ puts "Error when calling RefreshSystemApi->refresh_system_post_with_http_info: #{e}"
54
+ end
55
+ ```
56
+
57
+ ### Parameters
58
+
59
+ | Name | Type | Description | Notes |
60
+ | ---- | ---- | ----------- | ----- |
61
+ | **refresh_system** | [**RefreshSystem**](RefreshSystem.md) | | |
62
+
63
+ ### Return type
64
+
65
+ [**RefreshSystem**](RefreshSystem.md)
66
+
67
+ ### Authorization
68
+
69
+ [bearerAuth](../README.md#bearerAuth)
70
+
71
+ ### HTTP request headers
72
+
73
+ - **Content-Type**: application/json
74
+ - **Accept**: */*
75
+
@@ -1,4 +1,4 @@
1
- # AutosdeOpenapiClient::StorageHostVolumeMapping
1
+ # AutosdeOpenapiClient::StorageHostsMapping
2
2
 
3
3
  ## Properties
4
4
 
@@ -15,7 +15,7 @@
15
15
  ```ruby
16
16
  require 'autosde_openapi_client'
17
17
 
18
- instance = AutosdeOpenapiClient::StorageHostVolumeMapping.new(
18
+ instance = AutosdeOpenapiClient::StorageHostsMapping.new(
19
19
  component_state: null,
20
20
  host: null,
21
21
  lun: null,
@@ -1,18 +1,18 @@
1
- # AutosdeOpenapiClient::StorageHostVolumeMappingApi
1
+ # AutosdeOpenapiClient::StorageHostsMappingApi
2
2
 
3
3
  All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**storage_hosts_mapping_get**](StorageHostVolumeMappingApi.md#storage_hosts_mapping_get) | **GET** /storage-hosts-mapping | |
8
- | [**storage_hosts_mapping_pk_delete**](StorageHostVolumeMappingApi.md#storage_hosts_mapping_pk_delete) | **DELETE** /storage-hosts-mapping/{pk} | |
9
- | [**storage_hosts_mapping_pk_get**](StorageHostVolumeMappingApi.md#storage_hosts_mapping_pk_get) | **GET** /storage-hosts-mapping/{pk} | |
10
- | [**storage_hosts_mapping_post**](StorageHostVolumeMappingApi.md#storage_hosts_mapping_post) | **POST** /storage-hosts-mapping | |
7
+ | [**storage_hosts_mapping_get**](StorageHostsMappingApi.md#storage_hosts_mapping_get) | **GET** /storage-hosts-mapping | |
8
+ | [**storage_hosts_mapping_pk_delete**](StorageHostsMappingApi.md#storage_hosts_mapping_pk_delete) | **DELETE** /storage-hosts-mapping/{pk} | |
9
+ | [**storage_hosts_mapping_pk_get**](StorageHostsMappingApi.md#storage_hosts_mapping_pk_get) | **GET** /storage-hosts-mapping/{pk} | |
10
+ | [**storage_hosts_mapping_post**](StorageHostsMappingApi.md#storage_hosts_mapping_post) | **POST** /storage-hosts-mapping | |
11
11
 
12
12
 
13
13
  ## storage_hosts_mapping_get
14
14
 
15
- > <Array<StorageHostVolumeMappingResponse>> storage_hosts_mapping_get
15
+ > <Array<StorageHostsMappingResponse>> storage_hosts_mapping_get
16
16
 
17
17
 
18
18
 
@@ -27,14 +27,14 @@ AutosdeOpenapiClient.configure do |config|
27
27
  config.access_token = 'YOUR_BEARER_TOKEN'
28
28
  end
29
29
 
30
- api_instance = AutosdeOpenapiClient::StorageHostVolumeMappingApi.new
30
+ api_instance = AutosdeOpenapiClient::StorageHostsMappingApi.new
31
31
 
32
32
  begin
33
33
 
34
34
  result = api_instance.storage_hosts_mapping_get
35
35
  p result
36
36
  rescue AutosdeOpenapiClient::ApiError => e
37
- puts "Error when calling StorageHostVolumeMappingApi->storage_hosts_mapping_get: #{e}"
37
+ puts "Error when calling StorageHostsMappingApi->storage_hosts_mapping_get: #{e}"
38
38
  end
39
39
  ```
40
40
 
@@ -42,7 +42,7 @@ end
42
42
 
43
43
  This returns an Array which contains the response data, status code and headers.
44
44
 
45
- > <Array(<Array<StorageHostVolumeMappingResponse>>, Integer, Hash)> storage_hosts_mapping_get_with_http_info
45
+ > <Array(<Array<StorageHostsMappingResponse>>, Integer, Hash)> storage_hosts_mapping_get_with_http_info
46
46
 
47
47
  ```ruby
48
48
  begin
@@ -50,9 +50,9 @@ begin
50
50
  data, status_code, headers = api_instance.storage_hosts_mapping_get_with_http_info
51
51
  p status_code # => 2xx
52
52
  p headers # => { ... }
53
- p data # => <Array<StorageHostVolumeMappingResponse>>
53
+ p data # => <Array<StorageHostsMappingResponse>>
54
54
  rescue AutosdeOpenapiClient::ApiError => e
55
- puts "Error when calling StorageHostVolumeMappingApi->storage_hosts_mapping_get_with_http_info: #{e}"
55
+ puts "Error when calling StorageHostsMappingApi->storage_hosts_mapping_get_with_http_info: #{e}"
56
56
  end
57
57
  ```
58
58
 
@@ -62,7 +62,7 @@ This endpoint does not need any parameter.
62
62
 
63
63
  ### Return type
64
64
 
65
- [**Array&lt;StorageHostVolumeMappingResponse&gt;**](StorageHostVolumeMappingResponse.md)
65
+ [**Array&lt;StorageHostsMappingResponse&gt;**](StorageHostsMappingResponse.md)
66
66
 
67
67
  ### Authorization
68
68
 
@@ -76,7 +76,7 @@ This endpoint does not need any parameter.
76
76
 
77
77
  ## storage_hosts_mapping_pk_delete
78
78
 
79
- > <Array<StorageHostVolumeMappingResponse>> storage_hosts_mapping_pk_delete(pk)
79
+ > <Array<StorageHostsMappingResponse>> storage_hosts_mapping_pk_delete(pk)
80
80
 
81
81
 
82
82
 
@@ -91,7 +91,7 @@ AutosdeOpenapiClient.configure do |config|
91
91
  config.access_token = 'YOUR_BEARER_TOKEN'
92
92
  end
93
93
 
94
- api_instance = AutosdeOpenapiClient::StorageHostVolumeMappingApi.new
94
+ api_instance = AutosdeOpenapiClient::StorageHostsMappingApi.new
95
95
  pk = 56 # Integer |
96
96
 
97
97
  begin
@@ -99,7 +99,7 @@ begin
99
99
  result = api_instance.storage_hosts_mapping_pk_delete(pk)
100
100
  p result
101
101
  rescue AutosdeOpenapiClient::ApiError => e
102
- puts "Error when calling StorageHostVolumeMappingApi->storage_hosts_mapping_pk_delete: #{e}"
102
+ puts "Error when calling StorageHostsMappingApi->storage_hosts_mapping_pk_delete: #{e}"
103
103
  end
104
104
  ```
105
105
 
@@ -107,7 +107,7 @@ end
107
107
 
108
108
  This returns an Array which contains the response data, status code and headers.
109
109
 
110
- > <Array(<Array<StorageHostVolumeMappingResponse>>, Integer, Hash)> storage_hosts_mapping_pk_delete_with_http_info(pk)
110
+ > <Array(<Array<StorageHostsMappingResponse>>, Integer, Hash)> storage_hosts_mapping_pk_delete_with_http_info(pk)
111
111
 
112
112
  ```ruby
113
113
  begin
@@ -115,9 +115,9 @@ begin
115
115
  data, status_code, headers = api_instance.storage_hosts_mapping_pk_delete_with_http_info(pk)
116
116
  p status_code # => 2xx
117
117
  p headers # => { ... }
118
- p data # => <Array<StorageHostVolumeMappingResponse>>
118
+ p data # => <Array<StorageHostsMappingResponse>>
119
119
  rescue AutosdeOpenapiClient::ApiError => e
120
- puts "Error when calling StorageHostVolumeMappingApi->storage_hosts_mapping_pk_delete_with_http_info: #{e}"
120
+ puts "Error when calling StorageHostsMappingApi->storage_hosts_mapping_pk_delete_with_http_info: #{e}"
121
121
  end
122
122
  ```
123
123
 
@@ -129,7 +129,7 @@ end
129
129
 
130
130
  ### Return type
131
131
 
132
- [**Array&lt;StorageHostVolumeMappingResponse&gt;**](StorageHostVolumeMappingResponse.md)
132
+ [**Array&lt;StorageHostsMappingResponse&gt;**](StorageHostsMappingResponse.md)
133
133
 
134
134
  ### Authorization
135
135
 
@@ -143,7 +143,7 @@ end
143
143
 
144
144
  ## storage_hosts_mapping_pk_get
145
145
 
146
- > <Array<StorageHostVolumeMappingResponse>> storage_hosts_mapping_pk_get(pk)
146
+ > <Array<StorageHostsMappingResponse>> storage_hosts_mapping_pk_get(pk)
147
147
 
148
148
 
149
149
 
@@ -158,7 +158,7 @@ AutosdeOpenapiClient.configure do |config|
158
158
  config.access_token = 'YOUR_BEARER_TOKEN'
159
159
  end
160
160
 
161
- api_instance = AutosdeOpenapiClient::StorageHostVolumeMappingApi.new
161
+ api_instance = AutosdeOpenapiClient::StorageHostsMappingApi.new
162
162
  pk = 56 # Integer |
163
163
 
164
164
  begin
@@ -166,7 +166,7 @@ begin
166
166
  result = api_instance.storage_hosts_mapping_pk_get(pk)
167
167
  p result
168
168
  rescue AutosdeOpenapiClient::ApiError => e
169
- puts "Error when calling StorageHostVolumeMappingApi->storage_hosts_mapping_pk_get: #{e}"
169
+ puts "Error when calling StorageHostsMappingApi->storage_hosts_mapping_pk_get: #{e}"
170
170
  end
171
171
  ```
172
172
 
@@ -174,7 +174,7 @@ end
174
174
 
175
175
  This returns an Array which contains the response data, status code and headers.
176
176
 
177
- > <Array(<Array<StorageHostVolumeMappingResponse>>, Integer, Hash)> storage_hosts_mapping_pk_get_with_http_info(pk)
177
+ > <Array(<Array<StorageHostsMappingResponse>>, Integer, Hash)> storage_hosts_mapping_pk_get_with_http_info(pk)
178
178
 
179
179
  ```ruby
180
180
  begin
@@ -182,9 +182,9 @@ begin
182
182
  data, status_code, headers = api_instance.storage_hosts_mapping_pk_get_with_http_info(pk)
183
183
  p status_code # => 2xx
184
184
  p headers # => { ... }
185
- p data # => <Array<StorageHostVolumeMappingResponse>>
185
+ p data # => <Array<StorageHostsMappingResponse>>
186
186
  rescue AutosdeOpenapiClient::ApiError => e
187
- puts "Error when calling StorageHostVolumeMappingApi->storage_hosts_mapping_pk_get_with_http_info: #{e}"
187
+ puts "Error when calling StorageHostsMappingApi->storage_hosts_mapping_pk_get_with_http_info: #{e}"
188
188
  end
189
189
  ```
190
190
 
@@ -196,7 +196,7 @@ end
196
196
 
197
197
  ### Return type
198
198
 
199
- [**Array&lt;StorageHostVolumeMappingResponse&gt;**](StorageHostVolumeMappingResponse.md)
199
+ [**Array&lt;StorageHostsMappingResponse&gt;**](StorageHostsMappingResponse.md)
200
200
 
201
201
  ### Authorization
202
202
 
@@ -210,7 +210,7 @@ end
210
210
 
211
211
  ## storage_hosts_mapping_post
212
212
 
213
- > <StorageHostVolumeMapping> storage_hosts_mapping_post(storage_host_volume_mapping_create)
213
+ > <StorageHostsMapping> storage_hosts_mapping_post(storage_hosts_mapping_create)
214
214
 
215
215
 
216
216
 
@@ -225,15 +225,15 @@ AutosdeOpenapiClient.configure do |config|
225
225
  config.access_token = 'YOUR_BEARER_TOKEN'
226
226
  end
227
227
 
228
- api_instance = AutosdeOpenapiClient::StorageHostVolumeMappingApi.new
229
- storage_host_volume_mapping_create = AutosdeOpenapiClient::StorageHostVolumeMappingCreate.new # StorageHostVolumeMappingCreate |
228
+ api_instance = AutosdeOpenapiClient::StorageHostsMappingApi.new
229
+ storage_hosts_mapping_create = AutosdeOpenapiClient::StorageHostsMappingCreate.new # StorageHostsMappingCreate |
230
230
 
231
231
  begin
232
232
 
233
- result = api_instance.storage_hosts_mapping_post(storage_host_volume_mapping_create)
233
+ result = api_instance.storage_hosts_mapping_post(storage_hosts_mapping_create)
234
234
  p result
235
235
  rescue AutosdeOpenapiClient::ApiError => e
236
- puts "Error when calling StorageHostVolumeMappingApi->storage_hosts_mapping_post: #{e}"
236
+ puts "Error when calling StorageHostsMappingApi->storage_hosts_mapping_post: #{e}"
237
237
  end
238
238
  ```
239
239
 
@@ -241,17 +241,17 @@ end
241
241
 
242
242
  This returns an Array which contains the response data, status code and headers.
243
243
 
244
- > <Array(<StorageHostVolumeMapping>, Integer, Hash)> storage_hosts_mapping_post_with_http_info(storage_host_volume_mapping_create)
244
+ > <Array(<StorageHostsMapping>, Integer, Hash)> storage_hosts_mapping_post_with_http_info(storage_hosts_mapping_create)
245
245
 
246
246
  ```ruby
247
247
  begin
248
248
 
249
- data, status_code, headers = api_instance.storage_hosts_mapping_post_with_http_info(storage_host_volume_mapping_create)
249
+ data, status_code, headers = api_instance.storage_hosts_mapping_post_with_http_info(storage_hosts_mapping_create)
250
250
  p status_code # => 2xx
251
251
  p headers # => { ... }
252
- p data # => <StorageHostVolumeMapping>
252
+ p data # => <StorageHostsMapping>
253
253
  rescue AutosdeOpenapiClient::ApiError => e
254
- puts "Error when calling StorageHostVolumeMappingApi->storage_hosts_mapping_post_with_http_info: #{e}"
254
+ puts "Error when calling StorageHostsMappingApi->storage_hosts_mapping_post_with_http_info: #{e}"
255
255
  end
256
256
  ```
257
257
 
@@ -259,11 +259,11 @@ end
259
259
 
260
260
  | Name | Type | Description | Notes |
261
261
  | ---- | ---- | ----------- | ----- |
262
- | **storage_host_volume_mapping_create** | [**StorageHostVolumeMappingCreate**](StorageHostVolumeMappingCreate.md) | | |
262
+ | **storage_hosts_mapping_create** | [**StorageHostsMappingCreate**](StorageHostsMappingCreate.md) | | |
263
263
 
264
264
  ### Return type
265
265
 
266
- [**StorageHostVolumeMapping**](StorageHostVolumeMapping.md)
266
+ [**StorageHostsMapping**](StorageHostsMapping.md)
267
267
 
268
268
  ### Authorization
269
269
 
@@ -1,4 +1,4 @@
1
- # AutosdeOpenapiClient::StorageHostVolumeMappingCreate
1
+ # AutosdeOpenapiClient::StorageHostsMappingCreate
2
2
 
3
3
  ## Properties
4
4
 
@@ -14,7 +14,7 @@
14
14
  ```ruby
15
15
  require 'autosde_openapi_client'
16
16
 
17
- instance = AutosdeOpenapiClient::StorageHostVolumeMappingCreate.new(
17
+ instance = AutosdeOpenapiClient::StorageHostsMappingCreate.new(
18
18
  component_state: null,
19
19
  host: null,
20
20
  lun: null,
@@ -1,4 +1,4 @@
1
- # AutosdeOpenapiClient::StorageHostVolumeMappingResponse
1
+ # AutosdeOpenapiClient::StorageHostsMappingResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -15,7 +15,7 @@
15
15
  ```ruby
16
16
  require 'autosde_openapi_client'
17
17
 
18
- instance = AutosdeOpenapiClient::StorageHostVolumeMappingResponse.new(
18
+ instance = AutosdeOpenapiClient::StorageHostsMappingResponse.new(
19
19
  component_state: null,
20
20
  host: null,
21
21
  lun: null,
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **auto_add_pools** | **Boolean** | auto_add_pools | [optional][default to false] |
7
+ | **auto_refresh** | **Boolean** | auto_refresh | [optional][default to true] |
8
8
  | **component_state** | **String** | component_state | [optional] |
9
9
  | **management_ip** | **String** | management_ip | [optional] |
10
10
  | **name** | **String** | name | [optional] |
@@ -20,7 +20,7 @@
20
20
  require 'autosde_openapi_client'
21
21
 
22
22
  instance = AutosdeOpenapiClient::StorageSystem.new(
23
- auto_add_pools: null,
23
+ auto_refresh: null,
24
24
  component_state: null,
25
25
  management_ip: null,
26
26
  name: null,
@@ -4,11 +4,11 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **auto_add_pools** | **Boolean** | auto_add_pools | [optional][default to false] |
8
- | **auto_setup** | **Boolean** | auto_setup | [optional][default to false] |
7
+ | **auto_refresh** | **Boolean** | auto_refresh | [optional][default to true] |
9
8
  | **chap_name** | **String** | chap_name | [optional] |
10
9
  | **chap_secret** | **String** | chap_secret | [optional] |
11
10
  | **component_state** | **String** | component_state | [optional] |
11
+ | **initial_refresh** | **Boolean** | initial_refresh | [optional][default to true] |
12
12
  | **iqn** | **String** | | [optional] |
13
13
  | **management_ip** | **String** | management_ip | [optional] |
14
14
  | **name** | **String** | name | [optional] |
@@ -29,11 +29,11 @@
29
29
  require 'autosde_openapi_client'
30
30
 
31
31
  instance = AutosdeOpenapiClient::StorageSystemCreate.new(
32
- auto_add_pools: null,
33
- auto_setup: null,
32
+ auto_refresh: null,
34
33
  chap_name: null,
35
34
  chap_secret: null,
36
35
  component_state: null,
36
+ initial_refresh: null,
37
37
  iqn: null,
38
38
  management_ip: null,
39
39
  name: null,
@@ -0,0 +1,136 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module AutosdeOpenapiClient
16
+ class CeleryConfigApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # @param [Hash] opts the optional parameters
23
+ # @return [Array<CeleryConfig>]
24
+ def celery_config_get(opts = {})
25
+ data, _status_code, _headers = celery_config_get_with_http_info(opts)
26
+ data
27
+ end
28
+
29
+ # @param [Hash] opts the optional parameters
30
+ # @return [Array<(Array<CeleryConfig>, Integer, Hash)>] Array<CeleryConfig> data, response status code and response headers
31
+ def celery_config_get_with_http_info(opts = {})
32
+ if @api_client.config.debugging
33
+ @api_client.config.logger.debug 'Calling API: CeleryConfigApi.celery_config_get ...'
34
+ end
35
+ # resource path
36
+ local_var_path = '/celery-config'
37
+
38
+ # query parameters
39
+ query_params = opts[:query_params] || {}
40
+
41
+ # header parameters
42
+ header_params = opts[:header_params] || {}
43
+ # HTTP header 'Accept' (if needed)
44
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
45
+
46
+ # form parameters
47
+ form_params = opts[:form_params] || {}
48
+
49
+ # http body (model)
50
+ post_body = opts[:debug_body]
51
+
52
+ # return_type
53
+ return_type = opts[:debug_return_type] || 'Array<CeleryConfig>'
54
+
55
+ # auth_names
56
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
57
+
58
+ new_options = opts.merge(
59
+ :operation => :"CeleryConfigApi.celery_config_get",
60
+ :header_params => header_params,
61
+ :query_params => query_params,
62
+ :form_params => form_params,
63
+ :body => post_body,
64
+ :auth_names => auth_names,
65
+ :return_type => return_type
66
+ )
67
+
68
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
69
+ if @api_client.config.debugging
70
+ @api_client.config.logger.debug "API called: CeleryConfigApi#celery_config_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
71
+ end
72
+ return data, status_code, headers
73
+ end
74
+
75
+ # @param celery_config [CeleryConfig]
76
+ # @param [Hash] opts the optional parameters
77
+ # @return [CeleryConfig]
78
+ def celery_config_post(celery_config, opts = {})
79
+ data, _status_code, _headers = celery_config_post_with_http_info(celery_config, opts)
80
+ data
81
+ end
82
+
83
+ # @param celery_config [CeleryConfig]
84
+ # @param [Hash] opts the optional parameters
85
+ # @return [Array<(CeleryConfig, Integer, Hash)>] CeleryConfig data, response status code and response headers
86
+ def celery_config_post_with_http_info(celery_config, opts = {})
87
+ if @api_client.config.debugging
88
+ @api_client.config.logger.debug 'Calling API: CeleryConfigApi.celery_config_post ...'
89
+ end
90
+ # verify the required parameter 'celery_config' is set
91
+ if @api_client.config.client_side_validation && celery_config.nil?
92
+ fail ArgumentError, "Missing the required parameter 'celery_config' when calling CeleryConfigApi.celery_config_post"
93
+ end
94
+ # resource path
95
+ local_var_path = '/celery-config'
96
+
97
+ # query parameters
98
+ query_params = opts[:query_params] || {}
99
+
100
+ # header parameters
101
+ header_params = opts[:header_params] || {}
102
+ # HTTP header 'Accept' (if needed)
103
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
104
+ # HTTP header 'Content-Type'
105
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
106
+
107
+ # form parameters
108
+ form_params = opts[:form_params] || {}
109
+
110
+ # http body (model)
111
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(celery_config)
112
+
113
+ # return_type
114
+ return_type = opts[:debug_return_type] || 'CeleryConfig'
115
+
116
+ # auth_names
117
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
118
+
119
+ new_options = opts.merge(
120
+ :operation => :"CeleryConfigApi.celery_config_post",
121
+ :header_params => header_params,
122
+ :query_params => query_params,
123
+ :form_params => form_params,
124
+ :body => post_body,
125
+ :auth_names => auth_names,
126
+ :return_type => return_type
127
+ )
128
+
129
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
130
+ if @api_client.config.debugging
131
+ @api_client.config.logger.debug "API called: CeleryConfigApi#celery_config_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
132
+ end
133
+ return data, status_code, headers
134
+ end
135
+ end
136
+ end
@@ -20,14 +20,14 @@ module AutosdeOpenapiClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # @param [Hash] opts the optional parameters
23
- # @return [Array<Event>]
23
+ # @return [Array<EventResponse>]
24
24
  def events_get(opts = {})
25
25
  data, _status_code, _headers = events_get_with_http_info(opts)
26
26
  data
27
27
  end
28
28
 
29
29
  # @param [Hash] opts the optional parameters
30
- # @return [Array<(Array<Event>, Integer, Hash)>] Array<Event> data, response status code and response headers
30
+ # @return [Array<(Array<EventResponse>, Integer, Hash)>] Array<EventResponse> data, response status code and response headers
31
31
  def events_get_with_http_info(opts = {})
32
32
  if @api_client.config.debugging
33
33
  @api_client.config.logger.debug 'Calling API: EventApi.events_get ...'
@@ -50,7 +50,7 @@ module AutosdeOpenapiClient
50
50
  post_body = opts[:debug_body]
51
51
 
52
52
  # return_type
53
- return_type = opts[:debug_return_type] || 'Array<Event>'
53
+ return_type = opts[:debug_return_type] || 'Array<EventResponse>'
54
54
 
55
55
  # auth_names
56
56
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -74,7 +74,7 @@ module AutosdeOpenapiClient
74
74
 
75
75
  # @param pk [Integer]
76
76
  # @param [Hash] opts the optional parameters
77
- # @return [Array<Event>]
77
+ # @return [Array<EventResponse>]
78
78
  def events_pk_delete(pk, opts = {})
79
79
  data, _status_code, _headers = events_pk_delete_with_http_info(pk, opts)
80
80
  data
@@ -82,7 +82,7 @@ module AutosdeOpenapiClient
82
82
 
83
83
  # @param pk [Integer]
84
84
  # @param [Hash] opts the optional parameters
85
- # @return [Array<(Array<Event>, Integer, Hash)>] Array<Event> data, response status code and response headers
85
+ # @return [Array<(Array<EventResponse>, Integer, Hash)>] Array<EventResponse> data, response status code and response headers
86
86
  def events_pk_delete_with_http_info(pk, opts = {})
87
87
  if @api_client.config.debugging
88
88
  @api_client.config.logger.debug 'Calling API: EventApi.events_pk_delete ...'
@@ -109,7 +109,7 @@ module AutosdeOpenapiClient
109
109
  post_body = opts[:debug_body]
110
110
 
111
111
  # return_type
112
- return_type = opts[:debug_return_type] || 'Array<Event>'
112
+ return_type = opts[:debug_return_type] || 'Array<EventResponse>'
113
113
 
114
114
  # auth_names
115
115
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -133,7 +133,7 @@ module AutosdeOpenapiClient
133
133
 
134
134
  # @param pk [Integer]
135
135
  # @param [Hash] opts the optional parameters
136
- # @return [Array<Event>]
136
+ # @return [Array<EventResponse>]
137
137
  def events_pk_get(pk, opts = {})
138
138
  data, _status_code, _headers = events_pk_get_with_http_info(pk, opts)
139
139
  data
@@ -141,7 +141,7 @@ module AutosdeOpenapiClient
141
141
 
142
142
  # @param pk [Integer]
143
143
  # @param [Hash] opts the optional parameters
144
- # @return [Array<(Array<Event>, Integer, Hash)>] Array<Event> data, response status code and response headers
144
+ # @return [Array<(Array<EventResponse>, Integer, Hash)>] Array<EventResponse> data, response status code and response headers
145
145
  def events_pk_get_with_http_info(pk, opts = {})
146
146
  if @api_client.config.debugging
147
147
  @api_client.config.logger.debug 'Calling API: EventApi.events_pk_get ...'
@@ -168,7 +168,7 @@ module AutosdeOpenapiClient
168
168
  post_body = opts[:debug_body]
169
169
 
170
170
  # return_type
171
- return_type = opts[:debug_return_type] || 'Array<Event>'
171
+ return_type = opts[:debug_return_type] || 'Array<EventResponse>'
172
172
 
173
173
  # auth_names
174
174
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -192,7 +192,7 @@ module AutosdeOpenapiClient
192
192
 
193
193
  # @param event [Event]
194
194
  # @param [Hash] opts the optional parameters
195
- # @return [Event]
195
+ # @return [EventResponse]
196
196
  def events_post(event, opts = {})
197
197
  data, _status_code, _headers = events_post_with_http_info(event, opts)
198
198
  data
@@ -200,7 +200,7 @@ module AutosdeOpenapiClient
200
200
 
201
201
  # @param event [Event]
202
202
  # @param [Hash] opts the optional parameters
203
- # @return [Array<(Event, Integer, Hash)>] Event data, response status code and response headers
203
+ # @return [Array<(EventResponse, Integer, Hash)>] EventResponse data, response status code and response headers
204
204
  def events_post_with_http_info(event, opts = {})
205
205
  if @api_client.config.debugging
206
206
  @api_client.config.logger.debug 'Calling API: EventApi.events_post ...'
@@ -229,7 +229,7 @@ module AutosdeOpenapiClient
229
229
  post_body = opts[:debug_body] || @api_client.object_to_http_body(event)
230
230
 
231
231
  # return_type
232
- return_type = opts[:debug_return_type] || 'Event'
232
+ return_type = opts[:debug_return_type] || 'EventResponse'
233
233
 
234
234
  # auth_names
235
235
  auth_names = opts[:debug_auth_names] || ['bearerAuth']