additionalProperties = new HashMap<>();
+
+ private Builder() {}
+
+ @java.lang.Override
+ public Builder from(Observation other) {
+ err(other.getErr());
+ k(other.getK());
+ msg(other.getMsg());
+ ts(other.getTs());
+ return this;
+ }
+
+ /**
+ * The source of the log (e.g. console.log)
+ * The source of the log (e.g. console.log)
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ @JsonSetter("k")
+ public TsStage k(@NotNull String k) {
+ this.k = Objects.requireNonNull(k, "k must not be null");
+ return this;
+ }
+
+ /**
+ * The time at which the log was produced, as milliseconds since the epoch
+ * The time at which the log was produced, as milliseconds since the epoch
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ @JsonSetter("ts")
+ public _FinalStage ts(double ts) {
+ this.ts = ts;
+ return this;
+ }
+
+ /**
+ * The log message
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ public _FinalStage msg(String msg) {
+ this.msg = Optional.ofNullable(msg);
+ return this;
+ }
+
+ /**
+ * The log message
+ */
+ @java.lang.Override
+ @JsonSetter(value = "msg", nulls = Nulls.SKIP)
+ public _FinalStage msg(Optional msg) {
+ this.msg = msg;
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage err(ObservationError err) {
+ this.err = Optional.ofNullable(err);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "err", nulls = Nulls.SKIP)
+ public _FinalStage err(Optional err) {
+ this.err = err;
+ return this;
+ }
+
+ @java.lang.Override
+ public Observation build() {
+ return new Observation(err, k, msg, ts, additionalProperties);
+ }
+ }
+}
diff --git a/src/main/java/com/pipedream/api/types/ObservationError.java b/src/main/java/com/pipedream/api/types/ObservationError.java
new file mode 100644
index 0000000..3993a6b
--- /dev/null
+++ b/src/main/java/com/pipedream/api/types/ObservationError.java
@@ -0,0 +1,161 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+package com.pipedream.api.types;
+
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonSetter;
+import com.fasterxml.jackson.annotation.Nulls;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import com.pipedream.api.core.ObjectMappers;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+import java.util.Optional;
+
+@JsonInclude(JsonInclude.Include.NON_ABSENT)
+@JsonDeserialize(builder = ObservationError.Builder.class)
+public final class ObservationError {
+ private final Optional name;
+
+ private final Optional message;
+
+ private final Optional stack;
+
+ private final Map additionalProperties;
+
+ private ObservationError(
+ Optional name,
+ Optional message,
+ Optional stack,
+ Map additionalProperties) {
+ this.name = name;
+ this.message = message;
+ this.stack = stack;
+ this.additionalProperties = additionalProperties;
+ }
+
+ /**
+ * @return The name of the error/exception
+ */
+ @JsonProperty("name")
+ public Optional getName() {
+ return name;
+ }
+
+ /**
+ * @return The error message
+ */
+ @JsonProperty("message")
+ public Optional getMessage() {
+ return message;
+ }
+
+ /**
+ * @return The stack trace of the error
+ */
+ @JsonProperty("stack")
+ public Optional getStack() {
+ return stack;
+ }
+
+ @java.lang.Override
+ public boolean equals(Object other) {
+ if (this == other) return true;
+ return other instanceof ObservationError && equalTo((ObservationError) other);
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ private boolean equalTo(ObservationError other) {
+ return name.equals(other.name) && message.equals(other.message) && stack.equals(other.stack);
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ return Objects.hash(this.name, this.message, this.stack);
+ }
+
+ @java.lang.Override
+ public String toString() {
+ return ObjectMappers.stringify(this);
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @JsonIgnoreProperties(ignoreUnknown = true)
+ public static final class Builder {
+ private Optional name = Optional.empty();
+
+ private Optional message = Optional.empty();
+
+ private Optional stack = Optional.empty();
+
+ @JsonAnySetter
+ private Map additionalProperties = new HashMap<>();
+
+ private Builder() {}
+
+ public Builder from(ObservationError other) {
+ name(other.getName());
+ message(other.getMessage());
+ stack(other.getStack());
+ return this;
+ }
+
+ /**
+ * The name of the error/exception
+ */
+ @JsonSetter(value = "name", nulls = Nulls.SKIP)
+ public Builder name(Optional name) {
+ this.name = name;
+ return this;
+ }
+
+ public Builder name(String name) {
+ this.name = Optional.ofNullable(name);
+ return this;
+ }
+
+ /**
+ * The error message
+ */
+ @JsonSetter(value = "message", nulls = Nulls.SKIP)
+ public Builder message(Optional message) {
+ this.message = message;
+ return this;
+ }
+
+ public Builder message(String message) {
+ this.message = Optional.ofNullable(message);
+ return this;
+ }
+
+ /**
+ * The stack trace of the error
+ */
+ @JsonSetter(value = "stack", nulls = Nulls.SKIP)
+ public Builder stack(Optional stack) {
+ this.stack = stack;
+ return this;
+ }
+
+ public Builder stack(String stack) {
+ this.stack = Optional.ofNullable(stack);
+ return this;
+ }
+
+ public ObservationError build() {
+ return new ObservationError(name, message, stack, additionalProperties);
+ }
+ }
+}
diff --git a/src/main/java/com/pipedream/api/types/PropOptionNested.java b/src/main/java/com/pipedream/api/types/PropOptionNested.java
new file mode 100644
index 0000000..6224151
--- /dev/null
+++ b/src/main/java/com/pipedream/api/types/PropOptionNested.java
@@ -0,0 +1,102 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+package com.pipedream.api.types;
+
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonSetter;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import com.pipedream.api.core.ObjectMappers;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+import org.jetbrains.annotations.NotNull;
+
+@JsonInclude(JsonInclude.Include.NON_ABSENT)
+@JsonDeserialize(builder = PropOptionNested.Builder.class)
+public final class PropOptionNested {
+ private final PropOption lv;
+
+ private final Map additionalProperties;
+
+ private PropOptionNested(PropOption lv, Map additionalProperties) {
+ this.lv = lv;
+ this.additionalProperties = additionalProperties;
+ }
+
+ @JsonProperty("__lv")
+ public PropOption getLv() {
+ return lv;
+ }
+
+ @java.lang.Override
+ public boolean equals(Object other) {
+ if (this == other) return true;
+ return other instanceof PropOptionNested && equalTo((PropOptionNested) other);
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ private boolean equalTo(PropOptionNested other) {
+ return lv.equals(other.lv);
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ return Objects.hash(this.lv);
+ }
+
+ @java.lang.Override
+ public String toString() {
+ return ObjectMappers.stringify(this);
+ }
+
+ public static LvStage builder() {
+ return new Builder();
+ }
+
+ public interface LvStage {
+ _FinalStage lv(@NotNull PropOption lv);
+
+ Builder from(PropOptionNested other);
+ }
+
+ public interface _FinalStage {
+ PropOptionNested build();
+ }
+
+ @JsonIgnoreProperties(ignoreUnknown = true)
+ public static final class Builder implements LvStage, _FinalStage {
+ private PropOption lv;
+
+ @JsonAnySetter
+ private Map additionalProperties = new HashMap<>();
+
+ private Builder() {}
+
+ @java.lang.Override
+ public Builder from(PropOptionNested other) {
+ lv(other.getLv());
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter("__lv")
+ public _FinalStage lv(@NotNull PropOption lv) {
+ this.lv = Objects.requireNonNull(lv, "lv must not be null");
+ return this;
+ }
+
+ @java.lang.Override
+ public PropOptionNested build() {
+ return new PropOptionNested(lv, additionalProperties);
+ }
+ }
+}
diff --git a/src/main/java/com/pipedream/api/types/ReloadPropsOpts.java b/src/main/java/com/pipedream/api/types/ReloadPropsOpts.java
index 2b06ac8..4af3415 100644
--- a/src/main/java/com/pipedream/api/types/ReloadPropsOpts.java
+++ b/src/main/java/com/pipedream/api/types/ReloadPropsOpts.java
@@ -27,7 +27,7 @@ public final class ReloadPropsOpts {
private final Optional blocking;
- private final Optional