me.wener.jraphql.lang.ObjectValue Maven / Gradle / Ivy
package me.wener.jraphql.lang;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import lombok.Builder;
import lombok.NonNull;
/**
* @author wener
* @since 30/03/2018
*/
@lombok.Value
@Builder(toBuilder = true)
@JsonDeserialize(builder = ObjectValue.ObjectValueBuilder.class)
public class ObjectValue implements Value {
@NonNull private SourceLocation sourceLocation;
@NonNull @Builder.Default private List comments = Collections.emptyList();
@NonNull @Builder.Default private Map value = Collections.emptyMap();
public static class ObjectValueBuilder implements Builders.BuildNode {}
}