Enum Class 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>,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 ConstantsEnum 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 requestForInputParameterwhich value is given in the request being parsedA mandatoryInputParameter, that is one which declaration starts with a 'invalid input: '&''An optionalInputParameter, that is one which declaration starts with a '?' -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static InputParameter.InputParameterType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HARD_CODED
ForInputParameterwhich value is given in the request being parsed -
MANDATORY
A mandatoryInputParameter, that is one which declaration starts with a 'invalid input: '&'' -
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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-