Package org.allGraphQLCases.client
Interface CIP_InterfaceTestForIssue202_CIS
- All Superinterfaces:
AllInterfaces1
,AllInterfaces2
- All Known Implementing Classes:
CTP_ClassTestForIssue202_CTS
Test for issue 202: a class attribute would generated a forbidden getClass
- Author:
- generated by graphql-java-generator
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetAliasValue
(String alias) Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.void
set__typename
(String __typename) 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.
-
Method Details
-
set_Class
-
get_Class
String get_Class() -
set__typename
-
get__typename
String 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:
-