Package com.seeq.api
Class DisplayTemplatesApi
java.lang.Object
com.seeq.api.DisplayTemplatesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Archive a display templatevoid
archiveDisplayTemplateWithHeadersAndHttpInfo
(String id, Map<String, String> customHeaders) Archive a display templatevoid
Archive a display templateCreate a new template item for a displaycreateDisplayTemplateWithHeadersAndHttpInfo
(DisplayTemplateInputV1 body, Map<String, String> customHeaders) Create a new template item for a displayCreate a new template item for a displayGet a display template itemgetDisplayTemplates
(Integer offset, Integer limit) Get a list of display template itemsgetDisplayTemplatesWithHeadersAndHttpInfo
(Integer offset, Integer limit, Map<String, String> customHeaders) Get a list of display template itemsgetDisplayTemplatesWithHttpInfo
(Integer offset, Integer limit) Get a list of display template itemsgetDisplayTemplateWithHeadersAndHttpInfo
(String id, Map<String, String> customHeaders) Get a display template itemGet a display template itemlong
void
setApiClient
(ApiClient apiClient) void
setRetryTimeout
(long retryTimeout) updateTemplate
(String id, DisplayTemplateInputV1 body) Update a template item for a displayupdateTemplateWithHeadersAndHttpInfo
(String id, DisplayTemplateInputV1 body, Map<String, String> customHeaders) Update a template item for a displayUpdate a template item for a display
-
Constructor Details
-
DisplayTemplatesApi
public DisplayTemplatesApi() -
DisplayTemplatesApi
-
-
Method Details
-
setRetryTimeout
public void setRetryTimeout(long retryTimeout) -
getRetryTimeout
public long getRetryTimeout() -
getApiClient
-
setApiClient
-
archiveDisplayTemplate
Archive a display template- Parameters:
id
- ID of the display template to archive. (required)- Throws:
ApiException
- if fails to make API call
-
archiveDisplayTemplateWithHttpInfo
Archive a display template- Parameters:
id
- ID of the display template to archive. (required)- Throws:
ApiException
- if fails to make API call
-
archiveDisplayTemplateWithHeadersAndHttpInfo
public void archiveDisplayTemplateWithHeadersAndHttpInfo(String id, Map<String, String> customHeaders) throws ApiExceptionArchive a display template- Parameters:
id
- ID of the display template to archive. (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
createDisplayTemplate
public DisplayTemplateOutputV1 createDisplayTemplate(DisplayTemplateInputV1 body) throws ApiException Create a new template item for a display- Parameters:
body
- (required)- Returns:
- DisplayTemplateOutputV1
- Throws:
ApiException
- if fails to make API call
-
createDisplayTemplateWithHttpInfo
public ApiClient.ApiResponse<DisplayTemplateOutputV1> createDisplayTemplateWithHttpInfo(DisplayTemplateInputV1 body) throws ApiException Create a new template item for a display- Parameters:
body
- (required)- Throws:
ApiException
- if fails to make API call
-
createDisplayTemplateWithHeadersAndHttpInfo
public ApiClient.ApiResponse<DisplayTemplateOutputV1> createDisplayTemplateWithHeadersAndHttpInfo(DisplayTemplateInputV1 body, Map<String, String> customHeaders) throws ApiExceptionCreate a new template item for a display- Parameters:
body
- (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
getDisplayTemplate
Get a display template item- Parameters:
id
- The Seeq ID for the display template (required)- Returns:
- DisplayTemplateOutputV1
- Throws:
ApiException
- if fails to make API call
-
getDisplayTemplateWithHttpInfo
public ApiClient.ApiResponse<DisplayTemplateOutputV1> getDisplayTemplateWithHttpInfo(String id) throws ApiException Get a display template item- Parameters:
id
- The Seeq ID for the display template (required)- Throws:
ApiException
- if fails to make API call
-
getDisplayTemplateWithHeadersAndHttpInfo
public ApiClient.ApiResponse<DisplayTemplateOutputV1> getDisplayTemplateWithHeadersAndHttpInfo(String id, Map<String, String> customHeaders) throws ApiExceptionGet a display template item- Parameters:
id
- The Seeq ID for the display template (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
getDisplayTemplates
public DisplayTemplateOutputListV1 getDisplayTemplates(Integer offset, Integer limit) throws ApiException Get a list of display template items- Parameters:
offset
- The pagination offset, the index of the first display template item that will be returned in this page of results (optional, default to 0)limit
- The pagination limit, the total number of display template items that will be returned in this page of results (optional, default to 40)- Returns:
- DisplayTemplateOutputListV1
- Throws:
ApiException
- if fails to make API call
-
getDisplayTemplatesWithHttpInfo
public ApiClient.ApiResponse<DisplayTemplateOutputListV1> getDisplayTemplatesWithHttpInfo(Integer offset, Integer limit) throws ApiException Get a list of display template items- Parameters:
offset
- The pagination offset, the index of the first display template item that will be returned in this page of results (optional, default to 0)limit
- The pagination limit, the total number of display template items that will be returned in this page of results (optional, default to 40)- Throws:
ApiException
- if fails to make API call
-
getDisplayTemplatesWithHeadersAndHttpInfo
public ApiClient.ApiResponse<DisplayTemplateOutputListV1> getDisplayTemplatesWithHeadersAndHttpInfo(Integer offset, Integer limit, Map<String, String> customHeaders) throws ApiExceptionGet a list of display template items- Parameters:
offset
- The pagination offset, the index of the first display template item that will be returned in this page of results (optional, default to 0)limit
- The pagination limit, the total number of display template 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
-
updateTemplate
public DisplayTemplateOutputV1 updateTemplate(String id, DisplayTemplateInputV1 body) throws ApiException Update a template item for a display- Parameters:
id
- The Seeq ID for the display template (required)body
- (required)- Returns:
- DisplayTemplateOutputV1
- Throws:
ApiException
- if fails to make API call
-
updateTemplateWithHttpInfo
public ApiClient.ApiResponse<DisplayTemplateOutputV1> updateTemplateWithHttpInfo(String id, DisplayTemplateInputV1 body) throws ApiException Update a template item for a display- Parameters:
id
- The Seeq ID for the display template (required)body
- (required)- Throws:
ApiException
- if fails to make API call
-
updateTemplateWithHeadersAndHttpInfo
public ApiClient.ApiResponse<DisplayTemplateOutputV1> updateTemplateWithHeadersAndHttpInfo(String id, DisplayTemplateInputV1 body, Map<String, String> customHeaders) throws ApiExceptionUpdate a template item for a display- Parameters:
id
- The Seeq ID for the display template (required)body
- (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-