public class GraphQlSchemaApi extends Object
| Constructor and Description |
|---|
GraphQlSchemaApi() |
GraphQlSchemaApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
apisApiIdGraphqlSchemaPut(String apiId,
String schemaDefinition,
String ifMatch)
Add a Schema to a GraphQL API
This operation can be used to add a GraphQL Schema definition to an existing GraphQL API.
|
com.squareup.okhttp.Call |
apisApiIdGraphqlSchemaPutAsync(String apiId,
String schemaDefinition,
String ifMatch,
ApiCallback<Void> callback)
Add a Schema to a GraphQL API (asynchronously)
This operation can be used to add a GraphQL Schema definition to an existing GraphQL API.
|
com.squareup.okhttp.Call |
apisApiIdGraphqlSchemaPutCall(String apiId,
String schemaDefinition,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdGraphqlSchemaPut
|
ApiResponse<Void> |
apisApiIdGraphqlSchemaPutWithHttpInfo(String apiId,
String schemaDefinition,
String ifMatch)
Add a Schema to a GraphQL API
This operation can be used to add a GraphQL Schema definition to an existing GraphQL API.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public GraphQlSchemaApi()
public GraphQlSchemaApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call apisApiIdGraphqlSchemaPutCall(String apiId, String schemaDefinition, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)schemaDefinition - schema definition of the GraphQL API (required)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void apisApiIdGraphqlSchemaPut(String apiId, String schemaDefinition, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)schemaDefinition - schema definition of the GraphQL API (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apisApiIdGraphqlSchemaPutWithHttpInfo(String apiId, String schemaDefinition, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)schemaDefinition - schema definition of the GraphQL API (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdGraphqlSchemaPutAsync(String apiId, String schemaDefinition, String ifMatch, ApiCallback<Void> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)schemaDefinition - schema definition of the GraphQL API (required)ifMatch - Validator for conditional requests; based on ETag. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2020 WSO2 Inc. All rights reserved.