Package org.ovirt.engine.sdk4.services
Interface UserOptionsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
UserOptionsServiceImpl
public interface UserOptionsService extends Service
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
UserOptionsService.AddRequest
Adds a new user profile property of type JSON.static interface
UserOptionsService.AddResponse
Adds a new user profile property of type JSON.static interface
UserOptionsService.ListRequest
Returns a list of user profile properties of type JSON.static interface
UserOptionsService.ListResponse
Returns a list of user profile properties of type JSON.
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
add
UserOptionsService.AddRequest add()
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"]
-
list
UserOptionsService.ListRequest list()
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"]
-
optionService
UserOptionService optionService(String id)
-
-