public VBD(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.allowed_operations = Helper.StringArrayToEnumList <vbd_operations>(Marshalling.ParseStringArray(table, "allowed_operations")); this.current_operations = Maps.convert_from_proxy_string_vbd_operations(Marshalling.ParseHashTable(table, "current_operations")); this.VM = Marshalling.ParseRef <WinAPI.VM>(table, "VM"); this.VDI = Marshalling.ParseRef <WinAPI.VDI>(table, "VDI"); this.device = Marshalling.ParseString(table, "device"); this.userdevice = Marshalling.ParseString(table, "userdevice"); this.bootable = Marshalling.ParseBool(table, "bootable"); this.mode = (vbd_mode)Helper.EnumParseDefault(typeof(vbd_mode), Marshalling.ParseString(table, "mode")); this.type = (vbd_type)Helper.EnumParseDefault(typeof(vbd_type), Marshalling.ParseString(table, "type")); this.unpluggable = Marshalling.ParseBool(table, "unpluggable"); this.storage_lock = Marshalling.ParseBool(table, "storage_lock"); this.empty = Marshalling.ParseBool(table, "empty"); this.other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config")); this.currently_attached = Marshalling.ParseBool(table, "currently_attached"); this.status_code = Marshalling.ParseLong(table, "status_code"); this.status_detail = Marshalling.ParseString(table, "status_detail"); this.runtime_properties = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "runtime_properties")); this.qos_algorithm_type = Marshalling.ParseString(table, "qos_algorithm_type"); this.qos_algorithm_params = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "qos_algorithm_params")); this.qos_supported_algorithms = Marshalling.ParseStringArray(table, "qos_supported_algorithms"); this.metrics = Marshalling.ParseRef <VBD_metrics>(table, "metrics"); }
public PIF(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.device = Marshalling.ParseString(table, "device"); this.network = Marshalling.ParseRef <Network>(table, "network"); this.host = Marshalling.ParseRef <Host>(table, "host"); this.MAC = Marshalling.ParseString(table, "MAC"); this.MTU = Marshalling.ParseLong(table, "MTU"); this.VLAN = Marshalling.ParseLong(table, "VLAN"); this.metrics = Marshalling.ParseRef <PIF_metrics>(table, "metrics"); this.physical = Marshalling.ParseBool(table, "physical"); this.currently_attached = Marshalling.ParseBool(table, "currently_attached"); this.ip_configuration_mode = (WinAPI.ip_configuration_mode)Helper.EnumParseDefault(typeof(WinAPI.ip_configuration_mode), Marshalling.ParseString(table, "ip_configuration_mode")); this.IP = Marshalling.ParseString(table, "IP"); this.netmask = Marshalling.ParseString(table, "netmask"); this.gateway = Marshalling.ParseString(table, "gateway"); this.DNS = Marshalling.ParseString(table, "DNS"); this.bond_slave_of = Marshalling.ParseRef <Bond>(table, "bond_slave_of"); this.bond_master_of = Marshalling.ParseSetRef <Bond>(table, "bond_master_of"); this.VLAN_master_of = Marshalling.ParseRef <WinAPI.VLAN>(table, "VLAN_master_of"); this.VLAN_slave_of = Marshalling.ParseSetRef <WinAPI.VLAN>(table, "VLAN_slave_of"); this.management = Marshalling.ParseBool(table, "management"); this.other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config")); this.disallow_unplug = Marshalling.ParseBool(table, "disallow_unplug"); this.tunnel_access_PIF_of = Marshalling.ParseSetRef <Tunnel>(table, "tunnel_access_PIF_of"); this.tunnel_transport_PIF_of = Marshalling.ParseSetRef <Tunnel>(table, "tunnel_transport_PIF_of"); this.ipv6_configuration_mode = (WinAPI.ipv6_configuration_mode)Helper.EnumParseDefault(typeof(WinAPI.ipv6_configuration_mode), Marshalling.ParseString(table, "ipv6_configuration_mode")); this.IPv6 = Marshalling.ParseStringArray(table, "IPv6"); this.ipv6_gateway = Marshalling.ParseString(table, "ipv6_gateway"); this.primary_address_type = (WinAPI.primary_address_type)Helper.EnumParseDefault(typeof(WinAPI.primary_address_type), Marshalling.ParseString(table, "primary_address_type")); }
public Host_crashdump(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.host = Marshalling.ParseRef <Host>(table, "host"); this.timestamp = Marshalling.ParseDateTime(table, "timestamp"); this.size = Marshalling.ParseLong(table, "size"); this.other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config")); }
public VLAN(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.tagged_PIF = Marshalling.ParseRef <PIF>(table, "tagged_PIF"); this.untagged_PIF = Marshalling.ParseRef <PIF>(table, "untagged_PIF"); this.tag = Marshalling.ParseLong(table, "tag"); this.other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config")); }
public Host_metrics(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.memory_total = Marshalling.ParseLong(table, "memory_total"); this.memory_free = Marshalling.ParseLong(table, "memory_free"); this.live = Marshalling.ParseBool(table, "live"); this.last_updated = Marshalling.ParseDateTime(table, "last_updated"); this.other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config")); }
public Message(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.name = Marshalling.ParseString(table, "name"); this.priority = Marshalling.ParseLong(table, "priority"); this.cls = (WinAPI.cls)Helper.EnumParseDefault(typeof(WinAPI.cls), Marshalling.ParseString(table, "cls")); this.obj_uuid = Marshalling.ParseString(table, "obj_uuid"); this.timestamp = Marshalling.ParseDateTime(table, "timestamp"); this.body = Marshalling.ParseString(table, "body"); }
public Blob(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.name_label = Marshalling.ParseString(table, "name_label"); this.name_description = Marshalling.ParseString(table, "name_description"); this.size = Marshalling.ParseLong(table, "size"); this.pubblic = Marshalling.ParseBool(table, "pubblic"); this.last_updated = Marshalling.ParseDateTime(table, "last_updated"); this.mime_type = Marshalling.ParseString(table, "mime_type"); }
public Bond(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.master = Marshalling.ParseRef <PIF>(table, "master"); this.slaves = Marshalling.ParseSetRef <PIF>(table, "slaves"); this.other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config")); this.primary_slave = Marshalling.ParseRef <PIF>(table, "primary_slave"); this.mode = (bond_mode)Helper.EnumParseDefault(typeof(bond_mode), Marshalling.ParseString(table, "mode")); this.properties = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "properties")); this.links_up = Marshalling.ParseLong(table, "links_up"); }
public Pool_patch(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.name_label = Marshalling.ParseString(table, "name_label"); this.name_description = Marshalling.ParseString(table, "name_description"); this.version = Marshalling.ParseString(table, "version"); this.size = Marshalling.ParseLong(table, "size"); this.pool_applied = Marshalling.ParseBool(table, "pool_applied"); this.host_patches = Marshalling.ParseSetRef <Host_patch>(table, "host_patches"); this.after_apply_guidance = Helper.StringArrayToEnumList <WinAPI.after_apply_guidance>(Marshalling.ParseStringArray(table, "after_apply_guidance")); this.other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config")); }
public Host_patch(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.name_label = Marshalling.ParseString(table, "name_label"); this.name_description = Marshalling.ParseString(table, "name_description"); this.version = Marshalling.ParseString(table, "version"); this.host = Marshalling.ParseRef <Host>(table, "host"); this.applied = Marshalling.ParseBool(table, "applied"); this.timestamp_applied = Marshalling.ParseDateTime(table, "timestamp_applied"); this.size = Marshalling.ParseLong(table, "size"); this.pool_patch = Marshalling.ParseRef <Pool_patch>(table, "pool_patch"); this.other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config")); }
public VM_metrics(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.memory_actual = Marshalling.ParseLong(table, "memory_actual"); this.VCPUs_number = Marshalling.ParseLong(table, "VCPUs_number"); this.VCPUs_utilisation = Maps.convert_from_proxy_long_double(Marshalling.ParseHashTable(table, "VCPUs_utilisation")); this.VCPUs_CPU = Maps.convert_from_proxy_long_long(Marshalling.ParseHashTable(table, "VCPUs_CPU")); this.VCPUs_params = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "VCPUs_params")); this.VCPUs_flags = Maps.convert_from_proxy_long_string_array(Marshalling.ParseHashTable(table, "VCPUs_flags")); this.state = Marshalling.ParseStringArray(table, "state"); this.start_time = Marshalling.ParseDateTime(table, "start_time"); this.install_time = Marshalling.ParseDateTime(table, "install_time"); this.last_updated = Marshalling.ParseDateTime(table, "last_updated"); this.other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config")); }
public Host_cpu(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.host = Marshalling.ParseRef <Host>(table, "host"); this.number = Marshalling.ParseLong(table, "number"); this.vendor = Marshalling.ParseString(table, "vendor"); this.speed = Marshalling.ParseLong(table, "speed"); this.modelname = Marshalling.ParseString(table, "modelname"); this.family = Marshalling.ParseLong(table, "family"); this.model = Marshalling.ParseLong(table, "model"); this.stepping = Marshalling.ParseString(table, "stepping"); this.flags = Marshalling.ParseString(table, "flags"); this.features = Marshalling.ParseString(table, "features"); this.utilisation = Marshalling.ParseDouble(table, "utilisation"); this.other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config")); }
public PIF_metrics(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.io_read_kbs = Marshalling.ParseDouble(table, "io_read_kbs"); this.io_write_kbs = Marshalling.ParseDouble(table, "io_write_kbs"); this.carrier = Marshalling.ParseBool(table, "carrier"); this.vendor_id = Marshalling.ParseString(table, "vendor_id"); this.vendor_name = Marshalling.ParseString(table, "vendor_name"); this.device_id = Marshalling.ParseString(table, "device_id"); this.device_name = Marshalling.ParseString(table, "device_name"); this.speed = Marshalling.ParseLong(table, "speed"); this.duplex = Marshalling.ParseBool(table, "duplex"); this.pci_bus_path = Marshalling.ParseString(table, "pci_bus_path"); this.last_updated = Marshalling.ParseDateTime(table, "last_updated"); this.other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config")); }
public Network(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.name_label = Marshalling.ParseString(table, "name_label"); this.name_description = Marshalling.ParseString(table, "name_description"); this.allowed_operations = Helper.StringArrayToEnumList <network_operations>(Marshalling.ParseStringArray(table, "allowed_operations")); this.current_operations = Maps.convert_from_proxy_string_network_operations(Marshalling.ParseHashTable(table, "current_operations")); this.VIFs = Marshalling.ParseSetRef <VIF>(table, "VIFs"); this.PIFs = Marshalling.ParseSetRef <PIF>(table, "PIFs"); this.MTU = Marshalling.ParseLong(table, "MTU"); this.other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config")); this.bridge = Marshalling.ParseString(table, "bridge"); this.blobs = Maps.convert_from_proxy_string_XenRefBlob(Marshalling.ParseHashTable(table, "blobs")); this.tags = Marshalling.ParseStringArray(table, "tags"); this.default_locking_mode = (network_default_locking_mode)Helper.EnumParseDefault(typeof(network_default_locking_mode), Marshalling.ParseString(table, "default_locking_mode")); }
public VGPU_type(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.vendor_name = Marshalling.ParseString(table, "vendor_name"); this.model_name = Marshalling.ParseString(table, "model_name"); this.framebuffer_size = Marshalling.ParseLong(table, "framebuffer_size"); this.max_heads = Marshalling.ParseLong(table, "max_heads"); this.max_resolution_x = Marshalling.ParseLong(table, "max_resolution_x"); this.max_resolution_y = Marshalling.ParseLong(table, "max_resolution_y"); this.supported_on_PGPUs = Marshalling.ParseSetRef <PGPU>(table, "supported_on_PGPUs"); this.enabled_on_PGPUs = Marshalling.ParseSetRef <PGPU>(table, "enabled_on_PGPUs"); this.VGPUs = Marshalling.ParseSetRef <VGPU>(table, "VGPUs"); this.supported_on_GPU_groups = Marshalling.ParseSetRef <GPU_group>(table, "supported_on_GPU_groups"); this.enabled_on_GPU_groups = Marshalling.ParseSetRef <GPU_group>(table, "enabled_on_GPU_groups"); this.implementation = (vgpu_type_implementation)Helper.EnumParseDefault(typeof(vgpu_type_implementation), Marshalling.ParseString(table, "implementation")); this.identifier = Marshalling.ParseString(table, "identifier"); this.experimental = Marshalling.ParseBool(table, "experimental"); }
public SR(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.name_label = Marshalling.ParseString(table, "name_label"); this.name_description = Marshalling.ParseString(table, "name_description"); this.allowed_operations = Helper.StringArrayToEnumList <storage_operations>(Marshalling.ParseStringArray(table, "allowed_operations")); this.current_operations = Maps.convert_from_proxy_string_storage_operations(Marshalling.ParseHashTable(table, "current_operations")); this.VDIs = Marshalling.ParseSetRef <VDI>(table, "VDIs"); this.PBDs = Marshalling.ParseSetRef <PBD>(table, "PBDs"); this.virtual_allocation = Marshalling.ParseLong(table, "virtual_allocation"); this.physical_utilisation = Marshalling.ParseLong(table, "physical_utilisation"); this.physical_size = Marshalling.ParseLong(table, "physical_size"); this.type = Marshalling.ParseString(table, "type"); this.content_type = Marshalling.ParseString(table, "content_type"); this.shared = Marshalling.ParseBool(table, "shared"); this.other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config")); this.tags = Marshalling.ParseStringArray(table, "tags"); this.sm_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "sm_config")); this.blobs = Maps.convert_from_proxy_string_XenRefBlob(Marshalling.ParseHashTable(table, "blobs")); this.local_cache_enabled = Marshalling.ParseBool(table, "local_cache_enabled"); this.introduced_by = Marshalling.ParseRef <DR_task>(table, "introduced_by"); }
public VMPP(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.name_label = Marshalling.ParseString(table, "name_label"); this.name_description = Marshalling.ParseString(table, "name_description"); this.is_policy_enabled = Marshalling.ParseBool(table, "is_policy_enabled"); this.backup_type = (vmpp_backup_type)Helper.EnumParseDefault(typeof(vmpp_backup_type), Marshalling.ParseString(table, "backup_type")); this.backup_retention_value = Marshalling.ParseLong(table, "backup_retention_value"); this.backup_frequency = (vmpp_backup_frequency)Helper.EnumParseDefault(typeof(vmpp_backup_frequency), Marshalling.ParseString(table, "backup_frequency")); this.backup_schedule = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "backup_schedule")); this.is_backup_running = Marshalling.ParseBool(table, "is_backup_running"); this.backup_last_run_time = Marshalling.ParseDateTime(table, "backup_last_run_time"); this.archive_target_type = (vmpp_archive_target_type)Helper.EnumParseDefault(typeof(vmpp_archive_target_type), Marshalling.ParseString(table, "archive_target_type")); this.archive_target_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "archive_target_config")); this.archive_frequency = (vmpp_archive_frequency)Helper.EnumParseDefault(typeof(vmpp_archive_frequency), Marshalling.ParseString(table, "archive_frequency")); this.archive_schedule = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "archive_schedule")); this.is_archive_running = Marshalling.ParseBool(table, "is_archive_running"); this.archive_last_run_time = Marshalling.ParseDateTime(table, "archive_last_run_time"); this.VMs = Marshalling.ParseSetRef <VM>(table, "VMs"); this.is_alarm_enabled = Marshalling.ParseBool(table, "is_alarm_enabled"); this.alarm_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "alarm_config")); this.recent_alerts = Marshalling.ParseStringArray(table, "recent_alerts"); }
public VIF(Hashtable table) { this.uuid = Marshalling.ParseString(table, "uuid"); this.allowed_operations = Helper.StringArrayToEnumList <vif_operations>(Marshalling.ParseStringArray(table, "allowed_operations")); this.current_operations = Maps.convert_from_proxy_string_vif_operations(Marshalling.ParseHashTable(table, "current_operations")); this.device = Marshalling.ParseString(table, "device"); this.network = Marshalling.ParseRef <Network>(table, "network"); this.VM = Marshalling.ParseRef <WinAPI.VM>(table, "VM"); this.MAC = Marshalling.ParseString(table, "MAC"); this.MTU = Marshalling.ParseLong(table, "MTU"); this.other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config")); this.currently_attached = Marshalling.ParseBool(table, "currently_attached"); this.status_code = Marshalling.ParseLong(table, "status_code"); this.status_detail = Marshalling.ParseString(table, "status_detail"); this.runtime_properties = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "runtime_properties")); this.qos_algorithm_type = Marshalling.ParseString(table, "qos_algorithm_type"); this.qos_algorithm_params = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "qos_algorithm_params")); this.qos_supported_algorithms = Marshalling.ParseStringArray(table, "qos_supported_algorithms"); this.metrics = Marshalling.ParseRef <VIF_metrics>(table, "metrics"); this.MAC_autogenerated = Marshalling.ParseBool(table, "MAC_autogenerated"); this.locking_mode = (vif_locking_mode)Helper.EnumParseDefault(typeof(vif_locking_mode), Marshalling.ParseString(table, "locking_mode")); this.ipv4_allowed = Marshalling.ParseStringArray(table, "ipv4_allowed"); this.ipv6_allowed = Marshalling.ParseStringArray(table, "ipv6_allowed"); }