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
ClientApiException
public ApiResponse optionLenientMaxQueryDepthEnabled() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse optionMaxAdditionalQueryDepth() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse optionMaxArgsDepth() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse optionMaxQueryDepth() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse optionOptionalArgsEnabled() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse optionQuerySplitType() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse optionRequestMethod() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public 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
ClientApiException
public 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
ClientApiException
public ApiResponse setOptionArgsType(java.lang.String string) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse setOptionQuerySplitType(java.lang.String string) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse setOptionRequestMethod(java.lang.String string) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse setOptionLenientMaxQueryDepthEnabled(boolean bool) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse setOptionMaxAdditionalQueryDepth(int i) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse setOptionMaxArgsDepth(int i) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse setOptionMaxQueryDepth(int i) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse setOptionOptionalArgsEnabled(boolean bool) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException