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
public class AuthUserGetResponse extends AbstractResponse<io.etcd.jetcd.api.AuthUserGetResponse>
AuthUserGetResponse returned byAuth.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 Constructor Description AuthUserGetResponse(io.etcd.jetcd.api.AuthUserGetResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getRoles()Returns a list of roles.-
Methods inherited from class io.etcd.jetcd.impl.AbstractResponse
getHeader, getResponse, getResponseHeader, toString
-
-