Package io.gitea.api
Class SettingsApi
java.lang.Object
io.gitea.api.SettingsApi
public class SettingsApi
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description SettingsApi()SettingsApi(ApiClient apiClient) -
Method Summary
Modifier and Type Method Description ApiClientgetApiClient()GeneralAPISettingsgetGeneralAPISettings()Get instance's global settings for apicom.squareup.okhttp.CallgetGeneralAPISettingsAsync(ApiCallback<GeneralAPISettings> callback)Get instance's global settings for api (asynchronously)com.squareup.okhttp.CallgetGeneralAPISettingsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getGeneralAPISettingsApiResponse<GeneralAPISettings>getGeneralAPISettingsWithHttpInfo()Get instance's global settings for apiGeneralAttachmentSettingsgetGeneralAttachmentSettings()Get instance's global settings for Attachmentcom.squareup.okhttp.CallgetGeneralAttachmentSettingsAsync(ApiCallback<GeneralAttachmentSettings> callback)Get instance's global settings for Attachment (asynchronously)com.squareup.okhttp.CallgetGeneralAttachmentSettingsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getGeneralAttachmentSettingsApiResponse<GeneralAttachmentSettings>getGeneralAttachmentSettingsWithHttpInfo()Get instance's global settings for AttachmentGeneralRepoSettingsgetGeneralRepositorySettings()Get instance's global settings for repositoriescom.squareup.okhttp.CallgetGeneralRepositorySettingsAsync(ApiCallback<GeneralRepoSettings> callback)Get instance's global settings for repositories (asynchronously)com.squareup.okhttp.CallgetGeneralRepositorySettingsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getGeneralRepositorySettingsApiResponse<GeneralRepoSettings>getGeneralRepositorySettingsWithHttpInfo()Get instance's global settings for repositoriesGeneralUISettingsgetGeneralUISettings()Get instance's global settings for uicom.squareup.okhttp.CallgetGeneralUISettingsAsync(ApiCallback<GeneralUISettings> callback)Get instance's global settings for ui (asynchronously)com.squareup.okhttp.CallgetGeneralUISettingsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getGeneralUISettingsApiResponse<GeneralUISettings>getGeneralUISettingsWithHttpInfo()Get instance's global settings for uivoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
SettingsApi
public SettingsApi() -
SettingsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getGeneralAPISettingsCall
public com.squareup.okhttp.Call getGeneralAPISettingsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for getGeneralAPISettings- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getGeneralAPISettings
Get instance's global settings for api- Returns:
- GeneralAPISettings
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getGeneralAPISettingsWithHttpInfo
Get instance's global settings for api- Returns:
- ApiResponse<GeneralAPISettings>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getGeneralAPISettingsAsync
public com.squareup.okhttp.Call getGeneralAPISettingsAsync(ApiCallback<GeneralAPISettings> callback) throws ApiExceptionGet instance's global settings for api (asynchronously)- Parameters:
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
-
getGeneralAttachmentSettingsCall
public com.squareup.okhttp.Call getGeneralAttachmentSettingsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for getGeneralAttachmentSettings- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getGeneralAttachmentSettings
Get instance's global settings for Attachment- Returns:
- GeneralAttachmentSettings
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getGeneralAttachmentSettingsWithHttpInfo
public ApiResponse<GeneralAttachmentSettings> getGeneralAttachmentSettingsWithHttpInfo() throws ApiExceptionGet instance's global settings for Attachment- Returns:
- ApiResponse<GeneralAttachmentSettings>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getGeneralAttachmentSettingsAsync
public com.squareup.okhttp.Call getGeneralAttachmentSettingsAsync(ApiCallback<GeneralAttachmentSettings> callback) throws ApiExceptionGet instance's global settings for Attachment (asynchronously)- Parameters:
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
-
getGeneralRepositorySettingsCall
public com.squareup.okhttp.Call getGeneralRepositorySettingsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for getGeneralRepositorySettings- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getGeneralRepositorySettings
Get instance's global settings for repositories- Returns:
- GeneralRepoSettings
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getGeneralRepositorySettingsWithHttpInfo
public ApiResponse<GeneralRepoSettings> getGeneralRepositorySettingsWithHttpInfo() throws ApiExceptionGet instance's global settings for repositories- Returns:
- ApiResponse<GeneralRepoSettings>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getGeneralRepositorySettingsAsync
public com.squareup.okhttp.Call getGeneralRepositorySettingsAsync(ApiCallback<GeneralRepoSettings> callback) throws ApiExceptionGet instance's global settings for repositories (asynchronously)- Parameters:
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
-
getGeneralUISettingsCall
public com.squareup.okhttp.Call getGeneralUISettingsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for getGeneralUISettings- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getGeneralUISettings
Get instance's global settings for ui- Returns:
- GeneralUISettings
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getGeneralUISettingsWithHttpInfo
Get instance's global settings for ui- Returns:
- ApiResponse<GeneralUISettings>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getGeneralUISettingsAsync
public com.squareup.okhttp.Call getGeneralUISettingsAsync(ApiCallback<GeneralUISettings> callback) throws ApiExceptionGet instance's global settings for ui (asynchronously)- Parameters:
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
-