Class CTP_TheSubscriptionType_CTS

java.lang.Object
org.allGraphQLCases.client.CTP_TheSubscriptionType_CTS
All Implemented Interfaces:
GraphQLRequestObject, AllTypes1, AllTypes2
Direct Known Subclasses:
TheSubscriptionTypeResponse

public class CTP_TheSubscriptionType_CTS extends Object implements AllTypes2, AllTypes1, GraphQLRequestObject
A mono line description for TheSubscriptionType
Author:
generated by graphql-java-generator
See Also:
  • Constructor Details

    • CTP_TheSubscriptionType_CTS

      public CTP_TheSubscriptionType_CTS()
  • Method Details

    • setSubscribeNewHumanForEpisode

      public void setSubscribeNewHumanForEpisode(CTP_Human_CTS subscribeNewHumanForEpisode)
      Will be notified for each Human added to this Episode
    • getSubscribeNewHumanForEpisode

      public CTP_Human_CTS getSubscribeNewHumanForEpisode()
      Will be notified for each Human added to this Episode
    • setSubscribeToAList

      public void setSubscribeToAList(List<Integer> subscribeToAList)
      Issue 54
    • getSubscribeToAList

      public List<Integer> getSubscribeToAList()
      Issue 54
    • setSubscribeToAListOfScalars

      public void setSubscribeToAListOfScalars(List<Date> subscribeToAListOfScalars)
    • getSubscribeToAListOfScalars

      public List<Date> getSubscribeToAListOfScalars()
    • setIssue53

      public void setIssue53(Date issue53)
      issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
    • getIssue53

      public Date getIssue53()
      issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
    • setAllGraphQLCasesInput

      public void setAllGraphQLCasesInput(CTP_AllFieldCases_CTS allGraphQLCasesInput)
      Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
    • getAllGraphQLCasesInput

      public CTP_AllFieldCases_CTS getAllGraphQLCasesInput()
      Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
    • setAllGraphQLCasesParam

      public void setAllGraphQLCasesParam(CTP_AllFieldCases_CTS allGraphQLCasesParam)
    • getAllGraphQLCasesParam

      public CTP_AllFieldCases_CTS getAllGraphQLCasesParam()
    • setSubscriptionTest

      public void setSubscriptionTest(String subscriptionTest)
      A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
    • getSubscriptionTest

      public String getSubscriptionTest()
      A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
    • setReturnEnum

      public void setReturnEnum(CEP_EnumWithReservedJavaKeywordAsValues_CES returnEnum)
    • getReturnEnum

    • setReturnMandatoryEnum

      public void setReturnMandatoryEnum(CEP_EnumWithReservedJavaKeywordAsValues_CES returnMandatoryEnum)
    • getReturnMandatoryEnum

      public CEP_EnumWithReservedJavaKeywordAsValues_CES getReturnMandatoryEnum()
    • setReturnListOfEnums

      public void setReturnListOfEnums(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnListOfEnums)
    • getReturnListOfEnums

      public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> getReturnListOfEnums()
    • setReturnListOfMandatoryEnums

      public void setReturnListOfMandatoryEnums(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnListOfMandatoryEnums)
    • getReturnListOfMandatoryEnums

      public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> getReturnListOfMandatoryEnums()
    • setReturnListOfListOfEnums

      public void setReturnListOfListOfEnums(List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> returnListOfListOfEnums)
    • getReturnListOfListOfEnums

      public List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> getReturnListOfListOfEnums()
    • setReturnMandatoryListOfEnums

      public void setReturnMandatoryListOfEnums(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnMandatoryListOfEnums)
    • getReturnMandatoryListOfEnums

      public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> getReturnMandatoryListOfEnums()
    • setReturnMandatoryListOfMandatoryEnums

      public void setReturnMandatoryListOfMandatoryEnums(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnMandatoryListOfMandatoryEnums)
    • getReturnMandatoryListOfMandatoryEnums

      public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> getReturnMandatoryListOfMandatoryEnums()
    • setSubscriptionWithNullResponse

      public void setSubscriptionWithNullResponse(String subscriptionWithNullResponse)
      Issue 122: Check Subscription behavior when notification response is null
    • getSubscriptionWithNullResponse

      public String getSubscriptionWithNullResponse()
      Issue 122: Check Subscription behavior when notification response is null
    • setEnumWithReservedJavaKeywordAsValues

      public void setEnumWithReservedJavaKeywordAsValues(CEP_EnumWithReservedJavaKeywordAsValues_CES enumWithReservedJavaKeywordAsValues)
      test for issue #139 (use of java reserved keyword)
    • getEnumWithReservedJavaKeywordAsValues

      public CEP_EnumWithReservedJavaKeywordAsValues_CES getEnumWithReservedJavaKeywordAsValues()
      test for issue #139 (use of java reserved keyword)
    • setListOfEnumWithReservedJavaKeywordAsValues

      public void setListOfEnumWithReservedJavaKeywordAsValues(List<CEP_EnumWithReservedJavaKeywordAsValues_CES> listOfEnumWithReservedJavaKeywordAsValues)
    • getListOfEnumWithReservedJavaKeywordAsValues

      public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> getListOfEnumWithReservedJavaKeywordAsValues()
    • setIf

      public void setIf(String _if)
    • getIf

      public String getIf()
    • setImplements

      public void setImplements(String _implements)
    • getImplements

      public String getImplements()
    • setNull

      public void setNull(String _null)
      Issue #188: null is not identified as a java keyword
    • getNull

      public String getNull()
      Issue #188: null is not identified as a java keyword
    • setJson

      public void setJson(com.fasterxml.jackson.databind.node.ObjectNode json)
      Test of JSON scalar, for issue #205
    • getJson

      public com.fasterxml.jackson.databind.node.ObjectNode getJson()
      Test of JSON scalar, for issue #205
    • setJsons

      public void setJsons(List<com.fasterxml.jackson.databind.node.ObjectNode> jsons)
    • getJsons

      public List<com.fasterxml.jackson.databind.node.ObjectNode> getJsons()
    • setJsonsWithInput

      public void setJsonsWithInput(List<CTP_TypeWithJson_CTS> jsonsWithInput)
    • getJsonsWithInput

      public List<CTP_TypeWithJson_CTS> getJsonsWithInput()
    • setObjectsWithInput

      public void setObjectsWithInput(List<CTP_TypeWithObject_CTS> objectsWithInput)
    • getObjectsWithInput

      public List<CTP_TypeWithObject_CTS> getObjectsWithInput()
    • set__typename

      public void set__typename(String __typename)
    • get__typename

      public String get__typename()
    • setAliasValue

      public void setAliasValue(String aliasName, Object aliasDeserializedValue)
      This method is called during the json deserialization process, by the GraphQLObjectMapper, each time an alias value is read from the json.
      Parameters:
      aliasName -
      aliasDeserializedValue -
    • getAliasValue

      public Object getAliasValue(String alias)
      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

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static CTP_TheSubscriptionType_CTS.Builder builder()
    • getExtensions

      public com.fasterxml.jackson.databind.JsonNode getExtensions()
    • setExtensions

      public void setExtensions(com.fasterxml.jackson.databind.JsonNode extensionsParam)
      Specified by:
      setExtensions in interface GraphQLRequestObject
    • getExtensionsAsMap

      public Map<String,com.fasterxml.jackson.databind.JsonNode> getExtensionsAsMap()
      Returns the extensions as a map. The values can't be deserialized, as their type is unknown.
      Returns:
    • getExtensionsField

      public <T> T getExtensionsField(String key, Class<T> t) throws com.fasterxml.jackson.core.JsonProcessingException
      Parse the value for the given _key_, as found in the extensions field of the GraphQL server's response, into the given _t_ class.
      Type Parameters:
      T -
      Parameters:
      key -
      t -
      Returns:
      null if the key is not in the extensions map. Otherwise: the value for this _key_, as a _t_ instance
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException - When there is an error when converting the key's value into the _t_ class