Class TagServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.TagServiceImpl
-
- All Implemented Interfaces:
Service
,TagService
public class TagServiceImpl extends ServiceImpl implements TagService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.TagService
TagService.GetRequest, TagService.GetResponse, TagService.RemoveRequest, TagService.RemoveResponse, TagService.UpdateRequest, TagService.UpdateResponse
-
-
Constructor Summary
Constructors Constructor Description TagServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagService.GetRequest
get()
Gets the information about the tag.TagService.RemoveRequest
remove()
Removes the tag from the system.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
TagService.UpdateRequest
update()
Updates the tag entity.-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
TagServiceImpl
public TagServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public TagService.GetRequest get()
Description copied from interface:TagService
Gets the information about the tag. For example to retrieve the information about the tag with the id `123` send a request like this: .... GET /ovirt-engine/api/tags/123 .... [source,xml] ----root root - Specified by:
get
in interfaceTagService
-
remove
public TagService.RemoveRequest remove()
Description copied from interface:TagService
Removes the tag from the system. For example to remove the tag with id `123` send a request like this: .... DELETE /ovirt-engine/api/tags/123 ....- Specified by:
remove
in interfaceTagService
-
update
public TagService.UpdateRequest update()
Description copied from interface:TagService
Updates the tag entity. For example to update parent tag to tag with id `456` of the tag with id `123` send a request like this: .... PUT /ovirt-engine/api/tags/123 .... With request body like: [source,xml] ----mytag - Specified by:
update
in interfaceTagService
-
service
public Service service(String path)
Description copied from interface:TagService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceTagService
-
-