Interface GraphQLExtensionNoResponseError

All Superinterfaces:
GraphQLErrorObject

public interface GraphQLExtensionNoResponseError extends GraphQLErrorObject

Returned when the API Extension does not respond within the time limit, or could not be reached.


Example to create an instance using the builder pattern

     GraphQLExtensionNoResponseError graphQLExtensionNoResponseError = GraphQLExtensionNoResponseError.builder()
             .extensionId("{extensionId}")
             .build()
 
  • Field Details

    • EXTENSION_NO_RESPONSE

      static final String EXTENSION_NO_RESPONSE
      discriminator value for GraphQLExtensionNoResponseError
      See Also:
  • Method Details

    • getCode

      @NotNull @NotNull String getCode()
      Description copied from interface: GraphQLErrorObject

      One of the error codes that is listed on the Errors page.

      Specified by:
      getCode in interface GraphQLErrorObject
      Returns:
      code
    • getExtensionId

      @NotNull @NotNull String getExtensionId()

      Unique identifier of the API Extension.

      Returns:
      extensionId
    • getExtensionKey

      String getExtensionKey()

      User-defined unique identifier of the API Extension, if available.

      Returns:
      extensionKey
    • setExtensionId

      void setExtensionId(String extensionId)

      Unique identifier of the API Extension.

      Parameters:
      extensionId - value to be set
    • setExtensionKey

      void setExtensionKey(String extensionKey)

      User-defined unique identifier of the API Extension, if available.

      Parameters:
      extensionKey - value to be set
    • of

      factory method
      Returns:
      instance of GraphQLExtensionNoResponseError
    • of

      factory method to create a shallow copy GraphQLExtensionNoResponseError
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of GraphQLExtensionNoResponseError
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for GraphQLExtensionNoResponseError
      Returns:
      builder
    • builder

      create builder for GraphQLExtensionNoResponseError instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withGraphQLExtensionNoResponseError

      default <T> T withGraphQLExtensionNoResponseError(Function<GraphQLExtensionNoResponseError,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<GraphQLExtensionNoResponseError> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference