com.xensource.xenapi
public class VGPUType extends XenAPIObject
Modifier and Type | Class and Description |
---|---|
static class |
VGPUType.Record
Represents all the fields in a VGPUType
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
ref
The XenAPI reference (OpaqueRef) to this object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
If obj is a VGPUType, compares XenAPI references for equality.
|
static java.util.Set<VGPUType> |
getAll(Connection c)
Return a list of all the VGPU_types known to the system.
|
static java.util.Map<VGPUType,VGPUType.Record> |
getAllRecords(Connection c)
Return a map of VGPU_type references to VGPU_type records for all VGPU_types known to the system.
|
static VGPUType |
getByUuid(Connection c,
java.lang.String uuid)
Get a reference to the VGPU_type instance with the specified UUID.
|
java.util.Set<GPUGroup> |
getEnabledOnGPUGroups(Connection c)
Get the enabled_on_GPU_groups field of the given VGPU_type.
|
java.util.Set<PGPU> |
getEnabledOnPGPUs(Connection c)
Get the enabled_on_PGPUs field of the given VGPU_type.
|
java.lang.Boolean |
getExperimental(Connection c)
Get the experimental field of the given VGPU_type.
|
java.lang.Long |
getFramebufferSize(Connection c)
Get the framebuffer_size field of the given VGPU_type.
|
java.lang.String |
getIdentifier(Connection c)
Get the identifier field of the given VGPU_type.
|
Types.VgpuTypeImplementation |
getImplementation(Connection c)
Get the implementation field of the given VGPU_type.
|
java.lang.Long |
getMaxHeads(Connection c)
Get the max_heads field of the given VGPU_type.
|
java.lang.Long |
getMaxResolutionX(Connection c)
Get the max_resolution_x field of the given VGPU_type.
|
java.lang.Long |
getMaxResolutionY(Connection c)
Get the max_resolution_y field of the given VGPU_type.
|
java.lang.String |
getModelName(Connection c)
Get the model_name field of the given VGPU_type.
|
VGPUType.Record |
getRecord(Connection c)
Get a record containing the current state of the given VGPU_type.
|
java.util.Set<GPUGroup> |
getSupportedOnGPUGroups(Connection c)
Get the supported_on_GPU_groups field of the given VGPU_type.
|
java.util.Set<PGPU> |
getSupportedOnPGPUs(Connection c)
Get the supported_on_PGPUs field of the given VGPU_type.
|
java.lang.String |
getUuid(Connection c)
Get the uuid field of the given VGPU_type.
|
java.lang.String |
getVendorName(Connection c)
Get the vendor_name field of the given VGPU_type.
|
java.util.Set<VGPU> |
getVGPUs(Connection c)
Get the VGPUs field of the given VGPU_type.
|
int |
hashCode() |
java.lang.String |
toWireString() |
isNull
protected final java.lang.String ref
public java.lang.String toWireString()
toWireString
in class XenAPIObject
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public VGPUType.Record getRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static VGPUType getByUuid(Connection c, java.lang.String uuid) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
uuid
- UUID of object to returnTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getVendorName(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getModelName(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Long getFramebufferSize(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Long getMaxHeads(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Long getMaxResolutionX(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Long getMaxResolutionY(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<PGPU> getSupportedOnPGPUs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<PGPU> getEnabledOnPGPUs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<VGPU> getVGPUs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<GPUGroup> getSupportedOnGPUGroups(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<GPUGroup> getEnabledOnGPUGroups(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Types.VgpuTypeImplementation getImplementation(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getIdentifier(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Boolean getExperimental(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Set<VGPUType> getAll(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Map<VGPUType,VGPUType.Record> getAllRecords(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException