autosde_openapi_client 1.1.32 → 1.2

Sign up to get free protection for your applications and to get access to all the features.
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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81ce654f1cb7e894a1af70f72b2c86dfd91e9846d67209760d0692eda31fa637
4
- data.tar.gz: 962ec1b25f2670d2dff27045887da4784bbc9b726c50bb4279720a96b006e9ef
3
+ metadata.gz: f47c68ddb016f46684e36390aeb8e399858401afe680a30bf7f4f57b30adf824
4
+ data.tar.gz: 5431fac40a362fa913bcdfe3a7cbbdd488eca0de5471abbacf89e65b3d958c34
5
5
  SHA512:
6
- metadata.gz: b09f51d0ebfcda30ac2fddc1ca5689b8c43b57192b5c701205f1e0f279cec7c1040ecfd2c8cfe80a5d3881a02983357d0a1e43fbf53a910af94c9158bf129039
7
- data.tar.gz: 11f973063abc72946fd2dfd3fb2d2d6bdff911caca02f946e664264a34f48b6c0a38b582a7d2154af2b1d5a2a756150fab6a012dfe91d4fd8bc44684e0cb35c9
6
+ metadata.gz: e86215e3ba92b1c7f4809936ea2da68e4067324ab296f28b34119c2a2a172a4051fa12d12dbe86d6f021201d5b8e52e3f28a205feabc21e5de18ba555e354c83
7
+ data.tar.gz: 67b8cdb44184c5e164338781ff38149d31d73a78f13cec54aa7debf45e84c805b21c47f881c53811bb00d37ae345217de1a053b05927d51e3f24ec54e7ccb5e6
data/README.md CHANGED
@@ -105,6 +105,8 @@ Class | Method | HTTP request | Description
105
105
  *AutosdeOpenapiClient::CapabilityTranslationApi* | [**capability_translations_pk_delete**](docs/CapabilityTranslationApi.md#capability_translations_pk_delete) | **DELETE** /capability-translations/{pk} |
106
106
  *AutosdeOpenapiClient::CapabilityTranslationApi* | [**capability_translations_pk_get**](docs/CapabilityTranslationApi.md#capability_translations_pk_get) | **GET** /capability-translations/{pk} |
107
107
  *AutosdeOpenapiClient::CapabilityTranslationApi* | [**capability_translations_post**](docs/CapabilityTranslationApi.md#capability_translations_post) | **POST** /capability-translations |
108
+ *AutosdeOpenapiClient::CeleryConfigApi* | [**celery_config_get**](docs/CeleryConfigApi.md#celery_config_get) | **GET** /celery-config |
109
+ *AutosdeOpenapiClient::CeleryConfigApi* | [**celery_config_post**](docs/CeleryConfigApi.md#celery_config_post) | **POST** /celery-config |
108
110
  *AutosdeOpenapiClient::EventApi* | [**events_get**](docs/EventApi.md#events_get) | **GET** /events |
109
111
  *AutosdeOpenapiClient::EventApi* | [**events_pk_delete**](docs/EventApi.md#events_pk_delete) | **DELETE** /events/{pk} |
110
112
  *AutosdeOpenapiClient::EventApi* | [**events_pk_get**](docs/EventApi.md#events_pk_get) | **GET** /events/{pk} |
@@ -130,6 +132,8 @@ Class | Method | HTTP request | Description
130
132
  *AutosdeOpenapiClient::HostVolumeConnectionApi* | [**host_volume_connection_pk_get**](docs/HostVolumeConnectionApi.md#host_volume_connection_pk_get) | **GET** /host-volume-connection/{pk} |
131
133
  *AutosdeOpenapiClient::HostVolumeConnectionApi* | [**host_volume_connection_post**](docs/HostVolumeConnectionApi.md#host_volume_connection_post) | **POST** /host-volume-connection |
132
134
  *AutosdeOpenapiClient::JobApi* | [**jobs_get**](docs/JobApi.md#jobs_get) | **GET** /jobs |
135
+ *AutosdeOpenapiClient::JobApi* | [**jobs_pk_delete**](docs/JobApi.md#jobs_pk_delete) | **DELETE** /jobs/{pk} |
136
+ *AutosdeOpenapiClient::JobApi* | [**jobs_pk_get**](docs/JobApi.md#jobs_pk_get) | **GET** /jobs/{pk} |
133
137
  *AutosdeOpenapiClient::JobApi* | [**jobs_post**](docs/JobApi.md#jobs_post) | **POST** /jobs |
134
138
  *AutosdeOpenapiClient::NativeCapabilityApi* | [**native_capabilities_get**](docs/NativeCapabilityApi.md#native_capabilities_get) | **GET** /native-capabilities |
135
139
  *AutosdeOpenapiClient::NativeCapabilityApi* | [**native_capabilities_pk_delete**](docs/NativeCapabilityApi.md#native_capabilities_pk_delete) | **DELETE** /native-capabilities/{pk} |
@@ -143,6 +147,7 @@ Class | Method | HTTP request | Description
143
147
  *AutosdeOpenapiClient::ProvisioningStrategyApi* | [**provisioning_strategy_pk_delete**](docs/ProvisioningStrategyApi.md#provisioning_strategy_pk_delete) | **DELETE** /provisioning-strategy/{pk} |
144
148
  *AutosdeOpenapiClient::ProvisioningStrategyApi* | [**provisioning_strategy_pk_get**](docs/ProvisioningStrategyApi.md#provisioning_strategy_pk_get) | **GET** /provisioning-strategy/{pk} |
145
149
  *AutosdeOpenapiClient::ProvisioningStrategyApi* | [**provisioning_strategy_post**](docs/ProvisioningStrategyApi.md#provisioning_strategy_post) | **POST** /provisioning-strategy |
150
+ *AutosdeOpenapiClient::RefreshSystemApi* | [**refresh_system_post**](docs/RefreshSystemApi.md#refresh_system_post) | **POST** /refresh-system |
146
151
  *AutosdeOpenapiClient::ServiceApi* | [**services_get**](docs/ServiceApi.md#services_get) | **GET** /services |
147
152
  *AutosdeOpenapiClient::ServiceApi* | [**services_pk_delete**](docs/ServiceApi.md#services_pk_delete) | **DELETE** /services/{pk} |
148
153
  *AutosdeOpenapiClient::ServiceApi* | [**services_pk_get**](docs/ServiceApi.md#services_pk_get) | **GET** /services/{pk} |
@@ -161,11 +166,11 @@ Class | Method | HTTP request | Description
161
166
  *AutosdeOpenapiClient::StorageHostApi* | [**storage_hosts_pk_get**](docs/StorageHostApi.md#storage_hosts_pk_get) | **GET** /storage-hosts/{pk} |
162
167
  *AutosdeOpenapiClient::StorageHostApi* | [**storage_hosts_pk_put**](docs/StorageHostApi.md#storage_hosts_pk_put) | **PUT** /storage-hosts/{pk} |
163
168
  *AutosdeOpenapiClient::StorageHostApi* | [**storage_hosts_post**](docs/StorageHostApi.md#storage_hosts_post) | **POST** /storage-hosts |
164
- *AutosdeOpenapiClient::StorageHostVolumeMappingApi* | [**storage_hosts_mapping_get**](docs/StorageHostVolumeMappingApi.md#storage_hosts_mapping_get) | **GET** /storage-hosts-mapping |
165
- *AutosdeOpenapiClient::StorageHostVolumeMappingApi* | [**storage_hosts_mapping_pk_delete**](docs/StorageHostVolumeMappingApi.md#storage_hosts_mapping_pk_delete) | **DELETE** /storage-hosts-mapping/{pk} |
166
- *AutosdeOpenapiClient::StorageHostVolumeMappingApi* | [**storage_hosts_mapping_pk_get**](docs/StorageHostVolumeMappingApi.md#storage_hosts_mapping_pk_get) | **GET** /storage-hosts-mapping/{pk} |
167
- *AutosdeOpenapiClient::StorageHostVolumeMappingApi* | [**storage_hosts_mapping_post**](docs/StorageHostVolumeMappingApi.md#storage_hosts_mapping_post) | **POST** /storage-hosts-mapping |
168
169
  *AutosdeOpenapiClient::StorageHostWWPNCandidatesApi* | [**storage_hosts_wwpn_candidates_get**](docs/StorageHostWWPNCandidatesApi.md#storage_hosts_wwpn_candidates_get) | **GET** /storage-hosts-wwpn-candidates |
170
+ *AutosdeOpenapiClient::StorageHostsMappingApi* | [**storage_hosts_mapping_get**](docs/StorageHostsMappingApi.md#storage_hosts_mapping_get) | **GET** /storage-hosts-mapping |
171
+ *AutosdeOpenapiClient::StorageHostsMappingApi* | [**storage_hosts_mapping_pk_delete**](docs/StorageHostsMappingApi.md#storage_hosts_mapping_pk_delete) | **DELETE** /storage-hosts-mapping/{pk} |
172
+ *AutosdeOpenapiClient::StorageHostsMappingApi* | [**storage_hosts_mapping_pk_get**](docs/StorageHostsMappingApi.md#storage_hosts_mapping_pk_get) | **GET** /storage-hosts-mapping/{pk} |
173
+ *AutosdeOpenapiClient::StorageHostsMappingApi* | [**storage_hosts_mapping_post**](docs/StorageHostsMappingApi.md#storage_hosts_mapping_post) | **POST** /storage-hosts-mapping |
169
174
  *AutosdeOpenapiClient::StorageResourceApi* | [**storage_resources_get**](docs/StorageResourceApi.md#storage_resources_get) | **GET** /storage-resources |
170
175
  *AutosdeOpenapiClient::StorageResourceApi* | [**storage_resources_pk_delete**](docs/StorageResourceApi.md#storage_resources_pk_delete) | **DELETE** /storage-resources/{pk} |
171
176
  *AutosdeOpenapiClient::StorageResourceApi* | [**storage_resources_pk_get**](docs/StorageResourceApi.md#storage_resources_pk_get) | **GET** /storage-resources/{pk} |
@@ -211,7 +216,9 @@ Class | Method | HTTP request | Description
211
216
  - [AutosdeOpenapiClient::AutoSDERole](docs/AutoSDERole.md)
212
217
  - [AutosdeOpenapiClient::CapabilityTranslation](docs/CapabilityTranslation.md)
213
218
  - [AutosdeOpenapiClient::CapabilityTranslationCreate](docs/CapabilityTranslationCreate.md)
219
+ - [AutosdeOpenapiClient::CeleryConfig](docs/CeleryConfig.md)
214
220
  - [AutosdeOpenapiClient::Event](docs/Event.md)
221
+ - [AutosdeOpenapiClient::EventResponse](docs/EventResponse.md)
215
222
  - [AutosdeOpenapiClient::Host](docs/Host.md)
216
223
  - [AutosdeOpenapiClient::HostCluster](docs/HostCluster.md)
217
224
  - [AutosdeOpenapiClient::HostClusterCreate](docs/HostClusterCreate.md)
@@ -228,6 +235,7 @@ Class | Method | HTTP request | Description
228
235
  - [AutosdeOpenapiClient::NativeCapability](docs/NativeCapability.md)
229
236
  - [AutosdeOpenapiClient::Profile](docs/Profile.md)
230
237
  - [AutosdeOpenapiClient::ProvisioningStrategy](docs/ProvisioningStrategy.md)
238
+ - [AutosdeOpenapiClient::RefreshSystem](docs/RefreshSystem.md)
231
239
  - [AutosdeOpenapiClient::Service](docs/Service.md)
232
240
  - [AutosdeOpenapiClient::ServiceAbstractCapabilityValue](docs/ServiceAbstractCapabilityValue.md)
233
241
  - [AutosdeOpenapiClient::ServiceCreate](docs/ServiceCreate.md)
@@ -238,10 +246,10 @@ Class | Method | HTTP request | Description
238
246
  - [AutosdeOpenapiClient::StorageHostCreate](docs/StorageHostCreate.md)
239
247
  - [AutosdeOpenapiClient::StorageHostResponse](docs/StorageHostResponse.md)
240
248
  - [AutosdeOpenapiClient::StorageHostUpdate](docs/StorageHostUpdate.md)
241
- - [AutosdeOpenapiClient::StorageHostVolumeMapping](docs/StorageHostVolumeMapping.md)
242
- - [AutosdeOpenapiClient::StorageHostVolumeMappingCreate](docs/StorageHostVolumeMappingCreate.md)
243
- - [AutosdeOpenapiClient::StorageHostVolumeMappingResponse](docs/StorageHostVolumeMappingResponse.md)
244
249
  - [AutosdeOpenapiClient::StorageHostWWPNCandidates](docs/StorageHostWWPNCandidates.md)
250
+ - [AutosdeOpenapiClient::StorageHostsMapping](docs/StorageHostsMapping.md)
251
+ - [AutosdeOpenapiClient::StorageHostsMappingCreate](docs/StorageHostsMappingCreate.md)
252
+ - [AutosdeOpenapiClient::StorageHostsMappingResponse](docs/StorageHostsMappingResponse.md)
245
253
  - [AutosdeOpenapiClient::StorageResource](docs/StorageResource.md)
246
254
  - [AutosdeOpenapiClient::StorageResourceCreate](docs/StorageResourceCreate.md)
247
255
  - [AutosdeOpenapiClient::StorageResourceResponse](docs/StorageResourceResponse.md)
@@ -0,0 +1,20 @@
1
+ # AutosdeOpenapiClient::CeleryConfig
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **celery_beat_enabled** | **Boolean** | celery_beat_enabled | [optional] |
8
+ | **interval_sec** | **Integer** | interval_sec | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'autosde_openapi_client'
14
+
15
+ instance = AutosdeOpenapiClient::CeleryConfig.new(
16
+ celery_beat_enabled: null,
17
+ interval_sec: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,140 @@
1
+ # AutosdeOpenapiClient::CeleryConfigApi
2
+
3
+ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**celery_config_get**](CeleryConfigApi.md#celery_config_get) | **GET** /celery-config | |
8
+ | [**celery_config_post**](CeleryConfigApi.md#celery_config_post) | **POST** /celery-config | |
9
+
10
+
11
+ ## celery_config_get
12
+
13
+ > <Array<CeleryConfig>> celery_config_get
14
+
15
+
16
+
17
+ ### Examples
18
+
19
+ ```ruby
20
+ require 'time'
21
+ require 'autosde_openapi_client'
22
+ # setup authorization
23
+ AutosdeOpenapiClient.configure do |config|
24
+ # Configure Bearer authorization: bearerAuth
25
+ config.access_token = 'YOUR_BEARER_TOKEN'
26
+ end
27
+
28
+ api_instance = AutosdeOpenapiClient::CeleryConfigApi.new
29
+
30
+ begin
31
+
32
+ result = api_instance.celery_config_get
33
+ p result
34
+ rescue AutosdeOpenapiClient::ApiError => e
35
+ puts "Error when calling CeleryConfigApi->celery_config_get: #{e}"
36
+ end
37
+ ```
38
+
39
+ #### Using the celery_config_get_with_http_info variant
40
+
41
+ This returns an Array which contains the response data, status code and headers.
42
+
43
+ > <Array(<Array<CeleryConfig>>, Integer, Hash)> celery_config_get_with_http_info
44
+
45
+ ```ruby
46
+ begin
47
+
48
+ data, status_code, headers = api_instance.celery_config_get_with_http_info
49
+ p status_code # => 2xx
50
+ p headers # => { ... }
51
+ p data # => <Array<CeleryConfig>>
52
+ rescue AutosdeOpenapiClient::ApiError => e
53
+ puts "Error when calling CeleryConfigApi->celery_config_get_with_http_info: #{e}"
54
+ end
55
+ ```
56
+
57
+ ### Parameters
58
+
59
+ This endpoint does not need any parameter.
60
+
61
+ ### Return type
62
+
63
+ [**Array&lt;CeleryConfig&gt;**](CeleryConfig.md)
64
+
65
+ ### Authorization
66
+
67
+ [bearerAuth](../README.md#bearerAuth)
68
+
69
+ ### HTTP request headers
70
+
71
+ - **Content-Type**: Not defined
72
+ - **Accept**: */*
73
+
74
+
75
+ ## celery_config_post
76
+
77
+ > <CeleryConfig> celery_config_post(celery_config)
78
+
79
+
80
+
81
+ ### Examples
82
+
83
+ ```ruby
84
+ require 'time'
85
+ require 'autosde_openapi_client'
86
+ # setup authorization
87
+ AutosdeOpenapiClient.configure do |config|
88
+ # Configure Bearer authorization: bearerAuth
89
+ config.access_token = 'YOUR_BEARER_TOKEN'
90
+ end
91
+
92
+ api_instance = AutosdeOpenapiClient::CeleryConfigApi.new
93
+ celery_config = AutosdeOpenapiClient::CeleryConfig.new # CeleryConfig |
94
+
95
+ begin
96
+
97
+ result = api_instance.celery_config_post(celery_config)
98
+ p result
99
+ rescue AutosdeOpenapiClient::ApiError => e
100
+ puts "Error when calling CeleryConfigApi->celery_config_post: #{e}"
101
+ end
102
+ ```
103
+
104
+ #### Using the celery_config_post_with_http_info variant
105
+
106
+ This returns an Array which contains the response data, status code and headers.
107
+
108
+ > <Array(<CeleryConfig>, Integer, Hash)> celery_config_post_with_http_info(celery_config)
109
+
110
+ ```ruby
111
+ begin
112
+
113
+ data, status_code, headers = api_instance.celery_config_post_with_http_info(celery_config)
114
+ p status_code # => 2xx
115
+ p headers # => { ... }
116
+ p data # => <CeleryConfig>
117
+ rescue AutosdeOpenapiClient::ApiError => e
118
+ puts "Error when calling CeleryConfigApi->celery_config_post_with_http_info: #{e}"
119
+ end
120
+ ```
121
+
122
+ ### Parameters
123
+
124
+ | Name | Type | Description | Notes |
125
+ | ---- | ---- | ----------- | ----- |
126
+ | **celery_config** | [**CeleryConfig**](CeleryConfig.md) | | |
127
+
128
+ ### Return type
129
+
130
+ [**CeleryConfig**](CeleryConfig.md)
131
+
132
+ ### Authorization
133
+
134
+ [bearerAuth](../README.md#bearerAuth)
135
+
136
+ ### HTTP request headers
137
+
138
+ - **Content-Type**: application/json
139
+ - **Accept**: */*
140
+
data/docs/Event.md CHANGED
@@ -4,12 +4,14 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **created_at** | **Time** | created_at | [optional] |
7
8
  | **description** | **String** | description | [optional] |
8
9
  | **error_code** | **String** | error_code | [optional] |
9
10
  | **event_id** | **Integer** | event_id | [optional] |
10
11
  | **event_type** | **String** | event_type | [optional] |
11
12
  | **fixed** | **String** | fixed | [optional] |
12
13
  | **last_timestamp** | **Time** | last_timestamp | [optional] |
14
+ | **refresh_interval** | **Integer** | refresh_interval | [optional] |
13
15
  | **storage_system** | [**StorageSystem**](StorageSystem.md) | | [optional] |
14
16
  | **uuid** | **String** | uuid | [optional] |
15
17
 
@@ -19,12 +21,14 @@
19
21
  require 'autosde_openapi_client'
20
22
 
21
23
  instance = AutosdeOpenapiClient::Event.new(
24
+ created_at: null,
22
25
  description: null,
23
26
  error_code: null,
24
27
  event_id: null,
25
28
  event_type: null,
26
29
  fixed: null,
27
30
  last_timestamp: null,
31
+ refresh_interval: null,
28
32
  storage_system: null,
29
33
  uuid: null
30
34
  )
data/docs/EventApi.md CHANGED
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
12
12
 
13
13
  ## events_get
14
14
 
15
- > <Array<Event>> events_get
15
+ > <Array<EventResponse>> events_get
16
16
 
17
17
 
18
18
 
@@ -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<Event>>, Integer, Hash)> events_get_with_http_info
45
+ > <Array(<Array<EventResponse>>, Integer, Hash)> events_get_with_http_info
46
46
 
47
47
  ```ruby
48
48
  begin
@@ -50,7 +50,7 @@ begin
50
50
  data, status_code, headers = api_instance.events_get_with_http_info
51
51
  p status_code # => 2xx
52
52
  p headers # => { ... }
53
- p data # => <Array<Event>>
53
+ p data # => <Array<EventResponse>>
54
54
  rescue AutosdeOpenapiClient::ApiError => e
55
55
  puts "Error when calling EventApi->events_get_with_http_info: #{e}"
56
56
  end
@@ -62,7 +62,7 @@ This endpoint does not need any parameter.
62
62
 
63
63
  ### Return type
64
64
 
65
- [**Array&lt;Event&gt;**](Event.md)
65
+ [**Array&lt;EventResponse&gt;**](EventResponse.md)
66
66
 
67
67
  ### Authorization
68
68
 
@@ -76,7 +76,7 @@ This endpoint does not need any parameter.
76
76
 
77
77
  ## events_pk_delete
78
78
 
79
- > <Array<Event>> events_pk_delete(pk)
79
+ > <Array<EventResponse>> events_pk_delete(pk)
80
80
 
81
81
 
82
82
 
@@ -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<Event>>, Integer, Hash)> events_pk_delete_with_http_info(pk)
110
+ > <Array(<Array<EventResponse>>, Integer, Hash)> events_pk_delete_with_http_info(pk)
111
111
 
112
112
  ```ruby
113
113
  begin
@@ -115,7 +115,7 @@ begin
115
115
  data, status_code, headers = api_instance.events_pk_delete_with_http_info(pk)
116
116
  p status_code # => 2xx
117
117
  p headers # => { ... }
118
- p data # => <Array<Event>>
118
+ p data # => <Array<EventResponse>>
119
119
  rescue AutosdeOpenapiClient::ApiError => e
120
120
  puts "Error when calling EventApi->events_pk_delete_with_http_info: #{e}"
121
121
  end
@@ -129,7 +129,7 @@ end
129
129
 
130
130
  ### Return type
131
131
 
132
- [**Array&lt;Event&gt;**](Event.md)
132
+ [**Array&lt;EventResponse&gt;**](EventResponse.md)
133
133
 
134
134
  ### Authorization
135
135
 
@@ -143,7 +143,7 @@ end
143
143
 
144
144
  ## events_pk_get
145
145
 
146
- > <Array<Event>> events_pk_get(pk)
146
+ > <Array<EventResponse>> events_pk_get(pk)
147
147
 
148
148
 
149
149
 
@@ -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<Event>>, Integer, Hash)> events_pk_get_with_http_info(pk)
177
+ > <Array(<Array<EventResponse>>, Integer, Hash)> events_pk_get_with_http_info(pk)
178
178
 
179
179
  ```ruby
180
180
  begin
@@ -182,7 +182,7 @@ begin
182
182
  data, status_code, headers = api_instance.events_pk_get_with_http_info(pk)
183
183
  p status_code # => 2xx
184
184
  p headers # => { ... }
185
- p data # => <Array<Event>>
185
+ p data # => <Array<EventResponse>>
186
186
  rescue AutosdeOpenapiClient::ApiError => e
187
187
  puts "Error when calling EventApi->events_pk_get_with_http_info: #{e}"
188
188
  end
@@ -196,7 +196,7 @@ end
196
196
 
197
197
  ### Return type
198
198
 
199
- [**Array&lt;Event&gt;**](Event.md)
199
+ [**Array&lt;EventResponse&gt;**](EventResponse.md)
200
200
 
201
201
  ### Authorization
202
202
 
@@ -210,7 +210,7 @@ end
210
210
 
211
211
  ## events_post
212
212
 
213
- > <Event> events_post(event)
213
+ > <EventResponse> events_post(event)
214
214
 
215
215
 
216
216
 
@@ -241,7 +241,7 @@ 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(event)
244
+ > <Array(<EventResponse>, Integer, Hash)> events_post_with_http_info(event)
245
245
 
246
246
  ```ruby
247
247
  begin
@@ -249,7 +249,7 @@ begin
249
249
  data, status_code, headers = api_instance.events_post_with_http_info(event)
250
250
  p status_code # => 2xx
251
251
  p headers # => { ... }
252
- p data # => <Event>
252
+ p data # => <EventResponse>
253
253
  rescue AutosdeOpenapiClient::ApiError => e
254
254
  puts "Error when calling EventApi->events_post_with_http_info: #{e}"
255
255
  end
@@ -263,7 +263,7 @@ end
263
263
 
264
264
  ### Return type
265
265
 
266
- [**Event**](Event.md)
266
+ [**EventResponse**](EventResponse.md)
267
267
 
268
268
  ### Authorization
269
269
 
@@ -0,0 +1,36 @@
1
+ # AutosdeOpenapiClient::EventResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **created_at** | **Time** | created_at | [optional] |
8
+ | **description** | **String** | description | [optional] |
9
+ | **error_code** | **String** | error_code | [optional] |
10
+ | **event_id** | **Integer** | event_id | [optional] |
11
+ | **event_type** | **String** | event_type | [optional] |
12
+ | **fixed** | **String** | fixed | [optional] |
13
+ | **last_timestamp** | **Time** | last_timestamp | [optional] |
14
+ | **refresh_interval** | **Integer** | refresh_interval | [optional] |
15
+ | **storage_system** | **String** | !!uuid of storage_system | [optional] |
16
+ | **uuid** | **String** | uuid | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'autosde_openapi_client'
22
+
23
+ instance = AutosdeOpenapiClient::EventResponse.new(
24
+ created_at: null,
25
+ description: null,
26
+ error_code: null,
27
+ event_id: null,
28
+ event_type: null,
29
+ fixed: null,
30
+ last_timestamp: null,
31
+ refresh_interval: null,
32
+ storage_system: null,
33
+ uuid: null
34
+ )
35
+ ```
36
+
data/docs/Job.md CHANGED
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **date_finished** | **Time** | date_finished | [optional] |
8
8
  | **date_started** | **Time** | date_started | [optional] |
9
+ | **extra** | **String** | extra | [optional] |
9
10
  | **status** | **String** | status | [optional] |
10
11
  | **task_args** | **String** | task_args | [optional] |
11
12
  | **task_id** | **String** | task_id | [optional] |
@@ -20,6 +21,7 @@ require 'autosde_openapi_client'
20
21
  instance = AutosdeOpenapiClient::Job.new(
21
22
  date_finished: null,
22
23
  date_started: null,
24
+ extra: null,
23
25
  status: null,
24
26
  task_args: null,
25
27
  task_id: null,
data/docs/JobApi.md CHANGED
@@ -5,6 +5,8 @@ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**jobs_get**](JobApi.md#jobs_get) | **GET** /jobs | |
8
+ | [**jobs_pk_delete**](JobApi.md#jobs_pk_delete) | **DELETE** /jobs/{pk} | |
9
+ | [**jobs_pk_get**](JobApi.md#jobs_pk_get) | **GET** /jobs/{pk} | |
8
10
  | [**jobs_post**](JobApi.md#jobs_post) | **POST** /jobs | |
9
11
 
10
12
 
@@ -72,6 +74,140 @@ This endpoint does not need any parameter.
72
74
  - **Accept**: */*
73
75
 
74
76
 
77
+ ## jobs_pk_delete
78
+
79
+ > <Array<Job>> jobs_pk_delete(pk)
80
+
81
+
82
+
83
+ ### Examples
84
+
85
+ ```ruby
86
+ require 'time'
87
+ require 'autosde_openapi_client'
88
+ # setup authorization
89
+ AutosdeOpenapiClient.configure do |config|
90
+ # Configure Bearer authorization: bearerAuth
91
+ config.access_token = 'YOUR_BEARER_TOKEN'
92
+ end
93
+
94
+ api_instance = AutosdeOpenapiClient::JobApi.new
95
+ pk = 56 # Integer |
96
+
97
+ begin
98
+
99
+ result = api_instance.jobs_pk_delete(pk)
100
+ p result
101
+ rescue AutosdeOpenapiClient::ApiError => e
102
+ puts "Error when calling JobApi->jobs_pk_delete: #{e}"
103
+ end
104
+ ```
105
+
106
+ #### Using the jobs_pk_delete_with_http_info variant
107
+
108
+ This returns an Array which contains the response data, status code and headers.
109
+
110
+ > <Array(<Array<Job>>, Integer, Hash)> jobs_pk_delete_with_http_info(pk)
111
+
112
+ ```ruby
113
+ begin
114
+
115
+ data, status_code, headers = api_instance.jobs_pk_delete_with_http_info(pk)
116
+ p status_code # => 2xx
117
+ p headers # => { ... }
118
+ p data # => <Array<Job>>
119
+ rescue AutosdeOpenapiClient::ApiError => e
120
+ puts "Error when calling JobApi->jobs_pk_delete_with_http_info: #{e}"
121
+ end
122
+ ```
123
+
124
+ ### Parameters
125
+
126
+ | Name | Type | Description | Notes |
127
+ | ---- | ---- | ----------- | ----- |
128
+ | **pk** | **Integer** | | |
129
+
130
+ ### Return type
131
+
132
+ [**Array&lt;Job&gt;**](Job.md)
133
+
134
+ ### Authorization
135
+
136
+ [bearerAuth](../README.md#bearerAuth)
137
+
138
+ ### HTTP request headers
139
+
140
+ - **Content-Type**: Not defined
141
+ - **Accept**: */*
142
+
143
+
144
+ ## jobs_pk_get
145
+
146
+ > <Array<Job>> jobs_pk_get(pk)
147
+
148
+
149
+
150
+ ### Examples
151
+
152
+ ```ruby
153
+ require 'time'
154
+ require 'autosde_openapi_client'
155
+ # setup authorization
156
+ AutosdeOpenapiClient.configure do |config|
157
+ # Configure Bearer authorization: bearerAuth
158
+ config.access_token = 'YOUR_BEARER_TOKEN'
159
+ end
160
+
161
+ api_instance = AutosdeOpenapiClient::JobApi.new
162
+ pk = 56 # Integer |
163
+
164
+ begin
165
+
166
+ result = api_instance.jobs_pk_get(pk)
167
+ p result
168
+ rescue AutosdeOpenapiClient::ApiError => e
169
+ puts "Error when calling JobApi->jobs_pk_get: #{e}"
170
+ end
171
+ ```
172
+
173
+ #### Using the jobs_pk_get_with_http_info variant
174
+
175
+ This returns an Array which contains the response data, status code and headers.
176
+
177
+ > <Array(<Array<Job>>, Integer, Hash)> jobs_pk_get_with_http_info(pk)
178
+
179
+ ```ruby
180
+ begin
181
+
182
+ data, status_code, headers = api_instance.jobs_pk_get_with_http_info(pk)
183
+ p status_code # => 2xx
184
+ p headers # => { ... }
185
+ p data # => <Array<Job>>
186
+ rescue AutosdeOpenapiClient::ApiError => e
187
+ puts "Error when calling JobApi->jobs_pk_get_with_http_info: #{e}"
188
+ end
189
+ ```
190
+
191
+ ### Parameters
192
+
193
+ | Name | Type | Description | Notes |
194
+ | ---- | ---- | ----------- | ----- |
195
+ | **pk** | **Integer** | | |
196
+
197
+ ### Return type
198
+
199
+ [**Array&lt;Job&gt;**](Job.md)
200
+
201
+ ### Authorization
202
+
203
+ [bearerAuth](../README.md#bearerAuth)
204
+
205
+ ### HTTP request headers
206
+
207
+ - **Content-Type**: Not defined
208
+ - **Accept**: */*
209
+
210
+
75
211
  ## jobs_post
76
212
 
77
213
  > <Job> jobs_post(job_create)
data/docs/JobCreate.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **task_args** | **String** | task_args | [optional] |
7
+ | **task_kwargs** | **String** | task_kwargs | [optional] |
8
8
  | **task_name** | **String** | task_name | [optional] |
9
9
 
10
10
  ## Example
@@ -13,7 +13,7 @@
13
13
  require 'autosde_openapi_client'
14
14
 
15
15
  instance = AutosdeOpenapiClient::JobCreate.new(
16
- task_args: null,
16
+ task_kwargs: null,
17
17
  task_name: null
18
18
  )
19
19
  ```
@@ -0,0 +1,18 @@
1
+ # AutosdeOpenapiClient::RefreshSystem
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **uuid** | **String** | uuid | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'autosde_openapi_client'
13
+
14
+ instance = AutosdeOpenapiClient::RefreshSystem.new(
15
+ uuid: null
16
+ )
17
+ ```
18
+