Class TBar2
java.lang.Object
com.graphql_java_generator.domain.client.allGraphQLCases.TBar2
- 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 TBar2.Builderbuilder()getAliasValue(String alias) Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.getId()voidset__typename(String __typename) 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.voidtoString()
-
Constructor Details
-
TBar2
public TBar2()
-
-
Method Details
-
setId
-
getId
-
set__typename
- Specified by:
set__typenamein interfaceIBar1- Specified by:
set__typenamein interfaceIBar2
-
get__typename
- Specified by:
get__typenamein interfaceIBar1- Specified by:
get__typenamein interfaceIBar2
-
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 interfaceIBar1- Specified by:
setAliasValuein interfaceIBar2- 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 interfaceIBar1- Specified by:
getAliasValuein interfaceIBar2- Parameters:
alias-- Returns:
-
toString
-
builder
-