BaseApi.RequestExecutor, BaseApi.RequestSupplier, BaseApi.ResponseHandler<T>authManagers, config, httpCallback, internalUserAgent| Constructor and Description |
|---|
DefaultTeamApi(Configuration config,
HttpClient httpClient,
Map<String,AuthManager> authManagers)
Initializes the controller.
|
DefaultTeamApi(Configuration config,
HttpClient httpClient,
Map<String,AuthManager> authManagers,
HttpCallback httpCallback)
Initializes the controller with HTTPCallback.
|
getClientInstance, getHttpCallback, makeHttpCallAsync, validateResponsepublic DefaultTeamApi(Configuration config, HttpClient httpClient, Map<String,AuthManager> authManagers)
config - Configurations added in client.httpClient - Send HTTP requests and read the responses.authManagers - Apply authorization to requests.public DefaultTeamApi(Configuration config, HttpClient httpClient, Map<String,AuthManager> authManagers, HttpCallback httpCallback)
config - Configurations added in client.httpClient - Send HTTP requests and read the responses.authManagers - Apply authorization to requests.httpCallback - Callback to be called before and after the HTTP call.public CreateTeamMemberResponse createTeamMember(CreateTeamMemberRequest body) throws ApiException, IOException
createTeamMember in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<CreateTeamMemberResponse> createTeamMemberAsync(CreateTeamMemberRequest body)
createTeamMemberAsync in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.public BulkCreateTeamMembersResponse bulkCreateTeamMembers(BulkCreateTeamMembersRequest body) throws ApiException, IOException
bulkCreateTeamMembers in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<BulkCreateTeamMembersResponse> bulkCreateTeamMembersAsync(BulkCreateTeamMembersRequest body)
bulkCreateTeamMembersAsync in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.public BulkUpdateTeamMembersResponse bulkUpdateTeamMembers(BulkUpdateTeamMembersRequest body) throws ApiException, IOException
bulkUpdateTeamMembers in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<BulkUpdateTeamMembersResponse> bulkUpdateTeamMembersAsync(BulkUpdateTeamMembersRequest body)
bulkUpdateTeamMembersAsync in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.public SearchTeamMembersResponse searchTeamMembers(SearchTeamMembersRequest body) throws ApiException, IOException
searchTeamMembers in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<SearchTeamMembersResponse> searchTeamMembersAsync(SearchTeamMembersRequest body)
searchTeamMembersAsync in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.public RetrieveTeamMemberResponse retrieveTeamMember(String teamMemberId) throws ApiException, IOException
retrieveTeamMember in interface TeamApiteamMemberId - Required parameter: The ID of the team member to retrieve.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<RetrieveTeamMemberResponse> retrieveTeamMemberAsync(String teamMemberId)
retrieveTeamMemberAsync in interface TeamApiteamMemberId - Required parameter: The ID of the team member to retrieve.public UpdateTeamMemberResponse updateTeamMember(String teamMemberId, UpdateTeamMemberRequest body) throws ApiException, IOException
updateTeamMember in interface TeamApiteamMemberId - Required parameter: The ID of the team member to update.body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<UpdateTeamMemberResponse> updateTeamMemberAsync(String teamMemberId, UpdateTeamMemberRequest body)
updateTeamMemberAsync in interface TeamApiteamMemberId - Required parameter: The ID of the team member to update.body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.public RetrieveWageSettingResponse retrieveWageSetting(String teamMemberId) throws ApiException, IOException
retrieveWageSetting in interface TeamApiteamMemberId - Required parameter: The ID of the team member for which to retrieve the
wage setting.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<RetrieveWageSettingResponse> retrieveWageSettingAsync(String teamMemberId)
retrieveWageSettingAsync in interface TeamApiteamMemberId - Required parameter: The ID of the team member for which to retrieve the
wage setting.public UpdateWageSettingResponse updateWageSetting(String teamMemberId, UpdateWageSettingRequest body) throws ApiException, IOException
updateWageSetting in interface TeamApiteamMemberId - Required parameter: The ID of the team member for which to update the
`WageSetting` object.body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<UpdateWageSettingResponse> updateWageSettingAsync(String teamMemberId, UpdateWageSettingRequest body)
updateWageSettingAsync in interface TeamApiteamMemberId - Required parameter: The ID of the team member for which to update the
`WageSetting` object.body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.Copyright © 2022. All rights reserved.