Enum InputParameter.InputParameterType
java.lang.Object
java.lang.Enum<InputParameter.InputParameterType>
com.graphql_java_generator.client.request.InputParameter.InputParameterType
- All Implemented Interfaces:
Serializable
,Comparable<InputParameter.InputParameterType>
,java.lang.constant.Constable
- Enclosing class:
- InputParameter
public static enum InputParameter.InputParameterType
extends Enum<InputParameter.InputParameterType>
Indicates the kind of parameter
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA GraphQL value provided in the request being parsedA GraphQL variable, marked by a '$', that will be transmitted to the server in the variables json attribute of the requestForInputParameter
which value is given in the request being parsedA mandatoryInputParameter
, that is one which declaration starts with a '&'An optionalInputParameter
, that is one which declaration starts with a '?' -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static InputParameter.InputParameterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HARD_CODED
ForInputParameter
which value is given in the request being parsed -
MANDATORY
A mandatoryInputParameter
, that is one which declaration starts with a '&' -
OPTIONAL
An optionalInputParameter
, that is one which declaration starts with a '?' -
GRAPHQL_VALUE
A GraphQL value provided in the request being parsed -
GRAPHQL_VARIABLE
A GraphQL variable, marked by a '$', that will be transmitted to the server in the variables json attribute of the request
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-