nutanix_clustermgmt 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/README.md +1 -1
- data/bin/console +15 -0
- data/bin/openapi-generate +26 -0
- data/lib/nutanix_clustermgmt/api/bmc_api.rb +1 -1
- data/lib/nutanix_clustermgmt/api/cluster_profiles_api.rb +1 -1
- data/lib/nutanix_clustermgmt/api/clusters_api.rb +1 -1
- data/lib/nutanix_clustermgmt/api/disks_api.rb +1 -1
- data/lib/nutanix_clustermgmt/api/pcie_devices_api.rb +1 -1
- data/lib/nutanix_clustermgmt/api/storage_containers_api.rb +1 -1
- data/lib/nutanix_clustermgmt/api/vcenter_extensions_api.rb +1 -1
- data/lib/nutanix_clustermgmt/api_client.rb +8 -9
- data/lib/nutanix_clustermgmt/api_error.rb +1 -1
- data/lib/nutanix_clustermgmt/api_model_base.rb +88 -0
- data/lib/nutanix_clustermgmt/configuration.rb +1 -1
- data/lib/nutanix_clustermgmt/models/add_disk202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/add_disk4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/add_snmp_transport202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/add_snmp_transport4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/apply_cluster_profile202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/apply_cluster_profile4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/associate_categories_to_cluster202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/associate_categories_to_cluster4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/check_hypervisor_requirements202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/check_hypervisor_requirements4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_list_pcie_devices_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_list_pcie_devices_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_pcie_device.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_pcie_device_configuration.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_pcie_device_state.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_acropolis_connection_state.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_add_disk_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_add_snmp_transports_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_address_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_apply_cluster_profile_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_associate_categories_to_cluster_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_associate_categories_to_cluster_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_attribute_item.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_authorized_public_key.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_backplane_network_params.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_block_item.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_bmc_info.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_build_info.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_build_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_bundle_info.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_bundle_param.rb +21 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cache_deduplication.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_category_entity_references.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_check_hypervisor_requirements_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_arch_reference.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_config.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_config_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_fault_tolerance_ref.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_function_ref.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_network.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_network_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_profile.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_reference_list_spec.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_component_fault_tolerance.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_component_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_compute_node_item.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_compute_non_migratable_vms_spec.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_config_params.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_config_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_controller_vm_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_cluster_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_cluster_profile_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_rsyslog_server_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_snmp_trap_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_snmp_user_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_storage_container_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_credential_status.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_data_store.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_data_store_mount.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_data_store_unmount.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_cluster_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_cluster_profile_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_disk_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_rsyslog_server_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_snmp_trap_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_snmp_user_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_storage_container_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_digital_certificate_map_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disassociate_categories_from_cluster_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disassociate_cluster_from_cluster_profile_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_discover_unconfigured_nodes_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_addition_spec.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_advance_config.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_partition_info.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_status.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_domain_awareness_level.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_domain_fault_tolerance.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_domain_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_drive_replacement_option.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_encryption_option_info.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_encryption_scope_info.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_encryption_status.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_erasure_code_status.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_expand_cluster_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_expand_cluster_params.rb +21 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_fault_tolerance_state.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_fetch_node_networking_details_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_fetch_task_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_fetch_task_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_bmc_info_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_bmc_info_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_cluster_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_cluster_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_cluster_profile_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_cluster_profile_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_disk_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_disk_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_host_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_host_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_host_nic_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_host_nic_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_rackable_unit_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_rackable_unit_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_rsyslog_server_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_rsyslog_server_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_config_by_cluster_id_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_config_by_cluster_id_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_trap_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_trap_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_user_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_user_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_storage_container_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_storage_container_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_vcenter_extension_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_vcenter_extension_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_virtual_nic_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_virtual_nic_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_gpu_mode.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_gpu_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host_gpu.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host_name_param.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host_nic.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host_type_enum.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_http_proxy_config.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_http_proxy_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_http_proxy_white_list_config.rb +31 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_http_proxy_white_list_target_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hyperv_credentials.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_iso_map.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_state.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_upload_info.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_upload_node_list_item.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_upload_param.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_ipmi_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_key_management_device_to_cert_status_info.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_key_management_server_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_cluster_profiles_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_cluster_profiles_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_clusters_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_clusters_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_data_stores_by_cluster_id_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_data_stores_by_cluster_id_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_disks_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_disks_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_host_nics_by_host_id_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_host_nics_by_host_id_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_hosts_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_hosts_by_cluster_id_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_hosts_by_cluster_id_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_physical_gpu_profiles_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_physical_gpu_profiles_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_rackable_units_by_cluster_id_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_rackable_units_by_cluster_id_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_rsyslog_servers_by_cluster_id_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_rsyslog_servers_by_cluster_id_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_storage_containers_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_storage_containers_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_vcenter_extensions_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_vcenter_extensions_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_virtual_gpu_profiles_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_virtual_gpu_profiles_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_virtual_nics_by_host_id_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_virtual_nics_by_host_id_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_managed_cluster.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_management_server_ref.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_management_server_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_mount_storage_container_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_multi_domain_fault_tolerance_status.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_name_mac_ref.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_name_network_ref.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_network_info.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_network_switch_interface.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_details.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_discovery_params.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_info.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_item.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_list_item_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_list_networking_details.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_network_config.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_networking_details.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_param.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_removal_extra_param.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_removal_params.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_resource_config.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_status.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_non_compatible_cluster_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_non_migratable_vm_info.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_non_migratable_vms_result.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_on_disk_dedup.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_operation_mode.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_partition_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_physical_gpu_config.rb +13 -80
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_physical_gpu_profile.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_pii_scrubbing_level.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_public_key.rb +21 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_pulse_status.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rack_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rackable_unit.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rackable_unit_model.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rackable_unit_node.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_redundancy_status_details.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_register_vcenter_extension_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_remove_node_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_remove_snmp_transports_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_module_item.rb +31 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_module_log_severity_level.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_module_name.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_network_protocol.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_server.rb +41 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_smtp_network.rb +21 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_smtp_server_ref.rb +21 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_smtp_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_auth_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_config.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_priv_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_protocol.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_status_param.rb +21 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_transport.rb +31 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_trap.rb +31 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_trap_version.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_user.rb +21 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_software_map_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_software_type_ref.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_storage_container.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_storage_summary.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_storage_tier.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_storage_tier_reference.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_task_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_task_response_all_of_response.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_task_response_type.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_tolerance_message.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unconfigure_node_details.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unconfigured_node_attribute_map.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unconfigured_node_list_item.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unmount_storage_container_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unregister_vcenter_extension_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_bmc_info_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_cluster_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_cluster_profile_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_rsyslog_server_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_snmp_status_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_snmp_trap_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_snmp_user_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_storage_container_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_upgrade_status.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplink_info.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplink_network_item.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplink_node.rb +21 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplinks.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplinks_field.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_upload_info_node_item.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_user_info.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_validate_bundle_info.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_validate_node_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_validate_node_param.rb +21 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_validate_node_param_spec.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_vcenter_credentials.rb +21 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_vcenter_extension.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_vcenter_info.rb +31 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_virtual_gpu_config.rb +15 -82
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_virtual_gpu_profile.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_virtual_nic.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_app_message.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_error_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_error_response_error.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_message_severity.rb +4 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_schema_validation_error.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_schema_validation_error_message.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_operations_enter_host_maintenance_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_operations_enter_host_maintenance_spec.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_operations_exit_host_maintenance_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_operations_host_maintenance_common_spec.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_cluster_stats.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_cluster_stats_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_cluster_stats_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_disk_stats.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_get_disk_stats_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_get_disk_stats_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_get_storage_container_stats_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_get_storage_container_stats_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_host_stats.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_host_stats_api_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_host_stats_api_response_data.rb +3 -4
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_storage_container_stats.rb +11 -78
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_time_value_pair.rb +11 -78
- data/lib/nutanix_clustermgmt/models/common_v10_config_basic_auth.rb +15 -82
- data/lib/nutanix_clustermgmt/models/common_v10_config_flag.rb +13 -80
- data/lib/nutanix_clustermgmt/models/common_v10_config_fqdn.rb +11 -78
- data/lib/nutanix_clustermgmt/models/common_v10_config_ip_address.rb +11 -78
- data/lib/nutanix_clustermgmt/models/common_v10_config_ip_address_or_fqdn.rb +11 -78
- data/lib/nutanix_clustermgmt/models/common_v10_config_ipv4_address.rb +11 -78
- data/lib/nutanix_clustermgmt/models/common_v10_config_ipv6_address.rb +11 -78
- data/lib/nutanix_clustermgmt/models/common_v10_config_kv_pair.rb +13 -80
- data/lib/nutanix_clustermgmt/models/common_v10_config_kv_pair_value.rb +3 -4
- data/lib/nutanix_clustermgmt/models/common_v10_config_map_of_string_wrapper.rb +11 -78
- data/lib/nutanix_clustermgmt/models/common_v10_config_message.rb +11 -78
- data/lib/nutanix_clustermgmt/models/common_v10_config_message_severity.rb +4 -4
- data/lib/nutanix_clustermgmt/models/common_v10_config_tenant_aware_model.rb +11 -78
- data/lib/nutanix_clustermgmt/models/common_v10_response_api_link.rb +11 -78
- data/lib/nutanix_clustermgmt/models/common_v10_response_api_response_metadata.rb +11 -78
- data/lib/nutanix_clustermgmt/models/common_v10_response_externalizable_abstract_model.rb +11 -78
- data/lib/nutanix_clustermgmt/models/common_v10_stats_down_sampling_operator.rb +4 -4
- data/lib/nutanix_clustermgmt/models/common_v10_stats_time_int_value_pair.rb +11 -78
- data/lib/nutanix_clustermgmt/models/create_cluster202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/create_cluster4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/create_cluster_profile202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/create_cluster_profile4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/create_rsyslog_server202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/create_rsyslog_server4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/create_snmp_trap202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/create_snmp_trap4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/create_snmp_user202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/create_snmp_user4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/create_storage_container202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/create_storage_container4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/delete_cluster_by_id202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/delete_cluster_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/delete_cluster_profile_by_id202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/delete_cluster_profile_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/delete_disk_by_id202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/delete_disk_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/delete_rsyslog_server_by_id202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/delete_rsyslog_server_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/delete_snmp_trap_by_id202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/delete_snmp_trap_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/delete_snmp_user_by_id202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/delete_snmp_user_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/delete_storage_container_by_id202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/delete_storage_container_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/disassociate_categories_from_cluster202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/disassociate_categories_from_cluster4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/disassociate_cluster_from_cluster_profile202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/disassociate_cluster_from_cluster_profile4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/discover_unconfigured_nodes202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/discover_unconfigured_nodes4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/enter_host_maintenance202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/enter_host_maintenance4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/exit_host_maintenance202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/exit_host_maintenance4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/expand_cluster202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/expand_cluster4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/fetch_node_networking_details202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/fetch_node_networking_details4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/fetch_task_response200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/fetch_task_response4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_bmc_info200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_bmc_info4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_cluster_by_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_cluster_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_cluster_profile_by_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_cluster_profile_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_cluster_stats200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_cluster_stats4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_disk_by_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_disk_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_disk_stats200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_disk_stats4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_host_by_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_host_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_host_nic_by_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_host_nic_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_host_stats200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_host_stats4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_rackable_unit_by_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_rackable_unit_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_rsyslog_server_by_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_rsyslog_server_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_snmp_config_by_cluster_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_snmp_config_by_cluster_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_snmp_trap_by_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_snmp_trap_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_snmp_user_by_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_snmp_user_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_storage_container_by_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_storage_container_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_storage_container_stats200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_storage_container_stats4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_vcenter_extension_by_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_vcenter_extension_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_virtual_nic_by_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/get_virtual_nic_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_cluster_profiles200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_cluster_profiles4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_clusters200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_clusters4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_data_stores_by_cluster_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_data_stores_by_cluster_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_disks200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_disks4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_host_nics_by_host_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_host_nics_by_host_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_hosts200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_hosts4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_hosts_by_cluster_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_hosts_by_cluster_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_pcie_devices200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_pcie_devices4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_physical_gpu_profiles200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_physical_gpu_profiles4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_rackable_units_by_cluster_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_rackable_units_by_cluster_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_rsyslog_servers_by_cluster_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_rsyslog_servers_by_cluster_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_storage_containers200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_storage_containers4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_vcenter_extensions200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_vcenter_extensions4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_virtual_gpu_profiles200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_virtual_gpu_profiles4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_virtual_nics_by_host_id200_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/list_virtual_nics_by_host_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/mount_storage_container202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/mount_storage_container4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/prism_v40_config_task_reference.rb +11 -78
- data/lib/nutanix_clustermgmt/models/register_vcenter_extension202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/register_vcenter_extension4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/remove_node202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/remove_node4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/remove_snmp_transport202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/remove_snmp_transport4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/unmount_storage_container202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/unmount_storage_container4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/unregister_vcenter_extension202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/unregister_vcenter_extension4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_bmc_info202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_bmc_info4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_cluster_by_id202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_cluster_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_cluster_profile_by_id202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_cluster_profile_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_rsyslog_server_by_id202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_rsyslog_server_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_snmp_status202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_snmp_status4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_snmp_trap_by_id202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_snmp_trap_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_snmp_user_by_id202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_snmp_user_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_storage_container_by_id202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/update_storage_container_by_id4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/validate_node202_response.rb +11 -78
- data/lib/nutanix_clustermgmt/models/validate_node4_xx_response.rb +11 -78
- data/lib/nutanix_clustermgmt/version.rb +2 -2
- data/lib/nutanix_clustermgmt.rb +2 -1
- data/pkg/nutanix_clustermgmt-0.1.1.gem +0 -0
- data/spec/api/bmc_api_spec.rb +1 -1
- data/spec/api/cluster_profiles_api_spec.rb +1 -1
- data/spec/api/clusters_api_spec.rb +1 -1
- data/spec/api/disks_api_spec.rb +1 -1
- data/spec/api/pcie_devices_api_spec.rb +1 -1
- data/spec/api/storage_containers_api_spec.rb +1 -1
- data/spec/api/vcenter_extensions_api_spec.rb +1 -1
- data/spec/models/add_disk202_response_spec.rb +2 -2
- data/spec/models/add_disk4_xx_response_spec.rb +2 -2
- data/spec/models/add_snmp_transport202_response_spec.rb +2 -2
- data/spec/models/add_snmp_transport4_xx_response_spec.rb +2 -2
- data/spec/models/apply_cluster_profile202_response_spec.rb +2 -2
- data/spec/models/apply_cluster_profile4_xx_response_spec.rb +2 -2
- data/spec/models/associate_categories_to_cluster202_response_spec.rb +2 -2
- data/spec/models/associate_categories_to_cluster4_xx_response_spec.rb +2 -2
- data/spec/models/check_hypervisor_requirements202_response_spec.rb +2 -2
- data/spec/models/check_hypervisor_requirements4_xx_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_ahv_config_list_pcie_devices_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_ahv_config_list_pcie_devices_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_ahv_config_pcie_device_configuration_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_ahv_config_pcie_device_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_ahv_config_pcie_device_state_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_acropolis_connection_state_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_add_disk_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_add_snmp_transports_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_address_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_apply_cluster_profile_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_associate_categories_to_cluster_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_associate_categories_to_cluster_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_attribute_item_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_authorized_public_key_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_backplane_network_params_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_block_item_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_bmc_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_build_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_build_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_bundle_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_bundle_param_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_cache_deduplication_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_category_entity_references_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_check_hypervisor_requirements_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_cluster_arch_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_cluster_config_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_cluster_config_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_cluster_fault_tolerance_ref_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_cluster_function_ref_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_cluster_network_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_cluster_network_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_cluster_profile_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_cluster_reference_list_spec_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_cluster_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_cluster_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_component_fault_tolerance_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_component_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_compute_node_item_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_compute_non_migratable_vms_spec_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_config_params_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_config_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_controller_vm_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_create_cluster_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_create_cluster_profile_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_create_rsyslog_server_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_create_snmp_trap_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_create_snmp_user_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_create_storage_container_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_credential_status_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_data_store_mount_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_data_store_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_data_store_unmount_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_delete_cluster_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_delete_cluster_profile_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_delete_disk_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_delete_rsyslog_server_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_delete_snmp_trap_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_delete_snmp_user_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_delete_storage_container_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_digital_certificate_map_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_disassociate_categories_from_cluster_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_disassociate_cluster_from_cluster_profile_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_discover_unconfigured_nodes_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_disk_addition_spec_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_disk_advance_config_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_disk_partition_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_disk_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_disk_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_disk_status_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_domain_awareness_level_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_domain_fault_tolerance_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_domain_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_drive_replacement_option_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_encryption_option_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_encryption_scope_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_encryption_status_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_erasure_code_status_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_expand_cluster_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_expand_cluster_params_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_fault_tolerance_state_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_fetch_node_networking_details_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_fetch_task_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_fetch_task_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_get_bmc_info_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_get_bmc_info_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_get_cluster_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_get_cluster_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_get_cluster_profile_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_get_cluster_profile_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_get_disk_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_get_disk_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_get_host_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_get_host_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_get_host_nic_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_get_host_nic_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_get_rackable_unit_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_get_rackable_unit_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_get_rsyslog_server_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_get_rsyslog_server_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_get_snmp_config_by_cluster_id_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_get_snmp_config_by_cluster_id_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_get_snmp_trap_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_get_snmp_trap_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_get_snmp_user_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_get_snmp_user_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_get_storage_container_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_get_storage_container_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_get_vcenter_extension_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_get_vcenter_extension_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_get_virtual_nic_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_get_virtual_nic_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_gpu_mode_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_gpu_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_host_gpu_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_host_name_param_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_host_nic_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_host_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_host_type_enum_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_http_proxy_config_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_http_proxy_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_http_proxy_white_list_config_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_http_proxy_white_list_target_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_hyperv_credentials_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_hypervisor_iso_map_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_hypervisor_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_hypervisor_state_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_hypervisor_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_hypervisor_upload_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_hypervisor_upload_node_list_item_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_hypervisor_upload_param_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_ipmi_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_key_management_device_to_cert_status_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_key_management_server_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_list_cluster_profiles_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_list_cluster_profiles_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_list_clusters_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_list_clusters_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_list_data_stores_by_cluster_id_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_list_data_stores_by_cluster_id_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_list_disks_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_list_disks_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_list_host_nics_by_host_id_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_list_host_nics_by_host_id_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_list_hosts_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_list_hosts_by_cluster_id_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_list_hosts_by_cluster_id_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_list_physical_gpu_profiles_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_list_physical_gpu_profiles_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_list_rackable_units_by_cluster_id_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_list_rackable_units_by_cluster_id_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_list_rsyslog_servers_by_cluster_id_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_list_rsyslog_servers_by_cluster_id_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_list_storage_containers_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_list_storage_containers_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_list_vcenter_extensions_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_list_vcenter_extensions_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_list_virtual_gpu_profiles_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_list_virtual_gpu_profiles_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_list_virtual_nics_by_host_id_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_list_virtual_nics_by_host_id_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_managed_cluster_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_management_server_ref_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_management_server_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_mount_storage_container_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_multi_domain_fault_tolerance_status_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_name_mac_ref_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_name_network_ref_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_network_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_network_switch_interface_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_node_details_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_node_discovery_params_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_node_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_node_item_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_node_list_item_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_node_list_networking_details_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_node_network_config_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_node_networking_details_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_node_param_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_node_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_node_removal_extra_param_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_node_removal_params_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_node_resource_config_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_node_status_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_non_compatible_cluster_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_non_migratable_vm_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_non_migratable_vms_result_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_on_disk_dedup_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_operation_mode_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_partition_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_physical_gpu_config_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_physical_gpu_profile_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_pii_scrubbing_level_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_public_key_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_pulse_status_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_rack_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_rackable_unit_model_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_rackable_unit_node_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_rackable_unit_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_redundancy_status_details_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_register_vcenter_extension_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_remove_node_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_remove_snmp_transports_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_rsyslog_module_item_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_rsyslog_module_log_severity_level_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_rsyslog_module_name_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_rsyslog_network_protocol_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_rsyslog_server_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_smtp_network_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_smtp_server_ref_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_smtp_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_snmp_auth_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_snmp_config_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_snmp_priv_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_snmp_protocol_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_snmp_status_param_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_snmp_transport_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_snmp_trap_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_snmp_trap_version_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_snmp_user_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_software_map_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_software_type_ref_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_storage_container_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_storage_summary_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_storage_tier_reference_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_storage_tier_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_task_response_all_of_response_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_task_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_task_response_type_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_tolerance_message_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_unconfigure_node_details_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_unconfigured_node_attribute_map_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_unconfigured_node_list_item_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_unmount_storage_container_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_unregister_vcenter_extension_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_update_bmc_info_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_update_cluster_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_update_cluster_profile_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_update_rsyslog_server_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_update_snmp_status_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_update_snmp_trap_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_update_snmp_user_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_update_storage_container_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_upgrade_status_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_uplink_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_uplink_network_item_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_uplink_node_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_uplinks_field_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_uplinks_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_upload_info_node_item_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_user_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_validate_bundle_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_validate_node_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_validate_node_param_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_validate_node_param_spec_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_config_vcenter_credentials_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_vcenter_extension_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_vcenter_info_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_virtual_gpu_config_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_virtual_gpu_profile_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_config_virtual_nic_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_error_app_message_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_error_error_response_error_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_error_error_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_error_message_severity_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_error_schema_validation_error_message_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_error_schema_validation_error_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_operations_enter_host_maintenance_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_operations_enter_host_maintenance_spec_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_operations_exit_host_maintenance_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_operations_host_maintenance_common_spec_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_stats_cluster_stats_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_stats_cluster_stats_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_stats_cluster_stats_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_stats_disk_stats_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_stats_get_disk_stats_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_stats_get_disk_stats_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_stats_get_storage_container_stats_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_stats_get_storage_container_stats_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_stats_host_stats_api_response_data_spec.rb +1 -1
- data/spec/models/clustermgmt_v40_stats_host_stats_api_response_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_stats_host_stats_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_stats_storage_container_stats_spec.rb +2 -2
- data/spec/models/clustermgmt_v40_stats_time_value_pair_spec.rb +2 -2
- data/spec/models/common_v10_config_basic_auth_spec.rb +2 -2
- data/spec/models/common_v10_config_flag_spec.rb +2 -2
- data/spec/models/common_v10_config_fqdn_spec.rb +2 -2
- data/spec/models/common_v10_config_ip_address_or_fqdn_spec.rb +2 -2
- data/spec/models/common_v10_config_ip_address_spec.rb +2 -2
- data/spec/models/common_v10_config_ipv4_address_spec.rb +2 -2
- data/spec/models/common_v10_config_ipv6_address_spec.rb +2 -2
- data/spec/models/common_v10_config_kv_pair_spec.rb +2 -2
- data/spec/models/common_v10_config_kv_pair_value_spec.rb +1 -1
- data/spec/models/common_v10_config_map_of_string_wrapper_spec.rb +2 -2
- data/spec/models/common_v10_config_message_severity_spec.rb +2 -2
- data/spec/models/common_v10_config_message_spec.rb +2 -2
- data/spec/models/common_v10_config_tenant_aware_model_spec.rb +2 -2
- data/spec/models/common_v10_response_api_link_spec.rb +2 -2
- data/spec/models/common_v10_response_api_response_metadata_spec.rb +2 -2
- data/spec/models/common_v10_response_externalizable_abstract_model_spec.rb +2 -2
- data/spec/models/common_v10_stats_down_sampling_operator_spec.rb +2 -2
- data/spec/models/common_v10_stats_time_int_value_pair_spec.rb +2 -2
- data/spec/models/create_cluster202_response_spec.rb +2 -2
- data/spec/models/create_cluster4_xx_response_spec.rb +2 -2
- data/spec/models/create_cluster_profile202_response_spec.rb +2 -2
- data/spec/models/create_cluster_profile4_xx_response_spec.rb +2 -2
- data/spec/models/create_rsyslog_server202_response_spec.rb +2 -2
- data/spec/models/create_rsyslog_server4_xx_response_spec.rb +2 -2
- data/spec/models/create_snmp_trap202_response_spec.rb +2 -2
- data/spec/models/create_snmp_trap4_xx_response_spec.rb +2 -2
- data/spec/models/create_snmp_user202_response_spec.rb +2 -2
- data/spec/models/create_snmp_user4_xx_response_spec.rb +2 -2
- data/spec/models/create_storage_container202_response_spec.rb +2 -2
- data/spec/models/create_storage_container4_xx_response_spec.rb +2 -2
- data/spec/models/delete_cluster_by_id202_response_spec.rb +2 -2
- data/spec/models/delete_cluster_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/delete_cluster_profile_by_id202_response_spec.rb +2 -2
- data/spec/models/delete_cluster_profile_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/delete_disk_by_id202_response_spec.rb +2 -2
- data/spec/models/delete_disk_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/delete_rsyslog_server_by_id202_response_spec.rb +2 -2
- data/spec/models/delete_rsyslog_server_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/delete_snmp_trap_by_id202_response_spec.rb +2 -2
- data/spec/models/delete_snmp_trap_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/delete_snmp_user_by_id202_response_spec.rb +2 -2
- data/spec/models/delete_snmp_user_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/delete_storage_container_by_id202_response_spec.rb +2 -2
- data/spec/models/delete_storage_container_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/disassociate_categories_from_cluster202_response_spec.rb +2 -2
- data/spec/models/disassociate_categories_from_cluster4_xx_response_spec.rb +2 -2
- data/spec/models/disassociate_cluster_from_cluster_profile202_response_spec.rb +2 -2
- data/spec/models/disassociate_cluster_from_cluster_profile4_xx_response_spec.rb +2 -2
- data/spec/models/discover_unconfigured_nodes202_response_spec.rb +2 -2
- data/spec/models/discover_unconfigured_nodes4_xx_response_spec.rb +2 -2
- data/spec/models/enter_host_maintenance202_response_spec.rb +2 -2
- data/spec/models/enter_host_maintenance4_xx_response_spec.rb +2 -2
- data/spec/models/exit_host_maintenance202_response_spec.rb +2 -2
- data/spec/models/exit_host_maintenance4_xx_response_spec.rb +2 -2
- data/spec/models/expand_cluster202_response_spec.rb +2 -2
- data/spec/models/expand_cluster4_xx_response_spec.rb +2 -2
- data/spec/models/fetch_node_networking_details202_response_spec.rb +2 -2
- data/spec/models/fetch_node_networking_details4_xx_response_spec.rb +2 -2
- data/spec/models/fetch_task_response200_response_spec.rb +2 -2
- data/spec/models/fetch_task_response4_xx_response_spec.rb +2 -2
- data/spec/models/get_bmc_info200_response_spec.rb +2 -2
- data/spec/models/get_bmc_info4_xx_response_spec.rb +2 -2
- data/spec/models/get_cluster_by_id200_response_spec.rb +2 -2
- data/spec/models/get_cluster_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/get_cluster_profile_by_id200_response_spec.rb +2 -2
- data/spec/models/get_cluster_profile_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/get_cluster_stats200_response_spec.rb +2 -2
- data/spec/models/get_cluster_stats4_xx_response_spec.rb +2 -2
- data/spec/models/get_disk_by_id200_response_spec.rb +2 -2
- data/spec/models/get_disk_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/get_disk_stats200_response_spec.rb +2 -2
- data/spec/models/get_disk_stats4_xx_response_spec.rb +2 -2
- data/spec/models/get_host_by_id200_response_spec.rb +2 -2
- data/spec/models/get_host_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/get_host_nic_by_id200_response_spec.rb +2 -2
- data/spec/models/get_host_nic_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/get_host_stats200_response_spec.rb +2 -2
- data/spec/models/get_host_stats4_xx_response_spec.rb +2 -2
- data/spec/models/get_rackable_unit_by_id200_response_spec.rb +2 -2
- data/spec/models/get_rackable_unit_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/get_rsyslog_server_by_id200_response_spec.rb +2 -2
- data/spec/models/get_rsyslog_server_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/get_snmp_config_by_cluster_id200_response_spec.rb +2 -2
- data/spec/models/get_snmp_config_by_cluster_id4_xx_response_spec.rb +2 -2
- data/spec/models/get_snmp_trap_by_id200_response_spec.rb +2 -2
- data/spec/models/get_snmp_trap_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/get_snmp_user_by_id200_response_spec.rb +2 -2
- data/spec/models/get_snmp_user_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/get_storage_container_by_id200_response_spec.rb +2 -2
- data/spec/models/get_storage_container_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/get_storage_container_stats200_response_spec.rb +2 -2
- data/spec/models/get_storage_container_stats4_xx_response_spec.rb +2 -2
- data/spec/models/get_vcenter_extension_by_id200_response_spec.rb +2 -2
- data/spec/models/get_vcenter_extension_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/get_virtual_nic_by_id200_response_spec.rb +2 -2
- data/spec/models/get_virtual_nic_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/list_cluster_profiles200_response_spec.rb +2 -2
- data/spec/models/list_cluster_profiles4_xx_response_spec.rb +2 -2
- data/spec/models/list_clusters200_response_spec.rb +2 -2
- data/spec/models/list_clusters4_xx_response_spec.rb +2 -2
- data/spec/models/list_data_stores_by_cluster_id200_response_spec.rb +2 -2
- data/spec/models/list_data_stores_by_cluster_id4_xx_response_spec.rb +2 -2
- data/spec/models/list_disks200_response_spec.rb +2 -2
- data/spec/models/list_disks4_xx_response_spec.rb +2 -2
- data/spec/models/list_host_nics_by_host_id200_response_spec.rb +2 -2
- data/spec/models/list_host_nics_by_host_id4_xx_response_spec.rb +2 -2
- data/spec/models/list_hosts200_response_spec.rb +2 -2
- data/spec/models/list_hosts4_xx_response_spec.rb +2 -2
- data/spec/models/list_hosts_by_cluster_id200_response_spec.rb +2 -2
- data/spec/models/list_hosts_by_cluster_id4_xx_response_spec.rb +2 -2
- data/spec/models/list_pcie_devices200_response_spec.rb +2 -2
- data/spec/models/list_pcie_devices4_xx_response_spec.rb +2 -2
- data/spec/models/list_physical_gpu_profiles200_response_spec.rb +2 -2
- data/spec/models/list_physical_gpu_profiles4_xx_response_spec.rb +2 -2
- data/spec/models/list_rackable_units_by_cluster_id200_response_spec.rb +2 -2
- data/spec/models/list_rackable_units_by_cluster_id4_xx_response_spec.rb +2 -2
- data/spec/models/list_rsyslog_servers_by_cluster_id200_response_spec.rb +2 -2
- data/spec/models/list_rsyslog_servers_by_cluster_id4_xx_response_spec.rb +2 -2
- data/spec/models/list_storage_containers200_response_spec.rb +2 -2
- data/spec/models/list_storage_containers4_xx_response_spec.rb +2 -2
- data/spec/models/list_vcenter_extensions200_response_spec.rb +2 -2
- data/spec/models/list_vcenter_extensions4_xx_response_spec.rb +2 -2
- data/spec/models/list_virtual_gpu_profiles200_response_spec.rb +2 -2
- data/spec/models/list_virtual_gpu_profiles4_xx_response_spec.rb +2 -2
- data/spec/models/list_virtual_nics_by_host_id200_response_spec.rb +2 -2
- data/spec/models/list_virtual_nics_by_host_id4_xx_response_spec.rb +2 -2
- data/spec/models/mount_storage_container202_response_spec.rb +2 -2
- data/spec/models/mount_storage_container4_xx_response_spec.rb +2 -2
- data/spec/models/prism_v40_config_task_reference_spec.rb +2 -2
- data/spec/models/register_vcenter_extension202_response_spec.rb +2 -2
- data/spec/models/register_vcenter_extension4_xx_response_spec.rb +2 -2
- data/spec/models/remove_node202_response_spec.rb +2 -2
- data/spec/models/remove_node4_xx_response_spec.rb +2 -2
- data/spec/models/remove_snmp_transport202_response_spec.rb +2 -2
- data/spec/models/remove_snmp_transport4_xx_response_spec.rb +2 -2
- data/spec/models/unmount_storage_container202_response_spec.rb +2 -2
- data/spec/models/unmount_storage_container4_xx_response_spec.rb +2 -2
- data/spec/models/unregister_vcenter_extension202_response_spec.rb +2 -2
- data/spec/models/unregister_vcenter_extension4_xx_response_spec.rb +2 -2
- data/spec/models/update_bmc_info202_response_spec.rb +2 -2
- data/spec/models/update_bmc_info4_xx_response_spec.rb +2 -2
- data/spec/models/update_cluster_by_id202_response_spec.rb +2 -2
- data/spec/models/update_cluster_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/update_cluster_profile_by_id202_response_spec.rb +2 -2
- data/spec/models/update_cluster_profile_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/update_rsyslog_server_by_id202_response_spec.rb +2 -2
- data/spec/models/update_rsyslog_server_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/update_snmp_status202_response_spec.rb +2 -2
- data/spec/models/update_snmp_status4_xx_response_spec.rb +2 -2
- data/spec/models/update_snmp_trap_by_id202_response_spec.rb +2 -2
- data/spec/models/update_snmp_trap_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/update_snmp_user_by_id202_response_spec.rb +2 -2
- data/spec/models/update_snmp_user_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/update_storage_container_by_id202_response_spec.rb +2 -2
- data/spec/models/update_storage_container_by_id4_xx_response_spec.rb +2 -2
- data/spec/models/validate_node202_response_spec.rb +2 -2
- data/spec/models/validate_node4_xx_response_spec.rb +2 -2
- data/spec/spec_helper.rb +1 -1
- metadata +5 -2
- data/swagger-clustermgmt-v4.0-all.yaml +0 -25015
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 4.0.2
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module NutanixClustermgmt
|
|
17
17
|
# REST response for all response codes in API path /clustermgmt/v4.0/config/clusters/{clusterExtId}/hosts/{hostExtId}/virtual-nics/{extId} Get operation
|
|
18
|
-
class ClustermgmtV40ConfigGetVirtualNicApiResponse
|
|
18
|
+
class ClustermgmtV40ConfigGetVirtualNicApiResponse < ApiModelBase
|
|
19
19
|
attr_accessor :metadata
|
|
20
20
|
|
|
21
21
|
attr_accessor :data
|
|
@@ -28,9 +28,14 @@ module NutanixClustermgmt
|
|
|
28
28
|
}
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
+
# Returns attribute mapping this model knows about
|
|
32
|
+
def self.acceptable_attribute_map
|
|
33
|
+
attribute_map
|
|
34
|
+
end
|
|
35
|
+
|
|
31
36
|
# Returns all the JSON keys this model knows about
|
|
32
37
|
def self.acceptable_attributes
|
|
33
|
-
|
|
38
|
+
acceptable_attribute_map.values
|
|
34
39
|
end
|
|
35
40
|
|
|
36
41
|
# Attribute type mapping.
|
|
@@ -55,9 +60,10 @@ module NutanixClustermgmt
|
|
|
55
60
|
end
|
|
56
61
|
|
|
57
62
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
63
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
58
64
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
59
|
-
if (!
|
|
60
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `NutanixClustermgmt::ClustermgmtV40ConfigGetVirtualNicApiResponse`. Please check the name to make sure it's valid. List of attributes: " +
|
|
65
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
66
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `NutanixClustermgmt::ClustermgmtV40ConfigGetVirtualNicApiResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
61
67
|
end
|
|
62
68
|
h[k.to_sym] = v
|
|
63
69
|
}
|
|
@@ -130,61 +136,6 @@ module NutanixClustermgmt
|
|
|
130
136
|
new(transformed_hash)
|
|
131
137
|
end
|
|
132
138
|
|
|
133
|
-
# Deserializes the data based on type
|
|
134
|
-
# @param string type Data type
|
|
135
|
-
# @param string value Value to be deserialized
|
|
136
|
-
# @return [Object] Deserialized data
|
|
137
|
-
def self._deserialize(type, value)
|
|
138
|
-
case type.to_sym
|
|
139
|
-
when :Time
|
|
140
|
-
Time.parse(value)
|
|
141
|
-
when :Date
|
|
142
|
-
Date.parse(value)
|
|
143
|
-
when :String
|
|
144
|
-
value.to_s
|
|
145
|
-
when :Integer
|
|
146
|
-
value.to_i
|
|
147
|
-
when :Float
|
|
148
|
-
value.to_f
|
|
149
|
-
when :Boolean
|
|
150
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
151
|
-
true
|
|
152
|
-
else
|
|
153
|
-
false
|
|
154
|
-
end
|
|
155
|
-
when :Object
|
|
156
|
-
# generic object (usually a Hash), return directly
|
|
157
|
-
value
|
|
158
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
159
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
160
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
161
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
162
|
-
k_type = Regexp.last_match[:k_type]
|
|
163
|
-
v_type = Regexp.last_match[:v_type]
|
|
164
|
-
{}.tap do |hash|
|
|
165
|
-
value.each do |k, v|
|
|
166
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
167
|
-
end
|
|
168
|
-
end
|
|
169
|
-
else # model
|
|
170
|
-
# models (e.g. Pet) or oneOf
|
|
171
|
-
klass = NutanixClustermgmt.const_get(type)
|
|
172
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
173
|
-
end
|
|
174
|
-
end
|
|
175
|
-
|
|
176
|
-
# Returns the string representation of the object
|
|
177
|
-
# @return [String] String presentation of the object
|
|
178
|
-
def to_s
|
|
179
|
-
to_hash.to_s
|
|
180
|
-
end
|
|
181
|
-
|
|
182
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
183
|
-
# @return [Hash] Returns the object in the form of hash
|
|
184
|
-
def to_body
|
|
185
|
-
to_hash
|
|
186
|
-
end
|
|
187
|
-
|
|
188
139
|
# Returns the object in the form of hash
|
|
189
140
|
# @return [Hash] Returns the object in the form of hash
|
|
190
141
|
def to_hash
|
|
@@ -201,24 +152,6 @@ module NutanixClustermgmt
|
|
|
201
152
|
hash
|
|
202
153
|
end
|
|
203
154
|
|
|
204
|
-
# Outputs non-array value in the form of hash
|
|
205
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
206
|
-
# @param [Object] value Any valid value
|
|
207
|
-
# @return [Hash] Returns the value in the form of hash
|
|
208
|
-
def _to_hash(value)
|
|
209
|
-
if value.is_a?(Array)
|
|
210
|
-
value.compact.map { |v| _to_hash(v) }
|
|
211
|
-
elsif value.is_a?(Hash)
|
|
212
|
-
{}.tap do |hash|
|
|
213
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
214
|
-
end
|
|
215
|
-
elsif value.respond_to? :to_hash
|
|
216
|
-
value.to_hash
|
|
217
|
-
else
|
|
218
|
-
value
|
|
219
|
-
end
|
|
220
|
-
end
|
|
221
|
-
|
|
222
155
|
end
|
|
223
156
|
|
|
224
157
|
end
|
data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_virtual_nic_api_response_data.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 4.0.2
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -38,8 +38,7 @@ module NutanixClustermgmt
|
|
|
38
38
|
openapi_one_of.each do |klass|
|
|
39
39
|
begin
|
|
40
40
|
next if klass == :AnyType # "nullable: true"
|
|
41
|
-
|
|
42
|
-
return typed_data if typed_data
|
|
41
|
+
return find_and_cast_into_type(klass, data)
|
|
43
42
|
rescue # rescue all errors so we keep iterating even if the current item lookup raises
|
|
44
43
|
end
|
|
45
44
|
end
|
|
@@ -65,7 +64,7 @@ module NutanixClustermgmt
|
|
|
65
64
|
when 'Time'
|
|
66
65
|
return Time.parse(data)
|
|
67
66
|
when 'Date'
|
|
68
|
-
return Date.
|
|
67
|
+
return Date.iso8601(data)
|
|
69
68
|
when 'String'
|
|
70
69
|
return data if data.instance_of?(String)
|
|
71
70
|
when 'Object' # "type: object"
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 4.0.2
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -18,11 +18,11 @@ module NutanixClustermgmt
|
|
|
18
18
|
UNUSED = "UNUSED".freeze
|
|
19
19
|
USED_FOR_PASSTHROUGH = "USED_FOR_PASSTHROUGH".freeze
|
|
20
20
|
USED_FOR_VIRTUAL = "USED_FOR_VIRTUAL".freeze
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
_UNKNOWN = "$UNKNOWN".freeze
|
|
22
|
+
_REDACTED = "$REDACTED".freeze
|
|
23
23
|
|
|
24
24
|
def self.all_vars
|
|
25
|
-
@all_vars ||= [UNUSED, USED_FOR_PASSTHROUGH, USED_FOR_VIRTUAL,
|
|
25
|
+
@all_vars ||= [UNUSED, USED_FOR_PASSTHROUGH, USED_FOR_VIRTUAL, _UNKNOWN, _REDACTED].freeze
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# Builds the enum from string
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 4.0.2
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -18,11 +18,11 @@ module NutanixClustermgmt
|
|
|
18
18
|
PASSTHROUGH_GRAPHICS = "PASSTHROUGH_GRAPHICS".freeze
|
|
19
19
|
PASSTHROUGH_COMPUTE = "PASSTHROUGH_COMPUTE".freeze
|
|
20
20
|
VIRTUAL = "VIRTUAL".freeze
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
_UNKNOWN = "$UNKNOWN".freeze
|
|
22
|
+
_REDACTED = "$REDACTED".freeze
|
|
23
23
|
|
|
24
24
|
def self.all_vars
|
|
25
|
-
@all_vars ||= [PASSTHROUGH_GRAPHICS, PASSTHROUGH_COMPUTE, VIRTUAL,
|
|
25
|
+
@all_vars ||= [PASSTHROUGH_GRAPHICS, PASSTHROUGH_COMPUTE, VIRTUAL, _UNKNOWN, _REDACTED].freeze
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# Builds the enum from string
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 4.0.2
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module NutanixClustermgmt
|
|
17
17
|
# Host entity with its attributes.
|
|
18
|
-
class ClustermgmtV40ConfigHost
|
|
18
|
+
class ClustermgmtV40ConfigHost < ApiModelBase
|
|
19
19
|
# A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
20
20
|
attr_accessor :tenant_id
|
|
21
21
|
|
|
@@ -186,9 +186,14 @@ module NutanixClustermgmt
|
|
|
186
186
|
}
|
|
187
187
|
end
|
|
188
188
|
|
|
189
|
+
# Returns attribute mapping this model knows about
|
|
190
|
+
def self.acceptable_attribute_map
|
|
191
|
+
attribute_map
|
|
192
|
+
end
|
|
193
|
+
|
|
189
194
|
# Returns all the JSON keys this model knows about
|
|
190
195
|
def self.acceptable_attributes
|
|
191
|
-
|
|
196
|
+
acceptable_attribute_map.values
|
|
192
197
|
end
|
|
193
198
|
|
|
194
199
|
# Attribute type mapping.
|
|
@@ -256,9 +261,10 @@ module NutanixClustermgmt
|
|
|
256
261
|
end
|
|
257
262
|
|
|
258
263
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
264
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
259
265
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
260
|
-
if (!
|
|
261
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `NutanixClustermgmt::ClustermgmtV40ConfigHost`. Please check the name to make sure it's valid. List of attributes: " +
|
|
266
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
267
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `NutanixClustermgmt::ClustermgmtV40ConfigHost`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
262
268
|
end
|
|
263
269
|
h[k.to_sym] = v
|
|
264
270
|
}
|
|
@@ -767,61 +773,6 @@ module NutanixClustermgmt
|
|
|
767
773
|
new(transformed_hash)
|
|
768
774
|
end
|
|
769
775
|
|
|
770
|
-
# Deserializes the data based on type
|
|
771
|
-
# @param string type Data type
|
|
772
|
-
# @param string value Value to be deserialized
|
|
773
|
-
# @return [Object] Deserialized data
|
|
774
|
-
def self._deserialize(type, value)
|
|
775
|
-
case type.to_sym
|
|
776
|
-
when :Time
|
|
777
|
-
Time.parse(value)
|
|
778
|
-
when :Date
|
|
779
|
-
Date.parse(value)
|
|
780
|
-
when :String
|
|
781
|
-
value.to_s
|
|
782
|
-
when :Integer
|
|
783
|
-
value.to_i
|
|
784
|
-
when :Float
|
|
785
|
-
value.to_f
|
|
786
|
-
when :Boolean
|
|
787
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
788
|
-
true
|
|
789
|
-
else
|
|
790
|
-
false
|
|
791
|
-
end
|
|
792
|
-
when :Object
|
|
793
|
-
# generic object (usually a Hash), return directly
|
|
794
|
-
value
|
|
795
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
796
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
797
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
798
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
799
|
-
k_type = Regexp.last_match[:k_type]
|
|
800
|
-
v_type = Regexp.last_match[:v_type]
|
|
801
|
-
{}.tap do |hash|
|
|
802
|
-
value.each do |k, v|
|
|
803
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
804
|
-
end
|
|
805
|
-
end
|
|
806
|
-
else # model
|
|
807
|
-
# models (e.g. Pet) or oneOf
|
|
808
|
-
klass = NutanixClustermgmt.const_get(type)
|
|
809
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
810
|
-
end
|
|
811
|
-
end
|
|
812
|
-
|
|
813
|
-
# Returns the string representation of the object
|
|
814
|
-
# @return [String] String presentation of the object
|
|
815
|
-
def to_s
|
|
816
|
-
to_hash.to_s
|
|
817
|
-
end
|
|
818
|
-
|
|
819
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
820
|
-
# @return [Hash] Returns the object in the form of hash
|
|
821
|
-
def to_body
|
|
822
|
-
to_hash
|
|
823
|
-
end
|
|
824
|
-
|
|
825
776
|
# Returns the object in the form of hash
|
|
826
777
|
# @return [Hash] Returns the object in the form of hash
|
|
827
778
|
def to_hash
|
|
@@ -838,24 +789,6 @@ module NutanixClustermgmt
|
|
|
838
789
|
hash
|
|
839
790
|
end
|
|
840
791
|
|
|
841
|
-
# Outputs non-array value in the form of hash
|
|
842
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
843
|
-
# @param [Object] value Any valid value
|
|
844
|
-
# @return [Hash] Returns the value in the form of hash
|
|
845
|
-
def _to_hash(value)
|
|
846
|
-
if value.is_a?(Array)
|
|
847
|
-
value.compact.map { |v| _to_hash(v) }
|
|
848
|
-
elsif value.is_a?(Hash)
|
|
849
|
-
{}.tap do |hash|
|
|
850
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
851
|
-
end
|
|
852
|
-
elsif value.respond_to? :to_hash
|
|
853
|
-
value.to_hash
|
|
854
|
-
else
|
|
855
|
-
value
|
|
856
|
-
end
|
|
857
|
-
end
|
|
858
|
-
|
|
859
792
|
end
|
|
860
793
|
|
|
861
794
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 4.0.2
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module NutanixClustermgmt
|
|
17
17
|
# Host GPU details.
|
|
18
|
-
class ClustermgmtV40ConfigHostGpu
|
|
18
|
+
class ClustermgmtV40ConfigHostGpu < ApiModelBase
|
|
19
19
|
# A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
20
20
|
attr_accessor :tenant_id
|
|
21
21
|
|
|
@@ -52,9 +52,14 @@ module NutanixClustermgmt
|
|
|
52
52
|
}
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
+
# Returns attribute mapping this model knows about
|
|
56
|
+
def self.acceptable_attribute_map
|
|
57
|
+
attribute_map
|
|
58
|
+
end
|
|
59
|
+
|
|
55
60
|
# Returns all the JSON keys this model knows about
|
|
56
61
|
def self.acceptable_attributes
|
|
57
|
-
|
|
62
|
+
acceptable_attribute_map.values
|
|
58
63
|
end
|
|
59
64
|
|
|
60
65
|
# Attribute type mapping.
|
|
@@ -93,9 +98,10 @@ module NutanixClustermgmt
|
|
|
93
98
|
end
|
|
94
99
|
|
|
95
100
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
101
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
96
102
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
97
|
-
if (!
|
|
98
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `NutanixClustermgmt::ClustermgmtV40ConfigHostGpu`. Please check the name to make sure it's valid. List of attributes: " +
|
|
103
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
104
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `NutanixClustermgmt::ClustermgmtV40ConfigHostGpu`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
99
105
|
end
|
|
100
106
|
h[k.to_sym] = v
|
|
101
107
|
}
|
|
@@ -287,61 +293,6 @@ module NutanixClustermgmt
|
|
|
287
293
|
new(transformed_hash)
|
|
288
294
|
end
|
|
289
295
|
|
|
290
|
-
# Deserializes the data based on type
|
|
291
|
-
# @param string type Data type
|
|
292
|
-
# @param string value Value to be deserialized
|
|
293
|
-
# @return [Object] Deserialized data
|
|
294
|
-
def self._deserialize(type, value)
|
|
295
|
-
case type.to_sym
|
|
296
|
-
when :Time
|
|
297
|
-
Time.parse(value)
|
|
298
|
-
when :Date
|
|
299
|
-
Date.parse(value)
|
|
300
|
-
when :String
|
|
301
|
-
value.to_s
|
|
302
|
-
when :Integer
|
|
303
|
-
value.to_i
|
|
304
|
-
when :Float
|
|
305
|
-
value.to_f
|
|
306
|
-
when :Boolean
|
|
307
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
308
|
-
true
|
|
309
|
-
else
|
|
310
|
-
false
|
|
311
|
-
end
|
|
312
|
-
when :Object
|
|
313
|
-
# generic object (usually a Hash), return directly
|
|
314
|
-
value
|
|
315
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
316
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
317
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
318
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
319
|
-
k_type = Regexp.last_match[:k_type]
|
|
320
|
-
v_type = Regexp.last_match[:v_type]
|
|
321
|
-
{}.tap do |hash|
|
|
322
|
-
value.each do |k, v|
|
|
323
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
324
|
-
end
|
|
325
|
-
end
|
|
326
|
-
else # model
|
|
327
|
-
# models (e.g. Pet) or oneOf
|
|
328
|
-
klass = NutanixClustermgmt.const_get(type)
|
|
329
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
330
|
-
end
|
|
331
|
-
end
|
|
332
|
-
|
|
333
|
-
# Returns the string representation of the object
|
|
334
|
-
# @return [String] String presentation of the object
|
|
335
|
-
def to_s
|
|
336
|
-
to_hash.to_s
|
|
337
|
-
end
|
|
338
|
-
|
|
339
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
340
|
-
# @return [Hash] Returns the object in the form of hash
|
|
341
|
-
def to_body
|
|
342
|
-
to_hash
|
|
343
|
-
end
|
|
344
|
-
|
|
345
296
|
# Returns the object in the form of hash
|
|
346
297
|
# @return [Hash] Returns the object in the form of hash
|
|
347
298
|
def to_hash
|
|
@@ -358,24 +309,6 @@ module NutanixClustermgmt
|
|
|
358
309
|
hash
|
|
359
310
|
end
|
|
360
311
|
|
|
361
|
-
# Outputs non-array value in the form of hash
|
|
362
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
363
|
-
# @param [Object] value Any valid value
|
|
364
|
-
# @return [Hash] Returns the value in the form of hash
|
|
365
|
-
def _to_hash(value)
|
|
366
|
-
if value.is_a?(Array)
|
|
367
|
-
value.compact.map { |v| _to_hash(v) }
|
|
368
|
-
elsif value.is_a?(Hash)
|
|
369
|
-
{}.tap do |hash|
|
|
370
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
371
|
-
end
|
|
372
|
-
elsif value.respond_to? :to_hash
|
|
373
|
-
value.to_hash
|
|
374
|
-
else
|
|
375
|
-
value
|
|
376
|
-
end
|
|
377
|
-
end
|
|
378
|
-
|
|
379
312
|
end
|
|
380
313
|
|
|
381
314
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 4.0.2
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module NutanixClustermgmt
|
|
17
17
|
# Host rename parameters.
|
|
18
|
-
class ClustermgmtV40ConfigHostNameParam
|
|
18
|
+
class ClustermgmtV40ConfigHostNameParam < ApiModelBase
|
|
19
19
|
# Name of the host.
|
|
20
20
|
attr_accessor :name
|
|
21
21
|
|
|
@@ -26,9 +26,14 @@ module NutanixClustermgmt
|
|
|
26
26
|
}
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
+
# Returns attribute mapping this model knows about
|
|
30
|
+
def self.acceptable_attribute_map
|
|
31
|
+
attribute_map
|
|
32
|
+
end
|
|
33
|
+
|
|
29
34
|
# Returns all the JSON keys this model knows about
|
|
30
35
|
def self.acceptable_attributes
|
|
31
|
-
|
|
36
|
+
acceptable_attribute_map.values
|
|
32
37
|
end
|
|
33
38
|
|
|
34
39
|
# Attribute type mapping.
|
|
@@ -52,9 +57,10 @@ module NutanixClustermgmt
|
|
|
52
57
|
end
|
|
53
58
|
|
|
54
59
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
60
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
55
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
56
|
-
if (!
|
|
57
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `NutanixClustermgmt::ClustermgmtV40ConfigHostNameParam`. Please check the name to make sure it's valid. List of attributes: " +
|
|
62
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `NutanixClustermgmt::ClustermgmtV40ConfigHostNameParam`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
58
64
|
end
|
|
59
65
|
h[k.to_sym] = v
|
|
60
66
|
}
|
|
@@ -148,61 +154,6 @@ module NutanixClustermgmt
|
|
|
148
154
|
new(transformed_hash)
|
|
149
155
|
end
|
|
150
156
|
|
|
151
|
-
# Deserializes the data based on type
|
|
152
|
-
# @param string type Data type
|
|
153
|
-
# @param string value Value to be deserialized
|
|
154
|
-
# @return [Object] Deserialized data
|
|
155
|
-
def self._deserialize(type, value)
|
|
156
|
-
case type.to_sym
|
|
157
|
-
when :Time
|
|
158
|
-
Time.parse(value)
|
|
159
|
-
when :Date
|
|
160
|
-
Date.parse(value)
|
|
161
|
-
when :String
|
|
162
|
-
value.to_s
|
|
163
|
-
when :Integer
|
|
164
|
-
value.to_i
|
|
165
|
-
when :Float
|
|
166
|
-
value.to_f
|
|
167
|
-
when :Boolean
|
|
168
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
169
|
-
true
|
|
170
|
-
else
|
|
171
|
-
false
|
|
172
|
-
end
|
|
173
|
-
when :Object
|
|
174
|
-
# generic object (usually a Hash), return directly
|
|
175
|
-
value
|
|
176
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
177
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
178
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
179
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
180
|
-
k_type = Regexp.last_match[:k_type]
|
|
181
|
-
v_type = Regexp.last_match[:v_type]
|
|
182
|
-
{}.tap do |hash|
|
|
183
|
-
value.each do |k, v|
|
|
184
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
185
|
-
end
|
|
186
|
-
end
|
|
187
|
-
else # model
|
|
188
|
-
# models (e.g. Pet) or oneOf
|
|
189
|
-
klass = NutanixClustermgmt.const_get(type)
|
|
190
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
191
|
-
end
|
|
192
|
-
end
|
|
193
|
-
|
|
194
|
-
# Returns the string representation of the object
|
|
195
|
-
# @return [String] String presentation of the object
|
|
196
|
-
def to_s
|
|
197
|
-
to_hash.to_s
|
|
198
|
-
end
|
|
199
|
-
|
|
200
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
201
|
-
# @return [Hash] Returns the object in the form of hash
|
|
202
|
-
def to_body
|
|
203
|
-
to_hash
|
|
204
|
-
end
|
|
205
|
-
|
|
206
157
|
# Returns the object in the form of hash
|
|
207
158
|
# @return [Hash] Returns the object in the form of hash
|
|
208
159
|
def to_hash
|
|
@@ -219,24 +170,6 @@ module NutanixClustermgmt
|
|
|
219
170
|
hash
|
|
220
171
|
end
|
|
221
172
|
|
|
222
|
-
# Outputs non-array value in the form of hash
|
|
223
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
224
|
-
# @param [Object] value Any valid value
|
|
225
|
-
# @return [Hash] Returns the value in the form of hash
|
|
226
|
-
def _to_hash(value)
|
|
227
|
-
if value.is_a?(Array)
|
|
228
|
-
value.compact.map { |v| _to_hash(v) }
|
|
229
|
-
elsif value.is_a?(Hash)
|
|
230
|
-
{}.tap do |hash|
|
|
231
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
232
|
-
end
|
|
233
|
-
elsif value.respond_to? :to_hash
|
|
234
|
-
value.to_hash
|
|
235
|
-
else
|
|
236
|
-
value
|
|
237
|
-
end
|
|
238
|
-
end
|
|
239
|
-
|
|
240
173
|
end
|
|
241
174
|
|
|
242
175
|
end
|