Class UserOptionsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.UserOptionsServiceImpl
-
- All Implemented Interfaces:
Service
,UserOptionsService
public class UserOptionsServiceImpl extends ServiceImpl implements UserOptionsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.UserOptionsService
UserOptionsService.AddRequest, UserOptionsService.AddResponse, UserOptionsService.ListRequest, UserOptionsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description UserOptionsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserOptionsService.AddRequest
add()
Adds a new user profile property of type JSON.UserOptionsService.ListRequest
list()
Returns a list of user profile properties of type JSON.UserOptionService
optionService(String id)
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
-
UserOptionsServiceImpl
public UserOptionsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public UserOptionsService.AddRequest add()
Description copied from interface:UserOptionsService
Adds a new user profile property of type JSON. Example request(for user with identifier `123`): [source] ---- POST /ovirt-engine/api/users/123/options ---- Payload: [source,xml] ----SomeName ["any", "JSON"] - Specified by:
add
in interfaceUserOptionsService
-
list
public UserOptionsService.ListRequest list()
Description copied from interface:UserOptionsService
Returns a list of user profile properties of type JSON. Example request(for user with identifier `123`): [source] ---- GET /ovirt-engine/api/users/123/options ---- The result will be the following XML document: [source,xml] ----SomeName ["any", "JSON"] - Specified by:
list
in interfaceUserOptionsService
-
optionService
public UserOptionService optionService(String id)
- Specified by:
optionService
in interfaceUserOptionsService
-
service
public Service service(String path)
Description copied from interface:UserOptionsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceUserOptionsService
-
-