Class UserOptionServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.UserOptionServiceImpl
-
- All Implemented Interfaces:
Service
,UserOptionService
public class UserOptionServiceImpl extends ServiceImpl implements UserOptionService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.UserOptionService
UserOptionService.GetRequest, UserOptionService.GetResponse, UserOptionService.RemoveRequest, UserOptionService.RemoveResponse
-
-
Constructor Summary
Constructors Constructor Description UserOptionServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserOptionService.GetRequest
get()
Returns a user profile property of type JSON.UserOptionService.RemoveRequest
remove()
Deletes an existing property of type JSON.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
-
UserOptionServiceImpl
public UserOptionServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public UserOptionService.GetRequest get()
Description copied from interface:UserOptionService
Returns a user profile property of type JSON. Example request(for user with identifier `123` and option with identifier `456`): [source] ---- GET /ovirt-engine/api/users/123/options/456 ---- The result will be the following XML document: [source,xml] ----SomeName ["any", "JSON"] - Specified by:
get
in interfaceUserOptionService
-
remove
public UserOptionService.RemoveRequest remove()
Description copied from interface:UserOptionService
Deletes an existing property of type JSON. Example request(for user with identifier `123` and option with identifier `456`): [source] ---- DELETE /ovirt-engine/api/users/123/options/456 ----- Specified by:
remove
in interfaceUserOptionService
-
service
public Service service(String path)
Description copied from interface:UserOptionService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceUserOptionService
-
-