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 'date'
|
12
10
|
|
data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_fingerprint_result.rb
CHANGED
@@ -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 'date'
|
12
10
|
|
@@ -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 'date'
|
12
10
|
|
@@ -1,35 +1,33 @@
|
|
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 'date'
|
12
10
|
|
13
11
|
module VSphereAutomation
|
14
12
|
module VAPI
|
15
13
|
class VapiMetadataPrivilegeComponentInfoPackages
|
16
|
-
attr_accessor :value
|
17
|
-
|
18
14
|
attr_accessor :key
|
19
15
|
|
16
|
+
attr_accessor :value
|
17
|
+
|
20
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
19
|
def self.attribute_map
|
22
20
|
{
|
23
|
-
:'
|
24
|
-
:'
|
21
|
+
:'key' => :'key',
|
22
|
+
:'value' => :'value'
|
25
23
|
}
|
26
24
|
end
|
27
25
|
|
28
26
|
# Attribute type mapping.
|
29
27
|
def self.openapi_types
|
30
28
|
{
|
31
|
-
:'
|
32
|
-
:'
|
29
|
+
:'key' => :'String',
|
30
|
+
:'value' => :'VapiMetadataPrivilegePackageInfo'
|
33
31
|
}
|
34
32
|
end
|
35
33
|
|
@@ -41,13 +39,13 @@ module VSphereAutomation
|
|
41
39
|
# convert string to symbol for hash key
|
42
40
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
43
41
|
|
44
|
-
if attributes.has_key?(:'value')
|
45
|
-
self.value = attributes[:'value']
|
46
|
-
end
|
47
|
-
|
48
42
|
if attributes.has_key?(:'key')
|
49
43
|
self.key = attributes[:'key']
|
50
44
|
end
|
45
|
+
|
46
|
+
if attributes.has_key?(:'value')
|
47
|
+
self.value = attributes[:'value']
|
48
|
+
end
|
51
49
|
end
|
52
50
|
|
53
51
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -68,8 +66,8 @@ module VSphereAutomation
|
|
68
66
|
def ==(o)
|
69
67
|
return true if self.equal?(o)
|
70
68
|
self.class == o.class &&
|
71
|
-
|
72
|
-
|
69
|
+
key == o.key &&
|
70
|
+
value == o.value
|
73
71
|
end
|
74
72
|
|
75
73
|
# @see the `==` method
|
@@ -81,7 +79,7 @@ module VSphereAutomation
|
|
81
79
|
# Calculates hash code according to all attributes.
|
82
80
|
# @return [Fixnum] Hash code
|
83
81
|
def hash
|
84
|
-
[
|
82
|
+
[key, value].hash
|
85
83
|
end
|
86
84
|
|
87
85
|
# Builds the object from hash
|
@@ -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 'date'
|
12
10
|
|
@@ -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 'date'
|
12
10
|
|
@@ -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 'date'
|
12
10
|
|
@@ -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 'date'
|
12
10
|
|
@@ -1,35 +1,33 @@
|
|
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 'date'
|
12
10
|
|
13
11
|
module VSphereAutomation
|
14
12
|
module VAPI
|
15
13
|
class VapiMetadataPrivilegePackageInfoServices
|
16
|
-
attr_accessor :value
|
17
|
-
|
18
14
|
attr_accessor :key
|
19
15
|
|
16
|
+
attr_accessor :value
|
17
|
+
|
20
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
19
|
def self.attribute_map
|
22
20
|
{
|
23
|
-
:'
|
24
|
-
:'
|
21
|
+
:'key' => :'key',
|
22
|
+
:'value' => :'value'
|
25
23
|
}
|
26
24
|
end
|
27
25
|
|
28
26
|
# Attribute type mapping.
|
29
27
|
def self.openapi_types
|
30
28
|
{
|
31
|
-
:'
|
32
|
-
:'
|
29
|
+
:'key' => :'String',
|
30
|
+
:'value' => :'VapiMetadataPrivilegeServiceInfo'
|
33
31
|
}
|
34
32
|
end
|
35
33
|
|
@@ -41,13 +39,13 @@ module VSphereAutomation
|
|
41
39
|
# convert string to symbol for hash key
|
42
40
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
43
41
|
|
44
|
-
if attributes.has_key?(:'value')
|
45
|
-
self.value = attributes[:'value']
|
46
|
-
end
|
47
|
-
|
48
42
|
if attributes.has_key?(:'key')
|
49
43
|
self.key = attributes[:'key']
|
50
44
|
end
|
45
|
+
|
46
|
+
if attributes.has_key?(:'value')
|
47
|
+
self.value = attributes[:'value']
|
48
|
+
end
|
51
49
|
end
|
52
50
|
|
53
51
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -68,8 +66,8 @@ module VSphereAutomation
|
|
68
66
|
def ==(o)
|
69
67
|
return true if self.equal?(o)
|
70
68
|
self.class == o.class &&
|
71
|
-
|
72
|
-
|
69
|
+
key == o.key &&
|
70
|
+
value == o.value
|
73
71
|
end
|
74
72
|
|
75
73
|
# @see the `==` method
|
@@ -81,7 +79,7 @@ module VSphereAutomation
|
|
81
79
|
# Calculates hash code according to all attributes.
|
82
80
|
# @return [Fixnum] Hash code
|
83
81
|
def hash
|
84
|
-
[
|
82
|
+
[key, value].hash
|
85
83
|
end
|
86
84
|
|
87
85
|
# Builds the object from hash
|
@@ -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 'date'
|
12
10
|
|
@@ -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 'date'
|
12
10
|
|
@@ -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 'date'
|
12
10
|
|
@@ -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 'date'
|
12
10
|
|
@@ -1,35 +1,33 @@
|
|
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 'date'
|
12
10
|
|
13
11
|
module VSphereAutomation
|
14
12
|
module VAPI
|
15
13
|
class VapiMetadataPrivilegeServiceInfoOperations
|
16
|
-
attr_accessor :value
|
17
|
-
|
18
14
|
attr_accessor :key
|
19
15
|
|
16
|
+
attr_accessor :value
|
17
|
+
|
20
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
19
|
def self.attribute_map
|
22
20
|
{
|
23
|
-
:'
|
24
|
-
:'
|
21
|
+
:'key' => :'key',
|
22
|
+
:'value' => :'value'
|
25
23
|
}
|
26
24
|
end
|
27
25
|
|
28
26
|
# Attribute type mapping.
|
29
27
|
def self.openapi_types
|
30
28
|
{
|
31
|
-
:'
|
32
|
-
:'
|
29
|
+
:'key' => :'String',
|
30
|
+
:'value' => :'VapiMetadataPrivilegeOperationInfo'
|
33
31
|
}
|
34
32
|
end
|
35
33
|
|
@@ -41,13 +39,13 @@ module VSphereAutomation
|
|
41
39
|
# convert string to symbol for hash key
|
42
40
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
43
41
|
|
44
|
-
if attributes.has_key?(:'value')
|
45
|
-
self.value = attributes[:'value']
|
46
|
-
end
|
47
|
-
|
48
42
|
if attributes.has_key?(:'key')
|
49
43
|
self.key = attributes[:'key']
|
50
44
|
end
|
45
|
+
|
46
|
+
if attributes.has_key?(:'value')
|
47
|
+
self.value = attributes[:'value']
|
48
|
+
end
|
51
49
|
end
|
52
50
|
|
53
51
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -68,8 +66,8 @@ module VSphereAutomation
|
|
68
66
|
def ==(o)
|
69
67
|
return true if self.equal?(o)
|
70
68
|
self.class == o.class &&
|
71
|
-
|
72
|
-
|
69
|
+
key == o.key &&
|
70
|
+
value == o.value
|
73
71
|
end
|
74
72
|
|
75
73
|
# @see the `==` method
|
@@ -81,7 +79,7 @@ module VSphereAutomation
|
|
81
79
|
# Calculates hash code according to all attributes.
|
82
80
|
# @return [Fixnum] Hash code
|
83
81
|
def hash
|
84
|
-
[
|
82
|
+
[key, value].hash
|
85
83
|
end
|
86
84
|
|
87
85
|
# Builds the object from hash
|
@@ -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 'date'
|
12
10
|
|