vsphere-automation-cis 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +11 -1
- data/Gemfile.lock +39 -36
- data/README.md +14 -7
- data/Rakefile +8 -0
- data/docs/CisTaggingTagAssociationBatchResult.md +1 -1
- data/docs/CisTaskInfo.md +1 -1
- data/docs/CisTasksGetSpec.md +2 -2
- data/docs/CisTasksListResultValue.md +1 -1
- data/docs/FilterSpecTargets.md +1 -1
- data/docs/SessionApi.md +26 -6
- data/docs/TaggingCategoryApi.md +104 -39
- data/docs/TaggingTagApi.md +118 -44
- data/docs/TaggingTagAssociationApi.md +145 -64
- data/docs/TasksApi.md +40 -17
- data/lib/vsphere-automation-cis/api/session_api.rb +10 -12
- data/lib/vsphere-automation-cis/api/tagging_category_api.rb +79 -70
- data/lib/vsphere-automation-cis/api/tagging_tag_api.rb +96 -76
- data/lib/vsphere-automation-cis/api/tagging_tag_association_api.rb +140 -120
- data/lib/vsphere-automation-cis/api/tasks_api.rb +33 -24
- data/lib/vsphere-automation-cis/api_client.rb +9 -5
- data/lib/vsphere-automation-cis/api_error.rb +4 -6
- data/lib/vsphere-automation-cis/configuration.rb +18 -6
- data/lib/vsphere-automation-cis/models/cis_session_create_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_session_info.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_session_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_category_add_to_used_by.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_category_create.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_category_create_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_category_create_spec.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_category_list_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_category_list_used_categories.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_category_list_used_categories_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_category_model.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_category_model_cardinality.rb +6 -8
- data/lib/vsphere-automation-cis/models/cis_tagging_category_remove_from_used_by.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_category_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_category_update.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_category_update_spec.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_add_to_used_by.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_multiple_tags_to_object.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_multiple_tags_to_object_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_tag_to_multiple_objects.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_batch_result.rb +5 -7
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_multiple_tags_from_object.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_multiple_tags_from_object_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_tag_from_multiple_objects.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attachable_tags.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attachable_tags_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_on_tags.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_on_tags_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_on_objects.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_on_objects_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_object_to_tags.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_tag_to_objects.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_create.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_create_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_create_spec.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_tags_for_category_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_used_tags.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_used_tags_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_model.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_remove_from_used_by.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_update.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tagging_tag_update_spec.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_task_info.rb +5 -7
- data/lib/vsphere-automation-cis/models/cis_task_progress.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_task_status.rb +9 -11
- data/lib/vsphere-automation-cis/models/cis_tasks_filter_spec.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tasks_get_spec.rb +6 -8
- data/lib/vsphere-automation-cis/models/cis_tasks_list_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/cis_tasks_list_result_value.rb +17 -19
- data/lib/vsphere-automation-cis/models/cis_tasks_result.rb +4 -6
- data/lib/vsphere-automation-cis/models/filter_spec_targets.rb +23 -25
- data/lib/vsphere-automation-cis/models/vapi_std_dynamic_id.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_already_exists.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_already_exists_error.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_error.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_error_error.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_invalid_argument.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_invalid_argument_error.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_not_allowed_in_current_state.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_not_allowed_in_current_state_error.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_not_found.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_not_found_error.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_resource_inaccessible.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_resource_inaccessible_error.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_service_unavailable.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_service_unavailable_error.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthenticated.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthenticated_error.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthorized.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthorized_error.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_unsupported.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_errors_unsupported_error.rb +4 -6
- data/lib/vsphere-automation-cis/models/vapi_std_localizable_message.rb +4 -6
- data/lib/vsphere-automation-cis/version.rb +5 -7
- data/lib/vsphere-automation-cis.rb +7 -9
- data/pkg/vsphere-automation-cis-0.2.0.gem +0 -0
- data/spec/api/session_api_spec.rb +4 -6
- data/spec/api/tagging_category_api_spec.rb +10 -11
- data/spec/api/tagging_tag_api_spec.rb +11 -11
- data/spec/api/tagging_tag_association_api_spec.rb +16 -16
- data/spec/api/tasks_api_spec.rb +9 -10
- data/spec/api_client_spec.rb +4 -6
- data/spec/configuration_spec.rb +4 -6
- data/spec/models/cis_session_create_result_spec.rb +4 -6
- data/spec/models/cis_session_info_spec.rb +4 -6
- data/spec/models/cis_session_result_spec.rb +4 -6
- data/spec/models/cis_tagging_category_add_to_used_by_spec.rb +4 -6
- data/spec/models/cis_tagging_category_create_result_spec.rb +4 -6
- data/spec/models/cis_tagging_category_create_spec.rb +4 -6
- data/spec/models/cis_tagging_category_create_spec_spec.rb +4 -6
- data/spec/models/cis_tagging_category_list_result_spec.rb +4 -6
- data/spec/models/cis_tagging_category_list_used_categories_result_spec.rb +4 -6
- data/spec/models/cis_tagging_category_list_used_categories_spec.rb +4 -6
- data/spec/models/cis_tagging_category_model_cardinality_spec.rb +4 -6
- data/spec/models/cis_tagging_category_model_spec.rb +4 -6
- data/spec/models/cis_tagging_category_remove_from_used_by_spec.rb +4 -6
- data/spec/models/cis_tagging_category_result_spec.rb +4 -6
- data/spec/models/cis_tagging_category_update_spec.rb +4 -6
- data/spec/models/cis_tagging_category_update_spec_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_add_to_used_by_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_attach_multiple_tags_to_object_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_attach_multiple_tags_to_object_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_attach_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_batch_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_detach_multiple_tags_from_object_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_detach_multiple_tags_from_object_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_detach_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_list_attachable_tags_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_list_attachable_tags_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_list_attached_objects_on_tags_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_list_attached_objects_on_tags_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_list_attached_objects_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_list_attached_tags_on_objects_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_list_attached_tags_on_objects_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_list_attached_tags_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_list_attached_tags_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_object_to_tags_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_association_tag_to_objects_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_create_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_create_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_create_spec_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_list_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_list_tags_for_category_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_list_used_tags_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_list_used_tags_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_model_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_remove_from_used_by_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_result_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_update_spec.rb +4 -6
- data/spec/models/cis_tagging_tag_update_spec_spec.rb +4 -6
- data/spec/models/cis_task_info_spec.rb +4 -6
- data/spec/models/cis_task_progress_spec.rb +4 -6
- data/spec/models/cis_task_status_spec.rb +4 -6
- data/spec/models/cis_tasks_filter_spec_spec.rb +4 -6
- data/spec/models/cis_tasks_get_spec_spec.rb +4 -6
- data/spec/models/cis_tasks_list_result_spec.rb +4 -6
- data/spec/models/cis_tasks_list_result_value_spec.rb +6 -8
- data/spec/models/cis_tasks_result_spec.rb +4 -6
- data/spec/models/filter_spec_targets_spec.rb +6 -8
- data/spec/models/vapi_std_dynamic_id_spec.rb +4 -6
- data/spec/models/vapi_std_errors_already_exists_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_already_exists_spec.rb +4 -6
- data/spec/models/vapi_std_errors_error_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_invalid_argument_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_invalid_argument_spec.rb +4 -6
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +4 -6
- data/spec/models/vapi_std_errors_not_found_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_not_found_spec.rb +4 -6
- data/spec/models/vapi_std_errors_resource_inaccessible_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_resource_inaccessible_spec.rb +4 -6
- data/spec/models/vapi_std_errors_service_unavailable_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_service_unavailable_spec.rb +4 -6
- data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_unauthenticated_spec.rb +4 -6
- data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_unauthorized_spec.rb +4 -6
- data/spec/models/vapi_std_errors_unsupported_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_unsupported_spec.rb +4 -6
- data/spec/models/vapi_std_localizable_message_spec.rb +4 -6
- data/spec/spec_helper.rb +4 -6
- data/vsphere-automation-cis.gemspec +11 -14
- metadata +18 -32
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'uri'
|
12
10
|
|
@@ -20,19 +18,21 @@ module VSphereAutomation
|
|
20
18
|
end
|
21
19
|
# 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.
|
22
20
|
# @param task Task identifier. The parameter must be an identifier for the resource type: cis.task.
|
21
|
+
# @param action action=cancel
|
23
22
|
# @param [Hash] opts the optional parameters
|
24
23
|
# @return [|VapiStdErrorsUnsupportedError|VapiStdErrorsUnauthenticatedError|VapiStdErrorsUnauthorizedError|VapiStdErrorsNotFoundError|VapiStdErrorsServiceUnavailableError|nil]
|
25
|
-
def cancel(task, opts = {})
|
26
|
-
cancel_with_http_info(task, opts)
|
24
|
+
def cancel(task, action, opts = {})
|
25
|
+
cancel_with_http_info(task, action, opts)
|
27
26
|
nil
|
28
27
|
end
|
29
28
|
|
30
29
|
# 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.
|
31
30
|
# @api private
|
32
31
|
# @param task Task identifier. The parameter must be an identifier for the resource type: cis.task.
|
32
|
+
# @param action action=cancel
|
33
33
|
# @param [Hash] opts the optional parameters
|
34
34
|
# @return [Array<(|VapiStdErrorsUnsupportedError|VapiStdErrorsUnauthenticatedError|VapiStdErrorsUnauthorizedError|VapiStdErrorsNotFoundError|VapiStdErrorsServiceUnavailableError|nil, Fixnum, Hash)>] nil, response status code and response headers
|
35
|
-
def cancel_with_http_info(task, opts = {})
|
35
|
+
def cancel_with_http_info(task, action, opts = {})
|
36
36
|
if @api_client.config.debugging
|
37
37
|
@api_client.config.logger.debug 'Calling API: TasksApi.cancel ...'
|
38
38
|
end
|
@@ -40,23 +40,32 @@ module VSphereAutomation
|
|
40
40
|
if @api_client.config.client_side_validation && task.nil?
|
41
41
|
fail ArgumentError, "Missing the required parameter 'task' when calling TasksApi.cancel"
|
42
42
|
end
|
43
|
+
# verify the required parameter 'action' is set
|
44
|
+
if @api_client.config.client_side_validation && action.nil?
|
45
|
+
fail ArgumentError, "Missing the required parameter 'action' when calling TasksApi.cancel"
|
46
|
+
end
|
47
|
+
# verify enum value
|
48
|
+
if @api_client.config.client_side_validation && !['cancel'].include?(action)
|
49
|
+
fail ArgumentError, "invalid value for 'action', must be one of cancel"
|
50
|
+
end
|
43
51
|
# resource path
|
44
|
-
local_var_path = '/cis/tasks/{task}
|
52
|
+
local_var_path = '/cis/tasks/{task}'.sub('{' + 'task' + '}', task.to_s)
|
45
53
|
|
46
54
|
# query parameters
|
47
55
|
query_params = {}
|
56
|
+
query_params[:'action'] = action
|
48
57
|
|
49
58
|
# header parameters
|
50
59
|
header_params = {}
|
51
60
|
# HTTP header 'Accept' (if needed)
|
52
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
61
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
53
62
|
|
54
63
|
# form parameters
|
55
64
|
form_params = {}
|
56
65
|
|
57
66
|
# http body (model)
|
58
67
|
post_body = nil
|
59
|
-
auth_names = []
|
68
|
+
auth_names = ['api_key']
|
60
69
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
61
70
|
:header_params => header_params,
|
62
71
|
:query_params => query_params,
|
@@ -71,8 +80,8 @@ module VSphereAutomation
|
|
71
80
|
# Returns information about a task.
|
72
81
|
# @param task Task identifier. The parameter must be an identifier for the resource type: cis.task.
|
73
82
|
# @param [Hash] opts the optional parameters
|
74
|
-
# @option opts [
|
75
|
-
# @option opts [
|
83
|
+
# @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.
|
84
|
+
# @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.
|
76
85
|
# @return [CisTasksResult|VapiStdErrorsResourceInaccessibleError|VapiStdErrorsUnauthenticatedError|VapiStdErrorsUnauthorizedError|VapiStdErrorsNotFoundError|VapiStdErrorsServiceUnavailableError|]
|
77
86
|
def get(task, opts = {})
|
78
87
|
data, _status_code, _headers = get_with_http_info(task, opts)
|
@@ -83,8 +92,8 @@ module VSphereAutomation
|
|
83
92
|
# @api private
|
84
93
|
# @param task Task identifier. The parameter must be an identifier for the resource type: cis.task.
|
85
94
|
# @param [Hash] opts the optional parameters
|
86
|
-
# @option opts [
|
87
|
-
# @option opts [
|
95
|
+
# @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.
|
96
|
+
# @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.
|
88
97
|
# @return [Array<(CisTasksResult|VapiStdErrorsResourceInaccessibleError|VapiStdErrorsUnauthenticatedError|VapiStdErrorsUnauthorizedError|VapiStdErrorsNotFoundError|VapiStdErrorsServiceUnavailableError|, Fixnum, Hash)>] data, response status code and response headers
|
89
98
|
def get_with_http_info(task, opts = {})
|
90
99
|
if @api_client.config.debugging
|
@@ -105,14 +114,14 @@ module VSphereAutomation
|
|
105
114
|
# header parameters
|
106
115
|
header_params = {}
|
107
116
|
# HTTP header 'Accept' (if needed)
|
108
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
117
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
109
118
|
|
110
119
|
# form parameters
|
111
120
|
form_params = {}
|
112
121
|
|
113
122
|
# http body (model)
|
114
123
|
post_body = nil
|
115
|
-
auth_names = []
|
124
|
+
auth_names = ['api_key']
|
116
125
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
117
126
|
:header_params => header_params,
|
118
127
|
:query_params => query_params,
|
@@ -135,8 +144,8 @@ module VSphereAutomation
|
|
135
144
|
# Returns information about at most 1000 visible (subject to permission checks) tasks matching the Tasks.FilterSpec. All tasks must be in the same provider.
|
136
145
|
# @param [Hash] opts the optional parameters
|
137
146
|
# @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.
|
138
|
-
# @option opts [
|
139
|
-
# @option opts [
|
147
|
+
# @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.
|
148
|
+
# @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.
|
140
149
|
# @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.
|
141
150
|
# @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.
|
142
151
|
# @option opts [Array<Object>] :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.
|
@@ -151,8 +160,8 @@ module VSphereAutomation
|
|
151
160
|
# @api private
|
152
161
|
# @param [Hash] opts the optional parameters
|
153
162
|
# @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.
|
154
|
-
# @option opts [
|
155
|
-
# @option opts [
|
163
|
+
# @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.
|
164
|
+
# @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.
|
156
165
|
# @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.
|
157
166
|
# @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.
|
158
167
|
# @option opts [Array<Object>] :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.
|
@@ -181,14 +190,14 @@ module VSphereAutomation
|
|
181
190
|
# header parameters
|
182
191
|
header_params = {}
|
183
192
|
# HTTP header 'Accept' (if needed)
|
184
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
193
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
185
194
|
|
186
195
|
# form parameters
|
187
196
|
form_params = {}
|
188
197
|
|
189
198
|
# http body (model)
|
190
199
|
post_body = nil
|
191
|
-
auth_names = []
|
200
|
+
auth_names = ['api_key']
|
192
201
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
193
202
|
:header_params => header_params,
|
194
203
|
:query_params => query_params,
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
2
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
3
|
+
# SPDX-License-Identifier: MIT
|
5
4
|
|
6
|
-
#
|
5
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
6
|
|
7
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -29,7 +29,7 @@ module VSphereAutomation
|
|
29
29
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
30
30
|
def initialize(config = Configuration.default)
|
31
31
|
@config = config
|
32
|
-
@user_agent = "
|
32
|
+
@user_agent = "SDK/0.2.0 Ruby/#{RUBY_VERSION} (#{Gem::Platform.local.os}; #{Gem::Platform.local.version}; #{Gem::Platform.local.cpu})"
|
33
33
|
@default_headers = {
|
34
34
|
'Content-Type' => 'application/json',
|
35
35
|
'User-Agent' => @user_agent
|
@@ -69,6 +69,9 @@ module VSphereAutomation
|
|
69
69
|
|
70
70
|
if opts[:return_type]
|
71
71
|
data = deserialize(response, opts[:return_type][response.code.to_s])
|
72
|
+
if path == '/com/vmware/cis/session'
|
73
|
+
@config.api_key['vmware-api-session-id'] = data.value
|
74
|
+
end
|
72
75
|
else
|
73
76
|
data = nil
|
74
77
|
end
|
@@ -92,6 +95,7 @@ module VSphereAutomation
|
|
92
95
|
query_params = opts[:query_params] || {}
|
93
96
|
form_params = opts[:form_params] || {}
|
94
97
|
|
98
|
+
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
95
99
|
|
96
100
|
# set ssl_verifyhosts option based on @config.verify_ssl_host (true/false)
|
97
101
|
_verify_ssl_host = @config.verify_ssl_host ? 2 : 0
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
module VSphereAutomation
|
12
10
|
class ApiError < StandardError
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'uri'
|
12
10
|
|
@@ -194,6 +192,20 @@ module VSphereAutomation
|
|
194
192
|
# Returns Auth Settings hash for api client.
|
195
193
|
def auth_settings
|
196
194
|
{
|
195
|
+
'api_key' =>
|
196
|
+
{
|
197
|
+
type: 'api_key',
|
198
|
+
in: 'header',
|
199
|
+
key: 'vmware-api-session-id',
|
200
|
+
value: api_key_with_prefix('vmware-api-session-id')
|
201
|
+
},
|
202
|
+
'basic_auth' =>
|
203
|
+
{
|
204
|
+
type: 'basic',
|
205
|
+
in: 'header',
|
206
|
+
key: 'Authorization',
|
207
|
+
value: basic_auth_token
|
208
|
+
},
|
197
209
|
}
|
198
210
|
end
|
199
211
|
end
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -14,8 +12,8 @@ module VSphereAutomation
|
|
14
12
|
module CIS
|
15
13
|
class CisTaggingCategoryModelCardinality
|
16
14
|
|
17
|
-
SINGLE =
|
18
|
-
MULTIPLE =
|
15
|
+
SINGLE = "SINGLE".freeze
|
16
|
+
MULTIPLE = "MULTIPLE".freeze
|
19
17
|
|
20
18
|
# Builds the enum from string
|
21
19
|
# @param [String] The enum value in the form of the string
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_multiple_tags_to_object.rb
CHANGED
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# cis
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
8
7
|
|
9
|
-
=end
|
10
8
|
|
11
9
|
require 'date'
|
12
10
|
|