Class NetworkLabelServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.NetworkLabelServiceImpl
-
- All Implemented Interfaces:
Service
,NetworkLabelService
public class NetworkLabelServiceImpl extends ServiceImpl implements NetworkLabelService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.NetworkLabelService
NetworkLabelService.GetRequest, NetworkLabelService.GetResponse, NetworkLabelService.RemoveRequest, NetworkLabelService.RemoveResponse
-
-
Constructor Summary
Constructors Constructor Description NetworkLabelServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkLabelService.GetRequest
get()
NetworkLabelService.RemoveRequest
remove()
Removes a label from a logical network.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
NetworkLabelServiceImpl
public NetworkLabelServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public NetworkLabelService.GetRequest get()
- Specified by:
get
in interfaceNetworkLabelService
-
remove
public NetworkLabelService.RemoveRequest remove()
Description copied from interface:NetworkLabelService
Removes a label from a logical network. For example, to remove the label `exemplary` from a logical network having id `123` send the following request: [source] ---- DELETE /ovirt-engine/api/networks/123/networklabels/exemplary ----- Specified by:
remove
in interfaceNetworkLabelService
-
service
public Service service(String path)
Description copied from interface:NetworkLabelService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceNetworkLabelService
-
-