Package io.etcd.jetcd.auth
Class AuthRoleListResponse
- java.lang.Object
-
- io.etcd.jetcd.impl.AbstractResponse<io.etcd.jetcd.api.AuthRoleListResponse>
-
- io.etcd.jetcd.auth.AuthRoleListResponse
-
- All Implemented Interfaces:
Response
public class AuthRoleListResponse extends AbstractResponse<io.etcd.jetcd.api.AuthRoleListResponse>
AuthRoleListResponse returned byAuth.roleList()contains a header and a list of roles.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.etcd.jetcd.Response
Response.Header
-
-
Constructor Summary
Constructors Constructor Description AuthRoleListResponse(io.etcd.jetcd.api.AuthRoleListResponse 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
-
-