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.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +11 -1
  3. data/Gemfile.lock +39 -36
  4. data/README.md +14 -7
  5. data/Rakefile +8 -0
  6. data/docs/CisTaggingTagAssociationBatchResult.md +1 -1
  7. data/docs/CisTaskInfo.md +1 -1
  8. data/docs/CisTasksGetSpec.md +2 -2
  9. data/docs/CisTasksListResultValue.md +1 -1
  10. data/docs/FilterSpecTargets.md +1 -1
  11. data/docs/SessionApi.md +26 -6
  12. data/docs/TaggingCategoryApi.md +104 -39
  13. data/docs/TaggingTagApi.md +118 -44
  14. data/docs/TaggingTagAssociationApi.md +145 -64
  15. data/docs/TasksApi.md +40 -17
  16. data/lib/vsphere-automation-cis/api/session_api.rb +10 -12
  17. data/lib/vsphere-automation-cis/api/tagging_category_api.rb +79 -70
  18. data/lib/vsphere-automation-cis/api/tagging_tag_api.rb +96 -76
  19. data/lib/vsphere-automation-cis/api/tagging_tag_association_api.rb +140 -120
  20. data/lib/vsphere-automation-cis/api/tasks_api.rb +33 -24
  21. data/lib/vsphere-automation-cis/api_client.rb +9 -5
  22. data/lib/vsphere-automation-cis/api_error.rb +4 -6
  23. data/lib/vsphere-automation-cis/configuration.rb +18 -6
  24. data/lib/vsphere-automation-cis/models/cis_session_create_result.rb +4 -6
  25. data/lib/vsphere-automation-cis/models/cis_session_info.rb +4 -6
  26. data/lib/vsphere-automation-cis/models/cis_session_result.rb +4 -6
  27. data/lib/vsphere-automation-cis/models/cis_tagging_category_add_to_used_by.rb +4 -6
  28. data/lib/vsphere-automation-cis/models/cis_tagging_category_create.rb +4 -6
  29. data/lib/vsphere-automation-cis/models/cis_tagging_category_create_result.rb +4 -6
  30. data/lib/vsphere-automation-cis/models/cis_tagging_category_create_spec.rb +4 -6
  31. data/lib/vsphere-automation-cis/models/cis_tagging_category_list_result.rb +4 -6
  32. data/lib/vsphere-automation-cis/models/cis_tagging_category_list_used_categories.rb +4 -6
  33. data/lib/vsphere-automation-cis/models/cis_tagging_category_list_used_categories_result.rb +4 -6
  34. data/lib/vsphere-automation-cis/models/cis_tagging_category_model.rb +4 -6
  35. data/lib/vsphere-automation-cis/models/cis_tagging_category_model_cardinality.rb +6 -8
  36. data/lib/vsphere-automation-cis/models/cis_tagging_category_remove_from_used_by.rb +4 -6
  37. data/lib/vsphere-automation-cis/models/cis_tagging_category_result.rb +4 -6
  38. data/lib/vsphere-automation-cis/models/cis_tagging_category_update.rb +4 -6
  39. data/lib/vsphere-automation-cis/models/cis_tagging_category_update_spec.rb +4 -6
  40. data/lib/vsphere-automation-cis/models/cis_tagging_tag_add_to_used_by.rb +4 -6
  41. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach.rb +4 -6
  42. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_multiple_tags_to_object.rb +4 -6
  43. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_multiple_tags_to_object_result.rb +4 -6
  44. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_tag_to_multiple_objects.rb +4 -6
  45. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_result.rb +4 -6
  46. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_batch_result.rb +5 -7
  47. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach.rb +4 -6
  48. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_multiple_tags_from_object.rb +4 -6
  49. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_multiple_tags_from_object_result.rb +4 -6
  50. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_tag_from_multiple_objects.rb +4 -6
  51. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_result.rb +4 -6
  52. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attachable_tags.rb +4 -6
  53. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attachable_tags_result.rb +4 -6
  54. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_on_tags.rb +4 -6
  55. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_on_tags_result.rb +4 -6
  56. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_result.rb +4 -6
  57. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags.rb +4 -6
  58. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_on_objects.rb +4 -6
  59. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_on_objects_result.rb +4 -6
  60. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_result.rb +4 -6
  61. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_object_to_tags.rb +4 -6
  62. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_tag_to_objects.rb +4 -6
  63. data/lib/vsphere-automation-cis/models/cis_tagging_tag_create.rb +4 -6
  64. data/lib/vsphere-automation-cis/models/cis_tagging_tag_create_result.rb +4 -6
  65. data/lib/vsphere-automation-cis/models/cis_tagging_tag_create_spec.rb +4 -6
  66. data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_result.rb +4 -6
  67. data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_tags_for_category_result.rb +4 -6
  68. data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_used_tags.rb +4 -6
  69. data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_used_tags_result.rb +4 -6
  70. data/lib/vsphere-automation-cis/models/cis_tagging_tag_model.rb +4 -6
  71. data/lib/vsphere-automation-cis/models/cis_tagging_tag_remove_from_used_by.rb +4 -6
  72. data/lib/vsphere-automation-cis/models/cis_tagging_tag_result.rb +4 -6
  73. data/lib/vsphere-automation-cis/models/cis_tagging_tag_update.rb +4 -6
  74. data/lib/vsphere-automation-cis/models/cis_tagging_tag_update_spec.rb +4 -6
  75. data/lib/vsphere-automation-cis/models/cis_task_info.rb +5 -7
  76. data/lib/vsphere-automation-cis/models/cis_task_progress.rb +4 -6
  77. data/lib/vsphere-automation-cis/models/cis_task_status.rb +9 -11
  78. data/lib/vsphere-automation-cis/models/cis_tasks_filter_spec.rb +4 -6
  79. data/lib/vsphere-automation-cis/models/cis_tasks_get_spec.rb +6 -8
  80. data/lib/vsphere-automation-cis/models/cis_tasks_list_result.rb +4 -6
  81. data/lib/vsphere-automation-cis/models/cis_tasks_list_result_value.rb +17 -19
  82. data/lib/vsphere-automation-cis/models/cis_tasks_result.rb +4 -6
  83. data/lib/vsphere-automation-cis/models/filter_spec_targets.rb +23 -25
  84. data/lib/vsphere-automation-cis/models/vapi_std_dynamic_id.rb +4 -6
  85. data/lib/vsphere-automation-cis/models/vapi_std_errors_already_exists.rb +4 -6
  86. data/lib/vsphere-automation-cis/models/vapi_std_errors_already_exists_error.rb +4 -6
  87. data/lib/vsphere-automation-cis/models/vapi_std_errors_error.rb +4 -6
  88. data/lib/vsphere-automation-cis/models/vapi_std_errors_error_error.rb +4 -6
  89. data/lib/vsphere-automation-cis/models/vapi_std_errors_invalid_argument.rb +4 -6
  90. data/lib/vsphere-automation-cis/models/vapi_std_errors_invalid_argument_error.rb +4 -6
  91. data/lib/vsphere-automation-cis/models/vapi_std_errors_not_allowed_in_current_state.rb +4 -6
  92. data/lib/vsphere-automation-cis/models/vapi_std_errors_not_allowed_in_current_state_error.rb +4 -6
  93. data/lib/vsphere-automation-cis/models/vapi_std_errors_not_found.rb +4 -6
  94. data/lib/vsphere-automation-cis/models/vapi_std_errors_not_found_error.rb +4 -6
  95. data/lib/vsphere-automation-cis/models/vapi_std_errors_resource_inaccessible.rb +4 -6
  96. data/lib/vsphere-automation-cis/models/vapi_std_errors_resource_inaccessible_error.rb +4 -6
  97. data/lib/vsphere-automation-cis/models/vapi_std_errors_service_unavailable.rb +4 -6
  98. data/lib/vsphere-automation-cis/models/vapi_std_errors_service_unavailable_error.rb +4 -6
  99. data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthenticated.rb +4 -6
  100. data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthenticated_error.rb +4 -6
  101. data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthorized.rb +4 -6
  102. data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthorized_error.rb +4 -6
  103. data/lib/vsphere-automation-cis/models/vapi_std_errors_unsupported.rb +4 -6
  104. data/lib/vsphere-automation-cis/models/vapi_std_errors_unsupported_error.rb +4 -6
  105. data/lib/vsphere-automation-cis/models/vapi_std_localizable_message.rb +4 -6
  106. data/lib/vsphere-automation-cis/version.rb +5 -7
  107. data/lib/vsphere-automation-cis.rb +7 -9
  108. data/pkg/vsphere-automation-cis-0.2.0.gem +0 -0
  109. data/spec/api/session_api_spec.rb +4 -6
  110. data/spec/api/tagging_category_api_spec.rb +10 -11
  111. data/spec/api/tagging_tag_api_spec.rb +11 -11
  112. data/spec/api/tagging_tag_association_api_spec.rb +16 -16
  113. data/spec/api/tasks_api_spec.rb +9 -10
  114. data/spec/api_client_spec.rb +4 -6
  115. data/spec/configuration_spec.rb +4 -6
  116. data/spec/models/cis_session_create_result_spec.rb +4 -6
  117. data/spec/models/cis_session_info_spec.rb +4 -6
  118. data/spec/models/cis_session_result_spec.rb +4 -6
  119. data/spec/models/cis_tagging_category_add_to_used_by_spec.rb +4 -6
  120. data/spec/models/cis_tagging_category_create_result_spec.rb +4 -6
  121. data/spec/models/cis_tagging_category_create_spec.rb +4 -6
  122. data/spec/models/cis_tagging_category_create_spec_spec.rb +4 -6
  123. data/spec/models/cis_tagging_category_list_result_spec.rb +4 -6
  124. data/spec/models/cis_tagging_category_list_used_categories_result_spec.rb +4 -6
  125. data/spec/models/cis_tagging_category_list_used_categories_spec.rb +4 -6
  126. data/spec/models/cis_tagging_category_model_cardinality_spec.rb +4 -6
  127. data/spec/models/cis_tagging_category_model_spec.rb +4 -6
  128. data/spec/models/cis_tagging_category_remove_from_used_by_spec.rb +4 -6
  129. data/spec/models/cis_tagging_category_result_spec.rb +4 -6
  130. data/spec/models/cis_tagging_category_update_spec.rb +4 -6
  131. data/spec/models/cis_tagging_category_update_spec_spec.rb +4 -6
  132. data/spec/models/cis_tagging_tag_add_to_used_by_spec.rb +4 -6
  133. data/spec/models/cis_tagging_tag_association_attach_multiple_tags_to_object_result_spec.rb +4 -6
  134. data/spec/models/cis_tagging_tag_association_attach_multiple_tags_to_object_spec.rb +4 -6
  135. data/spec/models/cis_tagging_tag_association_attach_spec.rb +4 -6
  136. data/spec/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_result_spec.rb +4 -6
  137. data/spec/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_spec.rb +4 -6
  138. data/spec/models/cis_tagging_tag_association_batch_result_spec.rb +4 -6
  139. data/spec/models/cis_tagging_tag_association_detach_multiple_tags_from_object_result_spec.rb +4 -6
  140. data/spec/models/cis_tagging_tag_association_detach_multiple_tags_from_object_spec.rb +4 -6
  141. data/spec/models/cis_tagging_tag_association_detach_spec.rb +4 -6
  142. data/spec/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_result_spec.rb +4 -6
  143. data/spec/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_spec.rb +4 -6
  144. data/spec/models/cis_tagging_tag_association_list_attachable_tags_result_spec.rb +4 -6
  145. data/spec/models/cis_tagging_tag_association_list_attachable_tags_spec.rb +4 -6
  146. data/spec/models/cis_tagging_tag_association_list_attached_objects_on_tags_result_spec.rb +4 -6
  147. data/spec/models/cis_tagging_tag_association_list_attached_objects_on_tags_spec.rb +4 -6
  148. data/spec/models/cis_tagging_tag_association_list_attached_objects_result_spec.rb +4 -6
  149. data/spec/models/cis_tagging_tag_association_list_attached_tags_on_objects_result_spec.rb +4 -6
  150. data/spec/models/cis_tagging_tag_association_list_attached_tags_on_objects_spec.rb +4 -6
  151. data/spec/models/cis_tagging_tag_association_list_attached_tags_result_spec.rb +4 -6
  152. data/spec/models/cis_tagging_tag_association_list_attached_tags_spec.rb +4 -6
  153. data/spec/models/cis_tagging_tag_association_object_to_tags_spec.rb +4 -6
  154. data/spec/models/cis_tagging_tag_association_tag_to_objects_spec.rb +4 -6
  155. data/spec/models/cis_tagging_tag_create_result_spec.rb +4 -6
  156. data/spec/models/cis_tagging_tag_create_spec.rb +4 -6
  157. data/spec/models/cis_tagging_tag_create_spec_spec.rb +4 -6
  158. data/spec/models/cis_tagging_tag_list_result_spec.rb +4 -6
  159. data/spec/models/cis_tagging_tag_list_tags_for_category_result_spec.rb +4 -6
  160. data/spec/models/cis_tagging_tag_list_used_tags_result_spec.rb +4 -6
  161. data/spec/models/cis_tagging_tag_list_used_tags_spec.rb +4 -6
  162. data/spec/models/cis_tagging_tag_model_spec.rb +4 -6
  163. data/spec/models/cis_tagging_tag_remove_from_used_by_spec.rb +4 -6
  164. data/spec/models/cis_tagging_tag_result_spec.rb +4 -6
  165. data/spec/models/cis_tagging_tag_update_spec.rb +4 -6
  166. data/spec/models/cis_tagging_tag_update_spec_spec.rb +4 -6
  167. data/spec/models/cis_task_info_spec.rb +4 -6
  168. data/spec/models/cis_task_progress_spec.rb +4 -6
  169. data/spec/models/cis_task_status_spec.rb +4 -6
  170. data/spec/models/cis_tasks_filter_spec_spec.rb +4 -6
  171. data/spec/models/cis_tasks_get_spec_spec.rb +4 -6
  172. data/spec/models/cis_tasks_list_result_spec.rb +4 -6
  173. data/spec/models/cis_tasks_list_result_value_spec.rb +6 -8
  174. data/spec/models/cis_tasks_result_spec.rb +4 -6
  175. data/spec/models/filter_spec_targets_spec.rb +6 -8
  176. data/spec/models/vapi_std_dynamic_id_spec.rb +4 -6
  177. data/spec/models/vapi_std_errors_already_exists_error_spec.rb +4 -6
  178. data/spec/models/vapi_std_errors_already_exists_spec.rb +4 -6
  179. data/spec/models/vapi_std_errors_error_error_spec.rb +4 -6
  180. data/spec/models/vapi_std_errors_error_spec.rb +4 -6
  181. data/spec/models/vapi_std_errors_invalid_argument_error_spec.rb +4 -6
  182. data/spec/models/vapi_std_errors_invalid_argument_spec.rb +4 -6
  183. data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +4 -6
  184. data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +4 -6
  185. data/spec/models/vapi_std_errors_not_found_error_spec.rb +4 -6
  186. data/spec/models/vapi_std_errors_not_found_spec.rb +4 -6
  187. data/spec/models/vapi_std_errors_resource_inaccessible_error_spec.rb +4 -6
  188. data/spec/models/vapi_std_errors_resource_inaccessible_spec.rb +4 -6
  189. data/spec/models/vapi_std_errors_service_unavailable_error_spec.rb +4 -6
  190. data/spec/models/vapi_std_errors_service_unavailable_spec.rb +4 -6
  191. data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +4 -6
  192. data/spec/models/vapi_std_errors_unauthenticated_spec.rb +4 -6
  193. data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +4 -6
  194. data/spec/models/vapi_std_errors_unauthorized_spec.rb +4 -6
  195. data/spec/models/vapi_std_errors_unsupported_error_spec.rb +4 -6
  196. data/spec/models/vapi_std_errors_unsupported_spec.rb +4 -6
  197. data/spec/models/vapi_std_localizable_message_spec.rb +4 -6
  198. data/spec/spec_helper.rb +4 -6
  199. data/vsphere-automation-cis.gemspec +11 -14
  200. metadata +18 -32
@@ -1,12 +1,10 @@
1
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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}?action=cancel'.sub('{' + 'task' + '}', task.to_s)
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 [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.
75
- # @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.
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 [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.
87
- # @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.
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 [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.
139
- # @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.
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 [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.
155
- # @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.
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
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
2
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
3
+ # SPDX-License-Identifier: MIT
5
4
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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 = "OpenAPI-Generator/#{CIS::VERSION}/ruby"
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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 = 'SINGLE'.freeze
18
- MULTIPLE = 'MULTIPLE'.freeze
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # cis
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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