vsphere-automation-cis 0.4.2 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +20 -0
- data/lib/vsphere-automation-cis/api_client.rb +260 -0
- data/lib/vsphere-automation-cis/api_error.rb +34 -0
- data/lib/vsphere-automation-cis/configuration.rb +212 -0
- data/lib/vsphere-automation-cis/version.rb +1 -1
- metadata +13 -280
- data/Gemfile +0 -13
- data/Gemfile.lock +0 -78
- data/README.md +0 -180
- data/Rakefile +0 -18
- data/docs/CisSessionCreateResult.md +0 -8
- data/docs/CisSessionInfo.md +0 -10
- data/docs/CisSessionResult.md +0 -8
- data/docs/CisTaggingCategoryAddToUsedBy.md +0 -8
- data/docs/CisTaggingCategoryCreate.md +0 -8
- data/docs/CisTaggingCategoryCreateResult.md +0 -8
- data/docs/CisTaggingCategoryCreateSpec.md +0 -12
- data/docs/CisTaggingCategoryListResult.md +0 -8
- data/docs/CisTaggingCategoryListUsedCategories.md +0 -8
- data/docs/CisTaggingCategoryListUsedCategoriesResult.md +0 -8
- data/docs/CisTaggingCategoryModel.md +0 -13
- data/docs/CisTaggingCategoryModelCardinality.md +0 -7
- data/docs/CisTaggingCategoryRemoveFromUsedBy.md +0 -8
- data/docs/CisTaggingCategoryResult.md +0 -8
- data/docs/CisTaggingCategoryUpdate.md +0 -8
- data/docs/CisTaggingCategoryUpdateSpec.md +0 -11
- data/docs/CisTaggingTagAddToUsedBy.md +0 -8
- data/docs/CisTaggingTagAssociationAttach.md +0 -8
- data/docs/CisTaggingTagAssociationAttachMultipleTagsToObject.md +0 -9
- data/docs/CisTaggingTagAssociationAttachMultipleTagsToObjectResult.md +0 -8
- data/docs/CisTaggingTagAssociationAttachTagToMultipleObjects.md +0 -8
- data/docs/CisTaggingTagAssociationAttachTagToMultipleObjectsResult.md +0 -8
- data/docs/CisTaggingTagAssociationBatchResult.md +0 -9
- data/docs/CisTaggingTagAssociationDetach.md +0 -8
- data/docs/CisTaggingTagAssociationDetachMultipleTagsFromObject.md +0 -9
- data/docs/CisTaggingTagAssociationDetachMultipleTagsFromObjectResult.md +0 -8
- data/docs/CisTaggingTagAssociationDetachTagFromMultipleObjects.md +0 -8
- data/docs/CisTaggingTagAssociationDetachTagFromMultipleObjectsResult.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachableTags.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachableTagsResult.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachedObjectsOnTags.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachedObjectsOnTagsResult.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachedObjectsResult.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachedTags.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachedTagsOnObjects.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachedTagsOnObjectsResult.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachedTagsResult.md +0 -8
- data/docs/CisTaggingTagAssociationObjectToTags.md +0 -9
- data/docs/CisTaggingTagAssociationTagToObjects.md +0 -9
- data/docs/CisTaggingTagCreate.md +0 -8
- data/docs/CisTaggingTagCreateResult.md +0 -8
- data/docs/CisTaggingTagCreateSpec.md +0 -11
- data/docs/CisTaggingTagListResult.md +0 -8
- data/docs/CisTaggingTagListTagsForCategoryResult.md +0 -8
- data/docs/CisTaggingTagListUsedTags.md +0 -8
- data/docs/CisTaggingTagListUsedTagsResult.md +0 -8
- data/docs/CisTaggingTagModel.md +0 -12
- data/docs/CisTaggingTagRemoveFromUsedBy.md +0 -8
- data/docs/CisTaggingTagResult.md +0 -8
- data/docs/CisTaggingTagUpdate.md +0 -8
- data/docs/CisTaggingTagUpdateSpec.md +0 -9
- data/docs/CisTaskInfo.md +0 -19
- data/docs/CisTaskProgress.md +0 -10
- data/docs/CisTaskStatus.md +0 -7
- data/docs/CisTasksFilterSpec.md +0 -12
- data/docs/CisTasksGetSpec.md +0 -9
- data/docs/CisTasksListResult.md +0 -8
- data/docs/CisTasksListResultValue.md +0 -9
- data/docs/CisTasksResult.md +0 -8
- data/docs/FilterSpecTargets.md +0 -9
- data/docs/SessionApi.md +0 -151
- data/docs/TaggingCategoryApi.md +0 -464
- data/docs/TaggingTagApi.md +0 -515
- data/docs/TaggingTagAssociationApi.md +0 -575
- data/docs/TasksApi.md +0 -180
- data/docs/VapiStdDynamicID.md +0 -9
- data/docs/VapiStdErrorsAlreadyExists.md +0 -9
- data/docs/VapiStdErrorsAlreadyExistsError.md +0 -9
- data/docs/VapiStdErrorsError.md +0 -9
- data/docs/VapiStdErrorsErrorError.md +0 -9
- data/docs/VapiStdErrorsInvalidArgument.md +0 -9
- data/docs/VapiStdErrorsInvalidArgumentError.md +0 -9
- data/docs/VapiStdErrorsNotAllowedInCurrentState.md +0 -9
- data/docs/VapiStdErrorsNotAllowedInCurrentStateError.md +0 -9
- data/docs/VapiStdErrorsNotFound.md +0 -9
- data/docs/VapiStdErrorsNotFoundError.md +0 -9
- data/docs/VapiStdErrorsResourceInaccessible.md +0 -9
- data/docs/VapiStdErrorsResourceInaccessibleError.md +0 -9
- data/docs/VapiStdErrorsServiceUnavailable.md +0 -9
- data/docs/VapiStdErrorsServiceUnavailableError.md +0 -9
- data/docs/VapiStdErrorsUnauthenticated.md +0 -9
- data/docs/VapiStdErrorsUnauthenticatedError.md +0 -9
- data/docs/VapiStdErrorsUnauthorized.md +0 -9
- data/docs/VapiStdErrorsUnauthorizedError.md +0 -9
- data/docs/VapiStdErrorsUnsupported.md +0 -9
- data/docs/VapiStdErrorsUnsupportedError.md +0 -9
- data/docs/VapiStdLocalizableMessage.md +0 -10
- data/git_push.sh +0 -55
- data/pkg/vsphere-automation-cis-0.4.1.gem +0 -0
- data/pkg/vsphere-automation-cis-0.4.2.gem +0 -0
- data/spec/api/session_api_spec.rb +0 -62
- data/spec/api/tagging_category_api_spec.rb +0 -132
- data/spec/api/tagging_tag_api_spec.rb +0 -143
- data/spec/api/tagging_tag_association_api_spec.rb +0 -156
- data/spec/api/tasks_api_spec.rb +0 -72
- data/spec/models/cis_session_create_result_spec.rb +0 -37
- data/spec/models/cis_session_info_spec.rb +0 -49
- data/spec/models/cis_session_result_spec.rb +0 -37
- data/spec/models/cis_tagging_category_add_to_used_by_spec.rb +0 -37
- data/spec/models/cis_tagging_category_create_result_spec.rb +0 -37
- data/spec/models/cis_tagging_category_create_spec.rb +0 -37
- data/spec/models/cis_tagging_category_create_spec_spec.rb +0 -61
- data/spec/models/cis_tagging_category_list_result_spec.rb +0 -37
- data/spec/models/cis_tagging_category_list_used_categories_result_spec.rb +0 -37
- data/spec/models/cis_tagging_category_list_used_categories_spec.rb +0 -37
- data/spec/models/cis_tagging_category_model_cardinality_spec.rb +0 -31
- data/spec/models/cis_tagging_category_model_spec.rb +0 -67
- data/spec/models/cis_tagging_category_remove_from_used_by_spec.rb +0 -37
- data/spec/models/cis_tagging_category_result_spec.rb +0 -37
- data/spec/models/cis_tagging_category_update_spec.rb +0 -37
- data/spec/models/cis_tagging_category_update_spec_spec.rb +0 -55
- data/spec/models/cis_tagging_tag_add_to_used_by_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_attach_multiple_tags_to_object_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_attach_multiple_tags_to_object_spec.rb +0 -43
- data/spec/models/cis_tagging_tag_association_attach_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_batch_result_spec.rb +0 -43
- data/spec/models/cis_tagging_tag_association_detach_multiple_tags_from_object_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_detach_multiple_tags_from_object_spec.rb +0 -43
- data/spec/models/cis_tagging_tag_association_detach_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attachable_tags_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attachable_tags_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attached_objects_on_tags_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attached_objects_on_tags_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attached_objects_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attached_tags_on_objects_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attached_tags_on_objects_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attached_tags_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attached_tags_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_object_to_tags_spec.rb +0 -43
- data/spec/models/cis_tagging_tag_association_tag_to_objects_spec.rb +0 -43
- data/spec/models/cis_tagging_tag_create_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_create_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_create_spec_spec.rb +0 -55
- data/spec/models/cis_tagging_tag_list_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_list_tags_for_category_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_list_used_tags_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_list_used_tags_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_model_spec.rb +0 -61
- data/spec/models/cis_tagging_tag_remove_from_used_by_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_update_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_update_spec_spec.rb +0 -43
- data/spec/models/cis_task_info_spec.rb +0 -103
- data/spec/models/cis_task_progress_spec.rb +0 -49
- data/spec/models/cis_task_status_spec.rb +0 -31
- data/spec/models/cis_tasks_filter_spec_spec.rb +0 -61
- data/spec/models/cis_tasks_get_spec_spec.rb +0 -43
- data/spec/models/cis_tasks_list_result_spec.rb +0 -37
- data/spec/models/cis_tasks_list_result_value_spec.rb +0 -43
- data/spec/models/cis_tasks_result_spec.rb +0 -37
- data/spec/models/filter_spec_targets_spec.rb +0 -43
- data/spec/models/vapi_std_dynamic_id_spec.rb +0 -43
- data/spec/models/vapi_std_errors_already_exists_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_already_exists_spec.rb +0 -43
- data/spec/models/vapi_std_errors_error_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_argument_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_argument_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_found_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_found_spec.rb +0 -43
- data/spec/models/vapi_std_errors_resource_inaccessible_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_resource_inaccessible_spec.rb +0 -43
- data/spec/models/vapi_std_errors_service_unavailable_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_service_unavailable_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthenticated_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthorized_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unsupported_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unsupported_spec.rb +0 -43
- data/spec/models/vapi_std_localizable_message_spec.rb +0 -49
- data/spec/spec_helper.rb +0 -110
- data/vsphere-automation-cis.gemspec +0 -39
data/spec/api/tasks_api_spec.rb
DELETED
@@ -1,72 +0,0 @@
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
-
# SPDX-License-Identifier: MIT
|
3
|
-
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
-
|
6
|
-
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
-
|
8
|
-
|
9
|
-
require 'spec_helper'
|
10
|
-
require 'json'
|
11
|
-
|
12
|
-
# Unit tests for VSphereAutomation::CIS::TasksApi
|
13
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
14
|
-
# Please update as you see appropriate
|
15
|
-
describe 'TasksApi' do
|
16
|
-
before do
|
17
|
-
# run before each test
|
18
|
-
@instance = VSphereAutomation::CIS::TasksApi.new
|
19
|
-
end
|
20
|
-
|
21
|
-
after do
|
22
|
-
# run after each test
|
23
|
-
end
|
24
|
-
|
25
|
-
describe 'test an instance of TasksApi' do
|
26
|
-
it 'should create an instance of TasksApi' do
|
27
|
-
expect(@instance).to be_instance_of(VSphereAutomation::CIS::TasksApi)
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
# unit tests for cancel
|
32
|
-
# Cancel a running operation associated with the task. This is the best effort attempt. Operation may not be cancelled anymore once it reaches certain stage.
|
33
|
-
# @param task Task identifier. The parameter must be an identifier for the resource type: cis.task.
|
34
|
-
# @param [Hash] opts the optional parameters
|
35
|
-
# @return [nil]
|
36
|
-
describe 'cancel test' do
|
37
|
-
it 'should work' do
|
38
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
# unit tests for get
|
43
|
-
# Returns information about a task.
|
44
|
-
# @param task Task identifier. The parameter must be an identifier for the resource type: cis.task.
|
45
|
-
# @param [Hash] opts the optional parameters
|
46
|
-
# @option opts [Boolean] :spec_return_all If true, all data, including operation-specific data, will be returned, otherwise only the data described in Info will be returned. If unset, only the data described in Info will be returned.
|
47
|
-
# @option opts [Boolean] :spec_exclude_result If true, the result will not be included in the task information, otherwise it will be included. If unset, the result of the operation will be included in the task information.
|
48
|
-
# @return [CisTasksResult]
|
49
|
-
describe 'get test' do
|
50
|
-
it 'should work' do
|
51
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
# unit tests for list
|
56
|
-
# Returns information about at most 1000 visible (subject to permission checks) tasks matching the Tasks.FilterSpec. All tasks must be in the same provider.
|
57
|
-
# @param [Hash] opts the optional parameters
|
58
|
-
# @option opts [Array<String>] :filter_spec_tasks Identifiers of tasks that can match the filter. This field may be unset if Tasks.FilterSpec.services is specified. Currently all tasks must be from the same provider. If unset or empty, tasks with any identifier will match the filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: cis.task. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: cis.task.
|
59
|
-
# @option opts [Boolean] :result_spec_return_all If true, all data, including operation-specific data, will be returned, otherwise only the data described in Info will be returned. If unset, only the data described in Info will be returned.
|
60
|
-
# @option opts [Boolean] :result_spec_exclude_result If true, the result will not be included in the task information, otherwise it will be included. If unset, the result of the operation will be included in the task information.
|
61
|
-
# @option opts [Array<String>] :filter_spec_services Identifiers of services. Tasks created by operations in these services match the filter (see CommonInfo.service). This field may be unset if Tasks.FilterSpec.tasks is specified. Currently all services must be from the same provider. If this field is unset or empty, tasks for all services will match the filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: vapi.service. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: vapi.service.
|
62
|
-
# @option opts [Array<String>] :filter_spec_status Status that a task must have to match the filter (see CommonInfo.status). If unset or empty, tasks with any status match the filter.
|
63
|
-
# @option opts [Array<FilterSpecTargets>] :filter_spec_targets Identifiers of the targets the operation for the associated task created or was performed on (see CommonInfo.target). If unset or empty, tasks associated with operations on any target match the filter.
|
64
|
-
# @option opts [Array<String>] :filter_spec_users Users who must have initiated the operation for the associated task to match the filter (see CommonInfo.user). If unset or empty, tasks associated with operations initiated by any user match the filter.
|
65
|
-
# @return [CisTasksListResult]
|
66
|
-
describe 'list test' do
|
67
|
-
it 'should work' do
|
68
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
end
|
@@ -1,37 +0,0 @@
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
-
# SPDX-License-Identifier: MIT
|
3
|
-
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
-
|
6
|
-
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
-
|
8
|
-
|
9
|
-
require 'spec_helper'
|
10
|
-
require 'json'
|
11
|
-
require 'date'
|
12
|
-
|
13
|
-
# Unit tests for VSphereAutomation::CIS::CisSessionCreateResult
|
14
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
15
|
-
# Please update as you see appropriate
|
16
|
-
describe 'CisSessionCreateResult' do
|
17
|
-
before do
|
18
|
-
# run before each test
|
19
|
-
@instance = VSphereAutomation::CIS::CisSessionCreateResult.new
|
20
|
-
end
|
21
|
-
|
22
|
-
after do
|
23
|
-
# run after each test
|
24
|
-
end
|
25
|
-
|
26
|
-
describe 'test an instance of CisSessionCreateResult' do
|
27
|
-
it 'should create an instance of CisSessionCreateResult' do
|
28
|
-
expect(@instance).to be_instance_of(VSphereAutomation::CIS::CisSessionCreateResult)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
describe 'test attribute "value"' do
|
32
|
-
it 'should work' do
|
33
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
end
|
@@ -1,49 +0,0 @@
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
-
# SPDX-License-Identifier: MIT
|
3
|
-
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
-
|
6
|
-
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
-
|
8
|
-
|
9
|
-
require 'spec_helper'
|
10
|
-
require 'json'
|
11
|
-
require 'date'
|
12
|
-
|
13
|
-
# Unit tests for VSphereAutomation::CIS::CisSessionInfo
|
14
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
15
|
-
# Please update as you see appropriate
|
16
|
-
describe 'CisSessionInfo' do
|
17
|
-
before do
|
18
|
-
# run before each test
|
19
|
-
@instance = VSphereAutomation::CIS::CisSessionInfo.new
|
20
|
-
end
|
21
|
-
|
22
|
-
after do
|
23
|
-
# run after each test
|
24
|
-
end
|
25
|
-
|
26
|
-
describe 'test an instance of CisSessionInfo' do
|
27
|
-
it 'should create an instance of CisSessionInfo' do
|
28
|
-
expect(@instance).to be_instance_of(VSphereAutomation::CIS::CisSessionInfo)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
describe 'test attribute "user"' do
|
32
|
-
it 'should work' do
|
33
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
describe 'test attribute "created_time"' do
|
38
|
-
it 'should work' do
|
39
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
describe 'test attribute "last_accessed_time"' do
|
44
|
-
it 'should work' do
|
45
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
end
|
@@ -1,37 +0,0 @@
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
-
# SPDX-License-Identifier: MIT
|
3
|
-
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
-
|
6
|
-
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
-
|
8
|
-
|
9
|
-
require 'spec_helper'
|
10
|
-
require 'json'
|
11
|
-
require 'date'
|
12
|
-
|
13
|
-
# Unit tests for VSphereAutomation::CIS::CisSessionResult
|
14
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
15
|
-
# Please update as you see appropriate
|
16
|
-
describe 'CisSessionResult' do
|
17
|
-
before do
|
18
|
-
# run before each test
|
19
|
-
@instance = VSphereAutomation::CIS::CisSessionResult.new
|
20
|
-
end
|
21
|
-
|
22
|
-
after do
|
23
|
-
# run after each test
|
24
|
-
end
|
25
|
-
|
26
|
-
describe 'test an instance of CisSessionResult' do
|
27
|
-
it 'should create an instance of CisSessionResult' do
|
28
|
-
expect(@instance).to be_instance_of(VSphereAutomation::CIS::CisSessionResult)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
describe 'test attribute "value"' do
|
32
|
-
it 'should work' do
|
33
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
end
|
@@ -1,37 +0,0 @@
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
-
# SPDX-License-Identifier: MIT
|
3
|
-
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
-
|
6
|
-
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
-
|
8
|
-
|
9
|
-
require 'spec_helper'
|
10
|
-
require 'json'
|
11
|
-
require 'date'
|
12
|
-
|
13
|
-
# Unit tests for VSphereAutomation::CIS::CisTaggingCategoryAddToUsedBy
|
14
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
15
|
-
# Please update as you see appropriate
|
16
|
-
describe 'CisTaggingCategoryAddToUsedBy' do
|
17
|
-
before do
|
18
|
-
# run before each test
|
19
|
-
@instance = VSphereAutomation::CIS::CisTaggingCategoryAddToUsedBy.new
|
20
|
-
end
|
21
|
-
|
22
|
-
after do
|
23
|
-
# run after each test
|
24
|
-
end
|
25
|
-
|
26
|
-
describe 'test an instance of CisTaggingCategoryAddToUsedBy' do
|
27
|
-
it 'should create an instance of CisTaggingCategoryAddToUsedBy' do
|
28
|
-
expect(@instance).to be_instance_of(VSphereAutomation::CIS::CisTaggingCategoryAddToUsedBy)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
describe 'test attribute "used_by_entity"' do
|
32
|
-
it 'should work' do
|
33
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
end
|
@@ -1,37 +0,0 @@
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
-
# SPDX-License-Identifier: MIT
|
3
|
-
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
-
|
6
|
-
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
-
|
8
|
-
|
9
|
-
require 'spec_helper'
|
10
|
-
require 'json'
|
11
|
-
require 'date'
|
12
|
-
|
13
|
-
# Unit tests for VSphereAutomation::CIS::CisTaggingCategoryCreateResult
|
14
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
15
|
-
# Please update as you see appropriate
|
16
|
-
describe 'CisTaggingCategoryCreateResult' do
|
17
|
-
before do
|
18
|
-
# run before each test
|
19
|
-
@instance = VSphereAutomation::CIS::CisTaggingCategoryCreateResult.new
|
20
|
-
end
|
21
|
-
|
22
|
-
after do
|
23
|
-
# run after each test
|
24
|
-
end
|
25
|
-
|
26
|
-
describe 'test an instance of CisTaggingCategoryCreateResult' do
|
27
|
-
it 'should create an instance of CisTaggingCategoryCreateResult' do
|
28
|
-
expect(@instance).to be_instance_of(VSphereAutomation::CIS::CisTaggingCategoryCreateResult)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
describe 'test attribute "value"' do
|
32
|
-
it 'should work' do
|
33
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
end
|
@@ -1,37 +0,0 @@
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
-
# SPDX-License-Identifier: MIT
|
3
|
-
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
-
|
6
|
-
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
-
|
8
|
-
|
9
|
-
require 'spec_helper'
|
10
|
-
require 'json'
|
11
|
-
require 'date'
|
12
|
-
|
13
|
-
# Unit tests for VSphereAutomation::CIS::CisTaggingCategoryCreate
|
14
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
15
|
-
# Please update as you see appropriate
|
16
|
-
describe 'CisTaggingCategoryCreate' do
|
17
|
-
before do
|
18
|
-
# run before each test
|
19
|
-
@instance = VSphereAutomation::CIS::CisTaggingCategoryCreate.new
|
20
|
-
end
|
21
|
-
|
22
|
-
after do
|
23
|
-
# run after each test
|
24
|
-
end
|
25
|
-
|
26
|
-
describe 'test an instance of CisTaggingCategoryCreate' do
|
27
|
-
it 'should create an instance of CisTaggingCategoryCreate' do
|
28
|
-
expect(@instance).to be_instance_of(VSphereAutomation::CIS::CisTaggingCategoryCreate)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
describe 'test attribute "create_spec"' do
|
32
|
-
it 'should work' do
|
33
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
end
|
@@ -1,61 +0,0 @@
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
-
# SPDX-License-Identifier: MIT
|
3
|
-
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
-
|
6
|
-
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
-
|
8
|
-
|
9
|
-
require 'spec_helper'
|
10
|
-
require 'json'
|
11
|
-
require 'date'
|
12
|
-
|
13
|
-
# Unit tests for VSphereAutomation::CIS::CisTaggingCategoryCreateSpec
|
14
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
15
|
-
# Please update as you see appropriate
|
16
|
-
describe 'CisTaggingCategoryCreateSpec' do
|
17
|
-
before do
|
18
|
-
# run before each test
|
19
|
-
@instance = VSphereAutomation::CIS::CisTaggingCategoryCreateSpec.new
|
20
|
-
end
|
21
|
-
|
22
|
-
after do
|
23
|
-
# run after each test
|
24
|
-
end
|
25
|
-
|
26
|
-
describe 'test an instance of CisTaggingCategoryCreateSpec' do
|
27
|
-
it 'should create an instance of CisTaggingCategoryCreateSpec' do
|
28
|
-
expect(@instance).to be_instance_of(VSphereAutomation::CIS::CisTaggingCategoryCreateSpec)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
describe 'test attribute "name"' do
|
32
|
-
it 'should work' do
|
33
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
describe 'test attribute "description"' do
|
38
|
-
it 'should work' do
|
39
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
describe 'test attribute "cardinality"' do
|
44
|
-
it 'should work' do
|
45
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
describe 'test attribute "associable_types"' do
|
50
|
-
it 'should work' do
|
51
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
describe 'test attribute "category_id"' do
|
56
|
-
it 'should work' do
|
57
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
end
|
@@ -1,37 +0,0 @@
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
-
# SPDX-License-Identifier: MIT
|
3
|
-
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
-
|
6
|
-
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
-
|
8
|
-
|
9
|
-
require 'spec_helper'
|
10
|
-
require 'json'
|
11
|
-
require 'date'
|
12
|
-
|
13
|
-
# Unit tests for VSphereAutomation::CIS::CisTaggingCategoryListResult
|
14
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
15
|
-
# Please update as you see appropriate
|
16
|
-
describe 'CisTaggingCategoryListResult' do
|
17
|
-
before do
|
18
|
-
# run before each test
|
19
|
-
@instance = VSphereAutomation::CIS::CisTaggingCategoryListResult.new
|
20
|
-
end
|
21
|
-
|
22
|
-
after do
|
23
|
-
# run after each test
|
24
|
-
end
|
25
|
-
|
26
|
-
describe 'test an instance of CisTaggingCategoryListResult' do
|
27
|
-
it 'should create an instance of CisTaggingCategoryListResult' do
|
28
|
-
expect(@instance).to be_instance_of(VSphereAutomation::CIS::CisTaggingCategoryListResult)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
describe 'test attribute "value"' do
|
32
|
-
it 'should work' do
|
33
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
end
|
@@ -1,37 +0,0 @@
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
-
# SPDX-License-Identifier: MIT
|
3
|
-
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
-
|
6
|
-
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
-
|
8
|
-
|
9
|
-
require 'spec_helper'
|
10
|
-
require 'json'
|
11
|
-
require 'date'
|
12
|
-
|
13
|
-
# Unit tests for VSphereAutomation::CIS::CisTaggingCategoryListUsedCategoriesResult
|
14
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
15
|
-
# Please update as you see appropriate
|
16
|
-
describe 'CisTaggingCategoryListUsedCategoriesResult' do
|
17
|
-
before do
|
18
|
-
# run before each test
|
19
|
-
@instance = VSphereAutomation::CIS::CisTaggingCategoryListUsedCategoriesResult.new
|
20
|
-
end
|
21
|
-
|
22
|
-
after do
|
23
|
-
# run after each test
|
24
|
-
end
|
25
|
-
|
26
|
-
describe 'test an instance of CisTaggingCategoryListUsedCategoriesResult' do
|
27
|
-
it 'should create an instance of CisTaggingCategoryListUsedCategoriesResult' do
|
28
|
-
expect(@instance).to be_instance_of(VSphereAutomation::CIS::CisTaggingCategoryListUsedCategoriesResult)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
describe 'test attribute "value"' do
|
32
|
-
it 'should work' do
|
33
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
end
|