Class GraphQlSchemaIndividualApi
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.GraphQlSchemaIndividualApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAPIGraphQLSchema(String apiId, String accept, String ifNoneMatch) Get the Schema of a GraphQL API This operation can be used to retrieve the Schema definition of a GraphQL API.okhttp3.CallgetAPIGraphQLSchemaAsync(String apiId, String accept, String ifNoneMatch, ApiCallback<GraphQLSchemaDTO> _callback) Get the Schema of a GraphQL API (asynchronously) This operation can be used to retrieve the Schema definition of a GraphQL API.okhttp3.CallgetAPIGraphQLSchemaCall(String apiId, String accept, String ifNoneMatch, ApiCallback _callback) Build call for getAPIGraphQLSchemagetAPIGraphQLSchemaWithHttpInfo(String apiId, String accept, String ifNoneMatch) Get the Schema of a GraphQL API This operation can be used to retrieve the Schema definition of a GraphQL API.voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
GraphQlSchemaIndividualApi
public GraphQlSchemaIndividualApi() -
GraphQlSchemaIndividualApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAPIGraphQLSchemaCall
public okhttp3.Call getAPIGraphQLSchemaCall(String apiId, String accept, String ifNoneMatch, ApiCallback _callback) throws ApiException Build call for getAPIGraphQLSchema- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)accept- Media types acceptable for the response. Default is application/json. (optional, default to "application/json")ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAPIGraphQLSchema
public GraphQLSchemaDTO getAPIGraphQLSchema(String apiId, String accept, String ifNoneMatch) throws ApiException Get the Schema of a GraphQL API This operation can be used to retrieve the Schema definition of a GraphQL API.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)accept- Media types acceptable for the response. Default is application/json. (optional, default to "application/json")ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)- Returns:
- GraphQLSchemaDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIGraphQLSchemaWithHttpInfo
public ApiResponse<GraphQLSchemaDTO> getAPIGraphQLSchemaWithHttpInfo(String apiId, String accept, String ifNoneMatch) throws ApiException Get the Schema of a GraphQL API This operation can be used to retrieve the Schema definition of a GraphQL API.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)accept- Media types acceptable for the response. Default is application/json. (optional, default to "application/json")ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)- Returns:
- ApiResponse<GraphQLSchemaDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIGraphQLSchemaAsync
public okhttp3.Call getAPIGraphQLSchemaAsync(String apiId, String accept, String ifNoneMatch, ApiCallback<GraphQLSchemaDTO> _callback) throws ApiException Get the Schema of a GraphQL API (asynchronously) This operation can be used to retrieve the Schema definition of a GraphQL API.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)accept- Media types acceptable for the response. Default is application/json. (optional, default to "application/json")ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (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
-