reloadProps = Optional.empty();
@@ -329,7 +334,6 @@ private Builder() {}
@java.lang.Override
public Builder from(ConfigurablePropAirtableBaseId other) {
- appProp(other.getAppProp());
name(other.getName());
label(other.getLabel());
description(other.getDescription());
@@ -340,30 +344,31 @@ public Builder from(ConfigurablePropAirtableBaseId other) {
useQuery(other.getUseQuery());
reloadProps(other.getReloadProps());
withLabel(other.getWithLabel());
+ appProp(other.getAppProp());
return this;
}
/**
- * The name of the app prop that provides Airtable authentication
- * The name of the app prop that provides Airtable authentication
+ * 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
* @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");
+ @JsonSetter("name")
+ public AppPropStage name(@NotNull String name) {
+ this.name = Objects.requireNonNull(name, "name 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
+ * 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("name")
- public _FinalStage name(@NotNull String name) {
- this.name = Objects.requireNonNull(name, "name must not be null");
+ @JsonSetter("appProp")
+ public _FinalStage appProp(@NotNull String appProp) {
+ this.appProp = Objects.requireNonNull(appProp, "appProp must not be null");
return this;
}
@@ -550,7 +555,6 @@ public _FinalStage label(Optional label) {
@java.lang.Override
public ConfigurablePropAirtableBaseId build() {
return new ConfigurablePropAirtableBaseId(
- appProp,
name,
label,
description,
@@ -561,6 +565,7 @@ public ConfigurablePropAirtableBaseId build() {
useQuery,
reloadProps,
withLabel,
+ appProp,
additionalProperties);
}
}
diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableFieldId.java b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableFieldId.java
index 04b67ca..85a2da9 100644
--- a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableFieldId.java
+++ b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableFieldId.java
@@ -20,9 +20,7 @@
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonDeserialize(builder = ConfigurablePropAirtableFieldId.Builder.class)
-public final class ConfigurablePropAirtableFieldId {
- private final String tableIdProp;
-
+public final class ConfigurablePropAirtableFieldId implements IConfigurablePropBase {
private final String name;
private final Optional label;
@@ -43,10 +41,11 @@ public final class ConfigurablePropAirtableFieldId {
private final Optional withLabel;
+ private final String tableIdProp;
+
private final Map additionalProperties;
private ConfigurablePropAirtableFieldId(
- String tableIdProp,
String name,
Optional label,
Optional description,
@@ -57,8 +56,8 @@ private ConfigurablePropAirtableFieldId(
Optional useQuery,
Optional reloadProps,
Optional withLabel,
+ String tableIdProp,
Map additionalProperties) {
- this.tableIdProp = tableIdProp;
this.name = name;
this.label = label;
this.description = description;
@@ -69,26 +68,15 @@ private ConfigurablePropAirtableFieldId(
this.useQuery = useQuery;
this.reloadProps = reloadProps;
this.withLabel = withLabel;
+ this.tableIdProp = tableIdProp;
this.additionalProperties = additionalProperties;
}
- @JsonProperty("type")
- public String getType() {
- return "$.airtable.fieldId";
- }
-
- /**
- * @return The name of the prop that provides the Airtable table ID
- */
- @JsonProperty("tableIdProp")
- public String getTableIdProp() {
- return tableIdProp;
- }
-
/**
* @return When building configuredProps, make sure to use this field as the key when setting the prop value
*/
@JsonProperty("name")
+ @java.lang.Override
public String getName() {
return name;
}
@@ -97,6 +85,7 @@ public String getName() {
* @return 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.
*/
@JsonProperty("label")
+ @java.lang.Override
public Optional getLabel() {
return label;
}
@@ -105,6 +94,7 @@ public Optional getLabel() {
* @return A description of the prop, shown to the user when configuring the component.
*/
@JsonProperty("description")
+ @java.lang.Override
public Optional getDescription() {
return description;
}
@@ -113,6 +103,7 @@ public Optional getDescription() {
* @return If true, this prop does not need to be specified.
*/
@JsonProperty("optional")
+ @java.lang.Override
public Optional getOptional() {
return optional;
}
@@ -121,6 +112,7 @@ public Optional getOptional() {
* @return If true, this prop will be ignored.
*/
@JsonProperty("disabled")
+ @java.lang.Override
public Optional getDisabled() {
return disabled;
}
@@ -129,6 +121,7 @@ public Optional getDisabled() {
* @return If true, should not expose this prop to the user
*/
@JsonProperty("hidden")
+ @java.lang.Override
public Optional getHidden() {
return hidden;
}
@@ -137,6 +130,7 @@ public Optional getHidden() {
* @return If true, call configureComponent for this prop to load remote options. It is safe, and preferred, given a returned list of { label: string; value: any } objects to set the prop value to { __lv: { label: string; value: any } }. This way, on load, you can access label for the value without necessarily reloading these options
*/
@JsonProperty("remoteOptions")
+ @java.lang.Override
public Optional getRemoteOptions() {
return remoteOptions;
}
@@ -145,6 +139,7 @@ public Optional getRemoteOptions() {
* @return If true, calls to configureComponent for this prop support receiving a query parameter to filter remote options
*/
@JsonProperty("useQuery")
+ @java.lang.Override
public Optional getUseQuery() {
return useQuery;
}
@@ -153,6 +148,7 @@ public Optional getUseQuery() {
* @return If true, after setting a value for this prop, a call to reloadComponentProps is required as the component has dynamic configurable props dependent on this one
*/
@JsonProperty("reloadProps")
+ @java.lang.Override
public Optional getReloadProps() {
return reloadProps;
}
@@ -161,10 +157,19 @@ public Optional getReloadProps() {
* @return If true, you must save the configured prop value as a "label-value" object which should look like: { __lv: { label: string; value: any } } because the execution needs to access the label
*/
@JsonProperty("withLabel")
+ @java.lang.Override
public Optional getWithLabel() {
return withLabel;
}
+ /**
+ * @return The name of the prop that provides the Airtable table ID
+ */
+ @JsonProperty("tableIdProp")
+ public String getTableIdProp() {
+ return tableIdProp;
+ }
+
@java.lang.Override
public boolean equals(Object other) {
if (this == other) return true;
@@ -177,8 +182,7 @@ public Map getAdditionalProperties() {
}
private boolean equalTo(ConfigurablePropAirtableFieldId other) {
- return tableIdProp.equals(other.tableIdProp)
- && name.equals(other.name)
+ return name.equals(other.name)
&& label.equals(other.label)
&& description.equals(other.description)
&& optional.equals(other.optional)
@@ -187,13 +191,13 @@ private boolean equalTo(ConfigurablePropAirtableFieldId other) {
&& remoteOptions.equals(other.remoteOptions)
&& useQuery.equals(other.useQuery)
&& reloadProps.equals(other.reloadProps)
- && withLabel.equals(other.withLabel);
+ && withLabel.equals(other.withLabel)
+ && tableIdProp.equals(other.tableIdProp);
}
@java.lang.Override
public int hashCode() {
return Objects.hash(
- this.tableIdProp,
this.name,
this.label,
this.description,
@@ -203,7 +207,8 @@ public int hashCode() {
this.remoteOptions,
this.useQuery,
this.reloadProps,
- this.withLabel);
+ this.withLabel,
+ this.tableIdProp);
}
@java.lang.Override
@@ -211,24 +216,24 @@ public String toString() {
return ObjectMappers.stringify(this);
}
- public static TableIdPropStage builder() {
+ public static NameStage builder() {
return new Builder();
}
- public interface TableIdPropStage {
+ public interface NameStage {
/**
- * The name of the prop that provides the Airtable table ID
+ * When building configuredProps, make sure to use this field as the key when setting the prop value
*/
- NameStage tableIdProp(@NotNull String tableIdProp);
+ TableIdPropStage name(@NotNull String name);
Builder from(ConfigurablePropAirtableFieldId other);
}
- public interface NameStage {
+ public interface TableIdPropStage {
/**
- * When building configuredProps, make sure to use this field as the key when setting the prop value
+ * The name of the prop that provides the Airtable table ID
*/
- _FinalStage name(@NotNull String name);
+ _FinalStage tableIdProp(@NotNull String tableIdProp);
}
public interface _FinalStage {
@@ -299,11 +304,11 @@ 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, TableIdPropStage, _FinalStage {
private String name;
+ private String tableIdProp;
+
private Optional withLabel = Optional.empty();
private Optional reloadProps = Optional.empty();
@@ -329,7 +334,6 @@ private Builder() {}
@java.lang.Override
public Builder from(ConfigurablePropAirtableFieldId other) {
- tableIdProp(other.getTableIdProp());
name(other.getName());
label(other.getLabel());
description(other.getDescription());
@@ -340,30 +344,31 @@ public Builder from(ConfigurablePropAirtableFieldId other) {
useQuery(other.getUseQuery());
reloadProps(other.getReloadProps());
withLabel(other.getWithLabel());
+ tableIdProp(other.getTableIdProp());
return this;
}
/**
- * The name of the prop that provides the Airtable table ID
- * The name of the prop that provides the Airtable table ID
+ * 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
* @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");
+ @JsonSetter("name")
+ public TableIdPropStage name(@NotNull String name) {
+ this.name = Objects.requireNonNull(name, "name 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
+ * 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("name")
- public _FinalStage name(@NotNull String name) {
- this.name = Objects.requireNonNull(name, "name must not be null");
+ @JsonSetter("tableIdProp")
+ public _FinalStage tableIdProp(@NotNull String tableIdProp) {
+ this.tableIdProp = Objects.requireNonNull(tableIdProp, "tableIdProp must not be null");
return this;
}
@@ -550,7 +555,6 @@ public _FinalStage label(Optional label) {
@java.lang.Override
public ConfigurablePropAirtableFieldId build() {
return new ConfigurablePropAirtableFieldId(
- tableIdProp,
name,
label,
description,
@@ -561,6 +565,7 @@ public ConfigurablePropAirtableFieldId build() {
useQuery,
reloadProps,
withLabel,
+ tableIdProp,
additionalProperties);
}
}
diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableTableId.java b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableTableId.java
index 0ceeaee..8ca1904 100644
--- a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableTableId.java
+++ b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableTableId.java
@@ -20,9 +20,7 @@
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonDeserialize(builder = ConfigurablePropAirtableTableId.Builder.class)
-public final class ConfigurablePropAirtableTableId {
- private final String baseIdProp;
-
+public final class ConfigurablePropAirtableTableId implements IConfigurablePropBase {
private final String name;
private final Optional label;
@@ -43,10 +41,11 @@ public final class ConfigurablePropAirtableTableId {
private final Optional withLabel;
+ private final String baseIdProp;
+
private final Map additionalProperties;
private ConfigurablePropAirtableTableId(
- String baseIdProp,
String name,
Optional label,
Optional description,
@@ -57,8 +56,8 @@ private ConfigurablePropAirtableTableId(
Optional useQuery,
Optional reloadProps,
Optional withLabel,
+ String baseIdProp,
Map additionalProperties) {
- this.baseIdProp = baseIdProp;
this.name = name;
this.label = label;
this.description = description;
@@ -69,26 +68,15 @@ private ConfigurablePropAirtableTableId(
this.useQuery = useQuery;
this.reloadProps = reloadProps;
this.withLabel = withLabel;
+ this.baseIdProp = baseIdProp;
this.additionalProperties = additionalProperties;
}
- @JsonProperty("type")
- public String getType() {
- return "$.airtable.tableId";
- }
-
- /**
- * @return The name of the prop that provides the Airtable base ID
- */
- @JsonProperty("baseIdProp")
- public String getBaseIdProp() {
- return baseIdProp;
- }
-
/**
* @return When building configuredProps, make sure to use this field as the key when setting the prop value
*/
@JsonProperty("name")
+ @java.lang.Override
public String getName() {
return name;
}
@@ -97,6 +85,7 @@ public String getName() {
* @return 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.
*/
@JsonProperty("label")
+ @java.lang.Override
public Optional getLabel() {
return label;
}
@@ -105,6 +94,7 @@ public Optional getLabel() {
* @return A description of the prop, shown to the user when configuring the component.
*/
@JsonProperty("description")
+ @java.lang.Override
public Optional getDescription() {
return description;
}
@@ -113,6 +103,7 @@ public Optional getDescription() {
* @return If true, this prop does not need to be specified.
*/
@JsonProperty("optional")
+ @java.lang.Override
public Optional getOptional() {
return optional;
}
@@ -121,6 +112,7 @@ public Optional getOptional() {
* @return If true, this prop will be ignored.
*/
@JsonProperty("disabled")
+ @java.lang.Override
public Optional getDisabled() {
return disabled;
}
@@ -129,6 +121,7 @@ public Optional getDisabled() {
* @return If true, should not expose this prop to the user
*/
@JsonProperty("hidden")
+ @java.lang.Override
public Optional getHidden() {
return hidden;
}
@@ -137,6 +130,7 @@ public Optional getHidden() {
* @return If true, call configureComponent for this prop to load remote options. It is safe, and preferred, given a returned list of { label: string; value: any } objects to set the prop value to { __lv: { label: string; value: any } }. This way, on load, you can access label for the value without necessarily reloading these options
*/
@JsonProperty("remoteOptions")
+ @java.lang.Override
public Optional getRemoteOptions() {
return remoteOptions;
}
@@ -145,6 +139,7 @@ public Optional getRemoteOptions() {
* @return If true, calls to configureComponent for this prop support receiving a query parameter to filter remote options
*/
@JsonProperty("useQuery")
+ @java.lang.Override
public Optional getUseQuery() {
return useQuery;
}
@@ -153,6 +148,7 @@ public Optional getUseQuery() {
* @return If true, after setting a value for this prop, a call to reloadComponentProps is required as the component has dynamic configurable props dependent on this one
*/
@JsonProperty("reloadProps")
+ @java.lang.Override
public Optional getReloadProps() {
return reloadProps;
}
@@ -161,10 +157,19 @@ public Optional getReloadProps() {
* @return If true, you must save the configured prop value as a "label-value" object which should look like: { __lv: { label: string; value: any } } because the execution needs to access the label
*/
@JsonProperty("withLabel")
+ @java.lang.Override
public Optional getWithLabel() {
return withLabel;
}
+ /**
+ * @return The name of the prop that provides the Airtable base ID
+ */
+ @JsonProperty("baseIdProp")
+ public String getBaseIdProp() {
+ return baseIdProp;
+ }
+
@java.lang.Override
public boolean equals(Object other) {
if (this == other) return true;
@@ -177,8 +182,7 @@ public Map getAdditionalProperties() {
}
private boolean equalTo(ConfigurablePropAirtableTableId other) {
- return baseIdProp.equals(other.baseIdProp)
- && name.equals(other.name)
+ return name.equals(other.name)
&& label.equals(other.label)
&& description.equals(other.description)
&& optional.equals(other.optional)
@@ -187,13 +191,13 @@ private boolean equalTo(ConfigurablePropAirtableTableId other) {
&& remoteOptions.equals(other.remoteOptions)
&& useQuery.equals(other.useQuery)
&& reloadProps.equals(other.reloadProps)
- && withLabel.equals(other.withLabel);
+ && withLabel.equals(other.withLabel)
+ && baseIdProp.equals(other.baseIdProp);
}
@java.lang.Override
public int hashCode() {
return Objects.hash(
- this.baseIdProp,
this.name,
this.label,
this.description,
@@ -203,7 +207,8 @@ public int hashCode() {
this.remoteOptions,
this.useQuery,
this.reloadProps,
- this.withLabel);
+ this.withLabel,
+ this.baseIdProp);
}
@java.lang.Override
@@ -211,24 +216,24 @@ public String toString() {
return ObjectMappers.stringify(this);
}
- public static BaseIdPropStage builder() {
+ public static NameStage builder() {
return new Builder();
}
- public interface BaseIdPropStage {
+ public interface NameStage {
/**
- * The name of the prop that provides the Airtable base ID
+ * When building configuredProps, make sure to use this field as the key when setting the prop value
*/
- NameStage baseIdProp(@NotNull String baseIdProp);
+ BaseIdPropStage name(@NotNull String name);
Builder from(ConfigurablePropAirtableTableId other);
}
- public interface NameStage {
+ public interface BaseIdPropStage {
/**
- * When building configuredProps, make sure to use this field as the key when setting the prop value
+ * The name of the prop that provides the Airtable base ID
*/
- _FinalStage name(@NotNull String name);
+ _FinalStage baseIdProp(@NotNull String baseIdProp);
}
public interface _FinalStage {
@@ -299,11 +304,11 @@ 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, BaseIdPropStage, _FinalStage {
private String name;
+ private String baseIdProp;
+
private Optional withLabel = Optional.empty();
private Optional reloadProps = Optional.empty();
@@ -329,7 +334,6 @@ private Builder() {}
@java.lang.Override
public Builder from(ConfigurablePropAirtableTableId other) {
- baseIdProp(other.getBaseIdProp());
name(other.getName());
label(other.getLabel());
description(other.getDescription());
@@ -340,30 +344,31 @@ public Builder from(ConfigurablePropAirtableTableId other) {
useQuery(other.getUseQuery());
reloadProps(other.getReloadProps());
withLabel(other.getWithLabel());
+ baseIdProp(other.getBaseIdProp());
return this;
}
/**
- * The name of the prop that provides the Airtable base ID
- * The name of the prop that provides the Airtable base ID
+ * 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
* @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");
+ @JsonSetter("name")
+ public BaseIdPropStage name(@NotNull String name) {
+ this.name = Objects.requireNonNull(name, "name 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
+ * 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("name")
- public _FinalStage name(@NotNull String name) {
- this.name = Objects.requireNonNull(name, "name must not be null");
+ @JsonSetter("baseIdProp")
+ public _FinalStage baseIdProp(@NotNull String baseIdProp) {
+ this.baseIdProp = Objects.requireNonNull(baseIdProp, "baseIdProp must not be null");
return this;
}
@@ -550,7 +555,6 @@ public _FinalStage label(Optional label) {
@java.lang.Override
public ConfigurablePropAirtableTableId build() {
return new ConfigurablePropAirtableTableId(
- baseIdProp,
name,
label,
description,
@@ -561,6 +565,7 @@ public ConfigurablePropAirtableTableId build() {
useQuery,
reloadProps,
withLabel,
+ baseIdProp,
additionalProperties);
}
}
diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableViewId.java b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableViewId.java
index 0104c20..73c59d6 100644
--- a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableViewId.java
+++ b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableViewId.java
@@ -20,9 +20,7 @@
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonDeserialize(builder = ConfigurablePropAirtableViewId.Builder.class)
-public final class ConfigurablePropAirtableViewId {
- private final String tableIdProp;
-
+public final class ConfigurablePropAirtableViewId implements IConfigurablePropBase {
private final String name;
private final Optional label;
@@ -43,10 +41,11 @@ public final class ConfigurablePropAirtableViewId {
private final Optional withLabel;
+ private final String tableIdProp;
+
private final Map additionalProperties;
private ConfigurablePropAirtableViewId(
- String tableIdProp,
String name,
Optional label,
Optional