public class VMSnapshotNics extends CollectionDecorator<NIC,Nics,VMSnapshotNIC>
VMSnapshotNics providing relation and functional services
to Nics
.
Constructor and Description |
---|
VMSnapshotNics(HttpProxyBroker proxy,
VMSnapshot parent) |
Modifier and Type | Method and Description |
---|---|
VMSnapshotNIC |
get(UUID id)
Fetches VMSnapshotNIC object by id.
|
List<VMSnapshotNIC> |
list()
Lists VMSnapshotNIC objects.
|
get
public VMSnapshotNics(HttpProxyBroker proxy, VMSnapshot parent)
proxy
- HttpProxyBrokerparent
- VMSnapshotpublic List<VMSnapshotNIC> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<NIC,Nics,VMSnapshotNIC>
VMSnapshotNIC
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 VMSnapshotNIC get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<NIC,Nics,VMSnapshotNIC>
id
- entity idVMSnapshotNIC
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