Class SshPublicKeysServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.SshPublicKeysServiceImpl
-
- All Implemented Interfaces:
Service
,SshPublicKeysService
public class SshPublicKeysServiceImpl extends ServiceImpl implements SshPublicKeysService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.SshPublicKeysService
SshPublicKeysService.AddRequest, SshPublicKeysService.AddResponse, SshPublicKeysService.ListRequest, SshPublicKeysService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description SshPublicKeysServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SshPublicKeysService.AddRequest
add()
SshPublicKeyService
keyService(String id)
SshPublicKeysService.ListRequest
list()
Returns a list of SSH public keys of the user.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
-
SshPublicKeysServiceImpl
public SshPublicKeysServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public SshPublicKeysService.AddRequest add()
- Specified by:
add
in interfaceSshPublicKeysService
-
list
public SshPublicKeysService.ListRequest list()
Description copied from interface:SshPublicKeysService
Returns a list of SSH public keys of the user. For example, to retrieve the list of SSH keys of user with identifier `123`, send a request like this: [source] ---- GET /ovirt-engine/api/users/123/sshpublickeys ---- The result will be the following XML document: [source,xml] ----ssh-rsa ... - Specified by:
list
in interfaceSshPublicKeysService
-
keyService
public SshPublicKeyService keyService(String id)
- Specified by:
keyService
in interfaceSshPublicKeysService
-
service
public Service service(String path)
Description copied from interface:SshPublicKeysService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceSshPublicKeysService
-
-