graphql.execution.preparsed.persisted.PersistedQueryIdInvalid Maven / Gradle / Ivy
package graphql.execution.preparsed.persisted;
import graphql.PublicApi;
import java.util.LinkedHashMap;
import java.util.Map;
@PublicApi
public class PersistedQueryIdInvalid extends PersistedQueryError {
private final Object persistedQueryId;
public PersistedQueryIdInvalid(Object persistedQueryId) {
this.persistedQueryId = persistedQueryId;
}
@Override
public String getMessage() {
return "PersistedQueryIdInvalid";
}
public Object getPersistedQueryId() {
return persistedQueryId;
}
@Override
public String toString() {
return "PersistedQueryIdInvalid";
}
public Map getExtensions() {
LinkedHashMap extensions = new LinkedHashMap<>();
extensions.put("persistedQueryId", getPersistedQueryId());
return extensions;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy