Class Graphql

java.lang.Object
org.zaproxy.clientapi.gen.Graphql

public class Graphql extends Object
This file was automatically generated.
  • Constructor Details

  • Method Details

    • 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(String endurl, 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(String endurl, 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(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(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(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