public interface EmployeesApi
| Modifier and Type | Method and Description |
|---|---|
ListEmployeesResponse |
listEmployees(String locationId,
String status,
Integer limit,
String cursor)
Deprecated.
|
CompletableFuture<ListEmployeesResponse> |
listEmployeesAsync(String locationId,
String status,
Integer limit,
String cursor)
Deprecated.
|
RetrieveEmployeeResponse |
retrieveEmployee(String id)
Deprecated.
|
CompletableFuture<RetrieveEmployeeResponse> |
retrieveEmployeeAsync(String id)
Deprecated.
|
@Deprecated ListEmployeesResponse listEmployees(String locationId, String status, Integer limit, String cursor) throws ApiException, IOException
locationId - Optional parameter: Example:status - Optional parameter: Specifies the EmployeeStatus to filter the employee by.limit - Optional parameter: The number of employees to be returned on each page.cursor - Optional parameter: The token required to retrieve the specified page of
results.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.@Deprecated CompletableFuture<ListEmployeesResponse> listEmployeesAsync(String locationId, String status, Integer limit, String cursor)
locationId - Optional parameter: Example:status - Optional parameter: Specifies the EmployeeStatus to filter the employee by.limit - Optional parameter: The number of employees to be returned on each page.cursor - Optional parameter: The token required to retrieve the specified page of
results.@Deprecated RetrieveEmployeeResponse retrieveEmployee(String id) throws ApiException, IOException
id - Required parameter: UUID for the employee that was requested.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.@Deprecated CompletableFuture<RetrieveEmployeeResponse> retrieveEmployeeAsync(String id)
id - Required parameter: UUID for the employee that was requested.Copyright © 2022. All rights reserved.