include_credentials parameter was set to true in the request (only applicable for BYOA apps). In addition to the well-known OAuth fields listed below, this object may contain app-specific custom fields (e.g. base_url).
*/
@@ -199,6 +212,7 @@ private boolean equalTo(Account other) {
&& app.equals(other.app)
&& createdAt.equals(other.createdAt)
&& updatedAt.equals(other.updatedAt)
+ && authorizedScopes.equals(other.authorizedScopes)
&& credentials.equals(other.credentials)
&& expiresAt.equals(other.expiresAt)
&& error.equals(other.error)
@@ -217,6 +231,7 @@ public int hashCode() {
this.app,
this.createdAt,
this.updatedAt,
+ this.authorizedScopes,
this.credentials,
this.expiresAt,
this.error,
@@ -288,6 +303,13 @@ public interface _FinalStage {
_FinalStage updatedAt(OffsetDateTime updatedAt);
+ /**
+ * The OAuth scopes effectively granted to this account. Empty for non-OAuth apps.
+ */ + _FinalStage authorizedScopes(OptionalThe credentials associated with the account, if the include_credentials parameter was set to true in the request (only applicable for BYOA apps). In addition to the well-known OAuth fields listed below, this object may contain app-specific custom fields (e.g. base_url).
The OAuth scopes effectively granted to this account. Empty for non-OAuth apps.
+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage authorizedScopes(ListThe OAuth scopes effectively granted to this account. Empty for non-OAuth apps.
+ */ + @java.lang.Override + @JsonSetter(value = "authorized_scopes", nulls = Nulls.SKIP) + public _FinalStage authorizedScopes(OptionalThe date and time the account was last updated, an ISO 8601 formatted string
* @return Reference to {@code this} so that method calls can be chained together. @@ -626,6 +671,7 @@ public Account build() { app, createdAt, updatedAt, + authorizedScopes, credentials, expiresAt, error, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropDir.java b/src/main/java/com/pipedream/api/types/ConfigurablePropDir.java index 2cb4de6..4db0c4a 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropDir.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropDir.java @@ -43,6 +43,10 @@ public final class ConfigurablePropDir implements IConfigurablePropBase { private final OptionalIf true, the component's /tmp directory is synchronized with File Stash
+ */ + _FinalStage sync(OptionalIf true, the component's /tmp directory is synchronized with File Stash
+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage sync(Boolean sync) { + this.sync = Optional.ofNullable(sync); + return this; + } + + /** + *If true, the component's /tmp directory is synchronized with File Stash
+ */ + @java.lang.Override + @JsonSetter(value = "sync", nulls = Nulls.SKIP) + public _FinalStage sync(OptionalIf 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
* @return Reference to {@code this} so that method calls can be chained together. @@ -575,6 +650,8 @@ public ConfigurablePropDir build() { useQuery, reloadProps, withLabel, + accessMode, + sync, additionalProperties); } } diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropDirAccessMode.java b/src/main/java/com/pipedream/api/types/ConfigurablePropDirAccessMode.java new file mode 100644 index 0000000..f83de66 --- /dev/null +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropDirAccessMode.java @@ -0,0 +1,95 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ +package com.pipedream.api.types; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +public final class ConfigurablePropDirAccessMode { + public static final ConfigurablePropDirAccessMode WRITE = new ConfigurablePropDirAccessMode(Value.WRITE, "write"); + + public static final ConfigurablePropDirAccessMode READ_WRITE = + new ConfigurablePropDirAccessMode(Value.READ_WRITE, "read-write"); + + public static final ConfigurablePropDirAccessMode READ = new ConfigurablePropDirAccessMode(Value.READ, "read"); + + private final Value value; + + private final String string; + + ConfigurablePropDirAccessMode(Value value, String string) { + this.value = value; + this.string = string; + } + + public Value getEnumValue() { + return value; + } + + @java.lang.Override + @JsonValue + public String toString() { + return this.string; + } + + @java.lang.Override + public boolean equals(Object other) { + return (this == other) + || (other instanceof ConfigurablePropDirAccessMode + && this.string.equals(((ConfigurablePropDirAccessMode) other).string)); + } + + @java.lang.Override + public int hashCode() { + return this.string.hashCode(); + } + + public