Class TeamsApi
java.lang.Object
com.boldsign.api.TeamsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTeam(CreateTeamRequest createTeamRequest) Create Team.okhttp3.CallcreateTeamAsync(CreateTeamRequest createTeamRequest, ApiCallback<TeamCreated> _callback) Create Team.okhttp3.CallcreateTeamCall(CreateTeamRequest createTeamRequest, ApiCallback _callback) Build call for createTeamcreateTeamWithHttpInfo(CreateTeamRequest createTeamRequest) Create Team.intGet Team details.okhttp3.CallgetTeamAsync(String teamId, ApiCallback<TeamResponse> _callback) Get Team details.okhttp3.CallgetTeamCall(String teamId, ApiCallback _callback) Build call for getTeamgetTeamWithHttpInfo(String teamId) Get Team details.List Teams.okhttp3.CalllistTeamsAsync(Integer page, Integer pageSize, String searchKey, ApiCallback<TeamListResponse> _callback) List Teams.okhttp3.CalllistTeamsCall(Integer page, Integer pageSize, String searchKey, ApiCallback _callback) Build call for listTeamslistTeamsWithHttpInfo(Integer page, Integer pageSize, String searchKey) List Teams.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) voidupdateTeam(TeamUpdateRequest teamUpdateRequest) Update Team.okhttp3.CallupdateTeamAsync(TeamUpdateRequest teamUpdateRequest, ApiCallback<Void> _callback) Update Team.okhttp3.CallupdateTeamCall(TeamUpdateRequest teamUpdateRequest, ApiCallback _callback) Build call for updateTeamupdateTeamWithHttpInfo(TeamUpdateRequest teamUpdateRequest) Update Team.
-
Constructor Details
-
TeamsApi
public TeamsApi() -
TeamsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createTeamCall
public okhttp3.Call createTeamCall(CreateTeamRequest createTeamRequest, ApiCallback _callback) throws ApiException Build call for createTeam- Parameters:
createTeamRequest- team creation. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
createTeam
Create Team.- Parameters:
createTeamRequest- team creation. (required)- Returns:
- TeamCreated
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
createTeamWithHttpInfo
public ApiResponse<TeamCreated> createTeamWithHttpInfo(CreateTeamRequest createTeamRequest) throws ApiException Create Team.- Parameters:
createTeamRequest- team creation. (required)- Returns:
- ApiResponse<TeamCreated>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
createTeamAsync
public okhttp3.Call createTeamAsync(CreateTeamRequest createTeamRequest, ApiCallback<TeamCreated> _callback) throws ApiException Create Team. (asynchronously)- Parameters:
createTeamRequest- team creation. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getTeamCall
Build call for getTeam- Parameters:
teamId- Team Id. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getTeam
Get Team details.- Parameters:
teamId- Team Id. (required)- Returns:
- TeamResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getTeamWithHttpInfo
Get Team details.- Parameters:
teamId- Team Id. (required)- Returns:
- ApiResponse<TeamResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getTeamAsync
public okhttp3.Call getTeamAsync(String teamId, ApiCallback<TeamResponse> _callback) throws ApiException Get Team details. (asynchronously)- Parameters:
teamId- Team Id. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
listTeamsCall
public okhttp3.Call listTeamsCall(Integer page, Integer pageSize, String searchKey, ApiCallback _callback) throws ApiException Build call for listTeams- Parameters:
page- Page index specified in get team list request. (required)pageSize- Page size specified in get team list request. (optional, default to 10)searchKey- Teams can be listed by the search key (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
listTeams
public TeamListResponse listTeams(Integer page, Integer pageSize, String searchKey) throws ApiException List Teams.- Parameters:
page- Page index specified in get team list request. (required)pageSize- Page size specified in get team list request. (optional, default to 10)searchKey- Teams can be listed by the search key (optional)- Returns:
- TeamListResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
listTeamsWithHttpInfo
public ApiResponse<TeamListResponse> listTeamsWithHttpInfo(Integer page, Integer pageSize, String searchKey) throws ApiException List Teams.- Parameters:
page- Page index specified in get team list request. (required)pageSize- Page size specified in get team list request. (optional, default to 10)searchKey- Teams can be listed by the search key (optional)- Returns:
- ApiResponse<TeamListResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
listTeamsAsync
public okhttp3.Call listTeamsAsync(Integer page, Integer pageSize, String searchKey, ApiCallback<TeamListResponse> _callback) throws ApiException List Teams. (asynchronously)- Parameters:
page- Page index specified in get team list request. (required)pageSize- Page size specified in get team list request. (optional, default to 10)searchKey- Teams can be listed by the search key (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
updateTeamCall
public okhttp3.Call updateTeamCall(TeamUpdateRequest teamUpdateRequest, ApiCallback _callback) throws ApiException Build call for updateTeam- Parameters:
teamUpdateRequest- update team. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
updateTeam
Update Team.- Parameters:
teamUpdateRequest- update team. (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
updateTeamWithHttpInfo
public ApiResponse<Void> updateTeamWithHttpInfo(TeamUpdateRequest teamUpdateRequest) throws ApiException Update Team.- Parameters:
teamUpdateRequest- update team. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
updateTeamAsync
public okhttp3.Call updateTeamAsync(TeamUpdateRequest teamUpdateRequest, ApiCallback<Void> _callback) throws ApiException Update Team. (asynchronously)- Parameters:
teamUpdateRequest- update team. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-