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 'date'
12
10
 
@@ -14,11 +12,11 @@ module VSphereAutomation
14
12
  module CIS
15
13
  class CisTaskStatus
16
14
 
17
- PENDING = 'PENDING'.freeze
18
- RUNNING = 'RUNNING'.freeze
19
- BLOCKED = 'BLOCKED'.freeze
20
- SUCCEEDED = 'SUCCEEDED'.freeze
21
- FAILED = 'FAILED'.freeze
15
+ PENDING = "PENDING".freeze
16
+ RUNNING = "RUNNING".freeze
17
+ BLOCKED = "BLOCKED".freeze
18
+ SUCCEEDED = "SUCCEEDED".freeze
19
+ FAILED = "FAILED".freeze
22
20
 
23
21
  # Builds the enum from string
24
22
  # @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
 
@@ -30,8 +28,8 @@ module VSphereAutomation
30
28
  # Attribute type mapping.
31
29
  def self.openapi_types
32
30
  {
33
- :'return_all' => :'BOOLEAN',
34
- :'exclude_result' => :'BOOLEAN'
31
+ :'return_all' => :'Boolean',
32
+ :'exclude_result' => :'Boolean'
35
33
  }
36
34
  end
37
35
 
@@ -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,35 +1,33 @@
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
 
13
11
  module VSphereAutomation
14
12
  module CIS
15
13
  class CisTasksListResultValue
16
- attr_accessor :value
17
-
18
14
  attr_accessor :key
19
15
 
16
+ attr_accessor :value
17
+
20
18
  # Attribute mapping from ruby-style variable name to JSON key.
21
19
  def self.attribute_map
22
20
  {
23
- :'value' => :'value',
24
- :'key' => :'key'
21
+ :'key' => :'key',
22
+ :'value' => :'value'
25
23
  }
26
24
  end
27
25
 
28
26
  # Attribute type mapping.
29
27
  def self.openapi_types
30
28
  {
31
- :'value' => :'CisTaskInfo',
32
- :'key' => :'String'
29
+ :'key' => :'String',
30
+ :'value' => :'CisTaskInfo'
33
31
  }
34
32
  end
35
33
 
@@ -41,13 +39,13 @@ module VSphereAutomation
41
39
  # convert string to symbol for hash key
42
40
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
43
41
 
44
- if attributes.has_key?(:'value')
45
- self.value = attributes[:'value']
46
- end
47
-
48
42
  if attributes.has_key?(:'key')
49
43
  self.key = attributes[:'key']
50
44
  end
45
+
46
+ if attributes.has_key?(:'value')
47
+ self.value = attributes[:'value']
48
+ end
51
49
  end
52
50
 
53
51
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -68,8 +66,8 @@ module VSphereAutomation
68
66
  def ==(o)
69
67
  return true if self.equal?(o)
70
68
  self.class == o.class &&
71
- value == o.value &&
72
- key == o.key
69
+ key == o.key &&
70
+ value == o.value
73
71
  end
74
72
 
75
73
  # @see the `==` method
@@ -81,7 +79,7 @@ module VSphereAutomation
81
79
  # Calculates hash code according to all attributes.
82
80
  # @return [Fixnum] Hash code
83
81
  def hash
84
- [value, key].hash
82
+ [key, value].hash
85
83
  end
86
84
 
87
85
  # Builds the object from hash
@@ -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,37 +1,35 @@
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
 
13
11
  module VSphereAutomation
14
12
  module CIS
15
13
  class FilterSpecTargets
16
- # The identifier for a resource whose type is specified by {@link #type}.
17
- attr_accessor :id
18
-
19
14
  # The type of resource being identified (for example {@code com.acme.Person}). <p> {@term Services} that contain {@term operations} for creating and deleting resources typically contain a {@term constant} specifying the resource type for the resources being created and deleted. The API metamodel metadata {@term services} include a {@term service} that allows retrieving all the known resource types.
20
15
  attr_accessor :type
21
16
 
17
+ # The identifier for a resource whose type is specified by {@link #type}.
18
+ attr_accessor :id
19
+
22
20
  # Attribute mapping from ruby-style variable name to JSON key.
23
21
  def self.attribute_map
24
22
  {
25
- :'id' => :'id',
26
- :'type' => :'type'
23
+ :'type' => :'type',
24
+ :'id' => :'id'
27
25
  }
28
26
  end
29
27
 
30
28
  # Attribute type mapping.
31
29
  def self.openapi_types
32
30
  {
33
- :'id' => :'String',
34
- :'type' => :'String'
31
+ :'type' => :'String',
32
+ :'id' => :'String'
35
33
  }
36
34
  end
37
35
 
@@ -43,35 +41,35 @@ module VSphereAutomation
43
41
  # convert string to symbol for hash key
44
42
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
45
43
 
46
- if attributes.has_key?(:'id')
47
- self.id = attributes[:'id']
48
- end
49
-
50
44
  if attributes.has_key?(:'type')
51
45
  self.type = attributes[:'type']
52
46
  end
47
+
48
+ if attributes.has_key?(:'id')
49
+ self.id = attributes[:'id']
50
+ end
53
51
  end
54
52
 
55
53
  # Show invalid properties with the reasons. Usually used together with valid?
56
54
  # @return Array for valid properties with the reasons
57
55
  def list_invalid_properties
58
56
  invalid_properties = Array.new
59
- if @id.nil?
60
- invalid_properties.push('invalid value for "id", id cannot be nil.')
61
- end
62
-
63
57
  if @type.nil?
64
58
  invalid_properties.push('invalid value for "type", type cannot be nil.')
65
59
  end
66
60
 
61
+ if @id.nil?
62
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
63
+ end
64
+
67
65
  invalid_properties
68
66
  end
69
67
 
70
68
  # Check to see if the all the properties in the model are valid
71
69
  # @return true if the model is valid
72
70
  def valid?
73
- return false if @id.nil?
74
71
  return false if @type.nil?
72
+ return false if @id.nil?
75
73
  true
76
74
  end
77
75
 
@@ -80,8 +78,8 @@ module VSphereAutomation
80
78
  def ==(o)
81
79
  return true if self.equal?(o)
82
80
  self.class == o.class &&
83
- id == o.id &&
84
- type == o.type
81
+ type == o.type &&
82
+ id == o.id
85
83
  end
86
84
 
87
85
  # @see the `==` method
@@ -93,7 +91,7 @@ module VSphereAutomation
93
91
  # Calculates hash code according to all attributes.
94
92
  # @return [Fixnum] Hash code
95
93
  def hash
96
- [id, type].hash
94
+ [type, id].hash
97
95
  end
98
96
 
99
97
  # Builds the object from hash
@@ -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
 
@@ -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