Class SettingsApi

java.lang.Object
build.cursed.genapi.forgejo.api.SettingsApi

public class SettingsApi extends Object
  • Constructor Details

    • SettingsApi

      public SettingsApi()
    • SettingsApi

      public SettingsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • getGeneralAPISettingsCall

      public okhttp3.Call getGeneralAPISettingsCall(ApiCallback _callback) throws ApiException
      Build call for getGeneralAPISettings
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralAPISettings -
    • getGeneralAPISettings

      public GeneralAPISettings getGeneralAPISettings() throws ApiException
      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
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralAPISettings -
    • getGeneralAPISettingsWithHttpInfo

      public ApiResponse<GeneralAPISettings> getGeneralAPISettingsWithHttpInfo() throws ApiException
      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
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralAPISettings -
    • getGeneralAPISettingsAsync

      public okhttp3.Call getGeneralAPISettingsAsync(ApiCallback<GeneralAPISettings> _callback) throws ApiException
      Get 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
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralAPISettings -
    • getGeneralAttachmentSettingsCall

      public okhttp3.Call getGeneralAttachmentSettingsCall(ApiCallback _callback) throws ApiException
      Build call for getGeneralAttachmentSettings
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralAttachmentSettings -
    • getGeneralAttachmentSettings

      public GeneralAttachmentSettings getGeneralAttachmentSettings() throws ApiException
      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
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralAttachmentSettings -
    • getGeneralAttachmentSettingsWithHttpInfo

      public ApiResponse<GeneralAttachmentSettings> getGeneralAttachmentSettingsWithHttpInfo() throws ApiException
      Get 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
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralAttachmentSettings -
    • getGeneralAttachmentSettingsAsync

      public okhttp3.Call getGeneralAttachmentSettingsAsync(ApiCallback<GeneralAttachmentSettings> _callback) throws ApiException
      Get 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
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralAttachmentSettings -
    • getGeneralRepositorySettingsCall

      public okhttp3.Call getGeneralRepositorySettingsCall(ApiCallback _callback) throws ApiException
      Build call for getGeneralRepositorySettings
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralRepoSettings -
    • getGeneralRepositorySettings

      public GeneralRepoSettings getGeneralRepositorySettings() throws ApiException
      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
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralRepoSettings -
    • getGeneralRepositorySettingsWithHttpInfo

      public ApiResponse<GeneralRepoSettings> getGeneralRepositorySettingsWithHttpInfo() throws ApiException
      Get 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
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralRepoSettings -
    • getGeneralRepositorySettingsAsync

      public okhttp3.Call getGeneralRepositorySettingsAsync(ApiCallback<GeneralRepoSettings> _callback) throws ApiException
      Get 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
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralRepoSettings -
    • getGeneralUISettingsCall

      public okhttp3.Call getGeneralUISettingsCall(ApiCallback _callback) throws ApiException
      Build call for getGeneralUISettings
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralUISettings -
    • getGeneralUISettings

      public GeneralUISettings getGeneralUISettings() throws ApiException
      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
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralUISettings -
    • getGeneralUISettingsWithHttpInfo

      public ApiResponse<GeneralUISettings> getGeneralUISettingsWithHttpInfo() throws ApiException
      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
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralUISettings -
    • getGeneralUISettingsAsync

      public okhttp3.Call getGeneralUISettingsAsync(ApiCallback<GeneralUISettings> _callback) throws ApiException
      Get 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
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GeneralUISettings -