Class Graphql
- java.lang.Object
-
- org.zaproxy.clientapi.gen.Graphql
-
public class Graphql extends java.lang.Object
This file was automatically generated.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
optionQueryGenEnabled()
Returns whether the query generator is enabled.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
setOptionQueryGenEnabled(boolean bool)
Sets whether the query generator is enabled.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.
-
-
-
Constructor Detail
-
Graphql
public Graphql(ClientApi api)
-
-
Method Detail
-
optionArgsType
public ApiResponse optionArgsType() throws ClientApiException
Returns how arguments are currently specified.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionLenientMaxQueryDepthEnabled
public ApiResponse optionLenientMaxQueryDepthEnabled() throws ClientApiException
Returns whether or not lenient maximum query generation depth is enabled.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionMaxAdditionalQueryDepth
public ApiResponse optionMaxAdditionalQueryDepth() throws ClientApiException
Returns the current maximum additional query generation depth.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionMaxArgsDepth
public ApiResponse optionMaxArgsDepth() throws ClientApiException
Returns the current maximum arguments generation depth.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionMaxQueryDepth
public ApiResponse optionMaxQueryDepth() throws ClientApiException
Returns the current maximum query generation depth.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionOptionalArgsEnabled
public ApiResponse optionOptionalArgsEnabled() throws ClientApiException
Returns whether or not optional arguments are currently specified.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionQueryGenEnabled
public ApiResponse optionQueryGenEnabled() throws ClientApiException
Returns whether the query generator is enabled.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionQuerySplitType
public ApiResponse optionQuerySplitType() throws ClientApiException
Returns the current level for which a single query is generated.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionRequestMethod
public ApiResponse optionRequestMethod() throws ClientApiException
Returns the current request method.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
importFile
public ApiResponse importFile(java.lang.String endurl, java.lang.String file) throws ClientApiException
Imports a GraphQL Schema from a File.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
importUrl
public ApiResponse importUrl(java.lang.String endurl, java.lang.String url) throws ClientApiException
Imports a GraphQL Schema from a URL.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionArgsType
public ApiResponse setOptionArgsType(java.lang.String string) throws ClientApiException
Sets how arguments are specified.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionQuerySplitType
public ApiResponse setOptionQuerySplitType(java.lang.String string) throws ClientApiException
Sets the level for which a single query is generated.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionRequestMethod
public ApiResponse setOptionRequestMethod(java.lang.String string) throws ClientApiException
Sets the request method.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionLenientMaxQueryDepthEnabled
public ApiResponse setOptionLenientMaxQueryDepthEnabled(boolean bool) throws ClientApiException
Sets whether or not Maximum Query Depth is enforced leniently.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionMaxAdditionalQueryDepth
public ApiResponse setOptionMaxAdditionalQueryDepth(int i) throws ClientApiException
Sets the maximum additional query generation depth (used if enforced leniently).This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionMaxArgsDepth
public ApiResponse setOptionMaxArgsDepth(int i) throws ClientApiException
Sets the maximum arguments generation depth.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionMaxQueryDepth
public ApiResponse setOptionMaxQueryDepth(int i) throws ClientApiException
Sets the maximum query generation depth.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionOptionalArgsEnabled
public ApiResponse setOptionOptionalArgsEnabled(boolean bool) throws ClientApiException
Sets whether or not Optional Arguments should be specified.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionQueryGenEnabled
public ApiResponse setOptionQueryGenEnabled(boolean bool) throws ClientApiException
Sets whether the query generator is enabled.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
-