Class GraphQlPoliciesApi
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.GraphQlPoliciesApi
-
public class GraphQlPoliciesApi extends Object
-
-
Constructor Summary
Constructors Constructor Description GraphQlPoliciesApi()GraphQlPoliciesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()GraphQLQueryComplexityInfoDTOgetGraphQLPolicyComplexityOfAPI(String apiId)Get the Complexity Related Details of an API This operation can be used to retrieve complexity related details belonging to an API by providing the API id.okhttp3.CallgetGraphQLPolicyComplexityOfAPIAsync(String apiId, ApiCallback<GraphQLQueryComplexityInfoDTO> _callback)Get the Complexity Related Details of an API (asynchronously) This operation can be used to retrieve complexity related details belonging to an API by providing the API id.okhttp3.CallgetGraphQLPolicyComplexityOfAPICall(String apiId, ApiCallback _callback)Build call for getGraphQLPolicyComplexityOfAPIApiResponse<GraphQLQueryComplexityInfoDTO>getGraphQLPolicyComplexityOfAPIWithHttpInfo(String apiId)Get the Complexity Related Details of an API This operation can be used to retrieve complexity related details belonging to an API by providing the API id.GraphQLSchemaTypeListDTOgetGraphQLPolicyComplexityTypesOfAPI(String apiId)Retrieve Types and Fields of a GraphQL Schema This operation can be used to retrieve all types and fields of the GraphQL Schema by providing the API id.okhttp3.CallgetGraphQLPolicyComplexityTypesOfAPIAsync(String apiId, ApiCallback<GraphQLSchemaTypeListDTO> _callback)Retrieve Types and Fields of a GraphQL Schema (asynchronously) This operation can be used to retrieve all types and fields of the GraphQL Schema by providing the API id.okhttp3.CallgetGraphQLPolicyComplexityTypesOfAPICall(String apiId, ApiCallback _callback)Build call for getGraphQLPolicyComplexityTypesOfAPIApiResponse<GraphQLSchemaTypeListDTO>getGraphQLPolicyComplexityTypesOfAPIWithHttpInfo(String apiId)Retrieve Types and Fields of a GraphQL Schema This operation can be used to retrieve all types and fields of the GraphQL Schema by providing the API id.voidsetApiClient(ApiClient apiClient)voidupdateGraphQLPolicyComplexityOfAPI(String apiId, GraphQLQueryComplexityInfoDTO graphQLQueryComplexityInfoDTO)Update Complexity Related Details of an API This operation can be used to update complexity details belonging to an API by providing the id of the API.okhttp3.CallupdateGraphQLPolicyComplexityOfAPIAsync(String apiId, GraphQLQueryComplexityInfoDTO graphQLQueryComplexityInfoDTO, ApiCallback<Void> _callback)Update Complexity Related Details of an API (asynchronously) This operation can be used to update complexity details belonging to an API by providing the id of the API.okhttp3.CallupdateGraphQLPolicyComplexityOfAPICall(String apiId, GraphQLQueryComplexityInfoDTO graphQLQueryComplexityInfoDTO, ApiCallback _callback)Build call for updateGraphQLPolicyComplexityOfAPIApiResponse<Void>updateGraphQLPolicyComplexityOfAPIWithHttpInfo(String apiId, GraphQLQueryComplexityInfoDTO graphQLQueryComplexityInfoDTO)Update Complexity Related Details of an API This operation can be used to update complexity details belonging to an API by providing the id of the API.
-
-
-
Constructor Detail
-
GraphQlPoliciesApi
public GraphQlPoliciesApi()
-
GraphQlPoliciesApi
public GraphQlPoliciesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getGraphQLPolicyComplexityOfAPICall
public okhttp3.Call getGraphQLPolicyComplexityOfAPICall(String apiId, ApiCallback _callback) throws ApiException
Build call for getGraphQLPolicyComplexityOfAPI- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getGraphQLPolicyComplexityOfAPI
public GraphQLQueryComplexityInfoDTO getGraphQLPolicyComplexityOfAPI(String apiId) throws ApiException
Get the Complexity Related Details of an API This operation can be used to retrieve complexity related details belonging to an API by providing the API id.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)- Returns:
- GraphQLQueryComplexityInfoDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getGraphQLPolicyComplexityOfAPIWithHttpInfo
public ApiResponse<GraphQLQueryComplexityInfoDTO> getGraphQLPolicyComplexityOfAPIWithHttpInfo(String apiId) throws ApiException
Get the Complexity Related Details of an API This operation can be used to retrieve complexity related details belonging to an API by providing the API id.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)- Returns:
- ApiResponse<GraphQLQueryComplexityInfoDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getGraphQLPolicyComplexityOfAPIAsync
public okhttp3.Call getGraphQLPolicyComplexityOfAPIAsync(String apiId, ApiCallback<GraphQLQueryComplexityInfoDTO> _callback) throws ApiException
Get the Complexity Related Details of an API (asynchronously) This operation can be used to retrieve complexity related details belonging to an API by providing the API id.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)_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
-
getGraphQLPolicyComplexityTypesOfAPICall
public okhttp3.Call getGraphQLPolicyComplexityTypesOfAPICall(String apiId, ApiCallback _callback) throws ApiException
Build call for getGraphQLPolicyComplexityTypesOfAPI- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getGraphQLPolicyComplexityTypesOfAPI
public GraphQLSchemaTypeListDTO getGraphQLPolicyComplexityTypesOfAPI(String apiId) throws ApiException
Retrieve Types and Fields of a GraphQL Schema This operation can be used to retrieve all types and fields of the GraphQL Schema by providing the API id.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)- Returns:
- GraphQLSchemaTypeListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getGraphQLPolicyComplexityTypesOfAPIWithHttpInfo
public ApiResponse<GraphQLSchemaTypeListDTO> getGraphQLPolicyComplexityTypesOfAPIWithHttpInfo(String apiId) throws ApiException
Retrieve Types and Fields of a GraphQL Schema This operation can be used to retrieve all types and fields of the GraphQL Schema by providing the API id.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)- Returns:
- ApiResponse<GraphQLSchemaTypeListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getGraphQLPolicyComplexityTypesOfAPIAsync
public okhttp3.Call getGraphQLPolicyComplexityTypesOfAPIAsync(String apiId, ApiCallback<GraphQLSchemaTypeListDTO> _callback) throws ApiException
Retrieve Types and Fields of a GraphQL Schema (asynchronously) This operation can be used to retrieve all types and fields of the GraphQL Schema by providing the API id.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)_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
-
updateGraphQLPolicyComplexityOfAPICall
public okhttp3.Call updateGraphQLPolicyComplexityOfAPICall(String apiId, GraphQLQueryComplexityInfoDTO graphQLQueryComplexityInfoDTO, ApiCallback _callback) throws ApiException
Build call for updateGraphQLPolicyComplexityOfAPI- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)graphQLQueryComplexityInfoDTO- Role-depth mapping that needs to be added (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
updateGraphQLPolicyComplexityOfAPI
public void updateGraphQLPolicyComplexityOfAPI(String apiId, GraphQLQueryComplexityInfoDTO graphQLQueryComplexityInfoDTO) throws ApiException
Update Complexity Related Details of an API This operation can be used to update complexity details belonging to an API by providing the id of the API.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)graphQLQueryComplexityInfoDTO- Role-depth mapping that needs to be added (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateGraphQLPolicyComplexityOfAPIWithHttpInfo
public ApiResponse<Void> updateGraphQLPolicyComplexityOfAPIWithHttpInfo(String apiId, GraphQLQueryComplexityInfoDTO graphQLQueryComplexityInfoDTO) throws ApiException
Update Complexity Related Details of an API This operation can be used to update complexity details belonging to an API by providing the id of the API.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)graphQLQueryComplexityInfoDTO- Role-depth mapping that needs to be added (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateGraphQLPolicyComplexityOfAPIAsync
public okhttp3.Call updateGraphQLPolicyComplexityOfAPIAsync(String apiId, GraphQLQueryComplexityInfoDTO graphQLQueryComplexityInfoDTO, ApiCallback<Void> _callback) throws ApiException
Update Complexity Related Details of an API (asynchronously) This operation can be used to update complexity details belonging to an API by providing the id of the API.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)graphQLQueryComplexityInfoDTO- Role-depth mapping that needs to be added (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
-
-