eilam_test 1.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/LICENSE.txt +21 -0
- data/README.md +271 -0
- data/Rakefile +10 -0
- data/docs/AbstractCapability.md +20 -0
- data/docs/AbstractCapabilityApi.md +276 -0
- data/docs/Account.md +22 -0
- data/docs/AccountApi.md +346 -0
- data/docs/AccountPostRequest.md +20 -0
- data/docs/AccountPostResponse.md +24 -0
- data/docs/Address.md +32 -0
- data/docs/AddressApi.md +276 -0
- data/docs/AddressCreate.md +32 -0
- data/docs/AuthResponse.md +18 -0
- data/docs/Authentication.md +20 -0
- data/docs/AuthenticationApi.md +70 -0
- data/docs/AutoSDEProject.md +56 -0
- data/docs/AutoSDEProjectApi.md +276 -0
- data/docs/AutoSDERole.md +20 -0
- data/docs/AutoSDERoleApi.md +276 -0
- data/docs/CapabilityTranslation.md +36 -0
- data/docs/CapabilityTranslationApi.md +276 -0
- data/docs/CapabilityTranslationCreate.md +32 -0
- data/docs/Event.md +32 -0
- data/docs/EventApi.md +276 -0
- data/docs/Host.md +30 -0
- data/docs/HostApi.md +276 -0
- data/docs/HostCluster.md +34 -0
- data/docs/HostClusterApi.md +276 -0
- data/docs/HostClusterCreate.md +30 -0
- data/docs/HostClusterMembership.md +24 -0
- data/docs/HostClusterMembershipApi.md +276 -0
- data/docs/HostClusterResponse.md +34 -0
- data/docs/HostClusterVolumeMapping.md +26 -0
- data/docs/HostClusterVolumeMappingApi.md +276 -0
- data/docs/HostClusterVolumeMappingCreate.md +24 -0
- data/docs/HostClusterVolumeMappingResponse.md +26 -0
- data/docs/HostCreate.md +40 -0
- data/docs/HostVolumeConnection.md +24 -0
- data/docs/HostVolumeConnectionApi.md +276 -0
- data/docs/HostVolumeConnectionCreate.md +22 -0
- data/docs/Job.md +30 -0
- data/docs/JobApi.md +140 -0
- data/docs/JobCreate.md +20 -0
- data/docs/NativeCapability.md +24 -0
- data/docs/NativeCapabilityApi.md +276 -0
- data/docs/Profile.md +26 -0
- data/docs/ProfileApi.md +276 -0
- data/docs/ProvisioningStrategy.md +20 -0
- data/docs/ProvisioningStrategyApi.md +276 -0
- data/docs/Service.md +36 -0
- data/docs/ServiceAbstractCapabilityValue.md +22 -0
- data/docs/ServiceApi.md +346 -0
- data/docs/ServiceCreate.md +34 -0
- data/docs/ServiceResourceAttachment.md +24 -0
- data/docs/ServiceResourceAttachmentApi.md +276 -0
- data/docs/Snapshot.md +26 -0
- data/docs/SnapshotApi.md +276 -0
- data/docs/SnapshotCreate.md +24 -0
- data/docs/StorageHost.md +36 -0
- data/docs/StorageHostApi.md +346 -0
- data/docs/StorageHostCreate.md +42 -0
- data/docs/StorageHostResponse.md +38 -0
- data/docs/StorageHostUpdate.md +22 -0
- data/docs/StorageHostVolumeMapping.md +26 -0
- data/docs/StorageHostVolumeMappingApi.md +276 -0
- data/docs/StorageHostVolumeMappingCreate.md +24 -0
- data/docs/StorageHostVolumeMappingResponse.md +26 -0
- data/docs/StorageHostWWPNCandidates.md +20 -0
- data/docs/StorageHostWWPNCandidatesApi.md +72 -0
- data/docs/StorageResource.md +34 -0
- data/docs/StorageResourceApi.md +346 -0
- data/docs/StorageResourceCreate.md +32 -0
- data/docs/StorageResourceResponse.md +34 -0
- data/docs/StorageSystem.md +34 -0
- data/docs/StorageSystemApi.md +346 -0
- data/docs/StorageSystemCreate.md +52 -0
- data/docs/StorageSystemUpdate.md +24 -0
- data/docs/SystemType.md +26 -0
- data/docs/SystemTypeApi.md +276 -0
- data/docs/SystemTypeCreate.md +28 -0
- data/docs/User.md +38 -0
- data/docs/UserApi.md +346 -0
- data/docs/UserCreate.md +38 -0
- data/docs/UserUpdate.md +30 -0
- data/docs/ValidateSystem.md +26 -0
- data/docs/ValidateSystemApi.md +75 -0
- data/docs/Volume.md +36 -0
- data/docs/VolumeApi.md +346 -0
- data/docs/VolumeCreate.md +34 -0
- data/docs/VolumeResponse.md +36 -0
- data/docs/VolumeSafeDelete.md +22 -0
- data/docs/VolumeSafeDeleteApi.md +276 -0
- data/docs/VolumeSafeDeleteCreate.md +18 -0
- data/docs/VolumeUpdate.md +20 -0
- data/eilam_test.gemspec +38 -0
- data/git_push.sh +58 -0
- data/lib/eilam_test/api/abstract_capability_api.rb +254 -0
- data/lib/eilam_test/api/account_api.rb +321 -0
- data/lib/eilam_test/api/address_api.rb +254 -0
- data/lib/eilam_test/api/authentication_api.rb +83 -0
- data/lib/eilam_test/api/auto_sde_project_api.rb +254 -0
- data/lib/eilam_test/api/auto_sde_role_api.rb +254 -0
- data/lib/eilam_test/api/capability_translation_api.rb +254 -0
- data/lib/eilam_test/api/event_api.rb +254 -0
- data/lib/eilam_test/api/host_api.rb +254 -0
- data/lib/eilam_test/api/host_cluster_api.rb +254 -0
- data/lib/eilam_test/api/host_cluster_membership_api.rb +254 -0
- data/lib/eilam_test/api/host_cluster_volume_mapping_api.rb +254 -0
- data/lib/eilam_test/api/host_volume_connection_api.rb +254 -0
- data/lib/eilam_test/api/job_api.rb +136 -0
- data/lib/eilam_test/api/native_capability_api.rb +254 -0
- data/lib/eilam_test/api/profile_api.rb +254 -0
- data/lib/eilam_test/api/provisioning_strategy_api.rb +254 -0
- data/lib/eilam_test/api/service_api.rb +321 -0
- data/lib/eilam_test/api/service_resource_attachment_api.rb +254 -0
- data/lib/eilam_test/api/snapshot_api.rb +254 -0
- data/lib/eilam_test/api/storage_host_api.rb +321 -0
- data/lib/eilam_test/api/storage_host_volume_mapping_api.rb +254 -0
- data/lib/eilam_test/api/storage_host_wwpn_candidates_api.rb +75 -0
- data/lib/eilam_test/api/storage_resource_api.rb +321 -0
- data/lib/eilam_test/api/storage_system_api.rb +321 -0
- data/lib/eilam_test/api/system_type_api.rb +254 -0
- data/lib/eilam_test/api/user_api.rb +321 -0
- data/lib/eilam_test/api/validate_system_api.rb +83 -0
- data/lib/eilam_test/api/volume_api.rb +321 -0
- data/lib/eilam_test/api/volume_safe_delete_api.rb +254 -0
- data/lib/eilam_test/api_client.rb +390 -0
- data/lib/eilam_test/api_error.rb +57 -0
- data/lib/eilam_test/configuration.rb +293 -0
- data/lib/eilam_test/models/abstract_capability.rb +230 -0
- data/lib/eilam_test/models/account.rb +240 -0
- data/lib/eilam_test/models/account_post_request.rb +230 -0
- data/lib/eilam_test/models/account_post_response.rb +250 -0
- data/lib/eilam_test/models/address.rb +340 -0
- data/lib/eilam_test/models/address_create.rb +342 -0
- data/lib/eilam_test/models/auth_response.rb +220 -0
- data/lib/eilam_test/models/authentication.rb +230 -0
- data/lib/eilam_test/models/auto_sde_project.rb +410 -0
- data/lib/eilam_test/models/auto_sde_role.rb +230 -0
- data/lib/eilam_test/models/capability_translation.rb +340 -0
- data/lib/eilam_test/models/capability_translation_create.rb +322 -0
- data/lib/eilam_test/models/event.rb +289 -0
- data/lib/eilam_test/models/host.rb +333 -0
- data/lib/eilam_test/models/host_cluster.rb +397 -0
- data/lib/eilam_test/models/host_cluster_create.rb +338 -0
- data/lib/eilam_test/models/host_cluster_membership.rb +287 -0
- data/lib/eilam_test/models/host_cluster_response.rb +398 -0
- data/lib/eilam_test/models/host_cluster_volume_mapping.rb +299 -0
- data/lib/eilam_test/models/host_cluster_volume_mapping_create.rb +291 -0
- data/lib/eilam_test/models/host_cluster_volume_mapping_response.rb +301 -0
- data/lib/eilam_test/models/host_create.rb +394 -0
- data/lib/eilam_test/models/host_volume_connection.rb +287 -0
- data/lib/eilam_test/models/host_volume_connection_create.rb +277 -0
- data/lib/eilam_test/models/job.rb +280 -0
- data/lib/eilam_test/models/job_create.rb +230 -0
- data/lib/eilam_test/models/native_capability.rb +251 -0
- data/lib/eilam_test/models/profile.rb +295 -0
- data/lib/eilam_test/models/provisioning_strategy.rb +269 -0
- data/lib/eilam_test/models/service.rb +351 -0
- data/lib/eilam_test/models/service_abstract_capability_value.rb +239 -0
- data/lib/eilam_test/models/service_create.rb +339 -0
- data/lib/eilam_test/models/service_resource_attachment.rb +250 -0
- data/lib/eilam_test/models/snapshot.rb +298 -0
- data/lib/eilam_test/models/snapshot_create.rb +288 -0
- data/lib/eilam_test/models/storage_host.rb +346 -0
- data/lib/eilam_test/models/storage_host_create.rb +388 -0
- data/lib/eilam_test/models/storage_host_response.rb +363 -0
- data/lib/eilam_test/models/storage_host_update.rb +301 -0
- data/lib/eilam_test/models/storage_host_volume_mapping.rb +299 -0
- data/lib/eilam_test/models/storage_host_volume_mapping_create.rb +291 -0
- data/lib/eilam_test/models/storage_host_volume_mapping_response.rb +301 -0
- data/lib/eilam_test/models/storage_host_wwpn_candidates.rb +230 -0
- data/lib/eilam_test/models/storage_resource.rb +354 -0
- data/lib/eilam_test/models/storage_resource_create.rb +345 -0
- data/lib/eilam_test/models/storage_resource_response.rb +355 -0
- data/lib/eilam_test/models/storage_system.rb +352 -0
- data/lib/eilam_test/models/storage_system_create.rb +455 -0
- data/lib/eilam_test/models/storage_system_update.rb +265 -0
- data/lib/eilam_test/models/system_type.rb +333 -0
- data/lib/eilam_test/models/system_type_create.rb +345 -0
- data/lib/eilam_test/models/user.rb +395 -0
- data/lib/eilam_test/models/user_create.rb +395 -0
- data/lib/eilam_test/models/user_update.rb +280 -0
- data/lib/eilam_test/models/validate_system.rb +260 -0
- data/lib/eilam_test/models/volume.rb +348 -0
- data/lib/eilam_test/models/volume_create.rb +343 -0
- data/lib/eilam_test/models/volume_response.rb +350 -0
- data/lib/eilam_test/models/volume_safe_delete.rb +239 -0
- data/lib/eilam_test/models/volume_safe_delete_create.rb +219 -0
- data/lib/eilam_test/models/volume_update.rb +232 -0
- data/lib/eilam_test/version.rb +15 -0
- data/lib/eilam_test.rb +130 -0
- data/spec/api/abstract_capability_api_spec.rb +74 -0
- data/spec/api/account_api_spec.rb +85 -0
- data/spec/api/address_api_spec.rb +74 -0
- data/spec/api/authentication_api_spec.rb +45 -0
- data/spec/api/auto_sde_project_api_spec.rb +74 -0
- data/spec/api/auto_sde_role_api_spec.rb +74 -0
- data/spec/api/capability_translation_api_spec.rb +74 -0
- data/spec/api/event_api_spec.rb +74 -0
- data/spec/api/host_api_spec.rb +74 -0
- data/spec/api/host_cluster_api_spec.rb +74 -0
- data/spec/api/host_cluster_membership_api_spec.rb +74 -0
- data/spec/api/host_cluster_volume_mapping_api_spec.rb +74 -0
- data/spec/api/host_volume_connection_api_spec.rb +74 -0
- data/spec/api/job_api_spec.rb +54 -0
- data/spec/api/native_capability_api_spec.rb +74 -0
- data/spec/api/profile_api_spec.rb +74 -0
- data/spec/api/provisioning_strategy_api_spec.rb +74 -0
- data/spec/api/service_api_spec.rb +85 -0
- data/spec/api/service_resource_attachment_api_spec.rb +74 -0
- data/spec/api/snapshot_api_spec.rb +74 -0
- data/spec/api/storage_host_api_spec.rb +85 -0
- data/spec/api/storage_host_volume_mapping_api_spec.rb +74 -0
- data/spec/api/storage_host_wwpn_candidates_api_spec.rb +44 -0
- data/spec/api/storage_resource_api_spec.rb +85 -0
- data/spec/api/storage_system_api_spec.rb +85 -0
- data/spec/api/system_type_api_spec.rb +74 -0
- data/spec/api/user_api_spec.rb +85 -0
- data/spec/api/validate_system_api_spec.rb +45 -0
- data/spec/api/volume_api_spec.rb +85 -0
- data/spec/api/volume_safe_delete_api_spec.rb +74 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/abstract_capability_spec.rb +40 -0
- data/spec/models/account_post_request_spec.rb +40 -0
- data/spec/models/account_post_response_spec.rb +52 -0
- data/spec/models/account_spec.rb +46 -0
- data/spec/models/address_create_spec.rb +84 -0
- data/spec/models/address_spec.rb +84 -0
- data/spec/models/auth_response_spec.rb +34 -0
- data/spec/models/authentication_spec.rb +40 -0
- data/spec/models/auto_sde_project_spec.rb +148 -0
- data/spec/models/auto_sde_role_spec.rb +40 -0
- data/spec/models/capability_translation_create_spec.rb +76 -0
- data/spec/models/capability_translation_spec.rb +88 -0
- data/spec/models/event_spec.rb +76 -0
- data/spec/models/host_cluster_create_spec.rb +70 -0
- data/spec/models/host_cluster_membership_spec.rb +56 -0
- data/spec/models/host_cluster_response_spec.rb +86 -0
- data/spec/models/host_cluster_spec.rb +86 -0
- data/spec/models/host_cluster_volume_mapping_create_spec.rb +56 -0
- data/spec/models/host_cluster_volume_mapping_response_spec.rb +62 -0
- data/spec/models/host_cluster_volume_mapping_spec.rb +62 -0
- data/spec/models/host_create_spec.rb +112 -0
- data/spec/models/host_spec.rb +78 -0
- data/spec/models/host_volume_connection_create_spec.rb +50 -0
- data/spec/models/host_volume_connection_spec.rb +56 -0
- data/spec/models/job_create_spec.rb +40 -0
- data/spec/models/job_spec.rb +70 -0
- data/spec/models/native_capability_spec.rb +52 -0
- data/spec/models/profile_spec.rb +62 -0
- data/spec/models/provisioning_strategy_spec.rb +44 -0
- data/spec/models/service_abstract_capability_value_spec.rb +46 -0
- data/spec/models/service_create_spec.rb +86 -0
- data/spec/models/service_resource_attachment_spec.rb +52 -0
- data/spec/models/service_spec.rb +92 -0
- data/spec/models/snapshot_create_spec.rb +56 -0
- data/spec/models/snapshot_spec.rb +62 -0
- data/spec/models/storage_host_create_spec.rb +114 -0
- data/spec/models/storage_host_response_spec.rb +98 -0
- data/spec/models/storage_host_spec.rb +92 -0
- data/spec/models/storage_host_update_spec.rb +54 -0
- data/spec/models/storage_host_volume_mapping_create_spec.rb +56 -0
- data/spec/models/storage_host_volume_mapping_response_spec.rb +62 -0
- data/spec/models/storage_host_volume_mapping_spec.rb +62 -0
- data/spec/models/storage_host_wwpn_candidates_spec.rb +40 -0
- data/spec/models/storage_resource_create_spec.rb +84 -0
- data/spec/models/storage_resource_response_spec.rb +90 -0
- data/spec/models/storage_resource_spec.rb +90 -0
- data/spec/models/storage_system_create_spec.rb +148 -0
- data/spec/models/storage_system_spec.rb +90 -0
- data/spec/models/storage_system_update_spec.rb +52 -0
- data/spec/models/system_type_create_spec.rb +72 -0
- data/spec/models/system_type_spec.rb +66 -0
- data/spec/models/user_create_spec.rb +94 -0
- data/spec/models/user_spec.rb +94 -0
- data/spec/models/user_update_spec.rb +70 -0
- data/spec/models/validate_system_spec.rb +58 -0
- data/spec/models/volume_create_spec.rb +86 -0
- data/spec/models/volume_response_spec.rb +92 -0
- data/spec/models/volume_safe_delete_create_spec.rb +34 -0
- data/spec/models/volume_safe_delete_spec.rb +46 -0
- data/spec/models/volume_spec.rb +92 -0
- data/spec/models/volume_update_spec.rb +40 -0
- data/spec/spec_helper.rb +111 -0
- metadata +464 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# EilamTest::SystemTypeCreate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **component_state** | **String** | component_state | [optional] |
|
8
|
+
| **name** | **String** | name | [optional][default to 'IBM_FlashSystems'] |
|
9
|
+
| **short_version** | **String** | short_version | [optional] |
|
10
|
+
| **super_type** | **String** | super_type | [optional][default to 'null'] |
|
11
|
+
| **uuid** | **String** | uuid | [optional] |
|
12
|
+
| **version** | **String** | SystemType version | [optional] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'eilam_test'
|
18
|
+
|
19
|
+
instance = EilamTest::SystemTypeCreate.new(
|
20
|
+
component_state: null,
|
21
|
+
name: null,
|
22
|
+
short_version: null,
|
23
|
+
super_type: null,
|
24
|
+
uuid: null,
|
25
|
+
version: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
data/docs/User.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# EilamTest::User
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **date_joined** | **Time** | date_joined | [optional] |
|
8
|
+
| **email** | **String** | email | [optional] |
|
9
|
+
| **first_name** | **String** | first_name | [optional] |
|
10
|
+
| **is_active** | **Boolean** | is_active | [optional] |
|
11
|
+
| **is_staff** | **Boolean** | is_staff | [optional] |
|
12
|
+
| **is_superuser** | **Boolean** | is_superuser | [optional] |
|
13
|
+
| **last_login** | **Time** | last_login | [optional] |
|
14
|
+
| **last_name** | **String** | last_name | [optional] |
|
15
|
+
| **password** | **String** | password | [optional] |
|
16
|
+
| **username** | **String** | username | [optional] |
|
17
|
+
| **uuid** | **String** | uuid | [optional] |
|
18
|
+
|
19
|
+
## Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'eilam_test'
|
23
|
+
|
24
|
+
instance = EilamTest::User.new(
|
25
|
+
date_joined: null,
|
26
|
+
email: null,
|
27
|
+
first_name: null,
|
28
|
+
is_active: null,
|
29
|
+
is_staff: null,
|
30
|
+
is_superuser: null,
|
31
|
+
last_login: null,
|
32
|
+
last_name: null,
|
33
|
+
password: null,
|
34
|
+
username: null,
|
35
|
+
uuid: null
|
36
|
+
)
|
37
|
+
```
|
38
|
+
|
data/docs/UserApi.md
ADDED
@@ -0,0 +1,346 @@
|
|
1
|
+
# EilamTest::UserApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**autosde_users_get**](UserApi.md#autosde_users_get) | **GET** /autosde-users | |
|
8
|
+
| [**autosde_users_pk_delete**](UserApi.md#autosde_users_pk_delete) | **DELETE** /autosde-users/{pk} | |
|
9
|
+
| [**autosde_users_pk_get**](UserApi.md#autosde_users_pk_get) | **GET** /autosde-users/{pk} | |
|
10
|
+
| [**autosde_users_pk_put**](UserApi.md#autosde_users_pk_put) | **PUT** /autosde-users/{pk} | |
|
11
|
+
| [**autosde_users_post**](UserApi.md#autosde_users_post) | **POST** /autosde-users | |
|
12
|
+
|
13
|
+
|
14
|
+
## autosde_users_get
|
15
|
+
|
16
|
+
> <Array<UserCreate>> autosde_users_get
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
### Examples
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
require 'time'
|
24
|
+
require 'eilam_test'
|
25
|
+
# setup authorization
|
26
|
+
EilamTest.configure do |config|
|
27
|
+
# Configure Bearer authorization: bearerAuth
|
28
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = EilamTest::UserApi.new
|
32
|
+
|
33
|
+
begin
|
34
|
+
|
35
|
+
result = api_instance.autosde_users_get
|
36
|
+
p result
|
37
|
+
rescue EilamTest::ApiError => e
|
38
|
+
puts "Error when calling UserApi->autosde_users_get: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
#### Using the autosde_users_get_with_http_info variant
|
43
|
+
|
44
|
+
This returns an Array which contains the response data, status code and headers.
|
45
|
+
|
46
|
+
> <Array(<Array<UserCreate>>, Integer, Hash)> autosde_users_get_with_http_info
|
47
|
+
|
48
|
+
```ruby
|
49
|
+
begin
|
50
|
+
|
51
|
+
data, status_code, headers = api_instance.autosde_users_get_with_http_info
|
52
|
+
p status_code # => 2xx
|
53
|
+
p headers # => { ... }
|
54
|
+
p data # => <Array<UserCreate>>
|
55
|
+
rescue EilamTest::ApiError => e
|
56
|
+
puts "Error when calling UserApi->autosde_users_get_with_http_info: #{e}"
|
57
|
+
end
|
58
|
+
```
|
59
|
+
|
60
|
+
### Parameters
|
61
|
+
|
62
|
+
This endpoint does not need any parameter.
|
63
|
+
|
64
|
+
### Return type
|
65
|
+
|
66
|
+
[**Array<UserCreate>**](UserCreate.md)
|
67
|
+
|
68
|
+
### Authorization
|
69
|
+
|
70
|
+
[bearerAuth](../README.md#bearerAuth)
|
71
|
+
|
72
|
+
### HTTP request headers
|
73
|
+
|
74
|
+
- **Content-Type**: Not defined
|
75
|
+
- **Accept**: */*
|
76
|
+
|
77
|
+
|
78
|
+
## autosde_users_pk_delete
|
79
|
+
|
80
|
+
> <Array<User>> autosde_users_pk_delete(pk)
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
### Examples
|
85
|
+
|
86
|
+
```ruby
|
87
|
+
require 'time'
|
88
|
+
require 'eilam_test'
|
89
|
+
# setup authorization
|
90
|
+
EilamTest.configure do |config|
|
91
|
+
# Configure Bearer authorization: bearerAuth
|
92
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
93
|
+
end
|
94
|
+
|
95
|
+
api_instance = EilamTest::UserApi.new
|
96
|
+
pk = 56 # Integer |
|
97
|
+
|
98
|
+
begin
|
99
|
+
|
100
|
+
result = api_instance.autosde_users_pk_delete(pk)
|
101
|
+
p result
|
102
|
+
rescue EilamTest::ApiError => e
|
103
|
+
puts "Error when calling UserApi->autosde_users_pk_delete: #{e}"
|
104
|
+
end
|
105
|
+
```
|
106
|
+
|
107
|
+
#### Using the autosde_users_pk_delete_with_http_info variant
|
108
|
+
|
109
|
+
This returns an Array which contains the response data, status code and headers.
|
110
|
+
|
111
|
+
> <Array(<Array<User>>, Integer, Hash)> autosde_users_pk_delete_with_http_info(pk)
|
112
|
+
|
113
|
+
```ruby
|
114
|
+
begin
|
115
|
+
|
116
|
+
data, status_code, headers = api_instance.autosde_users_pk_delete_with_http_info(pk)
|
117
|
+
p status_code # => 2xx
|
118
|
+
p headers # => { ... }
|
119
|
+
p data # => <Array<User>>
|
120
|
+
rescue EilamTest::ApiError => e
|
121
|
+
puts "Error when calling UserApi->autosde_users_pk_delete_with_http_info: #{e}"
|
122
|
+
end
|
123
|
+
```
|
124
|
+
|
125
|
+
### Parameters
|
126
|
+
|
127
|
+
| Name | Type | Description | Notes |
|
128
|
+
| ---- | ---- | ----------- | ----- |
|
129
|
+
| **pk** | **Integer** | | |
|
130
|
+
|
131
|
+
### Return type
|
132
|
+
|
133
|
+
[**Array<User>**](User.md)
|
134
|
+
|
135
|
+
### Authorization
|
136
|
+
|
137
|
+
[bearerAuth](../README.md#bearerAuth)
|
138
|
+
|
139
|
+
### HTTP request headers
|
140
|
+
|
141
|
+
- **Content-Type**: Not defined
|
142
|
+
- **Accept**: */*
|
143
|
+
|
144
|
+
|
145
|
+
## autosde_users_pk_get
|
146
|
+
|
147
|
+
> <Array<UserCreate>> autosde_users_pk_get(pk)
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
### Examples
|
152
|
+
|
153
|
+
```ruby
|
154
|
+
require 'time'
|
155
|
+
require 'eilam_test'
|
156
|
+
# setup authorization
|
157
|
+
EilamTest.configure do |config|
|
158
|
+
# Configure Bearer authorization: bearerAuth
|
159
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
160
|
+
end
|
161
|
+
|
162
|
+
api_instance = EilamTest::UserApi.new
|
163
|
+
pk = 56 # Integer |
|
164
|
+
|
165
|
+
begin
|
166
|
+
|
167
|
+
result = api_instance.autosde_users_pk_get(pk)
|
168
|
+
p result
|
169
|
+
rescue EilamTest::ApiError => e
|
170
|
+
puts "Error when calling UserApi->autosde_users_pk_get: #{e}"
|
171
|
+
end
|
172
|
+
```
|
173
|
+
|
174
|
+
#### Using the autosde_users_pk_get_with_http_info variant
|
175
|
+
|
176
|
+
This returns an Array which contains the response data, status code and headers.
|
177
|
+
|
178
|
+
> <Array(<Array<UserCreate>>, Integer, Hash)> autosde_users_pk_get_with_http_info(pk)
|
179
|
+
|
180
|
+
```ruby
|
181
|
+
begin
|
182
|
+
|
183
|
+
data, status_code, headers = api_instance.autosde_users_pk_get_with_http_info(pk)
|
184
|
+
p status_code # => 2xx
|
185
|
+
p headers # => { ... }
|
186
|
+
p data # => <Array<UserCreate>>
|
187
|
+
rescue EilamTest::ApiError => e
|
188
|
+
puts "Error when calling UserApi->autosde_users_pk_get_with_http_info: #{e}"
|
189
|
+
end
|
190
|
+
```
|
191
|
+
|
192
|
+
### Parameters
|
193
|
+
|
194
|
+
| Name | Type | Description | Notes |
|
195
|
+
| ---- | ---- | ----------- | ----- |
|
196
|
+
| **pk** | **Integer** | | |
|
197
|
+
|
198
|
+
### Return type
|
199
|
+
|
200
|
+
[**Array<UserCreate>**](UserCreate.md)
|
201
|
+
|
202
|
+
### Authorization
|
203
|
+
|
204
|
+
[bearerAuth](../README.md#bearerAuth)
|
205
|
+
|
206
|
+
### HTTP request headers
|
207
|
+
|
208
|
+
- **Content-Type**: Not defined
|
209
|
+
- **Accept**: */*
|
210
|
+
|
211
|
+
|
212
|
+
## autosde_users_pk_put
|
213
|
+
|
214
|
+
> <UserCreate> autosde_users_pk_put(pk, user_update)
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
### Examples
|
219
|
+
|
220
|
+
```ruby
|
221
|
+
require 'time'
|
222
|
+
require 'eilam_test'
|
223
|
+
# setup authorization
|
224
|
+
EilamTest.configure do |config|
|
225
|
+
# Configure Bearer authorization: bearerAuth
|
226
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
227
|
+
end
|
228
|
+
|
229
|
+
api_instance = EilamTest::UserApi.new
|
230
|
+
pk = 56 # Integer |
|
231
|
+
user_update = EilamTest::UserUpdate.new # UserUpdate |
|
232
|
+
|
233
|
+
begin
|
234
|
+
|
235
|
+
result = api_instance.autosde_users_pk_put(pk, user_update)
|
236
|
+
p result
|
237
|
+
rescue EilamTest::ApiError => e
|
238
|
+
puts "Error when calling UserApi->autosde_users_pk_put: #{e}"
|
239
|
+
end
|
240
|
+
```
|
241
|
+
|
242
|
+
#### Using the autosde_users_pk_put_with_http_info variant
|
243
|
+
|
244
|
+
This returns an Array which contains the response data, status code and headers.
|
245
|
+
|
246
|
+
> <Array(<UserCreate>, Integer, Hash)> autosde_users_pk_put_with_http_info(pk, user_update)
|
247
|
+
|
248
|
+
```ruby
|
249
|
+
begin
|
250
|
+
|
251
|
+
data, status_code, headers = api_instance.autosde_users_pk_put_with_http_info(pk, user_update)
|
252
|
+
p status_code # => 2xx
|
253
|
+
p headers # => { ... }
|
254
|
+
p data # => <UserCreate>
|
255
|
+
rescue EilamTest::ApiError => e
|
256
|
+
puts "Error when calling UserApi->autosde_users_pk_put_with_http_info: #{e}"
|
257
|
+
end
|
258
|
+
```
|
259
|
+
|
260
|
+
### Parameters
|
261
|
+
|
262
|
+
| Name | Type | Description | Notes |
|
263
|
+
| ---- | ---- | ----------- | ----- |
|
264
|
+
| **pk** | **Integer** | | |
|
265
|
+
| **user_update** | [**UserUpdate**](UserUpdate.md) | | |
|
266
|
+
|
267
|
+
### Return type
|
268
|
+
|
269
|
+
[**UserCreate**](UserCreate.md)
|
270
|
+
|
271
|
+
### Authorization
|
272
|
+
|
273
|
+
[bearerAuth](../README.md#bearerAuth)
|
274
|
+
|
275
|
+
### HTTP request headers
|
276
|
+
|
277
|
+
- **Content-Type**: application/json
|
278
|
+
- **Accept**: */*
|
279
|
+
|
280
|
+
|
281
|
+
## autosde_users_post
|
282
|
+
|
283
|
+
> <UserCreate> autosde_users_post(user_create)
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
### Examples
|
288
|
+
|
289
|
+
```ruby
|
290
|
+
require 'time'
|
291
|
+
require 'eilam_test'
|
292
|
+
# setup authorization
|
293
|
+
EilamTest.configure do |config|
|
294
|
+
# Configure Bearer authorization: bearerAuth
|
295
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
296
|
+
end
|
297
|
+
|
298
|
+
api_instance = EilamTest::UserApi.new
|
299
|
+
user_create = EilamTest::UserCreate.new # UserCreate |
|
300
|
+
|
301
|
+
begin
|
302
|
+
|
303
|
+
result = api_instance.autosde_users_post(user_create)
|
304
|
+
p result
|
305
|
+
rescue EilamTest::ApiError => e
|
306
|
+
puts "Error when calling UserApi->autosde_users_post: #{e}"
|
307
|
+
end
|
308
|
+
```
|
309
|
+
|
310
|
+
#### Using the autosde_users_post_with_http_info variant
|
311
|
+
|
312
|
+
This returns an Array which contains the response data, status code and headers.
|
313
|
+
|
314
|
+
> <Array(<UserCreate>, Integer, Hash)> autosde_users_post_with_http_info(user_create)
|
315
|
+
|
316
|
+
```ruby
|
317
|
+
begin
|
318
|
+
|
319
|
+
data, status_code, headers = api_instance.autosde_users_post_with_http_info(user_create)
|
320
|
+
p status_code # => 2xx
|
321
|
+
p headers # => { ... }
|
322
|
+
p data # => <UserCreate>
|
323
|
+
rescue EilamTest::ApiError => e
|
324
|
+
puts "Error when calling UserApi->autosde_users_post_with_http_info: #{e}"
|
325
|
+
end
|
326
|
+
```
|
327
|
+
|
328
|
+
### Parameters
|
329
|
+
|
330
|
+
| Name | Type | Description | Notes |
|
331
|
+
| ---- | ---- | ----------- | ----- |
|
332
|
+
| **user_create** | [**UserCreate**](UserCreate.md) | | |
|
333
|
+
|
334
|
+
### Return type
|
335
|
+
|
336
|
+
[**UserCreate**](UserCreate.md)
|
337
|
+
|
338
|
+
### Authorization
|
339
|
+
|
340
|
+
[bearerAuth](../README.md#bearerAuth)
|
341
|
+
|
342
|
+
### HTTP request headers
|
343
|
+
|
344
|
+
- **Content-Type**: application/json
|
345
|
+
- **Accept**: */*
|
346
|
+
|
data/docs/UserCreate.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# EilamTest::UserCreate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **date_joined** | **Time** | date_joined | [optional] |
|
8
|
+
| **email** | **String** | email | [optional] |
|
9
|
+
| **first_name** | **String** | first_name | [optional] |
|
10
|
+
| **is_active** | **Boolean** | is_active | [optional] |
|
11
|
+
| **is_staff** | **Boolean** | is_staff | [optional] |
|
12
|
+
| **is_superuser** | **Boolean** | is_superuser | [optional] |
|
13
|
+
| **last_login** | **Time** | last_login | [optional] |
|
14
|
+
| **last_name** | **String** | last_name | [optional] |
|
15
|
+
| **password** | **String** | password | [optional] |
|
16
|
+
| **username** | **String** | username | [optional] |
|
17
|
+
| **uuid** | **String** | uuid | [optional] |
|
18
|
+
|
19
|
+
## Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'eilam_test'
|
23
|
+
|
24
|
+
instance = EilamTest::UserCreate.new(
|
25
|
+
date_joined: null,
|
26
|
+
email: null,
|
27
|
+
first_name: null,
|
28
|
+
is_active: null,
|
29
|
+
is_staff: null,
|
30
|
+
is_superuser: null,
|
31
|
+
last_login: null,
|
32
|
+
last_name: null,
|
33
|
+
password: null,
|
34
|
+
username: null,
|
35
|
+
uuid: null
|
36
|
+
)
|
37
|
+
```
|
38
|
+
|
data/docs/UserUpdate.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# EilamTest::UserUpdate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **email** | **String** | email | [optional] |
|
8
|
+
| **first_name** | **String** | first_name | [optional] |
|
9
|
+
| **is_active** | **Boolean** | is_active | [optional] |
|
10
|
+
| **is_staff** | **Boolean** | is_staff | [optional] |
|
11
|
+
| **last_name** | **String** | last_name | [optional] |
|
12
|
+
| **password** | **String** | password | [optional] |
|
13
|
+
| **username** | **String** | username | [optional] |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'eilam_test'
|
19
|
+
|
20
|
+
instance = EilamTest::UserUpdate.new(
|
21
|
+
email: null,
|
22
|
+
first_name: null,
|
23
|
+
is_active: null,
|
24
|
+
is_staff: null,
|
25
|
+
last_name: null,
|
26
|
+
password: null,
|
27
|
+
username: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# EilamTest::ValidateSystem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **management_ip** | **String** | management_ip | [optional] |
|
8
|
+
| **name** | **String** | name | [optional] |
|
9
|
+
| **password** | **String** | password | [optional] |
|
10
|
+
| **system_type** | **String** | system_type | [optional] |
|
11
|
+
| **user** | **String** | user | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'eilam_test'
|
17
|
+
|
18
|
+
instance = EilamTest::ValidateSystem.new(
|
19
|
+
management_ip: null,
|
20
|
+
name: null,
|
21
|
+
password: null,
|
22
|
+
system_type: null,
|
23
|
+
user: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# EilamTest::ValidateSystemApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**validate_system_post**](ValidateSystemApi.md#validate_system_post) | **POST** /validate-system | |
|
8
|
+
|
9
|
+
|
10
|
+
## validate_system_post
|
11
|
+
|
12
|
+
> <ValidateSystem> validate_system_post(storage_system_create)
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
### Examples
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'time'
|
20
|
+
require 'eilam_test'
|
21
|
+
# setup authorization
|
22
|
+
EilamTest.configure do |config|
|
23
|
+
# Configure Bearer authorization: bearerAuth
|
24
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
25
|
+
end
|
26
|
+
|
27
|
+
api_instance = EilamTest::ValidateSystemApi.new
|
28
|
+
storage_system_create = EilamTest::StorageSystemCreate.new # StorageSystemCreate |
|
29
|
+
|
30
|
+
begin
|
31
|
+
|
32
|
+
result = api_instance.validate_system_post(storage_system_create)
|
33
|
+
p result
|
34
|
+
rescue EilamTest::ApiError => e
|
35
|
+
puts "Error when calling ValidateSystemApi->validate_system_post: #{e}"
|
36
|
+
end
|
37
|
+
```
|
38
|
+
|
39
|
+
#### Using the validate_system_post_with_http_info variant
|
40
|
+
|
41
|
+
This returns an Array which contains the response data, status code and headers.
|
42
|
+
|
43
|
+
> <Array(<ValidateSystem>, Integer, Hash)> validate_system_post_with_http_info(storage_system_create)
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
begin
|
47
|
+
|
48
|
+
data, status_code, headers = api_instance.validate_system_post_with_http_info(storage_system_create)
|
49
|
+
p status_code # => 2xx
|
50
|
+
p headers # => { ... }
|
51
|
+
p data # => <ValidateSystem>
|
52
|
+
rescue EilamTest::ApiError => e
|
53
|
+
puts "Error when calling ValidateSystemApi->validate_system_post_with_http_info: #{e}"
|
54
|
+
end
|
55
|
+
```
|
56
|
+
|
57
|
+
### Parameters
|
58
|
+
|
59
|
+
| Name | Type | Description | Notes |
|
60
|
+
| ---- | ---- | ----------- | ----- |
|
61
|
+
| **storage_system_create** | [**StorageSystemCreate**](StorageSystemCreate.md) | | |
|
62
|
+
|
63
|
+
### Return type
|
64
|
+
|
65
|
+
[**ValidateSystem**](ValidateSystem.md)
|
66
|
+
|
67
|
+
### Authorization
|
68
|
+
|
69
|
+
[bearerAuth](../README.md#bearerAuth)
|
70
|
+
|
71
|
+
### HTTP request headers
|
72
|
+
|
73
|
+
- **Content-Type**: application/json
|
74
|
+
- **Accept**: */*
|
75
|
+
|
data/docs/Volume.md
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# EilamTest::Volume
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **compliant** | **Boolean** | compliant | [optional][default to false] |
|
8
|
+
| **component_state** | **String** | component_state | [optional] |
|
9
|
+
| **historical_service** | [**Service**](Service.md) | | [optional] |
|
10
|
+
| **name** | **String** | name | [optional] |
|
11
|
+
| **service** | [**Service**](Service.md) | | [optional] |
|
12
|
+
| **size** | **Integer** | size | [optional] |
|
13
|
+
| **status** | **String** | status | [optional] |
|
14
|
+
| **storage_resource** | [**StorageResource**](StorageResource.md) | | [optional] |
|
15
|
+
| **unmapped_since** | **Time** | unmapped_since | [optional] |
|
16
|
+
| **uuid** | **String** | uuid | [optional] |
|
17
|
+
|
18
|
+
## Example
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'eilam_test'
|
22
|
+
|
23
|
+
instance = EilamTest::Volume.new(
|
24
|
+
compliant: null,
|
25
|
+
component_state: null,
|
26
|
+
historical_service: null,
|
27
|
+
name: null,
|
28
|
+
service: null,
|
29
|
+
size: null,
|
30
|
+
status: null,
|
31
|
+
storage_resource: null,
|
32
|
+
unmapped_since: null,
|
33
|
+
uuid: null
|
34
|
+
)
|
35
|
+
```
|
36
|
+
|