Interface GraphQLVariablesMap
public interface GraphQLVariablesMap
The variables that the GraphQL query uses.
Example to create an instance using the builder pattern
GraphQLVariablesMap graphQLVariablesMap = GraphQLVariablesMap.builder()
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic GraphQLVariablesMapBuilderbuilder()builder factory method for GraphQLVariablesMapstatic GraphQLVariablesMapBuilderbuilder(GraphQLVariablesMap template) create builder for GraphQLVariablesMap instancecopyDeep()static GraphQLVariablesMapdeepCopy(GraphQLVariablesMap template) factory method to create a deep copy of GraphQLVariablesMapstatic GraphQLVariablesMapof()factory methodstatic GraphQLVariablesMapof(GraphQLVariablesMap template) factory method to create a shallow copy GraphQLVariablesMapvoidJSON object that contains key-value pairs in which the keys are variable names and the values are variable values.static com.fasterxml.jackson.core.type.TypeReference<GraphQLVariablesMap>gives a TypeReference for usage with Jackson DataBindvalues()JSON object that contains key-value pairs in which the keys are variable names and the values are variable values.default <T> TwithGraphQLVariablesMap(Function<GraphQLVariablesMap, T> helper) accessor map function
-
Method Details
-
values
JSON object that contains key-value pairs in which the keys are variable names and the values are variable values.
- Returns:
- map of the pattern property values
-
setValue
JSON object that contains key-value pairs in which the keys are variable names and the values are variable values.
- Parameters:
key- property namevalue- property value
-
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
-
copyDeep
GraphQLVariablesMap copyDeep() -
deepCopy
factory method to create a deep copy of GraphQLVariablesMap- Parameters:
template- instance to be copied- Returns:
- copy instance
-
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
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-