Class TagsApi
- java.lang.Object
-
- org.wso2.am.integration.clients.store.api.v1.TagsApi
-
public class TagsApi extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)TagListDTOtagsGet(Integer limit, Integer offset, String xWSO2Tenant, String ifNoneMatch)Get All Tags This operation can be used to retrieve a list of tags that are already added to APIs.okhttp3.CalltagsGetAsync(Integer limit, Integer offset, String xWSO2Tenant, String ifNoneMatch, ApiCallback<TagListDTO> _callback)Get All Tags (asynchronously) This operation can be used to retrieve a list of tags that are already added to APIs.okhttp3.CalltagsGetCall(Integer limit, Integer offset, String xWSO2Tenant, String ifNoneMatch, ApiCallback _callback)Build call for tagsGetApiResponse<TagListDTO>tagsGetWithHttpInfo(Integer limit, Integer offset, String xWSO2Tenant, String ifNoneMatch)Get All Tags This operation can be used to retrieve a list of tags that are already added to APIs.
-
-
-
Constructor Detail
-
TagsApi
public TagsApi()
-
TagsApi
public TagsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
tagsGetCall
public okhttp3.Call tagsGetCall(Integer limit, Integer offset, String xWSO2Tenant, String ifNoneMatch, ApiCallback _callback) throws ApiException
Build call for tagsGet- Parameters:
limit- Maximum size of resource array to return. (optional, default to 25)offset- Starting point within the complete list of items qualified. (optional, default to 0)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
tagsGet
public TagListDTO tagsGet(Integer limit, Integer offset, String xWSO2Tenant, String ifNoneMatch) throws ApiException
Get All Tags This operation can be used to retrieve a list of tags that are already added to APIs. `X-WSO2-Tenant` header can be used to retrive tags that belongs to a different tenant domain. If not specified super tenant will be used. If Authorization header is present in the request, the user's tenant associated with the access token will be used. **NOTE:** * This operation does not require an Authorization header by default. But in order to see a restricted API's tags, you need to provide Authorization header.- Parameters:
limit- Maximum size of resource array to return. (optional, default to 25)offset- Starting point within the complete list of items qualified. (optional, default to 0)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)- Returns:
- TagListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
tagsGetWithHttpInfo
public ApiResponse<TagListDTO> tagsGetWithHttpInfo(Integer limit, Integer offset, String xWSO2Tenant, String ifNoneMatch) throws ApiException
Get All Tags This operation can be used to retrieve a list of tags that are already added to APIs. `X-WSO2-Tenant` header can be used to retrive tags that belongs to a different tenant domain. If not specified super tenant will be used. If Authorization header is present in the request, the user's tenant associated with the access token will be used. **NOTE:** * This operation does not require an Authorization header by default. But in order to see a restricted API's tags, you need to provide Authorization header.- Parameters:
limit- Maximum size of resource array to return. (optional, default to 25)offset- Starting point within the complete list of items qualified. (optional, default to 0)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)- Returns:
- ApiResponse<TagListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
tagsGetAsync
public okhttp3.Call tagsGetAsync(Integer limit, Integer offset, String xWSO2Tenant, String ifNoneMatch, ApiCallback<TagListDTO> _callback) throws ApiException
Get All Tags (asynchronously) This operation can be used to retrieve a list of tags that are already added to APIs. `X-WSO2-Tenant` header can be used to retrive tags that belongs to a different tenant domain. If not specified super tenant will be used. If Authorization header is present in the request, the user's tenant associated with the access token will be used. **NOTE:** * This operation does not require an Authorization header by default. But in order to see a restricted API's tags, you need to provide Authorization header.- Parameters:
limit- Maximum size of resource array to return. (optional, default to 25)offset- Starting point within the complete list of items qualified. (optional, default to 0)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)_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
-
-