Package com.atlan.api
Class RolesEndpoint
java.lang.Object
com.atlan.api.AbstractEndpoint
com.atlan.api.HeraclesEndpoint
com.atlan.api.RolesEndpoint
API endpoints for interacting with Atlan's roles.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlan.api.AbstractEndpoint
AbstractEndpoint.RawResponse, AbstractEndpoint.ThrowingSupplier<T,E extends Exception> -
Field Summary
Fields inherited from class com.atlan.api.AbstractEndpoint
client -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlist()Retrieve all roles defined in Atlan.list(RequestOptions options) Retrieve all roles defined in Atlan.Retrieves a list of the roles defined in Atlan.list(String filter, RequestOptions options) Retrieves a list of the roles defined in Atlan.Retrieves a list of the roles defined in Atlan.list(String filter, String sort, boolean count, int offset, int limit, RequestOptions options) Retrieves a list of the roles defined in Atlan.Methods inherited from class com.atlan.api.HeraclesEndpoint
getBaseUrlMethods inherited from class com.atlan.api.AbstractEndpoint
executeWithRetries, getBaseUrl, getClient
-
Constructor Details
-
RolesEndpoint
-
-
Method Details
-
list
public RoleResponse list(String filter, String sort, boolean count, int offset, int limit) throws AtlanException Retrieves a list of the roles defined in Atlan.- Parameters:
filter- which roles to retrievesort- property by which to sort the resultscount- whether to return the total number of records (true) or not (false)offset- starting point for results to return, for paginglimit- maximum number of results to be returned- Returns:
- a list of roles that match the provided criteria
- Throws:
AtlanException- on any API communication issue
-
list
public RoleResponse list(String filter, String sort, boolean count, int offset, int limit, RequestOptions options) throws AtlanException Retrieves a list of the roles defined in Atlan.- Parameters:
filter- which roles to retrievesort- property by which to sort the resultscount- whether to return the total number of records (true) or not (false)offset- starting point for results to return, for paginglimit- maximum number of results to be returnedoptions- to override default client settings- Returns:
- a list of roles that match the provided criteria
- Throws:
AtlanException- on any API communication issue
-
list
Retrieves a list of the roles defined in Atlan.- Parameters:
filter- which roles to retrieve- Returns:
- a list of roles that match the provided criteria
- Throws:
AtlanException- on any API communication issue
-
list
Retrieves a list of the roles defined in Atlan.- Parameters:
filter- which roles to retrieveoptions- to override default client settings- Returns:
- a list of roles that match the provided criteria
- Throws:
AtlanException- on any API communication issue
-
list
Retrieve all roles defined in Atlan.- Returns:
- a list of all the roles in Atlan
- Throws:
AtlanException- on any API communication issue
-
list
Retrieve all roles defined in Atlan.- Parameters:
options- to override default client settings- Returns:
- a list of all the roles in Atlan
- Throws:
AtlanException- on any API communication issue
-