public class TeamMembersApi
extends java.lang.Object
| Constructor | Description |
|---|---|
TeamMembersApi() |
|
TeamMembersApi(ApiClient apiClient) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
deleteMember(java.lang.String memberId) |
Delete a team member by ID.
|
com.squareup.okhttp.Call |
deleteMemberAsync(java.lang.String memberId,
ApiCallback<java.lang.Void> callback) |
Delete a team member by ID.
|
com.squareup.okhttp.Call |
deleteMemberCall(java.lang.String memberId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for deleteMember
|
ApiResponse<java.lang.Void> |
deleteMemberWithHttpInfo(java.lang.String memberId) |
Delete a team member by ID.
|
ApiClient |
getApiClient() |
|
Member |
getMe() |
Get the current team member associated with the token
|
com.squareup.okhttp.Call |
getMeAsync(ApiCallback<Member> callback) |
Get the current team member associated with the token (asynchronously)
|
com.squareup.okhttp.Call |
getMeCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getMe
|
Member |
getMember(java.lang.String memberId) |
Get a single team member by ID.
|
com.squareup.okhttp.Call |
getMemberAsync(java.lang.String memberId,
ApiCallback<Member> callback) |
Get a single team member by ID.
|
com.squareup.okhttp.Call |
getMemberCall(java.lang.String memberId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getMember
|
Members |
getMembers(java.math.BigDecimal limit,
java.math.BigDecimal offset,
java.lang.String filter,
java.lang.String sort) |
Returns a list of all members in the account.
|
com.squareup.okhttp.Call |
getMembersAsync(java.math.BigDecimal limit,
java.math.BigDecimal offset,
java.lang.String filter,
java.lang.String sort,
ApiCallback<Members> callback) |
Returns a list of all members in the account.
|
com.squareup.okhttp.Call |
getMembersCall(java.math.BigDecimal limit,
java.math.BigDecimal offset,
java.lang.String filter,
java.lang.String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getMembers
|
ApiResponse<Members> |
getMembersWithHttpInfo(java.math.BigDecimal limit,
java.math.BigDecimal offset,
java.lang.String filter,
java.lang.String sort) |
Returns a list of all members in the account.
|
ApiResponse<Member> |
getMemberWithHttpInfo(java.lang.String memberId) |
Get a single team member by ID.
|
ApiResponse<Member> |
getMeWithHttpInfo() |
Get the current team member associated with the token
|
Member |
patchMember(java.lang.String memberId,
java.util.List<PatchOperation> patchDelta) |
Modify a team member by ID.
|
com.squareup.okhttp.Call |
patchMemberAsync(java.lang.String memberId,
java.util.List<PatchOperation> patchDelta,
ApiCallback<Member> callback) |
Modify a team member by ID.
|
com.squareup.okhttp.Call |
patchMemberCall(java.lang.String memberId,
java.util.List<PatchOperation> patchDelta,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for patchMember
|
ApiResponse<Member> |
patchMemberWithHttpInfo(java.lang.String memberId,
java.util.List<PatchOperation> patchDelta) |
Modify a team member by ID.
|
Members |
postMembers(java.util.List<MembersBody> membersBody) |
Invite new members.
|
com.squareup.okhttp.Call |
postMembersAsync(java.util.List<MembersBody> membersBody,
ApiCallback<Members> callback) |
Invite new members.
|
com.squareup.okhttp.Call |
postMembersCall(java.util.List<MembersBody> membersBody,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for postMembers
|
ApiResponse<Members> |
postMembersWithHttpInfo(java.util.List<MembersBody> membersBody) |
Invite new members.
|
void |
setApiClient(ApiClient apiClient) |
public TeamMembersApi()
public TeamMembersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call deleteMemberCall(java.lang.String memberId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
memberId - The member ID. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteMember(java.lang.String memberId)
throws ApiException
memberId - The member ID. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> deleteMemberWithHttpInfo(java.lang.String memberId) throws ApiException
memberId - The member ID. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteMemberAsync(java.lang.String memberId,
ApiCallback<java.lang.Void> callback)
throws ApiException
memberId - The member ID. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getMeCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Member getMe() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Member> getMeWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getMeAsync(ApiCallback<Member> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getMemberCall(java.lang.String memberId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
memberId - The member ID. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Member getMember(java.lang.String memberId) throws ApiException
memberId - The member ID. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Member> getMemberWithHttpInfo(java.lang.String memberId) throws ApiException
memberId - The member ID. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getMemberAsync(java.lang.String memberId,
ApiCallback<Member> callback)
throws ApiException
memberId - The member ID. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getMembersCall(java.math.BigDecimal limit,
java.math.BigDecimal offset,
java.lang.String filter,
java.lang.String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
limit - The number of objects to return. Defaults to -1, which returns everything. (optional)offset - Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first 10 items and then return the next limit items. (optional)filter - A comma-separated list of filters. Each filter is of the form field:value. (optional)sort - A comma-separated list of fields to sort by. A field prefixed by a - will be sorted in descending order. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Members getMembers(java.math.BigDecimal limit, java.math.BigDecimal offset, java.lang.String filter, java.lang.String sort) throws ApiException
limit - The number of objects to return. Defaults to -1, which returns everything. (optional)offset - Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first 10 items and then return the next limit items. (optional)filter - A comma-separated list of filters. Each filter is of the form field:value. (optional)sort - A comma-separated list of fields to sort by. A field prefixed by a - will be sorted in descending order. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Members> getMembersWithHttpInfo(java.math.BigDecimal limit, java.math.BigDecimal offset, java.lang.String filter, java.lang.String sort) throws ApiException
limit - The number of objects to return. Defaults to -1, which returns everything. (optional)offset - Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first 10 items and then return the next limit items. (optional)filter - A comma-separated list of filters. Each filter is of the form field:value. (optional)sort - A comma-separated list of fields to sort by. A field prefixed by a - will be sorted in descending order. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getMembersAsync(java.math.BigDecimal limit,
java.math.BigDecimal offset,
java.lang.String filter,
java.lang.String sort,
ApiCallback<Members> callback)
throws ApiException
limit - The number of objects to return. Defaults to -1, which returns everything. (optional)offset - Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first 10 items and then return the next limit items. (optional)filter - A comma-separated list of filters. Each filter is of the form field:value. (optional)sort - A comma-separated list of fields to sort by. A field prefixed by a - will be sorted in descending order. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call patchMemberCall(java.lang.String memberId,
java.util.List<PatchOperation> patchDelta,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
memberId - The member ID. (required)patchDelta - Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Member patchMember(java.lang.String memberId, java.util.List<PatchOperation> patchDelta) throws ApiException
memberId - The member ID. (required)patchDelta - Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Member> patchMemberWithHttpInfo(java.lang.String memberId, java.util.List<PatchOperation> patchDelta) throws ApiException
memberId - The member ID. (required)patchDelta - Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call patchMemberAsync(java.lang.String memberId,
java.util.List<PatchOperation> patchDelta,
ApiCallback<Member> callback)
throws ApiException
memberId - The member ID. (required)patchDelta - Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call postMembersCall(java.util.List<MembersBody> membersBody, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
membersBody - New members to invite. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Members postMembers(java.util.List<MembersBody> membersBody) throws ApiException
membersBody - New members to invite. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Members> postMembersWithHttpInfo(java.util.List<MembersBody> membersBody) throws ApiException
membersBody - New members to invite. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postMembersAsync(java.util.List<MembersBody> membersBody, ApiCallback<Members> callback) throws ApiException
membersBody - New members to invite. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object