Package com.seeq.api

Class AssetsApi

java.lang.Object
com.seeq.api.AssetsApi

public class AssetsApi extends Object
  • Constructor Details

    • AssetsApi

      public AssetsApi()
    • AssetsApi

      public AssetsApi(ApiClient apiClient)
  • Method Details

    • setRetryTimeout

      public void setRetryTimeout(long retryTimeout)
    • getRetryTimeout

      public long getRetryTimeout()
    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • archiveAsset

      public ArchiveOutputV1 archiveAsset(String id) throws ApiException
      Archive an asset
      Parameters:
      id - ID of the asset to archived (required)
      Returns:
      ArchiveOutputV1
      Throws:
      ApiException - if fails to make API call
    • archiveAssetWithHttpInfo

      public ApiClient.ApiResponse<ArchiveOutputV1> archiveAssetWithHttpInfo(String id) throws ApiException
      Archive an asset
      Parameters:
      id - ID of the asset to archived (required)
      Throws:
      ApiException - if fails to make API call
    • archiveAssetWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<ArchiveOutputV1> archiveAssetWithHeadersAndHttpInfo(String id, Map<String,String> customHeaders) throws ApiException
      Archive an asset
      Parameters:
      id - ID of the asset to archived (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • batchCreateAssets

      public ItemBatchOutputV1 batchCreateAssets(AssetBatchInputV1 body) throws ApiException
      Create or update multiple assets at one time
      Parameters:
      body - (optional)
      Returns:
      ItemBatchOutputV1
      Throws:
      ApiException - if fails to make API call
    • batchCreateAssetsWithHttpInfo

      public ApiClient.ApiResponse<ItemBatchOutputV1> batchCreateAssetsWithHttpInfo(AssetBatchInputV1 body) throws ApiException
      Create or update multiple assets at one time
      Parameters:
      body - (optional)
      Throws:
      ApiException - if fails to make API call
    • batchCreateAssetsWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<ItemBatchOutputV1> batchCreateAssetsWithHeadersAndHttpInfo(AssetBatchInputV1 body, Map<String,String> customHeaders) throws ApiException
      Create or update multiple assets at one time
      Parameters:
      body - (optional)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • createAsset

      public AssetOutputV1 createAsset(AssetInputV1 body) throws ApiException
      Create an asset
      Parameters:
      body - Asset information (required)
      Returns:
      AssetOutputV1
      Throws:
      ApiException - if fails to make API call
    • createAssetWithHttpInfo

      public ApiClient.ApiResponse<AssetOutputV1> createAssetWithHttpInfo(AssetInputV1 body) throws ApiException
      Create an asset
      Parameters:
      body - Asset information (required)
      Throws:
      ApiException - if fails to make API call
    • createAssetWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<AssetOutputV1> createAssetWithHeadersAndHttpInfo(AssetInputV1 body, Map<String,String> customHeaders) throws ApiException
      Create an asset
      Parameters:
      body - Asset information (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • getAsset

      public AssetOutputV1 getAsset(String id) throws ApiException
      Get an asset
      Parameters:
      id - ID of the asset to retrieve (required)
      Returns:
      AssetOutputV1
      Throws:
      ApiException - if fails to make API call
    • getAssetWithHttpInfo

      public ApiClient.ApiResponse<AssetOutputV1> getAssetWithHttpInfo(String id) throws ApiException
      Get an asset
      Parameters:
      id - ID of the asset to retrieve (required)
      Throws:
      ApiException - if fails to make API call
    • getAssetWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<AssetOutputV1> getAssetWithHeadersAndHttpInfo(String id, Map<String,String> customHeaders) throws ApiException
      Get an asset
      Parameters:
      id - ID of the asset to retrieve (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • getAssets

      public ItemPreviewListV1 getAssets(String scopedTo, Integer offset, Integer limit) throws ApiException
      Get a collection of assets
      Parameters:
      scopedTo - The ID of the workbook to which the items are scoped<br>If the scopedTo is set to the Empty GUID then the scoped items are excluded (optional)
      offset - The pagination offset, the index of the first collection item that will be returned in this page of results (optional, default to 0)
      limit - The pagination limit, the total number of collection items that will be returned in this page of results (optional, default to 40)
      Returns:
      ItemPreviewListV1
      Throws:
      ApiException - if fails to make API call
    • getAssetsWithHttpInfo

      public ApiClient.ApiResponse<ItemPreviewListV1> getAssetsWithHttpInfo(String scopedTo, Integer offset, Integer limit) throws ApiException
      Get a collection of assets
      Parameters:
      scopedTo - The ID of the workbook to which the items are scoped<br>If the scopedTo is set to the Empty GUID then the scoped items are excluded (optional)
      offset - The pagination offset, the index of the first collection item that will be returned in this page of results (optional, default to 0)
      limit - The pagination limit, the total number of collection items that will be returned in this page of results (optional, default to 40)
      Throws:
      ApiException - if fails to make API call
    • getAssetsWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<ItemPreviewListV1> getAssetsWithHeadersAndHttpInfo(String scopedTo, Integer offset, Integer limit, Map<String,String> customHeaders) throws ApiException
      Get a collection of assets
      Parameters:
      scopedTo - The ID of the workbook to which the items are scoped<br>If the scopedTo is set to the Empty GUID then the scoped items are excluded (optional)
      offset - The pagination offset, the index of the first collection item that will be returned in this page of results (optional, default to 0)
      limit - The pagination limit, the total number of collection items that will be returned in this page of results (optional, default to 40)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call