All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.wener.jraphql.lang.ObjectValue Maven / Gradle / Ivy

There is a newer version: 0.0.9
Show newest version
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 {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy