Class VersionTextApi

java.lang.Object
com.w3asel.inventree.api.VersionTextApi

public class VersionTextApi extends Object
  • Constructor Details

    • VersionTextApi

      public VersionTextApi()
    • VersionTextApi

      public VersionTextApi(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)
    • versionTextListCall

      public okhttp3.Call versionTextListCall(@Nullable Integer startVersion, @Nullable Integer versions, ApiCallback _callback) throws ApiException
      Build call for versionTextList
      Parameters:
      startVersion - First version to report. Defaults to return the latest {versions} versions. (optional)
      versions - Number of versions to return. (optional, default to 10)
      _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 -
    • versionTextList

      public List<VersionInformation> versionTextList(@Nullable Integer startVersion, @Nullable Integer versions) throws ApiException
      Simple JSON endpoint for InvenTree version text.
      Parameters:
      startVersion - First version to report. Defaults to return the latest {versions} versions. (optional)
      versions - Number of versions to return. (optional, default to 10)
      Returns:
      List<VersionInformation>
      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 -
    • versionTextListWithHttpInfo

      public ApiResponse<List<VersionInformation>> versionTextListWithHttpInfo(@Nullable Integer startVersion, @Nullable Integer versions) throws ApiException
      Simple JSON endpoint for InvenTree version text.
      Parameters:
      startVersion - First version to report. Defaults to return the latest {versions} versions. (optional)
      versions - Number of versions to return. (optional, default to 10)
      Returns:
      ApiResponse<List<VersionInformation>>
      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 -
    • versionTextListAsync

      public okhttp3.Call versionTextListAsync(@Nullable Integer startVersion, @Nullable Integer versions, ApiCallback<List<VersionInformation>> _callback) throws ApiException
      (asynchronously) Simple JSON endpoint for InvenTree version text.
      Parameters:
      startVersion - First version to report. Defaults to return the latest {versions} versions. (optional)
      versions - Number of versions to return. (optional, default to 10)
      _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 -