Package com.generated.graphql
Class Droid
java.lang.Object
com.generated.graphql.Droid
- All Implemented Interfaces:
Character
- 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 Droid.Builder
builder()
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
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<Episode> appearsIn) void
setFriends
(List<Character> friends) void
void
void
setPrimaryFunction
(String primaryFunction) toString()
-
Constructor Details
-
Droid
public Droid()
-
-
Method Details
-
setId
-
getId
-
setName
-
getName
-
setFriends
- Specified by:
setFriends
in interfaceCharacter
-
getFriends
- Specified by:
getFriends
in interfaceCharacter
-
getFriendsCharacter
-
setAppearsIn
- Specified by:
setAppearsIn
in interfaceCharacter
-
getAppearsIn
- Specified by:
getAppearsIn
in interfaceCharacter
-
getAppearsInEpisode
-
setPrimaryFunction
-
getPrimaryFunction
-
set__typename
- Specified by:
set__typename
in interfaceCharacter
-
get__typename
- Specified by:
get__typename
in interfaceCharacter
-
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 interfaceCharacter
- 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 interfaceCharacter
- Parameters:
alias
-- Returns:
-
toString
-
builder
-