Class AllFieldCases
java.lang.Object
com.graphql_java_generator.domain.client.allGraphQLCases.AllFieldCases
- All Implemented Interfaces:
interfaceToTestExtendKeyword,WithID
This type is a clone of the InterfaceAllFieldCases interface. Both should contains all possible combinations of
parameters, data type, list, mandatory field or items...
- Author:
- generated by graphql-java-generator
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe Builder that helps building instance of this POJO. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AllFieldCases.Builderbuilder()getAge()getAliasValue(String alias) Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.getBreak()getDate()getDates()getId()getName()voidset__typename(String __typename) voidvoidvoidsetAliases(List<String> aliases) voidsetAliasValue(String aliasName, Object aliasDeserializedValue) This method is called during the json deserialization process, by theGraphQLObjectMapper, each time an alias value is read from the json.voidsetBooleans(List<Boolean> booleans) voidvoidsetComments(List<String> comments) voidvoidvoidsetDateTime(OffsetDateTime dateTime) voidsetExtendedField(String extendedField) voidsetForname(String forname) voidsetFriends(List<Human> friends) voidvoidsetIssue65(List<AllFieldCasesWithoutIdSubtype> issue65) voidsetIssue66(AllFieldCases issue66) voidsetListWithIdSubTypes(List<AllFieldCasesWithIdSubtype> listWithIdSubTypes) voidsetListWithoutIdSubTypes(List<AllFieldCasesWithoutIdSubtype> listWithoutIdSubTypes) voidvoidvoidsetNbComments(Integer nbComments) voidsetOneWithIdSubType(AllFieldCasesWithIdSubtype oneWithIdSubType) voidsetOneWithoutIdSubType(AllFieldCasesWithoutIdSubtype oneWithoutIdSubType) voidsetPlanets(List<String> planets) toString()
-
Constructor Details
-
AllFieldCases
public AllFieldCases()
-
-
Method Details
-
setId
-
getId
-
setName
-
getName
-
setForname
-
getForname
-
setBreak
-
getBreak
-
setAge
-
getAge
-
setAFloat
-
getAFloat
-
setDate
-
getDate
-
setDateTime
-
getDateTime
-
setDates
-
getDates
-
setNbComments
-
getNbComments
-
setComments
-
getComments
-
setBooleans
-
getBooleans
-
setAliases
-
getAliases
-
setPlanets
-
getPlanets
-
setFriends
-
getFriends
-
setMatrix
-
getMatrix
-
setOneWithIdSubType
-
getOneWithIdSubType
-
setListWithIdSubTypes
-
getListWithIdSubTypes
-
setOneWithoutIdSubType
-
getOneWithoutIdSubType
-
setListWithoutIdSubTypes
-
getListWithoutIdSubTypes
-
setIssue65
-
getIssue65
-
setIssue66
-
getIssue66
-
setExtendedField
- Specified by:
setExtendedFieldin interfaceinterfaceToTestExtendKeyword
-
getExtendedField
- Specified by:
getExtendedFieldin interfaceinterfaceToTestExtendKeyword
-
set__typename
- Specified by:
set__typenamein interfaceinterfaceToTestExtendKeyword- Specified by:
set__typenamein interfaceWithID
-
get__typename
- Specified by:
get__typenamein interfaceinterfaceToTestExtendKeyword- Specified by:
get__typenamein interfaceWithID
-
setAliasValue
This method is called during the json deserialization process, by theGraphQLObjectMapper, each time an alias value is read from the json.- Specified by:
setAliasValuein interfaceinterfaceToTestExtendKeyword- Specified by:
setAliasValuein interfaceWithID- Parameters:
aliasName-aliasDeserializedValue-
-
getAliasValue
Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.
This method should not be used for Custom Scalars, as the parser doesn't know if this alias is a custom scalar, and which custom scalar to use at deserialization time. In most case, a value will then be provided by this method with a basis json deserialization, but this value won't be the proper custom scalar value.- Specified by:
getAliasValuein interfaceinterfaceToTestExtendKeyword- Specified by:
getAliasValuein interfaceWithID- Parameters:
alias-- Returns:
-
toString
-
builder
-