public class Graphql
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
ApiResponse |
importFile(java.lang.String endurl,
java.lang.String file)
Imports a GraphQL Schema from a File.
|
ApiResponse |
importUrl(java.lang.String endurl,
java.lang.String url)
Imports a GraphQL Schema from a URL.
|
ApiResponse |
optionArgsType()
Returns how arguments are currently specified.
|
ApiResponse |
optionLenientMaxQueryDepthEnabled()
Returns whether or not lenient maximum query generation depth is enabled.
|
ApiResponse |
optionMaxAdditionalQueryDepth()
Returns the current maximum additional query generation depth.
|
ApiResponse |
optionMaxArgsDepth()
Returns the current maximum arguments generation depth.
|
ApiResponse |
optionMaxQueryDepth()
Returns the current maximum query generation depth.
|
ApiResponse |
optionOptionalArgsEnabled()
Returns whether or not optional arguments are currently specified.
|
ApiResponse |
optionQuerySplitType()
Returns the current level for which a single query is generated.
|
ApiResponse |
optionRequestMethod()
Returns the current request method.
|
ApiResponse |
setOptionArgsType(java.lang.String string)
Sets how arguments are specified.
|
ApiResponse |
setOptionLenientMaxQueryDepthEnabled(boolean bool)
Sets whether or not Maximum Query Depth is enforced leniently.
|
ApiResponse |
setOptionMaxAdditionalQueryDepth(int i)
Sets the maximum additional query generation depth (used if enforced leniently).
|
ApiResponse |
setOptionMaxArgsDepth(int i)
Sets the maximum arguments generation depth.
|
ApiResponse |
setOptionMaxQueryDepth(int i)
Sets the maximum query generation depth.
|
ApiResponse |
setOptionOptionalArgsEnabled(boolean bool)
Sets whether or not Optional Arguments should be specified.
|
ApiResponse |
setOptionQuerySplitType(java.lang.String string)
Sets the level for which a single query is generated.
|
ApiResponse |
setOptionRequestMethod(java.lang.String string)
Sets the request method.
|
public Graphql(ClientApi api)
public ApiResponse optionArgsType() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse optionLenientMaxQueryDepthEnabled() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse optionMaxAdditionalQueryDepth() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse optionMaxArgsDepth() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse optionMaxQueryDepth() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse optionOptionalArgsEnabled() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse optionQuerySplitType() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse optionRequestMethod() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse importFile(java.lang.String endurl, java.lang.String file) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse importUrl(java.lang.String endurl, java.lang.String url) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse setOptionArgsType(java.lang.String string) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse setOptionQuerySplitType(java.lang.String string) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse setOptionRequestMethod(java.lang.String string) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse setOptionLenientMaxQueryDepthEnabled(boolean bool) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse setOptionMaxAdditionalQueryDepth(int i) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse setOptionMaxArgsDepth(int i) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse setOptionMaxQueryDepth(int i) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse setOptionOptionalArgsEnabled(boolean bool) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException