Class Graphql
- java.lang.Object
-
- org.zaproxy.clientapi.gen.Graphql
-
public class Graphql extends java.lang.ObjectThis file was automatically generated.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiResponseimportFile(java.lang.String endurl, java.lang.String file)Imports a GraphQL Schema from a File.ApiResponseimportUrl(java.lang.String endurl, java.lang.String url)Imports a GraphQL Schema from a URL.ApiResponseoptionArgsType()Returns how arguments are currently specified.ApiResponseoptionLenientMaxQueryDepthEnabled()Returns whether or not lenient maximum query generation depth is enabled.ApiResponseoptionMaxAdditionalQueryDepth()Returns the current maximum additional query generation depth.ApiResponseoptionMaxArgsDepth()Returns the current maximum arguments generation depth.ApiResponseoptionMaxQueryDepth()Returns the current maximum query generation depth.ApiResponseoptionOptionalArgsEnabled()Returns whether or not optional arguments are currently specified.ApiResponseoptionQueryGenEnabled()Returns whether the query generator is enabled.ApiResponseoptionQuerySplitType()Returns the current level for which a single query is generated.ApiResponseoptionRequestMethod()Returns the current request method.ApiResponsesetOptionArgsType(java.lang.String string)Sets how arguments are specified.ApiResponsesetOptionLenientMaxQueryDepthEnabled(boolean bool)Sets whether or not Maximum Query Depth is enforced leniently.ApiResponsesetOptionMaxAdditionalQueryDepth(int i)Sets the maximum additional query generation depth (used if enforced leniently).ApiResponsesetOptionMaxArgsDepth(int i)Sets the maximum arguments generation depth.ApiResponsesetOptionMaxQueryDepth(int i)Sets the maximum query generation depth.ApiResponsesetOptionOptionalArgsEnabled(boolean bool)Sets whether or not Optional Arguments should be specified.ApiResponsesetOptionQueryGenEnabled(boolean bool)Sets whether the query generator is enabled.ApiResponsesetOptionQuerySplitType(java.lang.String string)Sets the level for which a single query is generated.ApiResponsesetOptionRequestMethod(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
-
-