Package org.allGraphQLCases.client
Class CTP_Human_CTS
java.lang.Object
org.allGraphQLCases.client.CTP_Human_CTS
- All Implemented Interfaces:
CIP_Character_CIS
,CIP_Commented_CIS
,CIP_Node_CIS
,CIP_WithID_CIS
,CUP_AnyCharacter_CUS
,AllInterfaces1
,AllInterfaces2
,AllTypes1
,AllTypes2
,AllUnions1
,AllUnions2
,AnyCharacterInterface
,CharacterInterface
,HumanInterface
public class CTP_Human_CTS
extends Object
implements CIP_Character_CIS, CIP_Commented_CIS, CIP_WithID_CIS, CIP_Node_CIS, CUP_AnyCharacter_CUS, HumanInterface, AllTypes2, AllTypes1
- Author:
- generated by graphql-java-generator
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The Builder that helps building instance of this POJO. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CTP_Human_CTS.Builder
builder()
getAge()
getAge2()
getAliasValue
(String alias) Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.getId()
getName()
void
set__typename
(String __typename) void
void
void
setAliasValue
(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.void
setAppearsIn
(List<CEP_Episode_CES> appearsIn) void
setBestFriend
(CIP_Character_CIS bestFriend) void
setComments
(List<String> comments) void
setFriends
(List<CIP_Character_CIS> friends) void
setHomePlanet
(String homePlanet) void
void
void
setNbComments
(Integer nbComments) toString()
-
Constructor Details
-
CTP_Human_CTS
public CTP_Human_CTS()
-
-
Method Details
-
setId
- Specified by:
setId
in interfaceCIP_Character_CIS
- Specified by:
setId
in interfaceCIP_Node_CIS
- Specified by:
setId
in interfaceCIP_WithID_CIS
-
getId
- Specified by:
getId
in interfaceCIP_Character_CIS
- Specified by:
getId
in interfaceCIP_Node_CIS
- Specified by:
getId
in interfaceCIP_WithID_CIS
-
setName
- Specified by:
setName
in interfaceCIP_Character_CIS
-
getName
- Specified by:
getName
in interfaceCIP_Character_CIS
-
setBestFriend
-
getBestFriend
-
setFriends
- Specified by:
setFriends
in interfaceCIP_Character_CIS
-
getFriends
- Specified by:
getFriends
in interfaceCIP_Character_CIS
-
getFriendsCharacter
-
setNbComments
- Specified by:
setNbComments
in interfaceCIP_Commented_CIS
-
getNbComments
- Specified by:
getNbComments
in interfaceCIP_Commented_CIS
-
setComments
- Specified by:
setComments
in interfaceCIP_Commented_CIS
-
getComments
- Specified by:
getComments
in interfaceCIP_Commented_CIS
-
getCommentsString
-
setAppearsIn
- Specified by:
setAppearsIn
in interfaceCIP_Character_CIS
-
getAppearsIn
- Specified by:
getAppearsIn
in interfaceCIP_Character_CIS
-
getAppearsInEpisode
-
setHomePlanet
-
getHomePlanet
-
set__typename
- Specified by:
set__typename
in interfaceCIP_Character_CIS
- Specified by:
set__typename
in interfaceCIP_Commented_CIS
- Specified by:
set__typename
in interfaceCIP_Node_CIS
- Specified by:
set__typename
in interfaceCIP_WithID_CIS
-
get__typename
- Specified by:
get__typename
in interfaceCIP_Character_CIS
- Specified by:
get__typename
in interfaceCIP_Commented_CIS
- Specified by:
get__typename
in interfaceCIP_Node_CIS
- Specified by:
get__typename
in interfaceCIP_WithID_CIS
-
setAge
- Specified by:
setAge
in interfaceCIP_Character_CIS
-
getAge
- Specified by:
getAge
in interfaceCIP_Character_CIS
-
setAge2
-
getAge2
-
setAliasValue
This method is called during the json deserialization process, by theGraphQLObjectMapper
, each time an alias value is read from the json.- Specified by:
setAliasValue
in interfaceCIP_Character_CIS
- Specified by:
setAliasValue
in interfaceCIP_Commented_CIS
- Specified by:
setAliasValue
in interfaceCIP_Node_CIS
- Specified by:
setAliasValue
in interfaceCIP_WithID_CIS
- 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:
getAliasValue
in interfaceCIP_Character_CIS
- Specified by:
getAliasValue
in interfaceCIP_Commented_CIS
- Specified by:
getAliasValue
in interfaceCIP_Node_CIS
- Specified by:
getAliasValue
in interfaceCIP_WithID_CIS
- Parameters:
alias
-- Returns:
-
toString
-
builder
-