Package org.allGraphQLCases.client2
Class TypeWithJson
java.lang.Object
org.allGraphQLCases.client2.TypeWithJson
- 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 TypeWithJson.Builder
builder()
getAliasValue
(String alias) Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.getDate()
getEnum()
com.fasterxml.jackson.databind.node.ObjectNode
getJson()
List<com.fasterxml.jackson.databind.node.ObjectNode>
getJsons()
getLong()
getTest()
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
setBoolean
(Boolean _boolean) void
void
void
setJson
(com.fasterxml.jackson.databind.node.ObjectNode json) void
void
void
void
setWithArguments
(String withArguments) toString()
-
Constructor Details
-
TypeWithJson
public TypeWithJson()
-
-
Method Details
-
setTest
-
getTest
-
setWithArguments
-
getWithArguments
-
setDate
-
getDate
-
setLong
-
getLong
-
setBoolean
-
getBoolean
-
setEnum
-
getEnum
-
setJson
public void setJson(com.fasterxml.jackson.databind.node.ObjectNode json) -
getJson
public com.fasterxml.jackson.databind.node.ObjectNode getJson() -
setJsons
-
getJsons
-
set__typename
-
get__typename
-
setAliasValue
This method is called during the json deserialization process, by theGraphQLObjectMapper
, each time an alias value is read from the json.- 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.- Parameters:
alias
-- Returns:
-
toString
-
builder
-