Class TheSubscriptionType

java.lang.Object
org.allGraphQLCases.client2.TheSubscriptionType
All Implemented Interfaces:
GraphQLRequestObject

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

    • TheSubscriptionType

      public TheSubscriptionType()
  • Method Details

    • setSubscribeNewHumanForEpisode

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

      public Human 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(AllFieldCases allGraphQLCasesInput)
      Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
    • getAllGraphQLCasesInput

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

      public void setAllGraphQLCasesParam(AllFieldCases allGraphQLCasesParam)
    • getAllGraphQLCasesParam

      public AllFieldCases 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(EnumWithReservedJavaKeywordAsValues returnEnum)
    • getReturnEnum

      public EnumWithReservedJavaKeywordAsValues getReturnEnum()
    • setReturnMandatoryEnum

      public void setReturnMandatoryEnum(EnumWithReservedJavaKeywordAsValues returnMandatoryEnum)
    • getReturnMandatoryEnum

      public EnumWithReservedJavaKeywordAsValues getReturnMandatoryEnum()
    • setReturnListOfEnums

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

      public List<EnumWithReservedJavaKeywordAsValues> getReturnListOfEnums()
    • setReturnListOfMandatoryEnums

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

      public List<EnumWithReservedJavaKeywordAsValues> getReturnListOfMandatoryEnums()
    • setReturnListOfListOfEnums

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

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

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

      public List<EnumWithReservedJavaKeywordAsValues> getReturnMandatoryListOfEnums()
    • setReturnMandatoryListOfMandatoryEnums

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

      public List<EnumWithReservedJavaKeywordAsValues> 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(EnumWithReservedJavaKeywordAsValues enumWithReservedJavaKeywordAsValues)
      test for issue #139 (use of java reserved keyword)
    • getEnumWithReservedJavaKeywordAsValues

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

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

      public List<EnumWithReservedJavaKeywordAsValues> 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<TypeWithJson> jsonsWithInput)
    • getJsonsWithInput

      public List<TypeWithJson> getJsonsWithInput()
    • setObjectsWithInput

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

      public List<TypeWithObject> 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 TheSubscriptionType.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