additionalProperties = new HashMap<>();
@@ -329,6 +341,7 @@ private Builder() {}
@java.lang.Override
public Builder from(ConfigurablePropAirtableBaseId other) {
+ type(other.getType());
appProp(other.getAppProp());
name(other.getName());
label(other.getLabel());
@@ -343,18 +356,6 @@ public Builder from(ConfigurablePropAirtableBaseId other) {
return this;
}
- /**
- * The name of the app prop that provides Airtable authentication
- * The name of the app prop that provides Airtable authentication
- * @return Reference to {@code this} so that method calls can be chained together.
- */
- @java.lang.Override
- @JsonSetter("appProp")
- public NameStage appProp(@NotNull String appProp) {
- this.appProp = Objects.requireNonNull(appProp, "appProp must not be null");
- return this;
- }
-
/**
* When building configuredProps
, make sure to use this field as the key when setting the prop value
* When building configuredProps
, make sure to use this field as the key when setting the prop value
@@ -547,9 +548,43 @@ public _FinalStage label(Optional label) {
return this;
}
+ /**
+ * The name of the app prop that provides Airtable authentication
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ public _FinalStage appProp(String appProp) {
+ this.appProp = Optional.ofNullable(appProp);
+ return this;
+ }
+
+ /**
+ * The name of the app prop that provides Airtable authentication
+ */
+ @java.lang.Override
+ @JsonSetter(value = "appProp", nulls = Nulls.SKIP)
+ public _FinalStage appProp(Optional appProp) {
+ this.appProp = appProp;
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage type(String type) {
+ this.type = Optional.ofNullable(type);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "type", nulls = Nulls.SKIP)
+ public _FinalStage type(Optional type) {
+ this.type = type;
+ return this;
+ }
+
@java.lang.Override
public ConfigurablePropAirtableBaseId build() {
return new ConfigurablePropAirtableBaseId(
+ type,
appProp,
name,
label,
diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableFieldId.java b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableFieldId.java
index 04b67ca..aef7374 100644
--- a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableFieldId.java
+++ b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableFieldId.java
@@ -21,7 +21,9 @@
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonDeserialize(builder = ConfigurablePropAirtableFieldId.Builder.class)
public final class ConfigurablePropAirtableFieldId {
- private final String tableIdProp;
+ private final Optional type;
+
+ private final Optional tableIdProp;
private final String name;
@@ -46,7 +48,8 @@ public final class ConfigurablePropAirtableFieldId {
private final Map additionalProperties;
private ConfigurablePropAirtableFieldId(
- String tableIdProp,
+ Optional type,
+ Optional tableIdProp,
String name,
Optional label,
Optional description,
@@ -58,6 +61,7 @@ private ConfigurablePropAirtableFieldId(
Optional reloadProps,
Optional withLabel,
Map additionalProperties) {
+ this.type = type;
this.tableIdProp = tableIdProp;
this.name = name;
this.label = label;
@@ -73,15 +77,15 @@ private ConfigurablePropAirtableFieldId(
}
@JsonProperty("type")
- public String getType() {
- return "$.airtable.fieldId";
+ public Optional getType() {
+ return type;
}
/**
* @return The name of the prop that provides the Airtable table ID
*/
@JsonProperty("tableIdProp")
- public String getTableIdProp() {
+ public Optional getTableIdProp() {
return tableIdProp;
}
@@ -177,7 +181,8 @@ public Map getAdditionalProperties() {
}
private boolean equalTo(ConfigurablePropAirtableFieldId other) {
- return tableIdProp.equals(other.tableIdProp)
+ return type.equals(other.type)
+ && tableIdProp.equals(other.tableIdProp)
&& name.equals(other.name)
&& label.equals(other.label)
&& description.equals(other.description)
@@ -193,6 +198,7 @@ private boolean equalTo(ConfigurablePropAirtableFieldId other) {
@java.lang.Override
public int hashCode() {
return Objects.hash(
+ this.type,
this.tableIdProp,
this.name,
this.label,
@@ -211,29 +217,33 @@ public String toString() {
return ObjectMappers.stringify(this);
}
- public static TableIdPropStage builder() {
+ public static NameStage builder() {
return new Builder();
}
- public interface TableIdPropStage {
- /**
- * The name of the prop that provides the Airtable table ID
- */
- NameStage tableIdProp(@NotNull String tableIdProp);
-
- Builder from(ConfigurablePropAirtableFieldId other);
- }
-
public interface NameStage {
/**
* When building configuredProps
, make sure to use this field as the key when setting the prop value
*/
_FinalStage name(@NotNull String name);
+
+ Builder from(ConfigurablePropAirtableFieldId other);
}
public interface _FinalStage {
ConfigurablePropAirtableFieldId build();
+ _FinalStage type(Optional type);
+
+ _FinalStage type(String type);
+
+ /**
+ * The name of the prop that provides the Airtable table ID
+ */
+ _FinalStage tableIdProp(Optional tableIdProp);
+
+ _FinalStage tableIdProp(String tableIdProp);
+
/**
* Value to use as an input label. In cases where type
is "app", should load the app via getApp
, etc. and show app.name
instead.
*/
@@ -299,9 +309,7 @@ public interface _FinalStage {
}
@JsonIgnoreProperties(ignoreUnknown = true)
- public static final class Builder implements TableIdPropStage, NameStage, _FinalStage {
- private String tableIdProp;
-
+ public static final class Builder implements NameStage, _FinalStage {
private String name;
private Optional withLabel = Optional.empty();
@@ -322,6 +330,10 @@ public static final class Builder implements TableIdPropStage, NameStage, _Final
private Optional label = Optional.empty();
+ private Optional tableIdProp = Optional.empty();
+
+ private Optional type = Optional.empty();
+
@JsonAnySetter
private Map additionalProperties = new HashMap<>();
@@ -329,6 +341,7 @@ private Builder() {}
@java.lang.Override
public Builder from(ConfigurablePropAirtableFieldId other) {
+ type(other.getType());
tableIdProp(other.getTableIdProp());
name(other.getName());
label(other.getLabel());
@@ -343,18 +356,6 @@ public Builder from(ConfigurablePropAirtableFieldId other) {
return this;
}
- /**
- * The name of the prop that provides the Airtable table ID
- * The name of the prop that provides the Airtable table ID
- * @return Reference to {@code this} so that method calls can be chained together.
- */
- @java.lang.Override
- @JsonSetter("tableIdProp")
- public NameStage tableIdProp(@NotNull String tableIdProp) {
- this.tableIdProp = Objects.requireNonNull(tableIdProp, "tableIdProp must not be null");
- return this;
- }
-
/**
* When building configuredProps
, make sure to use this field as the key when setting the prop value
* When building configuredProps
, make sure to use this field as the key when setting the prop value
@@ -547,9 +548,43 @@ public _FinalStage label(Optional label) {
return this;
}
+ /**
+ * The name of the prop that provides the Airtable table ID
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ public _FinalStage tableIdProp(String tableIdProp) {
+ this.tableIdProp = Optional.ofNullable(tableIdProp);
+ return this;
+ }
+
+ /**
+ * The name of the prop that provides the Airtable table ID
+ */
+ @java.lang.Override
+ @JsonSetter(value = "tableIdProp", nulls = Nulls.SKIP)
+ public _FinalStage tableIdProp(Optional tableIdProp) {
+ this.tableIdProp = tableIdProp;
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage type(String type) {
+ this.type = Optional.ofNullable(type);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "type", nulls = Nulls.SKIP)
+ public _FinalStage type(Optional type) {
+ this.type = type;
+ return this;
+ }
+
@java.lang.Override
public ConfigurablePropAirtableFieldId build() {
return new ConfigurablePropAirtableFieldId(
+ type,
tableIdProp,
name,
label,
diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableTableId.java b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableTableId.java
index 0ceeaee..be315c4 100644
--- a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableTableId.java
+++ b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableTableId.java
@@ -21,7 +21,9 @@
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonDeserialize(builder = ConfigurablePropAirtableTableId.Builder.class)
public final class ConfigurablePropAirtableTableId {
- private final String baseIdProp;
+ private final Optional type;
+
+ private final Optional baseIdProp;
private final String name;
@@ -46,7 +48,8 @@ public final class ConfigurablePropAirtableTableId {
private final Map additionalProperties;
private ConfigurablePropAirtableTableId(
- String baseIdProp,
+ Optional type,
+ Optional baseIdProp,
String name,
Optional label,
Optional description,
@@ -58,6 +61,7 @@ private ConfigurablePropAirtableTableId(
Optional reloadProps,
Optional withLabel,
Map additionalProperties) {
+ this.type = type;
this.baseIdProp = baseIdProp;
this.name = name;
this.label = label;
@@ -73,15 +77,15 @@ private ConfigurablePropAirtableTableId(
}
@JsonProperty("type")
- public String getType() {
- return "$.airtable.tableId";
+ public Optional getType() {
+ return type;
}
/**
* @return The name of the prop that provides the Airtable base ID
*/
@JsonProperty("baseIdProp")
- public String getBaseIdProp() {
+ public Optional getBaseIdProp() {
return baseIdProp;
}
@@ -177,7 +181,8 @@ public Map getAdditionalProperties() {
}
private boolean equalTo(ConfigurablePropAirtableTableId other) {
- return baseIdProp.equals(other.baseIdProp)
+ return type.equals(other.type)
+ && baseIdProp.equals(other.baseIdProp)
&& name.equals(other.name)
&& label.equals(other.label)
&& description.equals(other.description)
@@ -193,6 +198,7 @@ private boolean equalTo(ConfigurablePropAirtableTableId other) {
@java.lang.Override
public int hashCode() {
return Objects.hash(
+ this.type,
this.baseIdProp,
this.name,
this.label,
@@ -211,29 +217,33 @@ public String toString() {
return ObjectMappers.stringify(this);
}
- public static BaseIdPropStage builder() {
+ public static NameStage builder() {
return new Builder();
}
- public interface BaseIdPropStage {
- /**
- * The name of the prop that provides the Airtable base ID
- */
- NameStage baseIdProp(@NotNull String baseIdProp);
-
- Builder from(ConfigurablePropAirtableTableId other);
- }
-
public interface NameStage {
/**
* When building configuredProps
, make sure to use this field as the key when setting the prop value
*/
_FinalStage name(@NotNull String name);
+
+ Builder from(ConfigurablePropAirtableTableId other);
}
public interface _FinalStage {
ConfigurablePropAirtableTableId build();
+ _FinalStage type(Optional type);
+
+ _FinalStage type(String type);
+
+ /**
+ * The name of the prop that provides the Airtable base ID
+ */
+ _FinalStage baseIdProp(Optional baseIdProp);
+
+ _FinalStage baseIdProp(String baseIdProp);
+
/**
* Value to use as an input label. In cases where type
is "app", should load the app via getApp
, etc. and show app.name
instead.
*/
@@ -299,9 +309,7 @@ public interface _FinalStage {
}
@JsonIgnoreProperties(ignoreUnknown = true)
- public static final class Builder implements BaseIdPropStage, NameStage, _FinalStage {
- private String baseIdProp;
-
+ public static final class Builder implements NameStage, _FinalStage {
private String name;
private Optional withLabel = Optional.empty();
@@ -322,6 +330,10 @@ public static final class Builder implements BaseIdPropStage, NameStage, _FinalS
private Optional label = Optional.empty();
+ private Optional baseIdProp = Optional.empty();
+
+ private Optional type = Optional.empty();
+
@JsonAnySetter
private Map additionalProperties = new HashMap<>();
@@ -329,6 +341,7 @@ private Builder() {}
@java.lang.Override
public Builder from(ConfigurablePropAirtableTableId other) {
+ type(other.getType());
baseIdProp(other.getBaseIdProp());
name(other.getName());
label(other.getLabel());
@@ -343,18 +356,6 @@ public Builder from(ConfigurablePropAirtableTableId other) {
return this;
}
- /**
- * The name of the prop that provides the Airtable base ID
- * The name of the prop that provides the Airtable base ID
- * @return Reference to {@code this} so that method calls can be chained together.
- */
- @java.lang.Override
- @JsonSetter("baseIdProp")
- public NameStage baseIdProp(@NotNull String baseIdProp) {
- this.baseIdProp = Objects.requireNonNull(baseIdProp, "baseIdProp must not be null");
- return this;
- }
-
/**
* When building configuredProps
, make sure to use this field as the key when setting the prop value
* When building configuredProps
, make sure to use this field as the key when setting the prop value
@@ -547,9 +548,43 @@ public _FinalStage label(Optional label) {
return this;
}
+ /**
+ * The name of the prop that provides the Airtable base ID
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ public _FinalStage baseIdProp(String baseIdProp) {
+ this.baseIdProp = Optional.ofNullable(baseIdProp);
+ return this;
+ }
+
+ /**
+ * The name of the prop that provides the Airtable base ID
+ */
+ @java.lang.Override
+ @JsonSetter(value = "baseIdProp", nulls = Nulls.SKIP)
+ public _FinalStage baseIdProp(Optional baseIdProp) {
+ this.baseIdProp = baseIdProp;
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage type(String type) {
+ this.type = Optional.ofNullable(type);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "type", nulls = Nulls.SKIP)
+ public _FinalStage type(Optional type) {
+ this.type = type;
+ return this;
+ }
+
@java.lang.Override
public ConfigurablePropAirtableTableId build() {
return new ConfigurablePropAirtableTableId(
+ type,
baseIdProp,
name,
label,
diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableViewId.java b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableViewId.java
index 0104c20..3a29b7a 100644
--- a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableViewId.java
+++ b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableViewId.java
@@ -21,7 +21,9 @@
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonDeserialize(builder = ConfigurablePropAirtableViewId.Builder.class)
public final class ConfigurablePropAirtableViewId {
- private final String tableIdProp;
+ private final Optional type;
+
+ private final Optional tableIdProp;
private final String name;
@@ -46,7 +48,8 @@ public final class ConfigurablePropAirtableViewId {
private final Map additionalProperties;
private ConfigurablePropAirtableViewId(
- String tableIdProp,
+ Optional type,
+ Optional tableIdProp,
String name,
Optional label,
Optional description,
@@ -58,6 +61,7 @@ private ConfigurablePropAirtableViewId(
Optional reloadProps,
Optional withLabel,
Map additionalProperties) {
+ this.type = type;
this.tableIdProp = tableIdProp;
this.name = name;
this.label = label;
@@ -73,15 +77,15 @@ private ConfigurablePropAirtableViewId(
}
@JsonProperty("type")
- public String getType() {
- return "$.airtable.viewId";
+ public Optional getType() {
+ return type;
}
/**
* @return The name of the prop that provides the Airtable table ID
*/
@JsonProperty("tableIdProp")
- public String getTableIdProp() {
+ public Optional getTableIdProp() {
return tableIdProp;
}
@@ -177,7 +181,8 @@ public Map getAdditionalProperties() {
}
private boolean equalTo(ConfigurablePropAirtableViewId other) {
- return tableIdProp.equals(other.tableIdProp)
+ return type.equals(other.type)
+ && tableIdProp.equals(other.tableIdProp)
&& name.equals(other.name)
&& label.equals(other.label)
&& description.equals(other.description)
@@ -193,6 +198,7 @@ private boolean equalTo(ConfigurablePropAirtableViewId other) {
@java.lang.Override
public int hashCode() {
return Objects.hash(
+ this.type,
this.tableIdProp,
this.name,
this.label,
@@ -211,29 +217,33 @@ public String toString() {
return ObjectMappers.stringify(this);
}
- public static TableIdPropStage builder() {
+ public static NameStage builder() {
return new Builder();
}
- public interface TableIdPropStage {
- /**
- * The name of the prop that provides the Airtable table ID
- */
- NameStage tableIdProp(@NotNull String tableIdProp);
-
- Builder from(ConfigurablePropAirtableViewId other);
- }
-
public interface NameStage {
/**
* When building configuredProps
, make sure to use this field as the key when setting the prop value
*/
_FinalStage name(@NotNull String name);
+
+ Builder from(ConfigurablePropAirtableViewId other);
}
public interface _FinalStage {
ConfigurablePropAirtableViewId build();
+ _FinalStage type(Optional type);
+
+ _FinalStage type(String type);
+
+ /**
+ * The name of the prop that provides the Airtable table ID
+ */
+ _FinalStage tableIdProp(Optional tableIdProp);
+
+ _FinalStage tableIdProp(String tableIdProp);
+
/**
* Value to use as an input label. In cases where type
is "app", should load the app via getApp
, etc. and show app.name
instead.
*/
@@ -299,9 +309,7 @@ public interface _FinalStage {
}
@JsonIgnoreProperties(ignoreUnknown = true)
- public static final class Builder implements TableIdPropStage, NameStage, _FinalStage {
- private String tableIdProp;
-
+ public static final class Builder implements NameStage, _FinalStage {
private String name;
private Optional withLabel = Optional.empty();
@@ -322,6 +330,10 @@ public static final class Builder implements TableIdPropStage, NameStage, _Final
private Optional label = Optional.empty();
+ private Optional tableIdProp = Optional.empty();
+
+ private Optional type = Optional.empty();
+
@JsonAnySetter
private Map additionalProperties = new HashMap<>();
@@ -329,6 +341,7 @@ private Builder() {}
@java.lang.Override
public Builder from(ConfigurablePropAirtableViewId other) {
+ type(other.getType());
tableIdProp(other.getTableIdProp());
name(other.getName());
label(other.getLabel());
@@ -343,18 +356,6 @@ public Builder from(ConfigurablePropAirtableViewId other) {
return this;
}
- /**
- * The name of the prop that provides the Airtable table ID
- * The name of the prop that provides the Airtable table ID
- * @return Reference to {@code this} so that method calls can be chained together.
- */
- @java.lang.Override
- @JsonSetter("tableIdProp")
- public NameStage tableIdProp(@NotNull String tableIdProp) {
- this.tableIdProp = Objects.requireNonNull(tableIdProp, "tableIdProp must not be null");
- return this;
- }
-
/**
* When building configuredProps
, make sure to use this field as the key when setting the prop value
* When building configuredProps
, make sure to use this field as the key when setting the prop value
@@ -547,9 +548,43 @@ public _FinalStage label(Optional label) {
return this;
}
+ /**
+ * The name of the prop that provides the Airtable table ID
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ public _FinalStage tableIdProp(String tableIdProp) {
+ this.tableIdProp = Optional.ofNullable(tableIdProp);
+ return this;
+ }
+
+ /**
+ * The name of the prop that provides the Airtable table ID
+ */
+ @java.lang.Override
+ @JsonSetter(value = "tableIdProp", nulls = Nulls.SKIP)
+ public _FinalStage tableIdProp(Optional tableIdProp) {
+ this.tableIdProp = tableIdProp;
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage type(String type) {
+ this.type = Optional.ofNullable(type);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "type", nulls = Nulls.SKIP)
+ public _FinalStage type(Optional type) {
+ this.type = type;
+ return this;
+ }
+
@java.lang.Override
public ConfigurablePropAirtableViewId build() {
return new ConfigurablePropAirtableViewId(
+ type,
tableIdProp,
name,
label,
diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropAlert.java b/src/main/java/com/pipedream/api/types/ConfigurablePropAlert.java
index 188ce32..23b4bb3 100644
--- a/src/main/java/com/pipedream/api/types/ConfigurablePropAlert.java
+++ b/src/main/java/com/pipedream/api/types/ConfigurablePropAlert.java
@@ -21,9 +21,11 @@
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonDeserialize(builder = ConfigurablePropAlert.Builder.class)
public final class ConfigurablePropAlert {
+ private final Optional type;
+
private final Optional alertType;
- private final String content;
+ private final Optional content;
private final String name;
@@ -48,8 +50,9 @@ public final class ConfigurablePropAlert {
private final Map additionalProperties;
private ConfigurablePropAlert(
+ Optional