public class HostHostNICNetworks extends CollectionDecorator<Network,Networks,HostHostNICNetwork>
HostHostNICNetworks providing relation and functional services
to Networks.
| Constructor and Description |
|---|
HostHostNICNetworks(HttpProxyBroker proxy,
HostNIC parent) |
| Modifier and Type | Method and Description |
|---|---|
HostHostNICNetwork |
add(Network network)
Adds Network object.
|
HostHostNICNetwork |
add(Network network,
String correlationId)
Adds Network object.
|
HostHostNICNetwork |
add(Network network,
String correlationId,
String expect)
Adds Network object.
|
HostHostNICNetwork |
get(UUID id)
Fetches HostHostNICNetwork object by id.
|
HostHostNICNetwork |
getById(String id)
Fetches HostHostNICNetwork object by id.
|
List<HostHostNICNetwork> |
list()
Lists HostHostNICNetwork objects.
|
List<HostHostNICNetwork> |
list(Integer max)
Lists HostHostNICNetwork objects.
|
getpublic HostHostNICNetworks(HttpProxyBroker proxy, HostNIC parent)
proxy - HttpProxyBrokerparent - HostNICpublic List<HostHostNICNetwork> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<Network,Networks,HostHostNICNetwork>HostHostNICNetworkorg.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 HostHostNICNetwork get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<Network,Networks,HostHostNICNetwork>id - entity idHostHostNICNetworkorg.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 HostHostNICNetwork getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<Network,Networks,HostHostNICNetwork>id - entity idHostHostNICNetworkorg.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 HostHostNICNetwork add(Network network) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
network - Network
network.id|name
HostHostNICNetworkorg.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 HostHostNICNetwork add(Network network, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
network - Network
network.id|name
correlationId -
[any string]
HostHostNICNetworkorg.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 HostHostNICNetwork add(Network network, String correlationId, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
network - Network
network.id|name
correlationId -
[any string]
expect -
[201-created]
HostHostNICNetworkorg.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 List<HostHostNICNetwork> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max -
[max results]
HostHostNICNetworkorg.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