io.stargate.graphql.web.models.GraphqlJsonBody Maven / Gradle / Ivy
package io.stargate.graphql.web.models;
import java.util.Map;
/** The body of a GraphQL POST request when it's using content type "application/json". */
public class GraphqlJsonBody {
private String query;
private String operationName;
private Map variables;
public String getQuery() {
return query;
}
public void setQuery(String query) {
this.query = query;
}
public String getOperationName() {
return operationName;
}
public void setOperationName(String operationName) {
this.operationName = operationName;
}
public Map getVariables() {
return variables;
}
public void setVariables(Map variables) {
this.variables = variables;
}
@Override
public String toString() {
return "GraphqlJsonBody{"
+ "query='"
+ query
+ '\''
+ ", operationName='"
+ operationName
+ '\''
+ ", variables="
+ variables
+ '}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy