public class VMReportedDevices extends CollectionDecorator<ReportedDevice,ReportedDevices,VMReportedDevice>
VMReportedDevices providing relation and functional services
to ReportedDevices
.
Constructor and Description |
---|
VMReportedDevices(HttpProxyBroker proxy,
VM parent) |
Modifier and Type | Method and Description |
---|---|
VMReportedDevice |
get(UUID id)
Fetches VMReportedDevice object by id.
|
List<VMReportedDevice> |
list()
Lists VMReportedDevice objects.
|
get
public VMReportedDevices(HttpProxyBroker proxy, VM parent)
proxy
- HttpProxyBrokerparent
- VMpublic List<VMReportedDevice> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<ReportedDevice,ReportedDevices,VMReportedDevice>
VMReportedDevice
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public VMReportedDevice get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<ReportedDevice,ReportedDevices,VMReportedDevice>
id
- entity idVMReportedDevice
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0