/** Generated by the default template from graphql-java-generator */
package com.graphql_java_generator.domain.client.allGraphQLCases;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.graphql_java_generator.annotation.GraphQLNonScalar;
import com.graphql_java_generator.client.response.Error;


@SuppressWarnings("unused")
public class AnotherMutationTypeRootResponse {

	@JsonProperty("data")
	@GraphQLNonScalar(fieldName = "AnotherMutationType", graphQLTypeSimpleName = "AnotherMutationType", javaClass = AnotherMutationType.class)
	AnotherMutationType mutation;

	@JsonProperty("errors")
	@JsonDeserialize(contentAs = Error.class)
	public List<Error> errors;

	@JsonProperty("extensions")
	public JsonNode extensions;

	// This getter is needed for the Json serialization
	public AnotherMutationType getData() {
		return this.mutation;
	}

	// This setter is needed for the Json deserialization
	public void setData(AnotherMutationType mutation) {
		this.mutation = mutation;
	}

	public List<Error> getErrors() {
		return errors;
	}

	public void setErrors(List<Error> errors) {
		this.errors = errors;
	}

	public JsonNode getExtensions() {
		return extensions;
	}

	public void setExtensions(JsonNode extensions) {
		this.extensions = extensions;
	}

}
