Package io.etcd.jetcd.auth
Class AuthUserGetResponse
java.lang.Object
io.etcd.jetcd.impl.AbstractResponse<io.etcd.jetcd.api.AuthUserGetResponse>
io.etcd.jetcd.auth.AuthUserGetResponse
- All Implemented Interfaces:
Response
AuthUserGetResponse returned by
Auth.userGet(ByteSequence) contains a header and
a list of roles associated with the user.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.etcd.jetcd.Response
Response.Header -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.etcd.jetcd.impl.AbstractResponse
getHeader, getResponse, getResponseHeader, toString
-
Constructor Details
-
AuthUserGetResponse
public AuthUserGetResponse(io.etcd.jetcd.api.AuthUserGetResponse response)
-
-
Method Details
-
getRoles
Returns a list of roles.- Returns:
- the roles.
-