Package com.seeq.api
Class AssetsApi
java.lang.Object
com.seeq.api.AssetsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarchiveAsset
(String id) Archive an assetarchiveAssetWithHeadersAndHttpInfo
(String id, Map<String, String> customHeaders) Archive an assetArchive an assetCreate or update multiple assets at one timebatchCreateAssetsWithHeadersAndHttpInfo
(AssetBatchInputV1 body, Map<String, String> customHeaders) Create or update multiple assets at one timeCreate or update multiple assets at one timecreateAsset
(AssetInputV1 body) Create an assetcreateAssetWithHeadersAndHttpInfo
(AssetInputV1 body, Map<String, String> customHeaders) Create an assetCreate an assetGet an assetGet a collection of assetsgetAssetsWithHeadersAndHttpInfo
(String scopedTo, Integer offset, Integer limit, Map<String, String> customHeaders) Get a collection of assetsgetAssetsWithHttpInfo
(String scopedTo, Integer offset, Integer limit) Get a collection of assetsgetAssetWithHeadersAndHttpInfo
(String id, Map<String, String> customHeaders) Get an assetGet an assetlong
void
setApiClient
(ApiClient apiClient) void
setRetryTimeout
(long retryTimeout)
-
Constructor Details
-
AssetsApi
public AssetsApi() -
AssetsApi
-
-
Method Details
-
setRetryTimeout
public void setRetryTimeout(long retryTimeout) -
getRetryTimeout
public long getRetryTimeout() -
getApiClient
-
setApiClient
-
archiveAsset
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 ApiExceptionArchive 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
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 ApiExceptionCreate 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
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 ApiExceptionCreate 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
Get an asset- Parameters:
id
- ID of the asset to retrieve (required)- Returns:
- AssetOutputV1
- Throws:
ApiException
- if fails to make API call
-
getAssetWithHttpInfo
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 ApiExceptionGet 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 ApiExceptionGet 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
-