vsphere-automation-vapi 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 (364) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +12 -1
  3. data/Gemfile.lock +57 -44
  4. data/README.md +22 -13
  5. data/Rakefile +8 -0
  6. data/docs/MetadataAuthenticationComponentApi.md +32 -9
  7. data/docs/MetadataAuthenticationPackageApi.md +18 -4
  8. data/docs/MetadataAuthenticationServiceApi.md +18 -4
  9. data/docs/MetadataAuthenticationServiceOperationApi.md +25 -9
  10. data/docs/MetadataCliCommandApi.md +34 -11
  11. data/docs/MetadataCliNamespaceApi.md +39 -14
  12. data/docs/MetadataMetamodelComponentApi.md +32 -9
  13. data/docs/MetadataMetamodelEnumerationApi.md +18 -4
  14. data/docs/MetadataMetamodelPackageApi.md +18 -4
  15. data/docs/MetadataMetamodelResourceApi.md +9 -2
  16. data/docs/MetadataMetamodelResourceModelApi.md +9 -2
  17. data/docs/MetadataMetamodelServiceApi.md +18 -4
  18. data/docs/MetadataMetamodelServiceOperationApi.md +18 -4
  19. data/docs/MetadataMetamodelStructureApi.md +18 -4
  20. data/docs/MetadataPrivilegeComponentApi.md +32 -9
  21. data/docs/MetadataPrivilegePackageApi.md +18 -4
  22. data/docs/MetadataPrivilegeServiceApi.md +18 -4
  23. data/docs/MetadataPrivilegeServiceOperationApi.md +25 -9
  24. data/docs/RestNavigationComponentApi.md +9 -2
  25. data/docs/RestNavigationOptionsApi.md +16 -7
  26. data/docs/RestNavigationResourceApi.md +18 -4
  27. data/docs/RestNavigationRootApi.md +9 -2
  28. data/docs/RestNavigationServiceApi.md +9 -2
  29. data/docs/VapiMetadataAuthenticationComponentInfoPackages.md +1 -1
  30. data/docs/VapiMetadataAuthenticationPackageInfoServices.md +1 -1
  31. data/docs/VapiMetadataAuthenticationServiceInfoOperations.md +1 -1
  32. data/docs/{VapiMetadataMetamodelEnumerationValueInfoMetadata.md → VapiMetadataMetamodelComponentInfoMetadata.md} +2 -2
  33. data/docs/VapiMetadataMetamodelComponentInfoPackages.md +1 -1
  34. data/docs/VapiMetadataMetamodelElementMapElements.md +1 -1
  35. data/docs/VapiMetadataMetamodelPackageInfoEnumerations.md +1 -1
  36. data/docs/VapiMetadataMetamodelPackageInfoServices.md +1 -1
  37. data/docs/VapiMetadataMetamodelPackageInfoStructures.md +1 -1
  38. data/docs/VapiMetadataMetamodelPrimitiveValue.md +1 -1
  39. data/docs/{VapiMetadataMetamodelStructureInfoConstants.md → VapiMetadataMetamodelServiceInfoConstants.md} +2 -2
  40. data/docs/VapiMetadataMetamodelServiceInfoOperations.md +1 -1
  41. data/docs/VapiMetadataPrivilegeComponentInfoPackages.md +1 -1
  42. data/docs/VapiMetadataPrivilegePackageInfoServices.md +1 -1
  43. data/docs/VapiMetadataPrivilegeServiceInfoOperations.md +1 -1
  44. data/docs/VcenterActivationApi.md +14 -5
  45. data/lib/vsphere-automation-vapi.rb +9 -11
  46. data/lib/vsphere-automation-vapi/api/metadata_authentication_component_api.rb +25 -16
  47. data/lib/vsphere-automation-vapi/api/metadata_authentication_package_api.rb +8 -10
  48. data/lib/vsphere-automation-vapi/api/metadata_authentication_service_api.rb +8 -10
  49. data/lib/vsphere-automation-vapi/api/metadata_authentication_service_operation_api.rb +29 -20
  50. data/lib/vsphere-automation-vapi/api/metadata_cli_command_api.rb +31 -22
  51. data/lib/vsphere-automation-vapi/api/metadata_cli_namespace_api.rb +34 -25
  52. data/lib/vsphere-automation-vapi/api/metadata_metamodel_component_api.rb +25 -16
  53. data/lib/vsphere-automation-vapi/api/metadata_metamodel_enumeration_api.rb +8 -10
  54. data/lib/vsphere-automation-vapi/api/metadata_metamodel_package_api.rb +8 -10
  55. data/lib/vsphere-automation-vapi/api/metadata_metamodel_resource_api.rb +6 -8
  56. data/lib/vsphere-automation-vapi/api/metadata_metamodel_resource_model_api.rb +6 -8
  57. data/lib/vsphere-automation-vapi/api/metadata_metamodel_service_api.rb +8 -10
  58. data/lib/vsphere-automation-vapi/api/metadata_metamodel_service_operation_api.rb +8 -10
  59. data/lib/vsphere-automation-vapi/api/metadata_metamodel_structure_api.rb +8 -10
  60. data/lib/vsphere-automation-vapi/api/metadata_privilege_component_api.rb +25 -16
  61. data/lib/vsphere-automation-vapi/api/metadata_privilege_package_api.rb +8 -10
  62. data/lib/vsphere-automation-vapi/api/metadata_privilege_service_api.rb +8 -10
  63. data/lib/vsphere-automation-vapi/api/metadata_privilege_service_operation_api.rb +29 -20
  64. data/lib/vsphere-automation-vapi/api/rest_navigation_component_api.rb +6 -8
  65. data/lib/vsphere-automation-vapi/api/rest_navigation_options_api.rb +27 -18
  66. data/lib/vsphere-automation-vapi/api/rest_navigation_resource_api.rb +8 -10
  67. data/lib/vsphere-automation-vapi/api/rest_navigation_root_api.rb +6 -8
  68. data/lib/vsphere-automation-vapi/api/rest_navigation_service_api.rb +6 -8
  69. data/lib/vsphere-automation-vapi/api/vcenter_activation_api.rb +21 -12
  70. data/lib/vsphere-automation-vapi/api_client.rb +9 -5
  71. data/lib/vsphere-automation-vapi/api_error.rb +4 -6
  72. data/lib/vsphere-automation-vapi/configuration.rb +18 -6
  73. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_authentication_info.rb +4 -6
  74. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_authentication_info_scheme_type.rb +6 -8
  75. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_data.rb +4 -6
  76. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_fingerprint_result.rb +4 -6
  77. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_info.rb +4 -6
  78. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_info_packages.rb +17 -19
  79. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_list_result.rb +4 -6
  80. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_result.rb +4 -6
  81. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_operation_info.rb +4 -6
  82. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_package_info.rb +4 -6
  83. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_package_info_services.rb +17 -19
  84. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_package_list_result.rb +4 -6
  85. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_package_result.rb +4 -6
  86. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_info.rb +4 -6
  87. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_info_operations.rb +17 -19
  88. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_list_result.rb +4 -6
  89. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_operation_get.rb +4 -6
  90. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_operation_list_result.rb +4 -6
  91. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_operation_result.rb +4 -6
  92. data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_result.rb +4 -6
  93. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_fingerprint_result.rb +4 -6
  94. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_formatter_type.rb +10 -12
  95. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_generic_type.rb +9 -11
  96. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_get.rb +4 -6
  97. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_identity.rb +4 -6
  98. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_info.rb +4 -6
  99. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_list_result.rb +4 -6
  100. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_option_info.rb +4 -6
  101. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_output_field_info.rb +4 -6
  102. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_output_info.rb +4 -6
  103. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_result.rb +4 -6
  104. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_fingerprint_result.rb +4 -6
  105. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_get.rb +4 -6
  106. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_identity.rb +4 -6
  107. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_info.rb +4 -6
  108. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_list_result.rb +4 -6
  109. data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_result.rb +4 -6
  110. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_data.rb +4 -6
  111. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_fingerprint_result.rb +4 -6
  112. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_info.rb +4 -6
  113. data/lib/vsphere-automation-vapi/models/{vapi_metadata_metamodel_enumeration_value_info_metadata.rb → vapi_metadata_metamodel_component_info_metadata.rb} +18 -20
  114. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_info_packages.rb +17 -19
  115. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_list_result.rb +4 -6
  116. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_result.rb +4 -6
  117. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_constant_info.rb +4 -6
  118. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_constant_value.rb +4 -6
  119. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_constant_value_category.rb +6 -8
  120. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_element_map.rb +4 -6
  121. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_element_map_elements.rb +17 -19
  122. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_element_value.rb +4 -6
  123. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_element_value_type.rb +9 -11
  124. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_enumeration_info.rb +4 -6
  125. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_enumeration_list_result.rb +4 -6
  126. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_enumeration_result.rb +4 -6
  127. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_enumeration_value_info.rb +4 -6
  128. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_error_info.rb +4 -6
  129. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_field_info.rb +4 -6
  130. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_generic_instantiation.rb +4 -6
  131. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_generic_instantiation_generic_type.rb +8 -10
  132. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_operation_info.rb +4 -6
  133. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_operation_result_info.rb +4 -6
  134. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_info.rb +4 -6
  135. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_info_enumerations.rb +17 -19
  136. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_info_services.rb +17 -19
  137. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_info_structures.rb +17 -19
  138. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_list_result.rb +4 -6
  139. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_result.rb +4 -6
  140. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_primitive_value.rb +5 -7
  141. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_primitive_value_type.rb +8 -10
  142. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_resource_list_result.rb +4 -6
  143. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_resource_model_list_result.rb +4 -6
  144. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_info.rb +4 -6
  145. data/lib/vsphere-automation-vapi/models/{vapi_metadata_metamodel_structure_info_constants.rb → vapi_metadata_metamodel_service_info_constants.rb} +18 -20
  146. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_info_operations.rb +17 -19
  147. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_list_result.rb +4 -6
  148. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_operation_list_result.rb +4 -6
  149. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_operation_result.rb +4 -6
  150. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_result.rb +4 -6
  151. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_structure_info.rb +4 -6
  152. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_structure_info_type.rb +6 -8
  153. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_structure_list_result.rb +4 -6
  154. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_structure_result.rb +4 -6
  155. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_type.rb +4 -6
  156. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_type_builtin_type.rb +17 -19
  157. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_type_category.rb +7 -9
  158. data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_user_defined_type.rb +4 -6
  159. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_data.rb +4 -6
  160. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_fingerprint_result.rb +4 -6
  161. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_info.rb +4 -6
  162. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_info_packages.rb +17 -19
  163. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_list_result.rb +4 -6
  164. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_result.rb +4 -6
  165. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_operation_info.rb +4 -6
  166. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_package_info.rb +4 -6
  167. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_package_info_services.rb +17 -19
  168. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_package_list_result.rb +4 -6
  169. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_package_result.rb +4 -6
  170. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_privilege_info.rb +4 -6
  171. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_info.rb +4 -6
  172. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_info_operations.rb +17 -19
  173. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_list_result.rb +4 -6
  174. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_operation_get.rb +4 -6
  175. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_operation_list_result.rb +4 -6
  176. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_operation_result.rb +4 -6
  177. data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_result.rb +4 -6
  178. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_component_info.rb +4 -6
  179. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_component_list_result.rb +4 -6
  180. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_http_method.rb +13 -15
  181. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_link.rb +4 -6
  182. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_operation.rb +4 -6
  183. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_options_get.rb +4 -6
  184. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_options_result.rb +4 -6
  185. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_reference.rb +4 -6
  186. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_resource_info.rb +4 -6
  187. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_resource_list_result.rb +4 -6
  188. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_resource_result.rb +4 -6
  189. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_root_info.rb +4 -6
  190. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_root_result.rb +4 -6
  191. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_service_info.rb +4 -6
  192. data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_service_list_result.rb +4 -6
  193. data/lib/vsphere-automation-vapi/models/vapi_std_errors_not_allowed_in_current_state.rb +4 -6
  194. data/lib/vsphere-automation-vapi/models/vapi_std_errors_not_allowed_in_current_state_error.rb +4 -6
  195. data/lib/vsphere-automation-vapi/models/vapi_std_errors_not_found.rb +4 -6
  196. data/lib/vsphere-automation-vapi/models/vapi_std_errors_not_found_error.rb +4 -6
  197. data/lib/vsphere-automation-vapi/models/vapi_std_errors_service_unavailable.rb +4 -6
  198. data/lib/vsphere-automation-vapi/models/vapi_std_errors_service_unavailable_error.rb +4 -6
  199. data/lib/vsphere-automation-vapi/models/vapi_std_errors_unauthenticated.rb +4 -6
  200. data/lib/vsphere-automation-vapi/models/vapi_std_errors_unauthenticated_error.rb +4 -6
  201. data/lib/vsphere-automation-vapi/models/vapi_std_errors_unauthorized.rb +4 -6
  202. data/lib/vsphere-automation-vapi/models/vapi_std_errors_unauthorized_error.rb +4 -6
  203. data/lib/vsphere-automation-vapi/models/vapi_std_localizable_message.rb +4 -6
  204. data/lib/vsphere-automation-vapi/version.rb +5 -7
  205. data/spec/api/metadata_authentication_component_api_spec.rb +5 -6
  206. data/spec/api/metadata_authentication_package_api_spec.rb +4 -6
  207. data/spec/api/metadata_authentication_service_api_spec.rb +4 -6
  208. data/spec/api/metadata_authentication_service_operation_api_spec.rb +6 -7
  209. data/spec/api/metadata_cli_command_api_spec.rb +6 -7
  210. data/spec/api/metadata_cli_namespace_api_spec.rb +6 -7
  211. data/spec/api/metadata_metamodel_component_api_spec.rb +5 -6
  212. data/spec/api/metadata_metamodel_enumeration_api_spec.rb +4 -6
  213. data/spec/api/metadata_metamodel_package_api_spec.rb +4 -6
  214. data/spec/api/metadata_metamodel_resource_api_spec.rb +4 -6
  215. data/spec/api/metadata_metamodel_resource_model_api_spec.rb +4 -6
  216. data/spec/api/metadata_metamodel_service_api_spec.rb +4 -6
  217. data/spec/api/metadata_metamodel_service_operation_api_spec.rb +4 -6
  218. data/spec/api/metadata_metamodel_structure_api_spec.rb +4 -6
  219. data/spec/api/metadata_privilege_component_api_spec.rb +5 -6
  220. data/spec/api/metadata_privilege_package_api_spec.rb +4 -6
  221. data/spec/api/metadata_privilege_service_api_spec.rb +4 -6
  222. data/spec/api/metadata_privilege_service_operation_api_spec.rb +6 -7
  223. data/spec/api/rest_navigation_component_api_spec.rb +4 -6
  224. data/spec/api/rest_navigation_options_api_spec.rb +6 -7
  225. data/spec/api/rest_navigation_resource_api_spec.rb +4 -6
  226. data/spec/api/rest_navigation_root_api_spec.rb +4 -6
  227. data/spec/api/rest_navigation_service_api_spec.rb +4 -6
  228. data/spec/api/vcenter_activation_api_spec.rb +5 -6
  229. data/spec/api_client_spec.rb +4 -6
  230. data/spec/configuration_spec.rb +4 -6
  231. data/spec/models/vapi_metadata_authentication_authentication_info_scheme_type_spec.rb +4 -6
  232. data/spec/models/vapi_metadata_authentication_authentication_info_spec.rb +4 -6
  233. data/spec/models/vapi_metadata_authentication_component_data_spec.rb +4 -6
  234. data/spec/models/vapi_metadata_authentication_component_fingerprint_result_spec.rb +4 -6
  235. data/spec/models/vapi_metadata_authentication_component_info_packages_spec.rb +6 -8
  236. data/spec/models/vapi_metadata_authentication_component_info_spec.rb +4 -6
  237. data/spec/models/vapi_metadata_authentication_component_list_result_spec.rb +4 -6
  238. data/spec/models/vapi_metadata_authentication_component_result_spec.rb +4 -6
  239. data/spec/models/vapi_metadata_authentication_operation_info_spec.rb +4 -6
  240. data/spec/models/vapi_metadata_authentication_package_info_services_spec.rb +6 -8
  241. data/spec/models/vapi_metadata_authentication_package_info_spec.rb +4 -6
  242. data/spec/models/vapi_metadata_authentication_package_list_result_spec.rb +4 -6
  243. data/spec/models/vapi_metadata_authentication_package_result_spec.rb +4 -6
  244. data/spec/models/vapi_metadata_authentication_service_info_operations_spec.rb +6 -8
  245. data/spec/models/vapi_metadata_authentication_service_info_spec.rb +4 -6
  246. data/spec/models/vapi_metadata_authentication_service_list_result_spec.rb +4 -6
  247. data/spec/models/vapi_metadata_authentication_service_operation_get_spec.rb +4 -6
  248. data/spec/models/vapi_metadata_authentication_service_operation_list_result_spec.rb +4 -6
  249. data/spec/models/vapi_metadata_authentication_service_operation_result_spec.rb +4 -6
  250. data/spec/models/vapi_metadata_authentication_service_result_spec.rb +4 -6
  251. data/spec/models/vapi_metadata_cli_command_fingerprint_result_spec.rb +4 -6
  252. data/spec/models/vapi_metadata_cli_command_formatter_type_spec.rb +4 -6
  253. data/spec/models/vapi_metadata_cli_command_generic_type_spec.rb +4 -6
  254. data/spec/models/vapi_metadata_cli_command_get_spec.rb +4 -6
  255. data/spec/models/vapi_metadata_cli_command_identity_spec.rb +4 -6
  256. data/spec/models/vapi_metadata_cli_command_info_spec.rb +4 -6
  257. data/spec/models/vapi_metadata_cli_command_list_result_spec.rb +4 -6
  258. data/spec/models/vapi_metadata_cli_command_option_info_spec.rb +4 -6
  259. data/spec/models/vapi_metadata_cli_command_output_field_info_spec.rb +4 -6
  260. data/spec/models/vapi_metadata_cli_command_output_info_spec.rb +4 -6
  261. data/spec/models/vapi_metadata_cli_command_result_spec.rb +4 -6
  262. data/spec/models/vapi_metadata_cli_namespace_fingerprint_result_spec.rb +4 -6
  263. data/spec/models/vapi_metadata_cli_namespace_get_spec.rb +4 -6
  264. data/spec/models/vapi_metadata_cli_namespace_identity_spec.rb +4 -6
  265. data/spec/models/vapi_metadata_cli_namespace_info_spec.rb +4 -6
  266. data/spec/models/vapi_metadata_cli_namespace_list_result_spec.rb +4 -6
  267. data/spec/models/vapi_metadata_cli_namespace_result_spec.rb +4 -6
  268. data/spec/models/vapi_metadata_metamodel_component_data_spec.rb +4 -6
  269. data/spec/models/vapi_metadata_metamodel_component_fingerprint_result_spec.rb +4 -6
  270. data/spec/models/{vapi_metadata_metamodel_enumeration_value_info_metadata_spec.rb → vapi_metadata_metamodel_component_info_metadata_spec.rb} +12 -14
  271. data/spec/models/vapi_metadata_metamodel_component_info_packages_spec.rb +6 -8
  272. data/spec/models/vapi_metadata_metamodel_component_info_spec.rb +4 -6
  273. data/spec/models/vapi_metadata_metamodel_component_list_result_spec.rb +4 -6
  274. data/spec/models/vapi_metadata_metamodel_component_result_spec.rb +4 -6
  275. data/spec/models/vapi_metadata_metamodel_constant_info_spec.rb +4 -6
  276. data/spec/models/vapi_metadata_metamodel_constant_value_category_spec.rb +4 -6
  277. data/spec/models/vapi_metadata_metamodel_constant_value_spec.rb +4 -6
  278. data/spec/models/vapi_metadata_metamodel_element_map_elements_spec.rb +6 -8
  279. data/spec/models/vapi_metadata_metamodel_element_map_spec.rb +4 -6
  280. data/spec/models/vapi_metadata_metamodel_element_value_spec.rb +4 -6
  281. data/spec/models/vapi_metadata_metamodel_element_value_type_spec.rb +4 -6
  282. data/spec/models/vapi_metadata_metamodel_enumeration_info_spec.rb +4 -6
  283. data/spec/models/vapi_metadata_metamodel_enumeration_list_result_spec.rb +4 -6
  284. data/spec/models/vapi_metadata_metamodel_enumeration_result_spec.rb +4 -6
  285. data/spec/models/vapi_metadata_metamodel_enumeration_value_info_spec.rb +4 -6
  286. data/spec/models/vapi_metadata_metamodel_error_info_spec.rb +4 -6
  287. data/spec/models/vapi_metadata_metamodel_field_info_spec.rb +4 -6
  288. data/spec/models/vapi_metadata_metamodel_generic_instantiation_generic_type_spec.rb +4 -6
  289. data/spec/models/vapi_metadata_metamodel_generic_instantiation_spec.rb +4 -6
  290. data/spec/models/vapi_metadata_metamodel_operation_info_spec.rb +4 -6
  291. data/spec/models/vapi_metadata_metamodel_operation_result_info_spec.rb +4 -6
  292. data/spec/models/vapi_metadata_metamodel_package_info_enumerations_spec.rb +6 -8
  293. data/spec/models/vapi_metadata_metamodel_package_info_services_spec.rb +6 -8
  294. data/spec/models/vapi_metadata_metamodel_package_info_spec.rb +4 -6
  295. data/spec/models/vapi_metadata_metamodel_package_info_structures_spec.rb +6 -8
  296. data/spec/models/vapi_metadata_metamodel_package_list_result_spec.rb +4 -6
  297. data/spec/models/vapi_metadata_metamodel_package_result_spec.rb +4 -6
  298. data/spec/models/vapi_metadata_metamodel_primitive_value_spec.rb +4 -6
  299. data/spec/models/vapi_metadata_metamodel_primitive_value_type_spec.rb +4 -6
  300. data/spec/models/vapi_metadata_metamodel_resource_list_result_spec.rb +4 -6
  301. data/spec/models/vapi_metadata_metamodel_resource_model_list_result_spec.rb +4 -6
  302. data/spec/models/{vapi_metadata_metamodel_structure_info_constants_spec.rb → vapi_metadata_metamodel_service_info_constants_spec.rb} +12 -14
  303. data/spec/models/vapi_metadata_metamodel_service_info_operations_spec.rb +6 -8
  304. data/spec/models/vapi_metadata_metamodel_service_info_spec.rb +4 -6
  305. data/spec/models/vapi_metadata_metamodel_service_list_result_spec.rb +4 -6
  306. data/spec/models/vapi_metadata_metamodel_service_operation_list_result_spec.rb +4 -6
  307. data/spec/models/vapi_metadata_metamodel_service_operation_result_spec.rb +4 -6
  308. data/spec/models/vapi_metadata_metamodel_service_result_spec.rb +4 -6
  309. data/spec/models/vapi_metadata_metamodel_structure_info_spec.rb +4 -6
  310. data/spec/models/vapi_metadata_metamodel_structure_info_type_spec.rb +4 -6
  311. data/spec/models/vapi_metadata_metamodel_structure_list_result_spec.rb +4 -6
  312. data/spec/models/vapi_metadata_metamodel_structure_result_spec.rb +4 -6
  313. data/spec/models/vapi_metadata_metamodel_type_builtin_type_spec.rb +4 -6
  314. data/spec/models/vapi_metadata_metamodel_type_category_spec.rb +4 -6
  315. data/spec/models/vapi_metadata_metamodel_type_spec.rb +4 -6
  316. data/spec/models/vapi_metadata_metamodel_user_defined_type_spec.rb +4 -6
  317. data/spec/models/vapi_metadata_privilege_component_data_spec.rb +4 -6
  318. data/spec/models/vapi_metadata_privilege_component_fingerprint_result_spec.rb +4 -6
  319. data/spec/models/vapi_metadata_privilege_component_info_packages_spec.rb +6 -8
  320. data/spec/models/vapi_metadata_privilege_component_info_spec.rb +4 -6
  321. data/spec/models/vapi_metadata_privilege_component_list_result_spec.rb +4 -6
  322. data/spec/models/vapi_metadata_privilege_component_result_spec.rb +4 -6
  323. data/spec/models/vapi_metadata_privilege_operation_info_spec.rb +4 -6
  324. data/spec/models/vapi_metadata_privilege_package_info_services_spec.rb +6 -8
  325. data/spec/models/vapi_metadata_privilege_package_info_spec.rb +4 -6
  326. data/spec/models/vapi_metadata_privilege_package_list_result_spec.rb +4 -6
  327. data/spec/models/vapi_metadata_privilege_package_result_spec.rb +4 -6
  328. data/spec/models/vapi_metadata_privilege_privilege_info_spec.rb +4 -6
  329. data/spec/models/vapi_metadata_privilege_service_info_operations_spec.rb +6 -8
  330. data/spec/models/vapi_metadata_privilege_service_info_spec.rb +4 -6
  331. data/spec/models/vapi_metadata_privilege_service_list_result_spec.rb +4 -6
  332. data/spec/models/vapi_metadata_privilege_service_operation_get_spec.rb +4 -6
  333. data/spec/models/vapi_metadata_privilege_service_operation_list_result_spec.rb +4 -6
  334. data/spec/models/vapi_metadata_privilege_service_operation_result_spec.rb +4 -6
  335. data/spec/models/vapi_metadata_privilege_service_result_spec.rb +4 -6
  336. data/spec/models/vapi_rest_navigation_component_info_spec.rb +4 -6
  337. data/spec/models/vapi_rest_navigation_component_list_result_spec.rb +4 -6
  338. data/spec/models/vapi_rest_navigation_http_method_spec.rb +4 -6
  339. data/spec/models/vapi_rest_navigation_link_spec.rb +4 -6
  340. data/spec/models/vapi_rest_navigation_operation_spec.rb +4 -6
  341. data/spec/models/vapi_rest_navigation_options_get_spec.rb +4 -6
  342. data/spec/models/vapi_rest_navigation_options_result_spec.rb +4 -6
  343. data/spec/models/vapi_rest_navigation_reference_spec.rb +4 -6
  344. data/spec/models/vapi_rest_navigation_resource_info_spec.rb +4 -6
  345. data/spec/models/vapi_rest_navigation_resource_list_result_spec.rb +4 -6
  346. data/spec/models/vapi_rest_navigation_resource_result_spec.rb +4 -6
  347. data/spec/models/vapi_rest_navigation_root_info_spec.rb +4 -6
  348. data/spec/models/vapi_rest_navigation_root_result_spec.rb +4 -6
  349. data/spec/models/vapi_rest_navigation_service_info_spec.rb +4 -6
  350. data/spec/models/vapi_rest_navigation_service_list_result_spec.rb +4 -6
  351. data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +4 -6
  352. data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +4 -6
  353. data/spec/models/vapi_std_errors_not_found_error_spec.rb +4 -6
  354. data/spec/models/vapi_std_errors_not_found_spec.rb +4 -6
  355. data/spec/models/vapi_std_errors_service_unavailable_error_spec.rb +4 -6
  356. data/spec/models/vapi_std_errors_service_unavailable_spec.rb +4 -6
  357. data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +4 -6
  358. data/spec/models/vapi_std_errors_unauthenticated_spec.rb +4 -6
  359. data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +4 -6
  360. data/spec/models/vapi_std_errors_unauthorized_spec.rb +4 -6
  361. data/spec/models/vapi_std_localizable_message_spec.rb +4 -6
  362. data/spec/spec_helper.rb +4 -6
  363. data/vsphere-automation-vapi.gemspec +11 -14
  364. metadata +26 -41
@@ -1,12 +1,10 @@
1
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # vapi
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
4
+ # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
7
5
 
6
+ # vapi - vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
8
7
 
9
- =end
10
8
 
11
9
  require 'uri'
12
10
 
@@ -43,14 +41,14 @@ module VSphereAutomation
43
41
  # header parameters
44
42
  header_params = {}
45
43
  # HTTP header 'Accept' (if needed)
46
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
44
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
47
45
 
48
46
  # form parameters
49
47
  form_params = {}
50
48
 
51
49
  # http body (model)
52
50
  post_body = nil
53
- auth_names = []
51
+ auth_names = ['api_key']
54
52
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
55
53
  :header_params => header_params,
56
54
  :query_params => query_params,
@@ -1,12 +1,10 @@
1
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # vapi
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
4
+ # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
7
5
 
6
+ # vapi - vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
8
7
 
9
- =end
10
8
 
11
9
  require 'uri'
12
10
 
@@ -50,14 +48,14 @@ module VSphereAutomation
50
48
  # header parameters
51
49
  header_params = {}
52
50
  # HTTP header 'Accept' (if needed)
53
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
51
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
54
52
 
55
53
  # form parameters
56
54
  form_params = {}
57
55
 
58
56
  # http body (model)
59
57
  post_body = nil
60
- auth_names = []
58
+ auth_names = ['api_key']
61
59
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
62
60
  :header_params => header_params,
63
61
  :query_params => query_params,
@@ -1,12 +1,10 @@
1
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # vapi
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
4
+ # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
7
5
 
6
+ # vapi - vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
8
7
 
9
- =end
10
8
 
11
9
  require 'uri'
12
10
 
@@ -49,14 +47,14 @@ module VSphereAutomation
49
47
  # header parameters
50
48
  header_params = {}
51
49
  # HTTP header 'Accept' (if needed)
52
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
50
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
51
 
54
52
  # form parameters
55
53
  form_params = {}
56
54
 
57
55
  # http body (model)
58
56
  post_body = nil
59
- auth_names = []
57
+ auth_names = ['api_key']
60
58
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
61
59
  :header_params => header_params,
62
60
  :query_params => query_params,
@@ -97,14 +95,14 @@ module VSphereAutomation
97
95
  # header parameters
98
96
  header_params = {}
99
97
  # HTTP header 'Accept' (if needed)
100
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
98
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
101
99
 
102
100
  # form parameters
103
101
  form_params = {}
104
102
 
105
103
  # http body (model)
106
104
  post_body = nil
107
- auth_names = []
105
+ auth_names = ['api_key']
108
106
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
109
107
  :header_params => header_params,
110
108
  :query_params => query_params,
@@ -1,12 +1,10 @@
1
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # vapi
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
4
+ # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
7
5
 
6
+ # vapi - vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
8
7
 
9
- =end
10
8
 
11
9
  require 'uri'
12
10
 
@@ -55,14 +53,14 @@ module VSphereAutomation
55
53
  # header parameters
56
54
  header_params = {}
57
55
  # HTTP header 'Accept' (if needed)
58
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
56
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
59
57
 
60
58
  # form parameters
61
59
  form_params = {}
62
60
 
63
61
  # http body (model)
64
62
  post_body = nil
65
- auth_names = []
63
+ auth_names = ['api_key']
66
64
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
67
65
  :header_params => header_params,
68
66
  :query_params => query_params,
@@ -110,14 +108,14 @@ module VSphereAutomation
110
108
  # header parameters
111
109
  header_params = {}
112
110
  # HTTP header 'Accept' (if needed)
113
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
111
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
114
112
 
115
113
  # form parameters
116
114
  form_params = {}
117
115
 
118
116
  # http body (model)
119
117
  post_body = nil
120
- auth_names = []
118
+ auth_names = ['api_key']
121
119
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
122
120
  :header_params => header_params,
123
121
  :query_params => query_params,
@@ -1,12 +1,10 @@
1
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # vapi
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
4
+ # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
7
5
 
6
+ # vapi - vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
8
7
 
9
- =end
10
8
 
11
9
  require 'uri'
12
10
 
@@ -49,14 +47,14 @@ module VSphereAutomation
49
47
  # header parameters
50
48
  header_params = {}
51
49
  # HTTP header 'Accept' (if needed)
52
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
50
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
51
 
54
52
  # form parameters
55
53
  form_params = {}
56
54
 
57
55
  # http body (model)
58
56
  post_body = nil
59
- auth_names = []
57
+ auth_names = ['api_key']
60
58
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
61
59
  :header_params => header_params,
62
60
  :query_params => query_params,
@@ -97,14 +95,14 @@ module VSphereAutomation
97
95
  # header parameters
98
96
  header_params = {}
99
97
  # HTTP header 'Accept' (if needed)
100
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
98
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
101
99
 
102
100
  # form parameters
103
101
  form_params = {}
104
102
 
105
103
  # http body (model)
106
104
  post_body = nil
107
- auth_names = []
105
+ auth_names = ['api_key']
108
106
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
109
107
  :header_params => header_params,
110
108
  :query_params => query_params,
@@ -1,12 +1,10 @@
1
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # vapi
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
4
+ # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
7
5
 
6
+ # vapi - vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
8
7
 
9
- =end
10
8
 
11
9
  require 'uri'
12
10
 
@@ -20,19 +18,21 @@ module VSphereAutomation
20
18
  end
21
19
  # Retrieves the fingerprint computed from the privilege metadata of the component element corresponding to {@param.name componentId}. <p> The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of {@link vapi.metadata.privilege.Component#get}.
22
20
  # @param component_id Identifier of the component element.
21
+ # @param action ~action&#x3D;fingerprint
23
22
  # @param [Hash] opts the optional parameters
24
23
  # @return [VapiMetadataPrivilegeComponentFingerprintResult|VapiStdErrorsNotFoundError|]
25
- def fingerprint(component_id, opts = {})
26
- data, _status_code, _headers = fingerprint_with_http_info(component_id, opts)
24
+ def fingerprint(component_id, action, opts = {})
25
+ data, _status_code, _headers = fingerprint_with_http_info(component_id, action, opts)
27
26
  data
28
27
  end
29
28
 
30
29
  # Retrieves the fingerprint computed from the privilege metadata of the component element corresponding to {@param.name componentId}. &lt;p&gt; The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of {@link vapi.metadata.privilege.Component#get}.
31
30
  # @api private
32
31
  # @param component_id Identifier of the component element.
32
+ # @param action ~action&#x3D;fingerprint
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(VapiMetadataPrivilegeComponentFingerprintResult|VapiStdErrorsNotFoundError|, Fixnum, Hash)>] data, response status code and response headers
35
- def fingerprint_with_http_info(component_id, opts = {})
35
+ def fingerprint_with_http_info(component_id, action, opts = {})
36
36
  if @api_client.config.debugging
37
37
  @api_client.config.logger.debug 'Calling API: MetadataPrivilegeComponentApi.fingerprint ...'
38
38
  end
@@ -40,23 +40,32 @@ module VSphereAutomation
40
40
  if @api_client.config.client_side_validation && component_id.nil?
41
41
  fail ArgumentError, "Missing the required parameter 'component_id' when calling MetadataPrivilegeComponentApi.fingerprint"
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 MetadataPrivilegeComponentApi.fingerprint"
46
+ end
47
+ # verify enum value
48
+ if @api_client.config.client_side_validation && !['fingerprint'].include?(action)
49
+ fail ArgumentError, "invalid value for 'action', must be one of fingerprint"
50
+ end
43
51
  # resource path
44
- local_var_path = '/com/vmware/vapi/metadata/privilege/component/id:{component_id}?~action=fingerprint'.sub('{' + 'component_id' + '}', component_id.to_s)
52
+ local_var_path = '/com/vmware/vapi/metadata/privilege/component/id:{component_id}'.sub('{' + 'component_id' + '}', component_id.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,
@@ -103,14 +112,14 @@ module VSphereAutomation
103
112
  # header parameters
104
113
  header_params = {}
105
114
  # HTTP header 'Accept' (if needed)
106
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
115
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
107
116
 
108
117
  # form parameters
109
118
  form_params = {}
110
119
 
111
120
  # http body (model)
112
121
  post_body = nil
113
- auth_names = []
122
+ auth_names = ['api_key']
114
123
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
115
124
  :header_params => header_params,
116
125
  :query_params => query_params,
@@ -151,14 +160,14 @@ module VSphereAutomation
151
160
  # header parameters
152
161
  header_params = {}
153
162
  # HTTP header 'Accept' (if needed)
154
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
163
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
155
164
 
156
165
  # form parameters
157
166
  form_params = {}
158
167
 
159
168
  # http body (model)
160
169
  post_body = nil
161
- auth_names = []
170
+ auth_names = ['api_key']
162
171
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
163
172
  :header_params => header_params,
164
173
  :query_params => query_params,
@@ -1,12 +1,10 @@
1
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # vapi
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
4
+ # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
7
5
 
6
+ # vapi - vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
8
7
 
9
- =end
10
8
 
11
9
  require 'uri'
12
10
 
@@ -49,14 +47,14 @@ module VSphereAutomation
49
47
  # header parameters
50
48
  header_params = {}
51
49
  # HTTP header 'Accept' (if needed)
52
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
50
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
51
 
54
52
  # form parameters
55
53
  form_params = {}
56
54
 
57
55
  # http body (model)
58
56
  post_body = nil
59
- auth_names = []
57
+ auth_names = ['api_key']
60
58
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
61
59
  :header_params => header_params,
62
60
  :query_params => query_params,
@@ -97,14 +95,14 @@ module VSphereAutomation
97
95
  # header parameters
98
96
  header_params = {}
99
97
  # HTTP header 'Accept' (if needed)
100
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
98
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
101
99
 
102
100
  # form parameters
103
101
  form_params = {}
104
102
 
105
103
  # http body (model)
106
104
  post_body = nil
107
- auth_names = []
105
+ auth_names = ['api_key']
108
106
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
109
107
  :header_params => header_params,
110
108
  :query_params => query_params,
@@ -1,12 +1,10 @@
1
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # vapi
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
4
+ # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
7
5
 
6
+ # vapi - vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
8
7
 
9
- =end
10
8
 
11
9
  require 'uri'
12
10
 
@@ -49,14 +47,14 @@ module VSphereAutomation
49
47
  # header parameters
50
48
  header_params = {}
51
49
  # HTTP header 'Accept' (if needed)
52
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
50
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
51
 
54
52
  # form parameters
55
53
  form_params = {}
56
54
 
57
55
  # http body (model)
58
56
  post_body = nil
59
- auth_names = []
57
+ auth_names = ['api_key']
60
58
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
61
59
  :header_params => header_params,
62
60
  :query_params => query_params,
@@ -97,14 +95,14 @@ module VSphereAutomation
97
95
  # header parameters
98
96
  header_params = {}
99
97
  # HTTP header 'Accept' (if needed)
100
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
98
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
101
99
 
102
100
  # form parameters
103
101
  form_params = {}
104
102
 
105
103
  # http body (model)
106
104
  post_body = nil
107
- auth_names = []
105
+ auth_names = ['api_key']
108
106
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
109
107
  :header_params => header_params,
110
108
  :query_params => query_params,
@@ -1,12 +1,10 @@
1
- =begin
2
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
3
-
4
- # vapi
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
5
3
 
6
- # vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
4
+ # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
7
5
 
6
+ # vapi - vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
8
7
 
9
- =end
10
8
 
11
9
  require 'uri'
12
10
 
@@ -20,21 +18,23 @@ module VSphereAutomation
20
18
  end
21
19
  # Retrieves the privilege information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
22
20
  # @param service_id Identifier of the service element.
23
- # @param vapi_metadata_privilege_service_operation_get
21
+ # @param action ~action&#x3D;get
22
+ # @param request_body
24
23
  # @param [Hash] opts the optional parameters
25
24
  # @return [VapiMetadataPrivilegeServiceOperationResult|VapiStdErrorsNotFoundError|]
26
- def get(service_id, vapi_metadata_privilege_service_operation_get, opts = {})
27
- data, _status_code, _headers = get_with_http_info(service_id, vapi_metadata_privilege_service_operation_get, opts)
25
+ def get(service_id, action, request_body, opts = {})
26
+ data, _status_code, _headers = get_with_http_info(service_id, action, request_body, opts)
28
27
  data
29
28
  end
30
29
 
31
30
  # Retrieves the privilege information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
32
31
  # @api private
33
32
  # @param service_id Identifier of the service element.
34
- # @param vapi_metadata_privilege_service_operation_get
33
+ # @param action ~action&#x3D;get
34
+ # @param request_body
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(VapiMetadataPrivilegeServiceOperationResult|VapiStdErrorsNotFoundError|, Fixnum, Hash)>] data, response status code and response headers
37
- def get_with_http_info(service_id, vapi_metadata_privilege_service_operation_get, opts = {})
37
+ def get_with_http_info(service_id, action, request_body, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: MetadataPrivilegeServiceOperationApi.get ...'
40
40
  end
@@ -42,20 +42,29 @@ module VSphereAutomation
42
42
  if @api_client.config.client_side_validation && service_id.nil?
43
43
  fail ArgumentError, "Missing the required parameter 'service_id' when calling MetadataPrivilegeServiceOperationApi.get"
44
44
  end
45
- # verify the required parameter 'vapi_metadata_privilege_service_operation_get' is set
46
- if @api_client.config.client_side_validation && vapi_metadata_privilege_service_operation_get.nil?
47
- fail ArgumentError, "Missing the required parameter 'vapi_metadata_privilege_service_operation_get' when calling MetadataPrivilegeServiceOperationApi.get"
45
+ # verify the required parameter 'action' is set
46
+ if @api_client.config.client_side_validation && action.nil?
47
+ fail ArgumentError, "Missing the required parameter 'action' when calling MetadataPrivilegeServiceOperationApi.get"
48
+ end
49
+ # verify enum value
50
+ if @api_client.config.client_side_validation && !['get'].include?(action)
51
+ fail ArgumentError, "invalid value for 'action', must be one of get"
52
+ end
53
+ # verify the required parameter 'request_body' is set
54
+ if @api_client.config.client_side_validation && request_body.nil?
55
+ fail ArgumentError, "Missing the required parameter 'request_body' when calling MetadataPrivilegeServiceOperationApi.get"
48
56
  end
49
57
  # resource path
50
- local_var_path = '/com/vmware/vapi/metadata/privilege/service/operation/id:{service_id}?~action=get'.sub('{' + 'service_id' + '}', service_id.to_s)
58
+ local_var_path = '/com/vmware/vapi/metadata/privilege/service/operation/id:{service_id}'.sub('{' + 'service_id' + '}', service_id.to_s)
51
59
 
52
60
  # query parameters
53
61
  query_params = {}
62
+ query_params[:'~action'] = action
54
63
 
55
64
  # header parameters
56
65
  header_params = {}
57
66
  # HTTP header 'Accept' (if needed)
58
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
67
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
59
68
  # HTTP header 'Content-Type'
60
69
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
61
70
 
@@ -63,8 +72,8 @@ module VSphereAutomation
63
72
  form_params = {}
64
73
 
65
74
  # http body (model)
66
- post_body = @api_client.object_to_http_body(vapi_metadata_privilege_service_operation_get)
67
- auth_names = []
75
+ post_body = @api_client.object_to_http_body(request_body)
76
+ auth_names = ['api_key']
68
77
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
69
78
  :header_params => header_params,
70
79
  :query_params => query_params,
@@ -112,14 +121,14 @@ module VSphereAutomation
112
121
  # header parameters
113
122
  header_params = {}
114
123
  # HTTP header 'Accept' (if needed)
115
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
124
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
116
125
 
117
126
  # form parameters
118
127
  form_params = {}
119
128
 
120
129
  # http body (model)
121
130
  post_body = nil
122
- auth_names = []
131
+ auth_names = ['api_key']
123
132
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
124
133
  :header_params => header_params,
125
134
  :query_params => query_params,