Interface GraphQLVariablesMap

All Known Implementing Classes:
GraphQLVariablesMapImpl

public interface GraphQLVariablesMap
GraphQLVariablesMap
Example to create an instance using the builder pattern

     GraphQLVariablesMap graphQLVariablesMap = GraphQLVariablesMap.builder()
             .build()
 
  • Method Details

    • values

      @NotNull @NotNull Map<String,Object> values()
      Returns:
      map of the pattern property values
    • setValue

      void setValue(String key, Object value)
      set pattern property
      Parameters:
      key - property name
      value - property value
    • of

      static GraphQLVariablesMap of()
      factory method
      Returns:
      instance of GraphQLVariablesMap
    • of

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

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

      static GraphQLVariablesMapBuilder builder()
      builder factory method for GraphQLVariablesMap
      Returns:
      builder
    • builder

      create builder for GraphQLVariablesMap instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withGraphQLVariablesMap

      default <T> T withGraphQLVariablesMap(Function<GraphQLVariablesMap,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<GraphQLVariablesMap> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference