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 GraphQLVariablesMapBuilder
builder()
builder factory method for GraphQLVariablesMapstatic GraphQLVariablesMapBuilder
builder
(GraphQLVariablesMap template) create builder for GraphQLVariablesMap instancestatic GraphQLVariablesMap
deepCopy
(GraphQLVariablesMap template) factory method to create a deep copy of GraphQLVariablesMapstatic GraphQLVariablesMap
of()
factory methodstatic GraphQLVariablesMap
of
(GraphQLVariablesMap template) factory method to create a shallow copy GraphQLVariablesMapvoid
JSON 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> T
withGraphQLVariablesMap
(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
-
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
-