Package org.allGraphQLCases.client2
Class MyQueryType.Builder
java.lang.Object
org.allGraphQLCases.client2.MyQueryType.Builder
- Enclosing class:
- MyQueryType
The Builder that helps building instance of this POJO. You can get an instance of this class, by calling the
MyQueryType.builder()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
with__schema
(__Schema __schemaParam) with__type
(__Type __typeParam) withABreak
(_break aBreakParam) Check for GraphQL identifier that are java keywordswithAllFieldCases
(AllFieldCases allFieldCasesParam) ################################################################################ # Complementary tests with the AllFieldCases ObjectwithCheckOverriddenController
(String checkOverriddenControllerParam) withConnectionOnHuman
(HumanConnection connectionOnHumanParam) withConnectionWithoutParameters
(CharacterConnection connectionWithoutParametersParam) withDirectiveOnField
(Character directiveOnFieldParam) # Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuerywithDirectiveOnQuery
(List<String> directiveOnQueryParam) # Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery querywithEnumWithReservedJavaKeywordAsValues
(EnumWithReservedJavaKeywordAsValues enumWithReservedJavaKeywordAsValuesParam) test for issue #139 (use of java reserved keyword)################################################################################ # error always returns an error!withFoo140
(Foo140 foo140Param) test for issue #140 (error for type that implements multiple interfaces)withImplements
(String _implementsParam) Test for PR 177 (on server side, the returned value is the content of the if input parameter)withImport
(String _importParam) withInstanceof
(String _instanceofParam) withInterface
(String _interfaceParam) withIssue128
(Client issue128Param) test for issue #128 (compilation error when a Query returns a type 'Client')withIssue200
(Boolean issue200Param) withIssue217
(String Issue217Param) Issue 217: issue when a field name starts with an uppercase letterwithIssue53
(Date issue53Param) #issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserializedwithIssue82Float
(Double issue82FloatParam) #issue82 is about hard coded values as parameters.withIssue82ID
(String issue82IDParam) withJson
(com.fasterxml.jackson.databind.node.ObjectNode jsonParam) Test of JSON scalar, for issue #205withJsonsWithInput
(List<TypeWithJson> jsonsWithInputParam) withJsonWithInput
(TypeWithJson jsonWithInputParam) withListOfEnumWithReservedJavaKeywordAsValues
(List<EnumWithReservedJavaKeywordAsValues> listOfEnumWithReservedJavaKeywordAsValuesParam) withNative
(String _nativeParam) Issue #188: null is not identified as a java keywordwithObject
(Object objectParam) withObjects
(List<Object> objectsParam) withObjectsWithInput
(List<TypeWithObject> objectsWithInputParam) withObjectWithInput
(TypeWithObject objectWithInputParam) withPackage
(String _packageParam) withPrivate
(String _privateParam) withProtected
(String _protectedParam) withPublic
(String _publicParam) withRelay
(MyQueryType relayParam) withReservedJavaKeywordAllFieldCases
(ReservedJavaKeywordAllFieldCases reservedJavaKeywordAllFieldCasesParam) withReturn
(String _returnParam) withReturnEnum
(EnumWithReservedJavaKeywordAsValues returnEnumParam) withReturnListOfEnums
(List<EnumWithReservedJavaKeywordAsValues> returnListOfEnumsParam) withReturnListOfListOfEnums
(List<List<EnumWithReservedJavaKeywordAsValues>> returnListOfListOfEnumsParam) withReturnListOfMandatoryEnums
(List<EnumWithReservedJavaKeywordAsValues> returnListOfMandatoryEnumsParam) withReturnMandatoryEnum
(EnumWithReservedJavaKeywordAsValues returnMandatoryEnumParam) withReturnMandatoryListOfEnums
(List<EnumWithReservedJavaKeywordAsValues> returnMandatoryListOfEnumsParam) withReturnMandatoryListOfMandatoryEnums
(List<EnumWithReservedJavaKeywordAsValues> returnMandatoryListOfMandatoryEnumsParam) withStatic
(String _staticParam) withStrictfp
(String _strictfpParam) withSwitch
(String _switchParam) withSynchronized
(String _synchronizedParam) withTestBase64String
(byte[] testBase64StringParam) Test for issue #174: a custom scalar which Java type is an arraywithThrows
(String _throwsParam) withTransient
(String _transientParam) withUnionTest
(List<AnyCharacter> unionTestParam) ################################################################################ # Test for unionswithVolatile
(String _volatileParam) withWithEnum
(Character withEnumParam) withWithList
(List<Character> withListParam) ################################################################################ # withList return a list of Characters, matching the given list of CharacterInputwithWithListOfList
(AllFieldCases withListOfListParam) withWithOneMandatoryParam
(Character withOneMandatoryParamParam) withWithOneMandatoryParamDefaultValue
(Integer withOneMandatoryParamDefaultValueParam) withWithOneOptionalParam
(Character withOneOptionalParamParam) withWithoutParameters
(List<Character> withoutParametersParam) This is a description to describe the field withoutParameters on two lineswithWithTwoMandatoryParamDefaultVal
(Droid withTwoMandatoryParamDefaultValParam)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withWithoutParameters
This is a description to describe the field withoutParameters on two lines -
withWithOneOptionalParam
-
withWithOneMandatoryParam
-
withWithOneMandatoryParamDefaultValue
public MyQueryType.Builder withWithOneMandatoryParamDefaultValue(Integer withOneMandatoryParamDefaultValueParam) -
withWithTwoMandatoryParamDefaultVal
public MyQueryType.Builder withWithTwoMandatoryParamDefaultVal(Droid withTwoMandatoryParamDefaultValParam) -
withWithEnum
-
withWithListOfList
-
withWithList
################################################################################ # withList return a list of Characters, matching the given list of CharacterInput. # The name of the first Character returned is replaced by the given firstName. # All ids are generated -
withAllFieldCases
################################################################################ # Complementary tests with the AllFieldCases Object -
withUnionTest
################################################################################ # Test for unions -
withError
################################################################################ # error always returns an error! (used to check the error management) -
withABreak
Check for GraphQL identifier that are java keywords -
withDirectiveOnQuery
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query. # List is null if the directive is not present. -
withDirectiveOnField
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery. # List is null if the directive is not present. -
withReturnEnum
-
withReturnMandatoryEnum
public MyQueryType.Builder withReturnMandatoryEnum(EnumWithReservedJavaKeywordAsValues returnMandatoryEnumParam) -
withReturnListOfEnums
public MyQueryType.Builder withReturnListOfEnums(List<EnumWithReservedJavaKeywordAsValues> returnListOfEnumsParam) -
withReturnListOfListOfEnums
public MyQueryType.Builder withReturnListOfListOfEnums(List<List<EnumWithReservedJavaKeywordAsValues>> returnListOfListOfEnumsParam) -
withReturnListOfMandatoryEnums
public MyQueryType.Builder withReturnListOfMandatoryEnums(List<EnumWithReservedJavaKeywordAsValues> returnListOfMandatoryEnumsParam) -
withReturnMandatoryListOfEnums
public MyQueryType.Builder withReturnMandatoryListOfEnums(List<EnumWithReservedJavaKeywordAsValues> returnMandatoryListOfEnumsParam) -
withReturnMandatoryListOfMandatoryEnums
public MyQueryType.Builder withReturnMandatoryListOfMandatoryEnums(List<EnumWithReservedJavaKeywordAsValues> returnMandatoryListOfMandatoryEnumsParam) -
withConnectionWithoutParameters
public MyQueryType.Builder withConnectionWithoutParameters(CharacterConnection connectionWithoutParametersParam) -
withConnectionOnHuman
-
withCheckOverriddenController
-
withIssue53
#issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized -
withIssue200
-
withIssue82Float
#issue82 is about hard coded values as parameters. Other types are tests with other queries, but there was no method with a simple float parameter -
withIssue82ID
-
withIssue217
Issue 217: issue when a field name starts with an uppercase letter -
withIssue128
test for issue #128 (compilation error when a Query returns a type 'Client') -
withEnumWithReservedJavaKeywordAsValues
public MyQueryType.Builder withEnumWithReservedJavaKeywordAsValues(EnumWithReservedJavaKeywordAsValues enumWithReservedJavaKeywordAsValuesParam) test for issue #139 (use of java reserved keyword) -
withListOfEnumWithReservedJavaKeywordAsValues
public MyQueryType.Builder withListOfEnumWithReservedJavaKeywordAsValues(List<EnumWithReservedJavaKeywordAsValues> listOfEnumWithReservedJavaKeywordAsValuesParam) -
withReservedJavaKeywordAllFieldCases
public MyQueryType.Builder withReservedJavaKeywordAllFieldCases(ReservedJavaKeywordAllFieldCases reservedJavaKeywordAllFieldCasesParam) -
withIf
-
withImplements
Test for PR 177 (on server side, the returned value is the content of the if input parameter) -
withImport
-
withInstanceof
-
withInt
-
withInterface
-
withLong
-
withNative
-
withNew
-
withNull
Issue #188: null is not identified as a java keyword -
withPackage
-
withPrivate
-
withProtected
-
withPublic
-
withReturn
-
withShort
-
withStatic
-
withStrictfp
-
withSuper
-
withSwitch
-
withSynchronized
-
withThis
-
withThrow
-
withThrows
-
withTransient
-
withTry
-
withVoid
-
withVolatile
-
withWhile
-
withFoo140
test for issue #140 (error for type that implements multiple interfaces) -
withTestBase64String
Test for issue #174: a custom scalar which Java type is an array -
withJson
Test of JSON scalar, for issue #205 -
withJsons
public MyQueryType.Builder withJsons(List<com.fasterxml.jackson.databind.node.ObjectNode> jsonsParam) -
withJsonWithInput
-
withJsonsWithInput
-
withObject
-
withObjects
-
withObjectWithInput
-
withObjectsWithInput
-
withRelay
-
with__schema
-
with__type
-
build
-