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.
- checksums.yaml +4 -4
- data/Gemfile +12 -1
- data/Gemfile.lock +57 -44
- data/README.md +22 -13
- data/Rakefile +8 -0
- data/docs/MetadataAuthenticationComponentApi.md +32 -9
- data/docs/MetadataAuthenticationPackageApi.md +18 -4
- data/docs/MetadataAuthenticationServiceApi.md +18 -4
- data/docs/MetadataAuthenticationServiceOperationApi.md +25 -9
- data/docs/MetadataCliCommandApi.md +34 -11
- data/docs/MetadataCliNamespaceApi.md +39 -14
- data/docs/MetadataMetamodelComponentApi.md +32 -9
- data/docs/MetadataMetamodelEnumerationApi.md +18 -4
- data/docs/MetadataMetamodelPackageApi.md +18 -4
- data/docs/MetadataMetamodelResourceApi.md +9 -2
- data/docs/MetadataMetamodelResourceModelApi.md +9 -2
- data/docs/MetadataMetamodelServiceApi.md +18 -4
- data/docs/MetadataMetamodelServiceOperationApi.md +18 -4
- data/docs/MetadataMetamodelStructureApi.md +18 -4
- data/docs/MetadataPrivilegeComponentApi.md +32 -9
- data/docs/MetadataPrivilegePackageApi.md +18 -4
- data/docs/MetadataPrivilegeServiceApi.md +18 -4
- data/docs/MetadataPrivilegeServiceOperationApi.md +25 -9
- data/docs/RestNavigationComponentApi.md +9 -2
- data/docs/RestNavigationOptionsApi.md +16 -7
- data/docs/RestNavigationResourceApi.md +18 -4
- data/docs/RestNavigationRootApi.md +9 -2
- data/docs/RestNavigationServiceApi.md +9 -2
- data/docs/VapiMetadataAuthenticationComponentInfoPackages.md +1 -1
- data/docs/VapiMetadataAuthenticationPackageInfoServices.md +1 -1
- data/docs/VapiMetadataAuthenticationServiceInfoOperations.md +1 -1
- data/docs/{VapiMetadataMetamodelEnumerationValueInfoMetadata.md → VapiMetadataMetamodelComponentInfoMetadata.md} +2 -2
- data/docs/VapiMetadataMetamodelComponentInfoPackages.md +1 -1
- data/docs/VapiMetadataMetamodelElementMapElements.md +1 -1
- data/docs/VapiMetadataMetamodelPackageInfoEnumerations.md +1 -1
- data/docs/VapiMetadataMetamodelPackageInfoServices.md +1 -1
- data/docs/VapiMetadataMetamodelPackageInfoStructures.md +1 -1
- data/docs/VapiMetadataMetamodelPrimitiveValue.md +1 -1
- data/docs/{VapiMetadataMetamodelStructureInfoConstants.md → VapiMetadataMetamodelServiceInfoConstants.md} +2 -2
- data/docs/VapiMetadataMetamodelServiceInfoOperations.md +1 -1
- data/docs/VapiMetadataPrivilegeComponentInfoPackages.md +1 -1
- data/docs/VapiMetadataPrivilegePackageInfoServices.md +1 -1
- data/docs/VapiMetadataPrivilegeServiceInfoOperations.md +1 -1
- data/docs/VcenterActivationApi.md +14 -5
- data/lib/vsphere-automation-vapi.rb +9 -11
- data/lib/vsphere-automation-vapi/api/metadata_authentication_component_api.rb +25 -16
- data/lib/vsphere-automation-vapi/api/metadata_authentication_package_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_authentication_service_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_authentication_service_operation_api.rb +29 -20
- data/lib/vsphere-automation-vapi/api/metadata_cli_command_api.rb +31 -22
- data/lib/vsphere-automation-vapi/api/metadata_cli_namespace_api.rb +34 -25
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_component_api.rb +25 -16
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_enumeration_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_package_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_resource_api.rb +6 -8
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_resource_model_api.rb +6 -8
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_service_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_service_operation_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_structure_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_privilege_component_api.rb +25 -16
- data/lib/vsphere-automation-vapi/api/metadata_privilege_package_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_privilege_service_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_privilege_service_operation_api.rb +29 -20
- data/lib/vsphere-automation-vapi/api/rest_navigation_component_api.rb +6 -8
- data/lib/vsphere-automation-vapi/api/rest_navigation_options_api.rb +27 -18
- data/lib/vsphere-automation-vapi/api/rest_navigation_resource_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/rest_navigation_root_api.rb +6 -8
- data/lib/vsphere-automation-vapi/api/rest_navigation_service_api.rb +6 -8
- data/lib/vsphere-automation-vapi/api/vcenter_activation_api.rb +21 -12
- data/lib/vsphere-automation-vapi/api_client.rb +9 -5
- data/lib/vsphere-automation-vapi/api_error.rb +4 -6
- data/lib/vsphere-automation-vapi/configuration.rb +18 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_authentication_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_authentication_info_scheme_type.rb +6 -8
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_data.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_fingerprint_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_info_packages.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_operation_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_package_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_package_info_services.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_package_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_package_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_info_operations.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_operation_get.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_operation_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_operation_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_fingerprint_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_formatter_type.rb +10 -12
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_generic_type.rb +9 -11
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_get.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_identity.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_option_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_output_field_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_output_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_fingerprint_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_get.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_identity.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_data.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_fingerprint_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/{vapi_metadata_metamodel_enumeration_value_info_metadata.rb → vapi_metadata_metamodel_component_info_metadata.rb} +18 -20
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_info_packages.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_constant_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_constant_value.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_constant_value_category.rb +6 -8
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_element_map.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_element_map_elements.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_element_value.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_element_value_type.rb +9 -11
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_enumeration_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_enumeration_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_enumeration_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_enumeration_value_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_error_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_field_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_generic_instantiation.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_generic_instantiation_generic_type.rb +8 -10
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_operation_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_operation_result_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_info_enumerations.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_info_services.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_info_structures.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_primitive_value.rb +5 -7
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_primitive_value_type.rb +8 -10
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_resource_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_resource_model_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/{vapi_metadata_metamodel_structure_info_constants.rb → vapi_metadata_metamodel_service_info_constants.rb} +18 -20
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_info_operations.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_operation_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_operation_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_structure_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_structure_info_type.rb +6 -8
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_structure_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_structure_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_type.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_type_builtin_type.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_type_category.rb +7 -9
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_user_defined_type.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_data.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_fingerprint_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_info_packages.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_operation_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_package_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_package_info_services.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_package_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_package_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_privilege_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_info_operations.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_operation_get.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_operation_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_operation_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_component_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_component_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_http_method.rb +13 -15
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_link.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_operation.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_options_get.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_options_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_reference.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_resource_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_resource_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_resource_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_root_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_root_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_service_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_service_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_not_allowed_in_current_state.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_not_allowed_in_current_state_error.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_not_found.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_not_found_error.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_service_unavailable.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_service_unavailable_error.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_unauthenticated.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_unauthenticated_error.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_unauthorized.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_unauthorized_error.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_localizable_message.rb +4 -6
- data/lib/vsphere-automation-vapi/version.rb +5 -7
- data/spec/api/metadata_authentication_component_api_spec.rb +5 -6
- data/spec/api/metadata_authentication_package_api_spec.rb +4 -6
- data/spec/api/metadata_authentication_service_api_spec.rb +4 -6
- data/spec/api/metadata_authentication_service_operation_api_spec.rb +6 -7
- data/spec/api/metadata_cli_command_api_spec.rb +6 -7
- data/spec/api/metadata_cli_namespace_api_spec.rb +6 -7
- data/spec/api/metadata_metamodel_component_api_spec.rb +5 -6
- data/spec/api/metadata_metamodel_enumeration_api_spec.rb +4 -6
- data/spec/api/metadata_metamodel_package_api_spec.rb +4 -6
- data/spec/api/metadata_metamodel_resource_api_spec.rb +4 -6
- data/spec/api/metadata_metamodel_resource_model_api_spec.rb +4 -6
- data/spec/api/metadata_metamodel_service_api_spec.rb +4 -6
- data/spec/api/metadata_metamodel_service_operation_api_spec.rb +4 -6
- data/spec/api/metadata_metamodel_structure_api_spec.rb +4 -6
- data/spec/api/metadata_privilege_component_api_spec.rb +5 -6
- data/spec/api/metadata_privilege_package_api_spec.rb +4 -6
- data/spec/api/metadata_privilege_service_api_spec.rb +4 -6
- data/spec/api/metadata_privilege_service_operation_api_spec.rb +6 -7
- data/spec/api/rest_navigation_component_api_spec.rb +4 -6
- data/spec/api/rest_navigation_options_api_spec.rb +6 -7
- data/spec/api/rest_navigation_resource_api_spec.rb +4 -6
- data/spec/api/rest_navigation_root_api_spec.rb +4 -6
- data/spec/api/rest_navigation_service_api_spec.rb +4 -6
- data/spec/api/vcenter_activation_api_spec.rb +5 -6
- data/spec/api_client_spec.rb +4 -6
- data/spec/configuration_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_authentication_info_scheme_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_authentication_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_component_data_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_component_fingerprint_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_component_info_packages_spec.rb +6 -8
- data/spec/models/vapi_metadata_authentication_component_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_component_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_component_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_operation_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_package_info_services_spec.rb +6 -8
- data/spec/models/vapi_metadata_authentication_package_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_package_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_package_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_service_info_operations_spec.rb +6 -8
- data/spec/models/vapi_metadata_authentication_service_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_service_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_service_operation_get_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_service_operation_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_service_operation_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_service_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_fingerprint_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_formatter_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_generic_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_get_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_identity_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_option_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_output_field_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_output_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_namespace_fingerprint_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_namespace_get_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_namespace_identity_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_namespace_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_namespace_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_namespace_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_component_data_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_component_fingerprint_result_spec.rb +4 -6
- data/spec/models/{vapi_metadata_metamodel_enumeration_value_info_metadata_spec.rb → vapi_metadata_metamodel_component_info_metadata_spec.rb} +12 -14
- data/spec/models/vapi_metadata_metamodel_component_info_packages_spec.rb +6 -8
- data/spec/models/vapi_metadata_metamodel_component_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_component_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_component_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_constant_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_constant_value_category_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_constant_value_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_element_map_elements_spec.rb +6 -8
- data/spec/models/vapi_metadata_metamodel_element_map_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_element_value_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_element_value_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_enumeration_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_enumeration_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_enumeration_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_enumeration_value_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_error_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_field_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_generic_instantiation_generic_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_generic_instantiation_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_operation_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_operation_result_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_package_info_enumerations_spec.rb +6 -8
- data/spec/models/vapi_metadata_metamodel_package_info_services_spec.rb +6 -8
- data/spec/models/vapi_metadata_metamodel_package_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_package_info_structures_spec.rb +6 -8
- data/spec/models/vapi_metadata_metamodel_package_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_package_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_primitive_value_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_primitive_value_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_resource_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_resource_model_list_result_spec.rb +4 -6
- data/spec/models/{vapi_metadata_metamodel_structure_info_constants_spec.rb → vapi_metadata_metamodel_service_info_constants_spec.rb} +12 -14
- data/spec/models/vapi_metadata_metamodel_service_info_operations_spec.rb +6 -8
- data/spec/models/vapi_metadata_metamodel_service_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_service_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_service_operation_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_service_operation_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_service_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_structure_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_structure_info_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_structure_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_structure_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_type_builtin_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_type_category_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_user_defined_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_component_data_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_component_fingerprint_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_component_info_packages_spec.rb +6 -8
- data/spec/models/vapi_metadata_privilege_component_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_component_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_component_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_operation_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_package_info_services_spec.rb +6 -8
- data/spec/models/vapi_metadata_privilege_package_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_package_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_package_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_privilege_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_service_info_operations_spec.rb +6 -8
- data/spec/models/vapi_metadata_privilege_service_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_service_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_service_operation_get_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_service_operation_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_service_operation_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_service_result_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_component_info_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_component_list_result_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_http_method_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_link_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_operation_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_options_get_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_options_result_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_reference_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_resource_info_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_resource_list_result_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_resource_result_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_root_info_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_root_result_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_service_info_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_service_list_result_spec.rb +4 -6
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +4 -6
- data/spec/models/vapi_std_errors_not_found_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_not_found_spec.rb +4 -6
- data/spec/models/vapi_std_errors_service_unavailable_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_service_unavailable_spec.rb +4 -6
- data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_unauthenticated_spec.rb +4 -6
- data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_unauthorized_spec.rb +4 -6
- data/spec/models/vapi_std_localizable_message_spec.rb +4 -6
- data/spec/spec_helper.rb +4 -6
- data/vsphere-automation-vapi.gemspec +11 -14
- metadata +26 -41
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# vapi
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# 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(:POST, local_var_path,
|
55
53
|
:header_params => header_params,
|
56
54
|
:query_params => query_params,
|
@@ -66,37 +64,48 @@ module VSphereAutomation
|
|
66
64
|
return data, status_code, headers
|
67
65
|
end
|
68
66
|
# Retrieves information about a command including information about how to execute that command.
|
69
|
-
# @param
|
67
|
+
# @param action ~action=get
|
68
|
+
# @param request_body
|
70
69
|
# @param [Hash] opts the optional parameters
|
71
70
|
# @return [VapiMetadataCliCommandResult|VapiStdErrorsNotFoundError|]
|
72
|
-
def get(
|
73
|
-
data, _status_code, _headers = get_with_http_info(
|
71
|
+
def get(action, request_body, opts = {})
|
72
|
+
data, _status_code, _headers = get_with_http_info(action, request_body, opts)
|
74
73
|
data
|
75
74
|
end
|
76
75
|
|
77
76
|
# Retrieves information about a command including information about how to execute that command.
|
78
77
|
# @api private
|
79
|
-
# @param
|
78
|
+
# @param action ~action=get
|
79
|
+
# @param request_body
|
80
80
|
# @param [Hash] opts the optional parameters
|
81
81
|
# @return [Array<(VapiMetadataCliCommandResult|VapiStdErrorsNotFoundError|, Fixnum, Hash)>] data, response status code and response headers
|
82
|
-
def get_with_http_info(
|
82
|
+
def get_with_http_info(action, request_body, opts = {})
|
83
83
|
if @api_client.config.debugging
|
84
84
|
@api_client.config.logger.debug 'Calling API: MetadataCliCommandApi.get ...'
|
85
85
|
end
|
86
|
-
# verify the required parameter '
|
87
|
-
if @api_client.config.client_side_validation &&
|
88
|
-
fail ArgumentError, "Missing the required parameter '
|
86
|
+
# verify the required parameter 'action' is set
|
87
|
+
if @api_client.config.client_side_validation && action.nil?
|
88
|
+
fail ArgumentError, "Missing the required parameter 'action' when calling MetadataCliCommandApi.get"
|
89
|
+
end
|
90
|
+
# verify enum value
|
91
|
+
if @api_client.config.client_side_validation && !['get'].include?(action)
|
92
|
+
fail ArgumentError, "invalid value for 'action', must be one of get"
|
93
|
+
end
|
94
|
+
# verify the required parameter 'request_body' is set
|
95
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
96
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling MetadataCliCommandApi.get"
|
89
97
|
end
|
90
98
|
# resource path
|
91
|
-
local_var_path = '/com/vmware/vapi/metadata/cli/command
|
99
|
+
local_var_path = '/com/vmware/vapi/metadata/cli/command'
|
92
100
|
|
93
101
|
# query parameters
|
94
102
|
query_params = {}
|
103
|
+
query_params[:'~action'] = action
|
95
104
|
|
96
105
|
# header parameters
|
97
106
|
header_params = {}
|
98
107
|
# HTTP header 'Accept' (if needed)
|
99
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
108
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
100
109
|
# HTTP header 'Content-Type'
|
101
110
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
102
111
|
|
@@ -104,8 +113,8 @@ module VSphereAutomation
|
|
104
113
|
form_params = {}
|
105
114
|
|
106
115
|
# http body (model)
|
107
|
-
post_body = @api_client.object_to_http_body(
|
108
|
-
auth_names = []
|
116
|
+
post_body = @api_client.object_to_http_body(request_body)
|
117
|
+
auth_names = ['api_key']
|
109
118
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
110
119
|
:header_params => header_params,
|
111
120
|
:query_params => query_params,
|
@@ -149,14 +158,14 @@ module VSphereAutomation
|
|
149
158
|
# header parameters
|
150
159
|
header_params = {}
|
151
160
|
# HTTP header 'Accept' (if needed)
|
152
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
161
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
153
162
|
|
154
163
|
# form parameters
|
155
164
|
form_params = {}
|
156
165
|
|
157
166
|
# http body (model)
|
158
167
|
post_body = nil
|
159
|
-
auth_names = []
|
168
|
+
auth_names = ['api_key']
|
160
169
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
161
170
|
:header_params => header_params,
|
162
171
|
:query_params => query_params,
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# vapi
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# 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
|
|
@@ -19,38 +17,49 @@ module VSphereAutomation
|
|
19
17
|
@api_client = api_client
|
20
18
|
end
|
21
19
|
# Returns the aggregate fingerprint of all the namespace metadata from all the metadata sources. <p> The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
|
20
|
+
# @param action ~action=fingerprint
|
22
21
|
# @param [Hash] opts the optional parameters
|
23
22
|
# @return [VapiMetadataCliNamespaceFingerprintResult|]
|
24
|
-
def fingerprint(opts = {})
|
25
|
-
data, _status_code, _headers = fingerprint_with_http_info(opts)
|
23
|
+
def fingerprint(action, opts = {})
|
24
|
+
data, _status_code, _headers = fingerprint_with_http_info(action, opts)
|
26
25
|
data
|
27
26
|
end
|
28
27
|
|
29
28
|
# Returns the aggregate fingerprint of all the namespace metadata from all the metadata sources. <p> The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
|
30
29
|
# @api private
|
30
|
+
# @param action ~action=fingerprint
|
31
31
|
# @param [Hash] opts the optional parameters
|
32
32
|
# @return [Array<(VapiMetadataCliNamespaceFingerprintResult|, Fixnum, Hash)>] data, response status code and response headers
|
33
|
-
def fingerprint_with_http_info(opts = {})
|
33
|
+
def fingerprint_with_http_info(action, opts = {})
|
34
34
|
if @api_client.config.debugging
|
35
35
|
@api_client.config.logger.debug 'Calling API: MetadataCliNamespaceApi.fingerprint ...'
|
36
36
|
end
|
37
|
+
# verify the required parameter 'action' is set
|
38
|
+
if @api_client.config.client_side_validation && action.nil?
|
39
|
+
fail ArgumentError, "Missing the required parameter 'action' when calling MetadataCliNamespaceApi.fingerprint"
|
40
|
+
end
|
41
|
+
# verify enum value
|
42
|
+
if @api_client.config.client_side_validation && !['fingerprint'].include?(action)
|
43
|
+
fail ArgumentError, "invalid value for 'action', must be one of fingerprint"
|
44
|
+
end
|
37
45
|
# resource path
|
38
|
-
local_var_path = '/com/vmware/vapi/metadata/cli/namespace
|
46
|
+
local_var_path = '/com/vmware/vapi/metadata/cli/namespace'
|
39
47
|
|
40
48
|
# query parameters
|
41
49
|
query_params = {}
|
50
|
+
query_params[:'~action'] = action
|
42
51
|
|
43
52
|
# header parameters
|
44
53
|
header_params = {}
|
45
54
|
# HTTP header 'Accept' (if needed)
|
46
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
55
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
47
56
|
|
48
57
|
# form parameters
|
49
58
|
form_params = {}
|
50
59
|
|
51
60
|
# http body (model)
|
52
61
|
post_body = nil
|
53
|
-
auth_names = []
|
62
|
+
auth_names = ['api_key']
|
54
63
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
55
64
|
:header_params => header_params,
|
56
65
|
:query_params => query_params,
|
@@ -66,26 +75,26 @@ module VSphereAutomation
|
|
66
75
|
return data, status_code, headers
|
67
76
|
end
|
68
77
|
# Retreives information about a namespace including information about children of that namespace.
|
69
|
-
# @param
|
78
|
+
# @param request_body
|
70
79
|
# @param [Hash] opts the optional parameters
|
71
80
|
# @return [VapiMetadataCliNamespaceResult|VapiStdErrorsNotFoundError|]
|
72
|
-
def get(
|
73
|
-
data, _status_code, _headers = get_with_http_info(
|
81
|
+
def get(request_body, opts = {})
|
82
|
+
data, _status_code, _headers = get_with_http_info(request_body, opts)
|
74
83
|
data
|
75
84
|
end
|
76
85
|
|
77
86
|
# Retreives information about a namespace including information about children of that namespace.
|
78
87
|
# @api private
|
79
|
-
# @param
|
88
|
+
# @param request_body
|
80
89
|
# @param [Hash] opts the optional parameters
|
81
90
|
# @return [Array<(VapiMetadataCliNamespaceResult|VapiStdErrorsNotFoundError|, Fixnum, Hash)>] data, response status code and response headers
|
82
|
-
def get_with_http_info(
|
91
|
+
def get_with_http_info(request_body, opts = {})
|
83
92
|
if @api_client.config.debugging
|
84
93
|
@api_client.config.logger.debug 'Calling API: MetadataCliNamespaceApi.get ...'
|
85
94
|
end
|
86
|
-
# verify the required parameter '
|
87
|
-
if @api_client.config.client_side_validation &&
|
88
|
-
fail ArgumentError, "Missing the required parameter '
|
95
|
+
# verify the required parameter 'request_body' is set
|
96
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
97
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling MetadataCliNamespaceApi.get"
|
89
98
|
end
|
90
99
|
# resource path
|
91
100
|
local_var_path = '/com/vmware/vapi/metadata/cli/namespace?~action=get'
|
@@ -96,7 +105,7 @@ module VSphereAutomation
|
|
96
105
|
# header parameters
|
97
106
|
header_params = {}
|
98
107
|
# HTTP header 'Accept' (if needed)
|
99
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
108
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
100
109
|
# HTTP header 'Content-Type'
|
101
110
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
102
111
|
|
@@ -104,8 +113,8 @@ module VSphereAutomation
|
|
104
113
|
form_params = {}
|
105
114
|
|
106
115
|
# http body (model)
|
107
|
-
post_body = @api_client.object_to_http_body(
|
108
|
-
auth_names = []
|
116
|
+
post_body = @api_client.object_to_http_body(request_body)
|
117
|
+
auth_names = ['api_key']
|
109
118
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
110
119
|
:header_params => header_params,
|
111
120
|
:query_params => query_params,
|
@@ -146,14 +155,14 @@ module VSphereAutomation
|
|
146
155
|
# header parameters
|
147
156
|
header_params = {}
|
148
157
|
# HTTP header 'Accept' (if needed)
|
149
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
158
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
150
159
|
|
151
160
|
# form parameters
|
152
161
|
form_params = {}
|
153
162
|
|
154
163
|
# http body (model)
|
155
164
|
post_body = nil
|
156
|
-
auth_names = []
|
165
|
+
auth_names = ['api_key']
|
157
166
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
158
167
|
:header_params => header_params,
|
159
168
|
:query_params => query_params,
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# vapi
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# 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 metamodel 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 element 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.metamodel.Component#get}.
|
22
20
|
# @param component_id Identifier of the component element.
|
21
|
+
# @param action ~action=fingerprint
|
23
22
|
# @param [Hash] opts the optional parameters
|
24
23
|
# @return [VapiMetadataMetamodelComponentFingerprintResult|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 metamodel 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 element 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.metamodel.Component#get}.
|
31
30
|
# @api private
|
32
31
|
# @param component_id Identifier of the component element.
|
32
|
+
# @param action ~action=fingerprint
|
33
33
|
# @param [Hash] opts the optional parameters
|
34
34
|
# @return [Array<(VapiMetadataMetamodelComponentFingerprintResult|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: MetadataMetamodelComponentApi.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 MetadataMetamodelComponentApi.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 MetadataMetamodelComponentApi.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/metamodel/component/id:{component_id}
|
52
|
+
local_var_path = '/com/vmware/vapi/metadata/metamodel/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
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# vapi
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# 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
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
# vapi
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
5
3
|
|
6
|
-
#
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
5
|
|
6
|
+
# 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,
|