eilam_test 1.1.15 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +188 -188
- data/docs/AbstractCapability.md +3 -3
- data/docs/AbstractCapabilityApi.md +22 -22
- data/docs/Account.md +3 -3
- data/docs/AccountApi.md +28 -28
- data/docs/AccountPostRequest.md +3 -3
- data/docs/AccountPostResponse.md +3 -3
- data/docs/Address.md +3 -3
- data/docs/AddressApi.md +22 -22
- data/docs/AddressCreate.md +3 -3
- data/docs/AuthResponse.md +3 -3
- data/docs/Authentication.md +3 -3
- data/docs/AuthenticationApi.md +6 -6
- data/docs/AutoSDEProject.md +3 -3
- data/docs/AutoSDEProjectApi.md +22 -22
- data/docs/AutoSDERole.md +3 -3
- data/docs/AutoSDERoleApi.md +22 -22
- data/docs/CapabilityTranslation.md +3 -3
- data/docs/CapabilityTranslationApi.md +22 -22
- data/docs/CapabilityTranslationCreate.md +3 -3
- data/docs/Event.md +3 -3
- data/docs/EventApi.md +22 -22
- data/docs/Host.md +3 -3
- data/docs/HostApi.md +22 -22
- data/docs/HostCluster.md +3 -3
- data/docs/HostClusterApi.md +22 -22
- data/docs/HostClusterCreate.md +3 -3
- data/docs/HostClusterMembership.md +3 -3
- data/docs/HostClusterMembershipApi.md +22 -22
- data/docs/HostClusterResponse.md +3 -3
- data/docs/HostClusterVolumeMapping.md +3 -3
- data/docs/HostClusterVolumeMappingApi.md +22 -22
- data/docs/HostClusterVolumeMappingCreate.md +3 -3
- data/docs/HostClusterVolumeMappingResponse.md +3 -3
- data/docs/HostCreate.md +3 -3
- data/docs/HostVolumeConnection.md +3 -3
- data/docs/HostVolumeConnectionApi.md +22 -22
- data/docs/HostVolumeConnectionCreate.md +3 -3
- data/docs/Job.md +3 -3
- data/docs/JobApi.md +12 -12
- data/docs/JobCreate.md +3 -3
- data/docs/NativeCapability.md +3 -3
- data/docs/NativeCapabilityApi.md +22 -22
- data/docs/Profile.md +3 -3
- data/docs/ProfileApi.md +22 -22
- data/docs/ProvisioningStrategy.md +3 -3
- data/docs/ProvisioningStrategyApi.md +22 -22
- data/docs/Service.md +3 -3
- data/docs/ServiceAbstractCapabilityValue.md +3 -3
- data/docs/ServiceApi.md +28 -28
- data/docs/ServiceCreate.md +3 -3
- data/docs/ServiceResourceAttachment.md +3 -3
- data/docs/ServiceResourceAttachmentApi.md +22 -22
- data/docs/Snapshot.md +3 -3
- data/docs/SnapshotApi.md +22 -22
- data/docs/SnapshotCreate.md +3 -3
- data/docs/StorageHost.md +3 -3
- data/docs/StorageHostApi.md +28 -28
- data/docs/StorageHostCreate.md +3 -3
- data/docs/StorageHostResponse.md +3 -3
- data/docs/StorageHostUpdate.md +3 -3
- data/docs/StorageHostVolumeMapping.md +3 -3
- data/docs/StorageHostVolumeMappingApi.md +22 -22
- data/docs/StorageHostVolumeMappingCreate.md +3 -3
- data/docs/StorageHostVolumeMappingResponse.md +3 -3
- data/docs/StorageHostWWPNCandidates.md +3 -3
- data/docs/StorageHostWWPNCandidatesApi.md +6 -6
- data/docs/StorageResource.md +3 -3
- data/docs/StorageResourceApi.md +28 -28
- data/docs/StorageResourceCreate.md +3 -3
- data/docs/StorageResourceResponse.md +3 -3
- data/docs/StorageSystem.md +3 -3
- data/docs/StorageSystemApi.md +28 -28
- data/docs/StorageSystemCreate.md +3 -3
- data/docs/StorageSystemUpdate.md +3 -3
- data/docs/SystemType.md +3 -3
- data/docs/SystemTypeApi.md +22 -22
- data/docs/SystemTypeCreate.md +3 -3
- data/docs/User.md +3 -3
- data/docs/UserApi.md +28 -28
- data/docs/UserCreate.md +3 -3
- data/docs/UserUpdate.md +3 -3
- data/docs/ValidateSystem.md +3 -3
- data/docs/ValidateSystemApi.md +7 -7
- data/docs/Volume.md +3 -3
- data/docs/VolumeApi.md +28 -28
- data/docs/VolumeCreate.md +3 -3
- data/docs/VolumeResponse.md +3 -3
- data/docs/VolumeSafeDelete.md +3 -3
- data/docs/VolumeSafeDeleteApi.md +22 -22
- data/docs/VolumeSafeDeleteCreate.md +3 -3
- data/docs/VolumeUpdate.md +3 -3
- data/eilam_test.gemspec +1 -1
- data/lib/eilam_test/api/abstract_capability_api.rb +1 -1
- data/lib/eilam_test/api/account_api.rb +1 -1
- data/lib/eilam_test/api/address_api.rb +1 -1
- data/lib/eilam_test/api/authentication_api.rb +1 -1
- data/lib/eilam_test/api/auto_sde_project_api.rb +1 -1
- data/lib/eilam_test/api/auto_sde_role_api.rb +1 -1
- data/lib/eilam_test/api/capability_translation_api.rb +1 -1
- data/lib/eilam_test/api/event_api.rb +1 -1
- data/lib/eilam_test/api/host_api.rb +1 -1
- data/lib/eilam_test/api/host_cluster_api.rb +1 -1
- data/lib/eilam_test/api/host_cluster_membership_api.rb +1 -1
- data/lib/eilam_test/api/host_cluster_volume_mapping_api.rb +1 -1
- data/lib/eilam_test/api/host_volume_connection_api.rb +1 -1
- data/lib/eilam_test/api/job_api.rb +1 -1
- data/lib/eilam_test/api/native_capability_api.rb +1 -1
- data/lib/eilam_test/api/profile_api.rb +1 -1
- data/lib/eilam_test/api/provisioning_strategy_api.rb +1 -1
- data/lib/eilam_test/api/service_api.rb +1 -1
- data/lib/eilam_test/api/service_resource_attachment_api.rb +1 -1
- data/lib/eilam_test/api/snapshot_api.rb +1 -1
- data/lib/eilam_test/api/storage_host_api.rb +1 -1
- data/lib/eilam_test/api/storage_host_volume_mapping_api.rb +1 -1
- data/lib/eilam_test/api/storage_host_wwpn_candidates_api.rb +1 -1
- data/lib/eilam_test/api/storage_resource_api.rb +1 -1
- data/lib/eilam_test/api/storage_system_api.rb +1 -1
- data/lib/eilam_test/api/system_type_api.rb +1 -1
- data/lib/eilam_test/api/user_api.rb +1 -1
- data/lib/eilam_test/api/validate_system_api.rb +1 -1
- data/lib/eilam_test/api/volume_api.rb +1 -1
- data/lib/eilam_test/api/volume_safe_delete_api.rb +1 -1
- data/lib/eilam_test/api_client.rb +2 -2
- data/lib/eilam_test/api_error.rb +1 -1
- data/lib/eilam_test/configuration.rb +1 -1
- data/lib/eilam_test/models/abstract_capability.rb +4 -4
- data/lib/eilam_test/models/account.rb +4 -4
- data/lib/eilam_test/models/account_post_request.rb +4 -4
- data/lib/eilam_test/models/account_post_response.rb +4 -4
- data/lib/eilam_test/models/address.rb +4 -4
- data/lib/eilam_test/models/address_create.rb +4 -4
- data/lib/eilam_test/models/auth_response.rb +4 -4
- data/lib/eilam_test/models/authentication.rb +4 -4
- data/lib/eilam_test/models/auto_sde_project.rb +4 -4
- data/lib/eilam_test/models/auto_sde_role.rb +4 -4
- data/lib/eilam_test/models/capability_translation.rb +4 -4
- data/lib/eilam_test/models/capability_translation_create.rb +4 -4
- data/lib/eilam_test/models/event.rb +4 -4
- data/lib/eilam_test/models/host.rb +4 -4
- data/lib/eilam_test/models/host_cluster.rb +4 -4
- data/lib/eilam_test/models/host_cluster_create.rb +4 -4
- data/lib/eilam_test/models/host_cluster_membership.rb +4 -4
- data/lib/eilam_test/models/host_cluster_response.rb +4 -4
- data/lib/eilam_test/models/host_cluster_volume_mapping.rb +4 -4
- data/lib/eilam_test/models/host_cluster_volume_mapping_create.rb +4 -4
- data/lib/eilam_test/models/host_cluster_volume_mapping_response.rb +4 -4
- data/lib/eilam_test/models/host_create.rb +4 -4
- data/lib/eilam_test/models/host_volume_connection.rb +4 -4
- data/lib/eilam_test/models/host_volume_connection_create.rb +4 -4
- data/lib/eilam_test/models/job.rb +4 -4
- data/lib/eilam_test/models/job_create.rb +4 -4
- data/lib/eilam_test/models/native_capability.rb +4 -4
- data/lib/eilam_test/models/profile.rb +4 -4
- data/lib/eilam_test/models/provisioning_strategy.rb +4 -4
- data/lib/eilam_test/models/service.rb +4 -4
- data/lib/eilam_test/models/service_abstract_capability_value.rb +4 -4
- data/lib/eilam_test/models/service_create.rb +4 -4
- data/lib/eilam_test/models/service_resource_attachment.rb +4 -4
- data/lib/eilam_test/models/snapshot.rb +4 -4
- data/lib/eilam_test/models/snapshot_create.rb +4 -4
- data/lib/eilam_test/models/storage_host.rb +4 -4
- data/lib/eilam_test/models/storage_host_create.rb +4 -4
- data/lib/eilam_test/models/storage_host_response.rb +4 -4
- data/lib/eilam_test/models/storage_host_update.rb +4 -4
- data/lib/eilam_test/models/storage_host_volume_mapping.rb +4 -4
- data/lib/eilam_test/models/storage_host_volume_mapping_create.rb +4 -4
- data/lib/eilam_test/models/storage_host_volume_mapping_response.rb +4 -4
- data/lib/eilam_test/models/storage_host_wwpn_candidates.rb +4 -4
- data/lib/eilam_test/models/storage_resource.rb +4 -4
- data/lib/eilam_test/models/storage_resource_create.rb +4 -4
- data/lib/eilam_test/models/storage_resource_response.rb +4 -4
- data/lib/eilam_test/models/storage_system.rb +4 -4
- data/lib/eilam_test/models/storage_system_create.rb +4 -4
- data/lib/eilam_test/models/storage_system_update.rb +4 -4
- data/lib/eilam_test/models/system_type.rb +4 -4
- data/lib/eilam_test/models/system_type_create.rb +4 -4
- data/lib/eilam_test/models/user.rb +4 -4
- data/lib/eilam_test/models/user_create.rb +4 -4
- data/lib/eilam_test/models/user_update.rb +4 -4
- data/lib/eilam_test/models/validate_system.rb +4 -4
- data/lib/eilam_test/models/volume.rb +4 -4
- data/lib/eilam_test/models/volume_create.rb +4 -4
- data/lib/eilam_test/models/volume_response.rb +4 -4
- data/lib/eilam_test/models/volume_safe_delete.rb +4 -4
- data/lib/eilam_test/models/volume_safe_delete_create.rb +4 -4
- data/lib/eilam_test/models/volume_update.rb +4 -4
- data/lib/eilam_test/version.rb +2 -2
- data/lib/eilam_test.rb +2 -2
- data/spec/api/abstract_capability_api_spec.rb +3 -3
- data/spec/api/account_api_spec.rb +3 -3
- data/spec/api/address_api_spec.rb +3 -3
- data/spec/api/authentication_api_spec.rb +3 -3
- data/spec/api/auto_sde_project_api_spec.rb +3 -3
- data/spec/api/auto_sde_role_api_spec.rb +3 -3
- data/spec/api/capability_translation_api_spec.rb +3 -3
- data/spec/api/event_api_spec.rb +3 -3
- data/spec/api/host_api_spec.rb +3 -3
- data/spec/api/host_cluster_api_spec.rb +3 -3
- data/spec/api/host_cluster_membership_api_spec.rb +3 -3
- data/spec/api/host_cluster_volume_mapping_api_spec.rb +3 -3
- data/spec/api/host_volume_connection_api_spec.rb +3 -3
- data/spec/api/job_api_spec.rb +3 -3
- data/spec/api/native_capability_api_spec.rb +3 -3
- data/spec/api/profile_api_spec.rb +3 -3
- data/spec/api/provisioning_strategy_api_spec.rb +3 -3
- data/spec/api/service_api_spec.rb +3 -3
- data/spec/api/service_resource_attachment_api_spec.rb +3 -3
- data/spec/api/snapshot_api_spec.rb +3 -3
- data/spec/api/storage_host_api_spec.rb +3 -3
- data/spec/api/storage_host_volume_mapping_api_spec.rb +3 -3
- data/spec/api/storage_host_wwpn_candidates_api_spec.rb +3 -3
- data/spec/api/storage_resource_api_spec.rb +3 -3
- data/spec/api/storage_system_api_spec.rb +3 -3
- data/spec/api/system_type_api_spec.rb +3 -3
- data/spec/api/user_api_spec.rb +3 -3
- data/spec/api/validate_system_api_spec.rb +3 -3
- data/spec/api/volume_api_spec.rb +3 -3
- data/spec/api/volume_safe_delete_api_spec.rb +3 -3
- data/spec/api_client_spec.rb +29 -29
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/abstract_capability_spec.rb +4 -4
- data/spec/models/account_post_request_spec.rb +4 -4
- data/spec/models/account_post_response_spec.rb +4 -4
- data/spec/models/account_spec.rb +4 -4
- data/spec/models/address_create_spec.rb +4 -4
- data/spec/models/address_spec.rb +4 -4
- data/spec/models/auth_response_spec.rb +4 -4
- data/spec/models/authentication_spec.rb +4 -4
- data/spec/models/auto_sde_project_spec.rb +4 -4
- data/spec/models/auto_sde_role_spec.rb +4 -4
- data/spec/models/capability_translation_create_spec.rb +4 -4
- data/spec/models/capability_translation_spec.rb +4 -4
- data/spec/models/event_spec.rb +4 -4
- data/spec/models/host_cluster_create_spec.rb +4 -4
- data/spec/models/host_cluster_membership_spec.rb +4 -4
- data/spec/models/host_cluster_response_spec.rb +4 -4
- data/spec/models/host_cluster_spec.rb +4 -4
- data/spec/models/host_cluster_volume_mapping_create_spec.rb +4 -4
- data/spec/models/host_cluster_volume_mapping_response_spec.rb +4 -4
- data/spec/models/host_cluster_volume_mapping_spec.rb +4 -4
- data/spec/models/host_create_spec.rb +4 -4
- data/spec/models/host_spec.rb +4 -4
- data/spec/models/host_volume_connection_create_spec.rb +4 -4
- data/spec/models/host_volume_connection_spec.rb +4 -4
- data/spec/models/job_create_spec.rb +4 -4
- data/spec/models/job_spec.rb +4 -4
- data/spec/models/native_capability_spec.rb +4 -4
- data/spec/models/profile_spec.rb +4 -4
- data/spec/models/provisioning_strategy_spec.rb +4 -4
- data/spec/models/service_abstract_capability_value_spec.rb +4 -4
- data/spec/models/service_create_spec.rb +4 -4
- data/spec/models/service_resource_attachment_spec.rb +4 -4
- data/spec/models/service_spec.rb +4 -4
- data/spec/models/snapshot_create_spec.rb +4 -4
- data/spec/models/snapshot_spec.rb +4 -4
- data/spec/models/storage_host_create_spec.rb +4 -4
- data/spec/models/storage_host_response_spec.rb +4 -4
- data/spec/models/storage_host_spec.rb +4 -4
- data/spec/models/storage_host_update_spec.rb +4 -4
- data/spec/models/storage_host_volume_mapping_create_spec.rb +4 -4
- data/spec/models/storage_host_volume_mapping_response_spec.rb +4 -4
- data/spec/models/storage_host_volume_mapping_spec.rb +4 -4
- data/spec/models/storage_host_wwpn_candidates_spec.rb +4 -4
- data/spec/models/storage_resource_create_spec.rb +4 -4
- data/spec/models/storage_resource_response_spec.rb +4 -4
- data/spec/models/storage_resource_spec.rb +4 -4
- data/spec/models/storage_system_create_spec.rb +4 -4
- data/spec/models/storage_system_spec.rb +4 -4
- data/spec/models/storage_system_update_spec.rb +4 -4
- data/spec/models/system_type_create_spec.rb +4 -4
- data/spec/models/system_type_spec.rb +4 -4
- data/spec/models/user_create_spec.rb +4 -4
- data/spec/models/user_spec.rb +4 -4
- data/spec/models/user_update_spec.rb +4 -4
- data/spec/models/validate_system_spec.rb +4 -4
- data/spec/models/volume_create_spec.rb +4 -4
- data/spec/models/volume_response_spec.rb +4 -4
- data/spec/models/volume_safe_delete_create_spec.rb +4 -4
- data/spec/models/volume_safe_delete_spec.rb +4 -4
- data/spec/models/volume_spec.rb +4 -4
- data/spec/models/volume_update_spec.rb +4 -4
- data/spec/spec_helper.rb +1 -1
- metadata +71 -73
- data/lib/.DS_Store +0 -0
- data/lib/eilam_test/.DS_Store +0 -0
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# doc-todo: which profile is being defined??
|
18
18
|
class Profile
|
19
19
|
attr_accessor :account
|
@@ -89,13 +89,13 @@ module AutosdeOpenapiClient
|
|
89
89
|
# @param [Hash] attributes Model attributes in the form of hash
|
90
90
|
def initialize(attributes = {})
|
91
91
|
if (!attributes.is_a?(Hash))
|
92
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
92
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::Profile` initialize method"
|
93
93
|
end
|
94
94
|
|
95
95
|
# check to see if the attribute exists and convert string to symbol for hash key
|
96
96
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
97
97
|
if (!self.class.attribute_map.key?(k.to_sym))
|
98
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
98
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::Profile`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
99
99
|
end
|
100
100
|
h[k.to_sym] = v
|
101
101
|
}
|
@@ -239,7 +239,7 @@ module AutosdeOpenapiClient
|
|
239
239
|
end
|
240
240
|
else # model
|
241
241
|
# models (e.g. Pet) or oneOf
|
242
|
-
klass =
|
242
|
+
klass = EilamTest.const_get(type)
|
243
243
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
244
244
|
end
|
245
245
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# Used for capacity provisioning details.
|
18
18
|
class ProvisioningStrategy
|
19
19
|
# name
|
@@ -75,13 +75,13 @@ module AutosdeOpenapiClient
|
|
75
75
|
# @param [Hash] attributes Model attributes in the form of hash
|
76
76
|
def initialize(attributes = {})
|
77
77
|
if (!attributes.is_a?(Hash))
|
78
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
78
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::ProvisioningStrategy` initialize method"
|
79
79
|
end
|
80
80
|
|
81
81
|
# check to see if the attribute exists and convert string to symbol for hash key
|
82
82
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
83
83
|
if (!self.class.attribute_map.key?(k.to_sym))
|
84
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
84
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::ProvisioningStrategy`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
85
85
|
end
|
86
86
|
h[k.to_sym] = v
|
87
87
|
}
|
@@ -213,7 +213,7 @@ module AutosdeOpenapiClient
|
|
213
213
|
end
|
214
214
|
else # model
|
215
215
|
# models (e.g. Pet) or oneOf
|
216
|
-
klass =
|
216
|
+
klass = EilamTest.const_get(type)
|
217
217
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
218
218
|
end
|
219
219
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# Service
|
18
18
|
class Service
|
19
19
|
attr_accessor :capability_values
|
@@ -111,13 +111,13 @@ module AutosdeOpenapiClient
|
|
111
111
|
# @param [Hash] attributes Model attributes in the form of hash
|
112
112
|
def initialize(attributes = {})
|
113
113
|
if (!attributes.is_a?(Hash))
|
114
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
114
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::Service` initialize method"
|
115
115
|
end
|
116
116
|
|
117
117
|
# check to see if the attribute exists and convert string to symbol for hash key
|
118
118
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
119
119
|
if (!self.class.attribute_map.key?(k.to_sym))
|
120
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
120
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::Service`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
121
121
|
end
|
122
122
|
h[k.to_sym] = v
|
123
123
|
}
|
@@ -295,7 +295,7 @@ module AutosdeOpenapiClient
|
|
295
295
|
end
|
296
296
|
else # model
|
297
297
|
# models (e.g. Pet) or oneOf
|
298
|
-
klass =
|
298
|
+
klass = EilamTest.const_get(type)
|
299
299
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
300
300
|
end
|
301
301
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# ServiceAbstractCapabilityValue
|
18
18
|
class ServiceAbstractCapabilityValue
|
19
19
|
attr_accessor :abstract_capability
|
@@ -57,13 +57,13 @@ module AutosdeOpenapiClient
|
|
57
57
|
# @param [Hash] attributes Model attributes in the form of hash
|
58
58
|
def initialize(attributes = {})
|
59
59
|
if (!attributes.is_a?(Hash))
|
60
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
60
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::ServiceAbstractCapabilityValue` initialize method"
|
61
61
|
end
|
62
62
|
|
63
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
64
64
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
65
65
|
if (!self.class.attribute_map.key?(k.to_sym))
|
66
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
66
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::ServiceAbstractCapabilityValue`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
67
67
|
end
|
68
68
|
h[k.to_sym] = v
|
69
69
|
}
|
@@ -183,7 +183,7 @@ module AutosdeOpenapiClient
|
|
183
183
|
end
|
184
184
|
else # model
|
185
185
|
# models (e.g. Pet) or oneOf
|
186
|
-
klass =
|
186
|
+
klass = EilamTest.const_get(type)
|
187
187
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
188
188
|
end
|
189
189
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# TODO add description
|
18
18
|
class ServiceCreate
|
19
19
|
attr_accessor :capability_values
|
@@ -106,13 +106,13 @@ module AutosdeOpenapiClient
|
|
106
106
|
# @param [Hash] attributes Model attributes in the form of hash
|
107
107
|
def initialize(attributes = {})
|
108
108
|
if (!attributes.is_a?(Hash))
|
109
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
109
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::ServiceCreate` initialize method"
|
110
110
|
end
|
111
111
|
|
112
112
|
# check to see if the attribute exists and convert string to symbol for hash key
|
113
113
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
114
114
|
if (!self.class.attribute_map.key?(k.to_sym))
|
115
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
115
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::ServiceCreate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
116
116
|
end
|
117
117
|
h[k.to_sym] = v
|
118
118
|
}
|
@@ -283,7 +283,7 @@ module AutosdeOpenapiClient
|
|
283
283
|
end
|
284
284
|
else # model
|
285
285
|
# models (e.g. Pet) or oneOf
|
286
|
-
klass =
|
286
|
+
klass = EilamTest.const_get(type)
|
287
287
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
288
288
|
end
|
289
289
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# ServiceResourceAttachment
|
18
18
|
class ServiceResourceAttachment
|
19
19
|
# compliant
|
@@ -61,13 +61,13 @@ module AutosdeOpenapiClient
|
|
61
61
|
# @param [Hash] attributes Model attributes in the form of hash
|
62
62
|
def initialize(attributes = {})
|
63
63
|
if (!attributes.is_a?(Hash))
|
64
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
64
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::ServiceResourceAttachment` initialize method"
|
65
65
|
end
|
66
66
|
|
67
67
|
# check to see if the attribute exists and convert string to symbol for hash key
|
68
68
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
69
69
|
if (!self.class.attribute_map.key?(k.to_sym))
|
70
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
70
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::ServiceResourceAttachment`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
71
71
|
end
|
72
72
|
h[k.to_sym] = v
|
73
73
|
}
|
@@ -194,7 +194,7 @@ module AutosdeOpenapiClient
|
|
194
194
|
end
|
195
195
|
else # model
|
196
196
|
# models (e.g. Pet) or oneOf
|
197
|
-
klass =
|
197
|
+
klass = EilamTest.const_get(type)
|
198
198
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
199
199
|
end
|
200
200
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# Define volume snapshot.
|
18
18
|
class Snapshot
|
19
19
|
# component_state
|
@@ -89,13 +89,13 @@ module AutosdeOpenapiClient
|
|
89
89
|
# @param [Hash] attributes Model attributes in the form of hash
|
90
90
|
def initialize(attributes = {})
|
91
91
|
if (!attributes.is_a?(Hash))
|
92
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
92
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::Snapshot` initialize method"
|
93
93
|
end
|
94
94
|
|
95
95
|
# check to see if the attribute exists and convert string to symbol for hash key
|
96
96
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
97
97
|
if (!self.class.attribute_map.key?(k.to_sym))
|
98
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
98
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::Snapshot`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
99
99
|
end
|
100
100
|
h[k.to_sym] = v
|
101
101
|
}
|
@@ -242,7 +242,7 @@ module AutosdeOpenapiClient
|
|
242
242
|
end
|
243
243
|
else # model
|
244
244
|
# models (e.g. Pet) or oneOf
|
245
|
-
klass =
|
245
|
+
klass = EilamTest.const_get(type)
|
246
246
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
247
247
|
end
|
248
248
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# TODO add description
|
18
18
|
class SnapshotCreate
|
19
19
|
# component_state
|
@@ -84,13 +84,13 @@ module AutosdeOpenapiClient
|
|
84
84
|
# @param [Hash] attributes Model attributes in the form of hash
|
85
85
|
def initialize(attributes = {})
|
86
86
|
if (!attributes.is_a?(Hash))
|
87
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
87
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::SnapshotCreate` initialize method"
|
88
88
|
end
|
89
89
|
|
90
90
|
# check to see if the attribute exists and convert string to symbol for hash key
|
91
91
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
92
92
|
if (!self.class.attribute_map.key?(k.to_sym))
|
93
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
93
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::SnapshotCreate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
94
94
|
end
|
95
95
|
h[k.to_sym] = v
|
96
96
|
}
|
@@ -232,7 +232,7 @@ module AutosdeOpenapiClient
|
|
232
232
|
end
|
233
233
|
else # model
|
234
234
|
# models (e.g. Pet) or oneOf
|
235
|
-
klass =
|
235
|
+
klass = EilamTest.const_get(type)
|
236
236
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
237
237
|
end
|
238
238
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# StorageHost
|
18
18
|
class StorageHost
|
19
19
|
# component_state
|
@@ -112,13 +112,13 @@ module AutosdeOpenapiClient
|
|
112
112
|
# @param [Hash] attributes Model attributes in the form of hash
|
113
113
|
def initialize(attributes = {})
|
114
114
|
if (!attributes.is_a?(Hash))
|
115
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
115
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::StorageHost` initialize method"
|
116
116
|
end
|
117
117
|
|
118
118
|
# check to see if the attribute exists and convert string to symbol for hash key
|
119
119
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
120
120
|
if (!self.class.attribute_map.key?(k.to_sym))
|
121
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
121
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::StorageHost`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
122
122
|
end
|
123
123
|
h[k.to_sym] = v
|
124
124
|
}
|
@@ -290,7 +290,7 @@ module AutosdeOpenapiClient
|
|
290
290
|
end
|
291
291
|
else # model
|
292
292
|
# models (e.g. Pet) or oneOf
|
293
|
-
klass =
|
293
|
+
klass = EilamTest.const_get(type)
|
294
294
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
295
295
|
end
|
296
296
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# TODO add description
|
18
18
|
class StorageHostCreate
|
19
19
|
# chap_name
|
@@ -127,13 +127,13 @@ module AutosdeOpenapiClient
|
|
127
127
|
# @param [Hash] attributes Model attributes in the form of hash
|
128
128
|
def initialize(attributes = {})
|
129
129
|
if (!attributes.is_a?(Hash))
|
130
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
130
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::StorageHostCreate` initialize method"
|
131
131
|
end
|
132
132
|
|
133
133
|
# check to see if the attribute exists and convert string to symbol for hash key
|
134
134
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
135
135
|
if (!self.class.attribute_map.key?(k.to_sym))
|
136
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
136
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::StorageHostCreate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
137
137
|
end
|
138
138
|
h[k.to_sym] = v
|
139
139
|
}
|
@@ -332,7 +332,7 @@ module AutosdeOpenapiClient
|
|
332
332
|
end
|
333
333
|
else # model
|
334
334
|
# models (e.g. Pet) or oneOf
|
335
|
-
klass =
|
335
|
+
klass = EilamTest.const_get(type)
|
336
336
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
337
337
|
end
|
338
338
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# TODO add description
|
18
18
|
class StorageHostResponse
|
19
19
|
# addresses
|
@@ -120,13 +120,13 @@ module AutosdeOpenapiClient
|
|
120
120
|
# @param [Hash] attributes Model attributes in the form of hash
|
121
121
|
def initialize(attributes = {})
|
122
122
|
if (!attributes.is_a?(Hash))
|
123
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
123
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::StorageHostResponse` initialize method"
|
124
124
|
end
|
125
125
|
|
126
126
|
# check to see if the attribute exists and convert string to symbol for hash key
|
127
127
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
128
128
|
if (!self.class.attribute_map.key?(k.to_sym))
|
129
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
129
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::StorageHostResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
130
130
|
end
|
131
131
|
h[k.to_sym] = v
|
132
132
|
}
|
@@ -307,7 +307,7 @@ module AutosdeOpenapiClient
|
|
307
307
|
end
|
308
308
|
else # model
|
309
309
|
# models (e.g. Pet) or oneOf
|
310
|
-
klass =
|
310
|
+
klass = EilamTest.const_get(type)
|
311
311
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
312
312
|
end
|
313
313
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# TODO add description
|
18
18
|
class StorageHostUpdate
|
19
19
|
# operation
|
@@ -80,13 +80,13 @@ module AutosdeOpenapiClient
|
|
80
80
|
# @param [Hash] attributes Model attributes in the form of hash
|
81
81
|
def initialize(attributes = {})
|
82
82
|
if (!attributes.is_a?(Hash))
|
83
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
83
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::StorageHostUpdate` initialize method"
|
84
84
|
end
|
85
85
|
|
86
86
|
# check to see if the attribute exists and convert string to symbol for hash key
|
87
87
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
88
88
|
if (!self.class.attribute_map.key?(k.to_sym))
|
89
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
89
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::StorageHostUpdate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
90
90
|
end
|
91
91
|
h[k.to_sym] = v
|
92
92
|
}
|
@@ -245,7 +245,7 @@ module AutosdeOpenapiClient
|
|
245
245
|
end
|
246
246
|
else # model
|
247
247
|
# models (e.g. Pet) or oneOf
|
248
|
-
klass =
|
248
|
+
klass = EilamTest.const_get(type)
|
249
249
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
250
250
|
end
|
251
251
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# StorageHostVolumeMapping
|
18
18
|
class StorageHostVolumeMapping
|
19
19
|
# component_state
|
@@ -88,13 +88,13 @@ module AutosdeOpenapiClient
|
|
88
88
|
# @param [Hash] attributes Model attributes in the form of hash
|
89
89
|
def initialize(attributes = {})
|
90
90
|
if (!attributes.is_a?(Hash))
|
91
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
91
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::StorageHostVolumeMapping` initialize method"
|
92
92
|
end
|
93
93
|
|
94
94
|
# check to see if the attribute exists and convert string to symbol for hash key
|
95
95
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
96
96
|
if (!self.class.attribute_map.key?(k.to_sym))
|
97
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
97
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::StorageHostVolumeMapping`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
98
98
|
end
|
99
99
|
h[k.to_sym] = v
|
100
100
|
}
|
@@ -243,7 +243,7 @@ module AutosdeOpenapiClient
|
|
243
243
|
end
|
244
244
|
else # model
|
245
245
|
# models (e.g. Pet) or oneOf
|
246
|
-
klass =
|
246
|
+
klass = EilamTest.const_get(type)
|
247
247
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
248
248
|
end
|
249
249
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# TODO add description
|
18
18
|
class StorageHostVolumeMappingCreate
|
19
19
|
# component_state
|
@@ -85,13 +85,13 @@ module AutosdeOpenapiClient
|
|
85
85
|
# @param [Hash] attributes Model attributes in the form of hash
|
86
86
|
def initialize(attributes = {})
|
87
87
|
if (!attributes.is_a?(Hash))
|
88
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
88
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::StorageHostVolumeMappingCreate` initialize method"
|
89
89
|
end
|
90
90
|
|
91
91
|
# check to see if the attribute exists and convert string to symbol for hash key
|
92
92
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
93
93
|
if (!self.class.attribute_map.key?(k.to_sym))
|
94
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
94
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::StorageHostVolumeMappingCreate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
95
95
|
end
|
96
96
|
h[k.to_sym] = v
|
97
97
|
}
|
@@ -235,7 +235,7 @@ module AutosdeOpenapiClient
|
|
235
235
|
end
|
236
236
|
else # model
|
237
237
|
# models (e.g. Pet) or oneOf
|
238
|
-
klass =
|
238
|
+
klass = EilamTest.const_get(type)
|
239
239
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
240
240
|
end
|
241
241
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# TODO add description
|
18
18
|
class StorageHostVolumeMappingResponse
|
19
19
|
# component_state
|
@@ -90,13 +90,13 @@ module AutosdeOpenapiClient
|
|
90
90
|
# @param [Hash] attributes Model attributes in the form of hash
|
91
91
|
def initialize(attributes = {})
|
92
92
|
if (!attributes.is_a?(Hash))
|
93
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
93
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::StorageHostVolumeMappingResponse` initialize method"
|
94
94
|
end
|
95
95
|
|
96
96
|
# check to see if the attribute exists and convert string to symbol for hash key
|
97
97
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
98
98
|
if (!self.class.attribute_map.key?(k.to_sym))
|
99
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
99
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::StorageHostVolumeMappingResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
100
100
|
end
|
101
101
|
h[k.to_sym] = v
|
102
102
|
}
|
@@ -245,7 +245,7 @@ module AutosdeOpenapiClient
|
|
245
245
|
end
|
246
246
|
else # model
|
247
247
|
# models (e.g. Pet) or oneOf
|
248
|
-
klass =
|
248
|
+
klass = EilamTest.const_get(type)
|
249
249
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
250
250
|
end
|
251
251
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# Storage host candidates
|
18
18
|
class StorageHostWWPNCandidates
|
19
19
|
# system_uuid
|
@@ -53,13 +53,13 @@ module AutosdeOpenapiClient
|
|
53
53
|
# @param [Hash] attributes Model attributes in the form of hash
|
54
54
|
def initialize(attributes = {})
|
55
55
|
if (!attributes.is_a?(Hash))
|
56
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
56
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::StorageHostWWPNCandidates` initialize method"
|
57
57
|
end
|
58
58
|
|
59
59
|
# check to see if the attribute exists and convert string to symbol for hash key
|
60
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
61
|
if (!self.class.attribute_map.key?(k.to_sym))
|
62
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::StorageHostWWPNCandidates`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
63
63
|
end
|
64
64
|
h[k.to_sym] = v
|
65
65
|
}
|
@@ -174,7 +174,7 @@ module AutosdeOpenapiClient
|
|
174
174
|
end
|
175
175
|
else # model
|
176
176
|
# models (e.g. Pet) or oneOf
|
177
|
-
klass =
|
177
|
+
klass = EilamTest.const_get(type)
|
178
178
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
179
179
|
end
|
180
180
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# StorageResource
|
18
18
|
class StorageResource
|
19
19
|
# advanced_attributes_map
|
@@ -109,13 +109,13 @@ module AutosdeOpenapiClient
|
|
109
109
|
# @param [Hash] attributes Model attributes in the form of hash
|
110
110
|
def initialize(attributes = {})
|
111
111
|
if (!attributes.is_a?(Hash))
|
112
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
112
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::StorageResource` initialize method"
|
113
113
|
end
|
114
114
|
|
115
115
|
# check to see if the attribute exists and convert string to symbol for hash key
|
116
116
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
117
117
|
if (!self.class.attribute_map.key?(k.to_sym))
|
118
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
118
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::StorageResource`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
119
119
|
end
|
120
120
|
h[k.to_sym] = v
|
121
121
|
}
|
@@ -298,7 +298,7 @@ module AutosdeOpenapiClient
|
|
298
298
|
end
|
299
299
|
else # model
|
300
300
|
# models (e.g. Pet) or oneOf
|
301
|
-
klass =
|
301
|
+
klass = EilamTest.const_get(type)
|
302
302
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
303
303
|
end
|
304
304
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# TODO add description
|
18
18
|
class StorageResourceCreate
|
19
19
|
# advanced_attributes_map
|
@@ -105,13 +105,13 @@ module AutosdeOpenapiClient
|
|
105
105
|
# @param [Hash] attributes Model attributes in the form of hash
|
106
106
|
def initialize(attributes = {})
|
107
107
|
if (!attributes.is_a?(Hash))
|
108
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
108
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::StorageResourceCreate` initialize method"
|
109
109
|
end
|
110
110
|
|
111
111
|
# check to see if the attribute exists and convert string to symbol for hash key
|
112
112
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
113
113
|
if (!self.class.attribute_map.key?(k.to_sym))
|
114
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
114
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::StorageResourceCreate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
115
115
|
end
|
116
116
|
h[k.to_sym] = v
|
117
117
|
}
|
@@ -289,7 +289,7 @@ module AutosdeOpenapiClient
|
|
289
289
|
end
|
290
290
|
else # model
|
291
291
|
# models (e.g. Pet) or oneOf
|
292
|
-
klass =
|
292
|
+
klass = EilamTest.const_get(type)
|
293
293
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
294
294
|
end
|
295
295
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.0.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module EilamTest
|
17
17
|
# TODO add description
|
18
18
|
class StorageResourceResponse
|
19
19
|
# advanced_attributes_map
|
@@ -110,13 +110,13 @@ module AutosdeOpenapiClient
|
|
110
110
|
# @param [Hash] attributes Model attributes in the form of hash
|
111
111
|
def initialize(attributes = {})
|
112
112
|
if (!attributes.is_a?(Hash))
|
113
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
113
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EilamTest::StorageResourceResponse` initialize method"
|
114
114
|
end
|
115
115
|
|
116
116
|
# check to see if the attribute exists and convert string to symbol for hash key
|
117
117
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
118
118
|
if (!self.class.attribute_map.key?(k.to_sym))
|
119
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
119
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EilamTest::StorageResourceResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
120
120
|
end
|
121
121
|
h[k.to_sym] = v
|
122
122
|
}
|
@@ -299,7 +299,7 @@ module AutosdeOpenapiClient
|
|
299
299
|
end
|
300
300
|
else # model
|
301
301
|
# models (e.g. Pet) or oneOf
|
302
|
-
klass =
|
302
|
+
klass = EilamTest.const_get(type)
|
303
303
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
304
304
|
end
|
305
305
|
end
|