class JsonCookie {

  @JsonCreator public static JsonCookie create(
      @JsonProperty("name") String name,
      @JsonProperty("value") String value,
      @JsonProperty("domain") String domain,
      @JsonProperty("path") String path,
      @JsonProperty("secure") boolean isSecure,
      @JsonProperty("httpOnly") boolean isHttpOnly) {
    return new AutoValue_JsonCookie(name, value, domain, path, isSecure, isHttpOnly);
  }

}