public class AdminAccountApi extends Object
构造器和说明 |
---|
AdminAccountApi() |
AdminAccountApi(ApiClient apiClient) |
public AdminAccountApi()
public AdminAccountApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call adminAuthorPostCall(String email, String password, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
email
- (required)password
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Integer adminAuthorPost(String email, String password) throws ApiException
email
- (required)password
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Integer> adminAuthorPostWithHttpInfo(String email, String password) throws ApiException
email
- (required)password
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call adminAuthorPostAsync(String email, String password, ApiCallback<Integer> callback) throws ApiException
email
- (required)password
- (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 adminAuthorsAuthInfoGetCall(Integer pageNum, Integer pageSize, String authState, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
pageNum
- (required)pageSize
- (required)authState
- 空或者ALL代表查询所有的,AUTHED 代表查询已认证通过的,INIT代表等待认证的,DENIED 代表认证未通过的 (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic List<AuthorAuthInfo> adminAuthorsAuthInfoGet(Integer pageNum, Integer pageSize, String authState) throws ApiException
pageNum
- (required)pageSize
- (required)authState
- 空或者ALL代表查询所有的,AUTHED 代表查询已认证通过的,INIT代表等待认证的,DENIED 代表认证未通过的 (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<AuthorAuthInfo>> adminAuthorsAuthInfoGetWithHttpInfo(Integer pageNum, Integer pageSize, String authState) throws ApiException
pageNum
- (required)pageSize
- (required)authState
- 空或者ALL代表查询所有的,AUTHED 代表查询已认证通过的,INIT代表等待认证的,DENIED 代表认证未通过的 (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call adminAuthorsAuthInfoGetAsync(Integer pageNum, Integer pageSize, String authState, ApiCallback<List<AuthorAuthInfo>> callback) throws ApiException
pageNum
- (required)pageSize
- (required)authState
- 空或者ALL代表查询所有的,AUTHED 代表查询已认证通过的,INIT代表等待认证的,DENIED 代表认证未通过的 (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 adminAuthorsAuthorIdAuthInfoGetCall(Integer authorId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
authorId
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic AuthorAuthInfo adminAuthorsAuthorIdAuthInfoGet(Integer authorId) throws ApiException
authorId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AuthorAuthInfo> adminAuthorsAuthorIdAuthInfoGetWithHttpInfo(Integer authorId) throws ApiException
authorId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call adminAuthorsAuthorIdAuthInfoGetAsync(Integer authorId, ApiCallback<AuthorAuthInfo> callback) throws ApiException
authorId
- (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 adminAuthorsAuthorIdAuthInfoPostCall(Integer authorId, AuthorAuthInfo authorInfo, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
authorId
- (required)authorInfo
- 不需要修改的字段直接传null (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void adminAuthorsAuthorIdAuthInfoPost(Integer authorId, AuthorAuthInfo authorInfo) throws ApiException
authorId
- (required)authorInfo
- 不需要修改的字段直接传null (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> adminAuthorsAuthorIdAuthInfoPostWithHttpInfo(Integer authorId, AuthorAuthInfo authorInfo) throws ApiException
authorId
- (required)authorInfo
- 不需要修改的字段直接传null (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call adminAuthorsAuthorIdAuthInfoPostAsync(Integer authorId, AuthorAuthInfo authorInfo, ApiCallback<Void> callback) throws ApiException
authorId
- (required)authorInfo
- 不需要修改的字段直接传null (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 adminAuthorsAuthorIdAuthPostCall(Integer authorId, String email, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
authorId
- (required)email
- email (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void adminAuthorsAuthorIdAuthPost(Integer authorId, String email) throws ApiException
authorId
- (required)email
- email (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> adminAuthorsAuthorIdAuthPostWithHttpInfo(Integer authorId, String email) throws ApiException
authorId
- (required)email
- email (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call adminAuthorsAuthorIdAuthPostAsync(Integer authorId, String email, ApiCallback<Void> callback) throws ApiException
authorId
- (required)email
- email (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 adminAuthorsAuthorIdDenyPostCall(Integer authorId, String email, String reason, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
authorId
- (required)email
- 邮件地址 (required)reason
- 不通过的原因 (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void adminAuthorsAuthorIdDenyPost(Integer authorId, String email, String reason) throws ApiException
authorId
- (required)email
- 邮件地址 (required)reason
- 不通过的原因 (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> adminAuthorsAuthorIdDenyPostWithHttpInfo(Integer authorId, String email, String reason) throws ApiException
authorId
- (required)email
- 邮件地址 (required)reason
- 不通过的原因 (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call adminAuthorsAuthorIdDenyPostAsync(Integer authorId, String email, String reason, ApiCallback<Void> callback) throws ApiException
authorId
- (required)email
- 邮件地址 (required)reason
- 不通过的原因 (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 adminAuthorsAuthorIdGetCall(Integer authorId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
authorId
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic AuthorInfo adminAuthorsAuthorIdGet(Integer authorId) throws ApiException
authorId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AuthorInfo> adminAuthorsAuthorIdGetWithHttpInfo(Integer authorId) throws ApiException
authorId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call adminAuthorsAuthorIdGetAsync(Integer authorId, ApiCallback<AuthorInfo> callback) throws ApiException
authorId
- (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 adminAuthorsAuthorIdPostCall(Integer authorId, AuthorInfo authorInfo, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
authorId
- (required)authorInfo
- 不需要修改的字段直接传null (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void adminAuthorsAuthorIdPost(Integer authorId, AuthorInfo authorInfo) throws ApiException
authorId
- (required)authorInfo
- 不需要修改的字段直接传null (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> adminAuthorsAuthorIdPostWithHttpInfo(Integer authorId, AuthorInfo authorInfo) throws ApiException
authorId
- (required)authorInfo
- 不需要修改的字段直接传null (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call adminAuthorsAuthorIdPostAsync(Integer authorId, AuthorInfo authorInfo, ApiCallback<Void> callback) throws ApiException
authorId
- (required)authorInfo
- 不需要修改的字段直接传null (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 adminAuthorsGetCall(Integer pageNum, Integer pageSize, String authState, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
pageNum
- (required)pageSize
- (required)authState
- 空或者ALL代表查询所有的,AUTHED 代表查询已认证通过的,INIT代表等待认证的,DENIED 代表认证未通过的 (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic List<AuthorInfo> adminAuthorsGet(Integer pageNum, Integer pageSize, String authState) throws ApiException
pageNum
- (required)pageSize
- (required)authState
- 空或者ALL代表查询所有的,AUTHED 代表查询已认证通过的,INIT代表等待认证的,DENIED 代表认证未通过的 (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<AuthorInfo>> adminAuthorsGetWithHttpInfo(Integer pageNum, Integer pageSize, String authState) throws ApiException
pageNum
- (required)pageSize
- (required)authState
- 空或者ALL代表查询所有的,AUTHED 代表查询已认证通过的,INIT代表等待认证的,DENIED 代表认证未通过的 (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call adminAuthorsGetAsync(Integer pageNum, Integer pageSize, String authState, ApiCallback<List<AuthorInfo>> callback) throws ApiException
pageNum
- (required)pageSize
- (required)authState
- 空或者ALL代表查询所有的,AUTHED 代表查询已认证通过的,INIT代表等待认证的,DENIED 代表认证未通过的 (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 adminReportReportIdDeleteCall(Integer reportId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
reportId
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void adminReportReportIdDelete(Integer reportId) throws ApiException
reportId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> adminReportReportIdDeleteWithHttpInfo(Integer reportId) throws ApiException
reportId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call adminReportReportIdDeleteAsync(Integer reportId, ApiCallback<Void> callback) throws ApiException
reportId
- (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 adminReportsGetCall(Integer pageNum, Integer pageSize, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
pageNum
- 需要第几页 (required)pageSize
- 每页的大小 (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic List<Report> adminReportsGet(Integer pageNum, Integer pageSize) throws ApiException
pageNum
- 需要第几页 (required)pageSize
- 每页的大小 (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<Report>> adminReportsGetWithHttpInfo(Integer pageNum, Integer pageSize) throws ApiException
pageNum
- 需要第几页 (required)pageSize
- 每页的大小 (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call adminReportsGetAsync(Integer pageNum, Integer pageSize, ApiCallback<List<Report>> callback) throws ApiException
pageNum
- 需要第几页 (required)pageSize
- 每页的大小 (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 adminUsersGetCall(Integer pageNum, Integer pageSize, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
pageNum
- (required)pageSize
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic List<UserInfo> adminUsersGet(Integer pageNum, Integer pageSize) throws ApiException
pageNum
- (required)pageSize
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<UserInfo>> adminUsersGetWithHttpInfo(Integer pageNum, Integer pageSize) throws ApiException
pageNum
- (required)pageSize
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call adminUsersGetAsync(Integer pageNum, Integer pageSize, ApiCallback<List<UserInfo>> callback) throws ApiException
pageNum
- (required)pageSize
- (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 adminUsersUserIdGetCall(Integer userId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
userId
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic UserInfo adminUsersUserIdGet(Integer userId) throws ApiException
userId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<UserInfo> adminUsersUserIdGetWithHttpInfo(Integer userId) throws ApiException
userId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call adminUsersUserIdGetAsync(Integer userId, ApiCallback<UserInfo> callback) throws ApiException
userId
- (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 objectCopyright © 2017. All rights reserved.