Package com.atlan.api

Class RolesEndpoint


public class RolesEndpoint extends HeraclesEndpoint
API endpoints for interacting with Atlan's roles.
  • Constructor Details

    • RolesEndpoint

      public RolesEndpoint(AtlanClient client)
  • 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 retrieve
      sort - property by which to sort the results
      count - whether to return the total number of records (true) or not (false)
      offset - starting point for results to return, for paging
      limit - 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 retrieve
      sort - property by which to sort the results
      count - whether to return the total number of records (true) or not (false)
      offset - starting point for results to return, for paging
      limit - maximum number of results to be returned
      options - to override default client settings
      Returns:
      a list of roles that match the provided criteria
      Throws:
      AtlanException - on any API communication issue
    • list

      public RoleResponse list(String filter) throws AtlanException
      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

      public RoleResponse list(String filter, RequestOptions options) throws AtlanException
      Retrieves a list of the roles defined in Atlan.
      Parameters:
      filter - which roles to retrieve
      options - to override default client settings
      Returns:
      a list of roles that match the provided criteria
      Throws:
      AtlanException - on any API communication issue
    • list

      public RoleResponse list() throws AtlanException
      Retrieve all roles defined in Atlan.
      Returns:
      a list of all the roles in Atlan
      Throws:
      AtlanException - on any API communication issue
    • list

      public RoleResponse list(RequestOptions options) throws AtlanException
      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