Package org.allGraphQLCases.client
Class CTP_Foo140_CTS
java.lang.Object
org.allGraphQLCases.client.CTP_Foo140_CTS
- All Implemented Interfaces:
CIP_I2Foo140_CIS
,CIP_IFoo140_CIS
,AllInterfaces1
,AllInterfaces2
,AllTypes1
,AllTypes2
public class CTP_Foo140_CTS
extends Object
implements CIP_I2Foo140_CIS, CIP_IFoo140_CIS, 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_Foo140_CTS.Builder
builder()
getAliasValue
(String alias) Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.getBar()
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
setBar
(CIP_I2Bar140_CIS bar) void
setBar
(CIP_IBar140_CIS bar) void
setBar
(CTP_Bar140_CTS bar)
As the type declared in the class is not inherited from one of the implemented interfaces, we need a dedicated setter.toString()
-
Constructor Details
-
CTP_Foo140_CTS
public CTP_Foo140_CTS()
-
-
Method Details
-
setBar
- Specified by:
setBar
in interfaceCIP_I2Foo140_CIS
-
setBar
- Specified by:
setBar
in interfaceCIP_IFoo140_CIS
-
setBar
As the type declared in the class is not inherited from one of the implemented interfaces, we need a dedicated setter. -
getBar
- Specified by:
getBar
in interfaceCIP_I2Foo140_CIS
- Specified by:
getBar
in interfaceCIP_IFoo140_CIS
-
set__typename
- Specified by:
set__typename
in interfaceCIP_I2Foo140_CIS
- Specified by:
set__typename
in interfaceCIP_IFoo140_CIS
-
get__typename
- Specified by:
get__typename
in interfaceCIP_I2Foo140_CIS
- Specified by:
get__typename
in interfaceCIP_IFoo140_CIS
-
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_I2Foo140_CIS
- Specified by:
setAliasValue
in interfaceCIP_IFoo140_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_I2Foo140_CIS
- Specified by:
getAliasValue
in interfaceCIP_IFoo140_CIS
- Parameters:
alias
-- Returns:
-
toString
-
builder
-