docs/HostClusterApi.md in eilam_test-1.1.15 vs docs/HostClusterApi.md in eilam_test-1.1.16
- old
+ new
@@ -1,6 +1,6 @@
-# AutosdeOpenapiClient::HostClusterApi
+# EilamTest::HostClusterApi
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
| Method | HTTP request | Description |
| ------ | ------------ | ----------- |
@@ -18,24 +18,24 @@
### Examples
```ruby
require 'time'
-require 'autosde_openapi_client'
+require 'eilam_test'
# setup authorization
-AutosdeOpenapiClient.configure do |config|
+EilamTest.configure do |config|
# Configure Bearer authorization: bearerAuth
config.access_token = 'YOUR_BEARER_TOKEN'
end
-api_instance = AutosdeOpenapiClient::HostClusterApi.new
+api_instance = EilamTest::HostClusterApi.new
begin
result = api_instance.host_clusters_get
p result
-rescue AutosdeOpenapiClient::ApiError => e
+rescue EilamTest::ApiError => e
puts "Error when calling HostClusterApi->host_clusters_get: #{e}"
end
```
#### Using the host_clusters_get_with_http_info variant
@@ -49,11 +49,11 @@
data, status_code, headers = api_instance.host_clusters_get_with_http_info
p status_code # => 2xx
p headers # => { ... }
p data # => <Array<HostClusterResponse>>
-rescue AutosdeOpenapiClient::ApiError => e
+rescue EilamTest::ApiError => e
puts "Error when calling HostClusterApi->host_clusters_get_with_http_info: #{e}"
end
```
### Parameters
@@ -82,25 +82,25 @@
### Examples
```ruby
require 'time'
-require 'autosde_openapi_client'
+require 'eilam_test'
# setup authorization
-AutosdeOpenapiClient.configure do |config|
+EilamTest.configure do |config|
# Configure Bearer authorization: bearerAuth
config.access_token = 'YOUR_BEARER_TOKEN'
end
-api_instance = AutosdeOpenapiClient::HostClusterApi.new
+api_instance = EilamTest::HostClusterApi.new
pk = 56 # Integer |
begin
result = api_instance.host_clusters_pk_delete(pk)
p result
-rescue AutosdeOpenapiClient::ApiError => e
+rescue EilamTest::ApiError => e
puts "Error when calling HostClusterApi->host_clusters_pk_delete: #{e}"
end
```
#### Using the host_clusters_pk_delete_with_http_info variant
@@ -114,11 +114,11 @@
data, status_code, headers = api_instance.host_clusters_pk_delete_with_http_info(pk)
p status_code # => 2xx
p headers # => { ... }
p data # => <Array<HostCluster>>
-rescue AutosdeOpenapiClient::ApiError => e
+rescue EilamTest::ApiError => e
puts "Error when calling HostClusterApi->host_clusters_pk_delete_with_http_info: #{e}"
end
```
### Parameters
@@ -149,25 +149,25 @@
### Examples
```ruby
require 'time'
-require 'autosde_openapi_client'
+require 'eilam_test'
# setup authorization
-AutosdeOpenapiClient.configure do |config|
+EilamTest.configure do |config|
# Configure Bearer authorization: bearerAuth
config.access_token = 'YOUR_BEARER_TOKEN'
end
-api_instance = AutosdeOpenapiClient::HostClusterApi.new
+api_instance = EilamTest::HostClusterApi.new
pk = 56 # Integer |
begin
result = api_instance.host_clusters_pk_get(pk)
p result
-rescue AutosdeOpenapiClient::ApiError => e
+rescue EilamTest::ApiError => e
puts "Error when calling HostClusterApi->host_clusters_pk_get: #{e}"
end
```
#### Using the host_clusters_pk_get_with_http_info variant
@@ -181,11 +181,11 @@
data, status_code, headers = api_instance.host_clusters_pk_get_with_http_info(pk)
p status_code # => 2xx
p headers # => { ... }
p data # => <Array<HostCluster>>
-rescue AutosdeOpenapiClient::ApiError => e
+rescue EilamTest::ApiError => e
puts "Error when calling HostClusterApi->host_clusters_pk_get_with_http_info: #{e}"
end
```
### Parameters
@@ -216,25 +216,25 @@
### Examples
```ruby
require 'time'
-require 'autosde_openapi_client'
+require 'eilam_test'
# setup authorization
-AutosdeOpenapiClient.configure do |config|
+EilamTest.configure do |config|
# Configure Bearer authorization: bearerAuth
config.access_token = 'YOUR_BEARER_TOKEN'
end
-api_instance = AutosdeOpenapiClient::HostClusterApi.new
-host_cluster_create = AutosdeOpenapiClient::HostClusterCreate.new # HostClusterCreate |
+api_instance = EilamTest::HostClusterApi.new
+host_cluster_create = EilamTest::HostClusterCreate.new # HostClusterCreate |
begin
result = api_instance.host_clusters_post(host_cluster_create)
p result
-rescue AutosdeOpenapiClient::ApiError => e
+rescue EilamTest::ApiError => e
puts "Error when calling HostClusterApi->host_clusters_post: #{e}"
end
```
#### Using the host_clusters_post_with_http_info variant
@@ -248,10 +248,10 @@
data, status_code, headers = api_instance.host_clusters_post_with_http_info(host_cluster_create)
p status_code # => 2xx
p headers # => { ... }
p data # => <HostClusterResponse>
-rescue AutosdeOpenapiClient::ApiError => e
+rescue EilamTest::ApiError => e
puts "Error when calling HostClusterApi->host_clusters_post_with_http_info: #{e}"
end
```
### Parameters