From 69029baacc6f77fb55ee686b5b02e46fff0d8790 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 17:42:50 +0000 Subject: [PATCH] SDK regeneration --- README.md | 4 +- build.gradle | 4 +- .../com/pipedream/api/core/ClientOptions.java | 4 +- .../resources/users/AsyncRawUsersClient.java | 115 ++++++++++ .../api/resources/users/AsyncUsersClient.java | 25 ++ .../api/resources/users/RawUsersClient.java | 93 ++++++++ .../api/resources/users/UsersClient.java | 24 ++ .../users/requests/UsersListRequest.java | 193 ++++++++++++++++ .../types/ConfigurablePropAirtableBaseId.java | 46 ++++ .../ConfigurablePropAirtableFieldId.java | 46 ++++ .../ConfigurablePropAirtableTableId.java | 46 ++++ .../types/ConfigurablePropAirtableViewId.java | 46 ++++ .../api/types/ConfigurablePropAlert.java | 46 ++++ .../api/types/ConfigurablePropAny.java | 46 ++++ .../api/types/ConfigurablePropApp.java | 46 ++++ .../api/types/ConfigurablePropApphook.java | 46 ++++ .../api/types/ConfigurablePropBase.java | 46 ++++ .../api/types/ConfigurablePropBoolean.java | 46 ++++ .../api/types/ConfigurablePropDataStore.java | 46 ++++ .../api/types/ConfigurablePropDb.java | 46 ++++ .../api/types/ConfigurablePropDir.java | 46 ++++ .../api/types/ConfigurablePropDiscord.java | 46 ++++ .../types/ConfigurablePropDiscordChannel.java | 46 ++++ .../ConfigurablePropDiscordChannelArray.java | 46 ++++ .../api/types/ConfigurablePropHttp.java | 46 ++++ .../types/ConfigurablePropHttpRequest.java | 46 ++++ .../api/types/ConfigurablePropInteger.java | 46 ++++ .../types/ConfigurablePropIntegerArray.java | 46 ++++ .../api/types/ConfigurablePropObject.java | 46 ++++ .../api/types/ConfigurablePropSql.java | 46 ++++ .../api/types/ConfigurablePropString.java | 46 ++++ .../types/ConfigurablePropStringArray.java | 46 ++++ .../api/types/ConfigurablePropTimer.java | 46 ++++ .../com/pipedream/api/types/ExternalUser.java | 213 ++++++++++++++++++ .../pipedream/api/types/GetUsersResponse.java | 146 ++++++++++++ .../api/types/IConfigurablePropBase.java | 2 + 36 files changed, 1967 insertions(+), 6 deletions(-) create mode 100644 src/main/java/com/pipedream/api/resources/users/requests/UsersListRequest.java create mode 100644 src/main/java/com/pipedream/api/types/ExternalUser.java create mode 100644 src/main/java/com/pipedream/api/types/GetUsersResponse.java diff --git a/README.md b/README.md index 61ecede..8e54fe2 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Add the dependency in your `build.gradle` file: ```groovy dependencies { - implementation 'com.pipedream:pipedream:1.1.10' + implementation 'com.pipedream:pipedream:1.1.11' } ``` @@ -40,7 +40,7 @@ Add the dependency in your `pom.xml` file: com.pipedream pipedream - 1.1.10 + 1.1.11 ``` diff --git a/build.gradle b/build.gradle index 0a1f061..3425408 100644 --- a/build.gradle +++ b/build.gradle @@ -49,7 +49,7 @@ java { group = 'com.pipedream' -version = '1.1.10' +version = '1.1.11' jar { dependsOn(":generatePomFileForMavenPublication") @@ -80,7 +80,7 @@ publishing { maven(MavenPublication) { groupId = 'com.pipedream' artifactId = 'pipedream' - version = '1.1.10' + version = '1.1.11' from components.java pom { name = 'pipedream' diff --git a/src/main/java/com/pipedream/api/core/ClientOptions.java b/src/main/java/com/pipedream/api/core/ClientOptions.java index 4b45139..47e6838 100644 --- a/src/main/java/com/pipedream/api/core/ClientOptions.java +++ b/src/main/java/com/pipedream/api/core/ClientOptions.java @@ -35,10 +35,10 @@ private ClientOptions( this.headers.putAll(headers); this.headers.putAll(new HashMap() { { - put("User-Agent", "com.pipedream:pipedream/1.1.10"); + put("User-Agent", "com.pipedream:pipedream/1.1.11"); put("X-Fern-Language", "JAVA"); put("X-Fern-SDK-Name", "com.pipedream.fern:api-sdk"); - put("X-Fern-SDK-Version", "1.1.10"); + put("X-Fern-SDK-Version", "1.1.11"); } }); this.headerSuppliers = headerSuppliers; diff --git a/src/main/java/com/pipedream/api/resources/users/AsyncRawUsersClient.java b/src/main/java/com/pipedream/api/resources/users/AsyncRawUsersClient.java index c41f6f1..a56de82 100644 --- a/src/main/java/com/pipedream/api/resources/users/AsyncRawUsersClient.java +++ b/src/main/java/com/pipedream/api/resources/users/AsyncRawUsersClient.java @@ -9,10 +9,18 @@ import com.pipedream.api.core.BaseClientHttpResponse; import com.pipedream.api.core.ClientOptions; import com.pipedream.api.core.ObjectMappers; +import com.pipedream.api.core.QueryStringMapper; import com.pipedream.api.core.RequestOptions; +import com.pipedream.api.core.pagination.SyncPagingIterable; import com.pipedream.api.errors.TooManyRequestsError; +import com.pipedream.api.resources.users.requests.UsersListRequest; +import com.pipedream.api.types.ExternalUser; +import com.pipedream.api.types.GetUsersResponse; import java.io.IOException; +import java.util.List; +import java.util.Optional; import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; import okhttp3.Call; import okhttp3.Callback; import okhttp3.Headers; @@ -96,4 +104,111 @@ public void onFailure(@NotNull Call call, @NotNull IOException e) { }); return future; } + + /** + * Retrieve all external users for the project + */ + public CompletableFuture>> list() { + return list(UsersListRequest.builder().build()); + } + + /** + * Retrieve all external users for the project + */ + public CompletableFuture>> list(UsersListRequest request) { + return list(request, null); + } + + /** + * Retrieve all external users for the project + */ + public CompletableFuture>> list( + UsersListRequest request, RequestOptions requestOptions) { + HttpUrl.Builder httpUrl = HttpUrl.parse(this.clientOptions.environment().getUrl()) + .newBuilder() + .addPathSegments("v1/connect") + .addPathSegment(clientOptions.projectId()) + .addPathSegments("users"); + if (request.getAfter().isPresent()) { + QueryStringMapper.addQueryParameter( + httpUrl, "after", request.getAfter().get(), false); + } + if (request.getBefore().isPresent()) { + QueryStringMapper.addQueryParameter( + httpUrl, "before", request.getBefore().get(), false); + } + if (request.getLimit().isPresent()) { + QueryStringMapper.addQueryParameter( + httpUrl, "limit", request.getLimit().get(), false); + } + if (request.getQ().isPresent()) { + QueryStringMapper.addQueryParameter(httpUrl, "q", request.getQ().get(), false); + } + Request.Builder _requestBuilder = new Request.Builder() + .url(httpUrl.build()) + .method("GET", null) + .headers(Headers.of(clientOptions.headers(requestOptions))) + .addHeader("Accept", "application/json"); + Request okhttpRequest = _requestBuilder.build(); + OkHttpClient client = clientOptions.httpClient(); + if (requestOptions != null && requestOptions.getTimeout().isPresent()) { + client = clientOptions.httpClientWithTimeout(requestOptions); + } + CompletableFuture>> future = new CompletableFuture<>(); + client.newCall(okhttpRequest).enqueue(new Callback() { + @Override + public void onResponse(@NotNull Call call, @NotNull Response response) throws IOException { + try (ResponseBody responseBody = response.body()) { + if (response.isSuccessful()) { + GetUsersResponse parsedResponse = + ObjectMappers.JSON_MAPPER.readValue(responseBody.string(), GetUsersResponse.class); + Optional startingAfter = + parsedResponse.getPageInfo().getEndCursor(); + UsersListRequest nextRequest = UsersListRequest.builder() + .from(request) + .after(startingAfter) + .build(); + List result = parsedResponse.getData(); + future.complete(new BaseClientHttpResponse<>( + new SyncPagingIterable( + startingAfter.isPresent(), result, parsedResponse, () -> { + try { + return list(nextRequest, requestOptions) + .get() + .body(); + } catch (InterruptedException | ExecutionException e) { + throw new RuntimeException(e); + } + }), + response)); + return; + } + String responseBodyString = responseBody != null ? responseBody.string() : "{}"; + try { + if (response.code() == 429) { + future.completeExceptionally(new TooManyRequestsError( + ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response)); + return; + } + } catch (JsonProcessingException ignored) { + // unable to map error response, throwing generic error + } + future.completeExceptionally(new BaseClientApiException( + "Error with status code " + response.code(), + response.code(), + ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), + response)); + return; + } catch (IOException e) { + future.completeExceptionally(new BaseClientException("Network error executing HTTP request", e)); + } + } + + @Override + public void onFailure(@NotNull Call call, @NotNull IOException e) { + future.completeExceptionally(new BaseClientException("Network error executing HTTP request", e)); + } + }); + return future; + } } diff --git a/src/main/java/com/pipedream/api/resources/users/AsyncUsersClient.java b/src/main/java/com/pipedream/api/resources/users/AsyncUsersClient.java index 8839a62..e40bc00 100644 --- a/src/main/java/com/pipedream/api/resources/users/AsyncUsersClient.java +++ b/src/main/java/com/pipedream/api/resources/users/AsyncUsersClient.java @@ -5,6 +5,9 @@ import com.pipedream.api.core.ClientOptions; import com.pipedream.api.core.RequestOptions; +import com.pipedream.api.core.pagination.SyncPagingIterable; +import com.pipedream.api.resources.users.requests.UsersListRequest; +import com.pipedream.api.types.ExternalUser; import java.util.concurrent.CompletableFuture; public class AsyncUsersClient { @@ -37,4 +40,26 @@ public CompletableFuture deleteExternalUser(String externalUserId) { public CompletableFuture deleteExternalUser(String externalUserId, RequestOptions requestOptions) { return this.rawClient.deleteExternalUser(externalUserId, requestOptions).thenApply(response -> response.body()); } + + /** + * Retrieve all external users for the project + */ + public CompletableFuture> list() { + return this.rawClient.list().thenApply(response -> response.body()); + } + + /** + * Retrieve all external users for the project + */ + public CompletableFuture> list(UsersListRequest request) { + return this.rawClient.list(request).thenApply(response -> response.body()); + } + + /** + * Retrieve all external users for the project + */ + public CompletableFuture> list( + UsersListRequest request, RequestOptions requestOptions) { + return this.rawClient.list(request, requestOptions).thenApply(response -> response.body()); + } } diff --git a/src/main/java/com/pipedream/api/resources/users/RawUsersClient.java b/src/main/java/com/pipedream/api/resources/users/RawUsersClient.java index 097eaaf..ee2cc25 100644 --- a/src/main/java/com/pipedream/api/resources/users/RawUsersClient.java +++ b/src/main/java/com/pipedream/api/resources/users/RawUsersClient.java @@ -9,9 +9,16 @@ import com.pipedream.api.core.BaseClientHttpResponse; import com.pipedream.api.core.ClientOptions; import com.pipedream.api.core.ObjectMappers; +import com.pipedream.api.core.QueryStringMapper; import com.pipedream.api.core.RequestOptions; +import com.pipedream.api.core.pagination.SyncPagingIterable; import com.pipedream.api.errors.TooManyRequestsError; +import com.pipedream.api.resources.users.requests.UsersListRequest; +import com.pipedream.api.types.ExternalUser; +import com.pipedream.api.types.GetUsersResponse; import java.io.IOException; +import java.util.List; +import java.util.Optional; import okhttp3.Headers; import okhttp3.HttpUrl; import okhttp3.OkHttpClient; @@ -77,4 +84,90 @@ public BaseClientHttpResponse deleteExternalUser(String externalUserId, Re throw new BaseClientException("Network error executing HTTP request", e); } } + + /** + * Retrieve all external users for the project + */ + public BaseClientHttpResponse> list() { + return list(UsersListRequest.builder().build()); + } + + /** + * Retrieve all external users for the project + */ + public BaseClientHttpResponse> list(UsersListRequest request) { + return list(request, null); + } + + /** + * Retrieve all external users for the project + */ + public BaseClientHttpResponse> list( + UsersListRequest request, RequestOptions requestOptions) { + HttpUrl.Builder httpUrl = HttpUrl.parse(this.clientOptions.environment().getUrl()) + .newBuilder() + .addPathSegments("v1/connect") + .addPathSegment(clientOptions.projectId()) + .addPathSegments("users"); + if (request.getAfter().isPresent()) { + QueryStringMapper.addQueryParameter( + httpUrl, "after", request.getAfter().get(), false); + } + if (request.getBefore().isPresent()) { + QueryStringMapper.addQueryParameter( + httpUrl, "before", request.getBefore().get(), false); + } + if (request.getLimit().isPresent()) { + QueryStringMapper.addQueryParameter( + httpUrl, "limit", request.getLimit().get(), false); + } + if (request.getQ().isPresent()) { + QueryStringMapper.addQueryParameter(httpUrl, "q", request.getQ().get(), false); + } + Request.Builder _requestBuilder = new Request.Builder() + .url(httpUrl.build()) + .method("GET", null) + .headers(Headers.of(clientOptions.headers(requestOptions))) + .addHeader("Accept", "application/json"); + Request okhttpRequest = _requestBuilder.build(); + OkHttpClient client = clientOptions.httpClient(); + if (requestOptions != null && requestOptions.getTimeout().isPresent()) { + client = clientOptions.httpClientWithTimeout(requestOptions); + } + try (Response response = client.newCall(okhttpRequest).execute()) { + ResponseBody responseBody = response.body(); + if (response.isSuccessful()) { + GetUsersResponse parsedResponse = + ObjectMappers.JSON_MAPPER.readValue(responseBody.string(), GetUsersResponse.class); + Optional startingAfter = parsedResponse.getPageInfo().getEndCursor(); + UsersListRequest nextRequest = UsersListRequest.builder() + .from(request) + .after(startingAfter) + .build(); + List result = parsedResponse.getData(); + return new BaseClientHttpResponse<>( + new SyncPagingIterable( + startingAfter.isPresent(), result, parsedResponse, () -> list( + nextRequest, requestOptions) + .body()), + response); + } + String responseBodyString = responseBody != null ? responseBody.string() : "{}"; + try { + if (response.code() == 429) { + throw new TooManyRequestsError( + ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response); + } + } catch (JsonProcessingException ignored) { + // unable to map error response, throwing generic error + } + throw new BaseClientApiException( + "Error with status code " + response.code(), + response.code(), + ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), + response); + } catch (IOException e) { + throw new BaseClientException("Network error executing HTTP request", e); + } + } } diff --git a/src/main/java/com/pipedream/api/resources/users/UsersClient.java b/src/main/java/com/pipedream/api/resources/users/UsersClient.java index dba3d67..c79a0a2 100644 --- a/src/main/java/com/pipedream/api/resources/users/UsersClient.java +++ b/src/main/java/com/pipedream/api/resources/users/UsersClient.java @@ -5,6 +5,9 @@ import com.pipedream.api.core.ClientOptions; import com.pipedream.api.core.RequestOptions; +import com.pipedream.api.core.pagination.SyncPagingIterable; +import com.pipedream.api.resources.users.requests.UsersListRequest; +import com.pipedream.api.types.ExternalUser; public class UsersClient { protected final ClientOptions clientOptions; @@ -36,4 +39,25 @@ public void deleteExternalUser(String externalUserId) { public void deleteExternalUser(String externalUserId, RequestOptions requestOptions) { this.rawClient.deleteExternalUser(externalUserId, requestOptions).body(); } + + /** + * Retrieve all external users for the project + */ + public SyncPagingIterable list() { + return this.rawClient.list().body(); + } + + /** + * Retrieve all external users for the project + */ + public SyncPagingIterable list(UsersListRequest request) { + return this.rawClient.list(request).body(); + } + + /** + * Retrieve all external users for the project + */ + public SyncPagingIterable list(UsersListRequest request, RequestOptions requestOptions) { + return this.rawClient.list(request, requestOptions).body(); + } } diff --git a/src/main/java/com/pipedream/api/resources/users/requests/UsersListRequest.java b/src/main/java/com/pipedream/api/resources/users/requests/UsersListRequest.java new file mode 100644 index 0000000..e5cfe91 --- /dev/null +++ b/src/main/java/com/pipedream/api/resources/users/requests/UsersListRequest.java @@ -0,0 +1,193 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ +package com.pipedream.api.resources.users.requests; + +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 = UsersListRequest.Builder.class) +public final class UsersListRequest { + private final Optional after; + + private final Optional before; + + private final Optional limit; + + private final Optional q; + + private final Map additionalProperties; + + private UsersListRequest( + Optional after, + Optional before, + Optional limit, + Optional q, + Map additionalProperties) { + this.after = after; + this.before = before; + this.limit = limit; + this.q = q; + this.additionalProperties = additionalProperties; + } + + /** + * @return The cursor to start from for pagination + */ + @JsonProperty("after") + public Optional getAfter() { + return after; + } + + /** + * @return The cursor to end before for pagination + */ + @JsonProperty("before") + public Optional getBefore() { + return before; + } + + /** + * @return The maximum number of results to return + */ + @JsonProperty("limit") + public Optional getLimit() { + return limit; + } + + /** + * @return Filter users by external_id (partial match) + */ + @JsonProperty("q") + public Optional getQ() { + return q; + } + + @java.lang.Override + public boolean equals(Object other) { + if (this == other) return true; + return other instanceof UsersListRequest && equalTo((UsersListRequest) other); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + private boolean equalTo(UsersListRequest other) { + return after.equals(other.after) + && before.equals(other.before) + && limit.equals(other.limit) + && q.equals(other.q); + } + + @java.lang.Override + public int hashCode() { + return Objects.hash(this.after, this.before, this.limit, this.q); + } + + @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 after = Optional.empty(); + + private Optional before = Optional.empty(); + + private Optional limit = Optional.empty(); + + private Optional q = Optional.empty(); + + @JsonAnySetter + private Map additionalProperties = new HashMap<>(); + + private Builder() {} + + public Builder from(UsersListRequest other) { + after(other.getAfter()); + before(other.getBefore()); + limit(other.getLimit()); + q(other.getQ()); + return this; + } + + /** + *

The cursor to start from for pagination

+ */ + @JsonSetter(value = "after", nulls = Nulls.SKIP) + public Builder after(Optional after) { + this.after = after; + return this; + } + + public Builder after(String after) { + this.after = Optional.ofNullable(after); + return this; + } + + /** + *

The cursor to end before for pagination

+ */ + @JsonSetter(value = "before", nulls = Nulls.SKIP) + public Builder before(Optional before) { + this.before = before; + return this; + } + + public Builder before(String before) { + this.before = Optional.ofNullable(before); + return this; + } + + /** + *

The maximum number of results to return

+ */ + @JsonSetter(value = "limit", nulls = Nulls.SKIP) + public Builder limit(Optional limit) { + this.limit = limit; + return this; + } + + public Builder limit(Integer limit) { + this.limit = Optional.ofNullable(limit); + return this; + } + + /** + *

Filter users by external_id (partial match)

+ */ + @JsonSetter(value = "q", nulls = Nulls.SKIP) + public Builder q(Optional q) { + this.q = q; + return this; + } + + public Builder q(String q) { + this.q = Optional.ofNullable(q); + return this; + } + + public UsersListRequest build() { + return new UsersListRequest(after, before, limit, q, additionalProperties); + } + } +} diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableBaseId.java b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableBaseId.java index c22bc7c..0dccdad 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableBaseId.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableBaseId.java @@ -31,6 +31,8 @@ public final class ConfigurablePropAirtableBaseId implements IConfigurablePropBa private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -51,6 +53,7 @@ private ConfigurablePropAirtableBaseId( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -63,6 +66,7 @@ private ConfigurablePropAirtableBaseId( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -117,6 +121,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -187,6 +200,7 @@ private boolean equalTo(ConfigurablePropAirtableBaseId other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -203,6 +217,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -267,6 +282,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -319,6 +341,8 @@ public static final class Builder implements NameStage, AppPropStage, _FinalStag private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -339,6 +363,7 @@ public Builder from(ConfigurablePropAirtableBaseId other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -472,6 +497,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -560,6 +605,7 @@ public ConfigurablePropAirtableBaseId build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableFieldId.java b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableFieldId.java index 85a2da9..477db0c 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableFieldId.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableFieldId.java @@ -31,6 +31,8 @@ public final class ConfigurablePropAirtableFieldId implements IConfigurablePropB private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -51,6 +53,7 @@ private ConfigurablePropAirtableFieldId( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -63,6 +66,7 @@ private ConfigurablePropAirtableFieldId( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -117,6 +121,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -187,6 +200,7 @@ private boolean equalTo(ConfigurablePropAirtableFieldId other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -203,6 +217,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -267,6 +282,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -319,6 +341,8 @@ public static final class Builder implements NameStage, TableIdPropStage, _Final private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -339,6 +363,7 @@ public Builder from(ConfigurablePropAirtableFieldId other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -472,6 +497,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -560,6 +605,7 @@ public ConfigurablePropAirtableFieldId build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableTableId.java b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableTableId.java index 8ca1904..a9de71a 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableTableId.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableTableId.java @@ -31,6 +31,8 @@ public final class ConfigurablePropAirtableTableId implements IConfigurablePropB private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -51,6 +53,7 @@ private ConfigurablePropAirtableTableId( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -63,6 +66,7 @@ private ConfigurablePropAirtableTableId( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -117,6 +121,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -187,6 +200,7 @@ private boolean equalTo(ConfigurablePropAirtableTableId other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -203,6 +217,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -267,6 +282,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -319,6 +341,8 @@ public static final class Builder implements NameStage, BaseIdPropStage, _FinalS private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -339,6 +363,7 @@ public Builder from(ConfigurablePropAirtableTableId other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -472,6 +497,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -560,6 +605,7 @@ public ConfigurablePropAirtableTableId build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableViewId.java b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableViewId.java index 73c59d6..5fc4907 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableViewId.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropAirtableViewId.java @@ -31,6 +31,8 @@ public final class ConfigurablePropAirtableViewId implements IConfigurablePropBa private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -51,6 +53,7 @@ private ConfigurablePropAirtableViewId( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -63,6 +66,7 @@ private ConfigurablePropAirtableViewId( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -117,6 +121,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -187,6 +200,7 @@ private boolean equalTo(ConfigurablePropAirtableViewId other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -203,6 +217,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -267,6 +282,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -319,6 +341,8 @@ public static final class Builder implements NameStage, TableIdPropStage, _Final private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -339,6 +363,7 @@ public Builder from(ConfigurablePropAirtableViewId other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -472,6 +497,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -560,6 +605,7 @@ public ConfigurablePropAirtableViewId build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropAlert.java b/src/main/java/com/pipedream/api/types/ConfigurablePropAlert.java index 2d42a09..2585b1b 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropAlert.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropAlert.java @@ -31,6 +31,8 @@ public final class ConfigurablePropAlert implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -53,6 +55,7 @@ private ConfigurablePropAlert( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -66,6 +69,7 @@ private ConfigurablePropAlert( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -121,6 +125,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -196,6 +209,7 @@ private boolean equalTo(ConfigurablePropAlert other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -213,6 +227,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -278,6 +293,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -336,6 +358,8 @@ public static final class Builder implements NameStage, ContentStage, _FinalStag private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -356,6 +380,7 @@ public Builder from(ConfigurablePropAlert other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -503,6 +528,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -591,6 +636,7 @@ public ConfigurablePropAlert build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropAny.java b/src/main/java/com/pipedream/api/types/ConfigurablePropAny.java index f7b1250..5c7358d 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropAny.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropAny.java @@ -32,6 +32,8 @@ public final class ConfigurablePropAny implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -54,6 +56,7 @@ private ConfigurablePropAny( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -67,6 +70,7 @@ private ConfigurablePropAny( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -122,6 +126,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -194,6 +207,7 @@ private boolean equalTo(ConfigurablePropAny other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -211,6 +225,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -269,6 +284,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -331,6 +353,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -351,6 +375,7 @@ public Builder from(ConfigurablePropAny other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -499,6 +524,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -587,6 +632,7 @@ public ConfigurablePropAny build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropApp.java b/src/main/java/com/pipedream/api/types/ConfigurablePropApp.java index db33c23..7a78370 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropApp.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropApp.java @@ -31,6 +31,8 @@ public final class ConfigurablePropApp implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -51,6 +53,7 @@ private ConfigurablePropApp( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -63,6 +66,7 @@ private ConfigurablePropApp( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -117,6 +121,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -187,6 +200,7 @@ private boolean equalTo(ConfigurablePropApp other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -203,6 +217,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -267,6 +282,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -319,6 +341,8 @@ public static final class Builder implements NameStage, AppStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -339,6 +363,7 @@ public Builder from(ConfigurablePropApp other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -472,6 +497,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -560,6 +605,7 @@ public ConfigurablePropApp build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropApphook.java b/src/main/java/com/pipedream/api/types/ConfigurablePropApphook.java index 1483e43..7f9eb88 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropApphook.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropApphook.java @@ -32,6 +32,8 @@ public final class ConfigurablePropApphook implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -58,6 +60,7 @@ private ConfigurablePropApphook( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -73,6 +76,7 @@ private ConfigurablePropApphook( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -130,6 +134,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -224,6 +237,7 @@ private boolean equalTo(ConfigurablePropApphook other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -243,6 +257,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -310,6 +325,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -389,6 +411,8 @@ public static final class Builder implements NameStage, AppPropStage, _FinalStag private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -409,6 +433,7 @@ public Builder from(ConfigurablePropApphook other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -605,6 +630,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -693,6 +738,7 @@ public ConfigurablePropApphook build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropBase.java b/src/main/java/com/pipedream/api/types/ConfigurablePropBase.java index db0b589..925e180 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropBase.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropBase.java @@ -31,6 +31,8 @@ public final class ConfigurablePropBase implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -49,6 +51,7 @@ private ConfigurablePropBase( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -60,6 +63,7 @@ private ConfigurablePropBase( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -113,6 +117,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -175,6 +188,7 @@ private boolean equalTo(ConfigurablePropBase other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -190,6 +204,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -246,6 +261,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -296,6 +318,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -316,6 +340,7 @@ public Builder from(ConfigurablePropBase other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -436,6 +461,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -524,6 +569,7 @@ public ConfigurablePropBase build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropBoolean.java b/src/main/java/com/pipedream/api/types/ConfigurablePropBoolean.java index c40a0d6..e3cf143 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropBoolean.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropBoolean.java @@ -32,6 +32,8 @@ public final class ConfigurablePropBoolean implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -54,6 +56,7 @@ private ConfigurablePropBoolean( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -67,6 +70,7 @@ private ConfigurablePropBoolean( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -122,6 +126,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -194,6 +207,7 @@ private boolean equalTo(ConfigurablePropBoolean other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -211,6 +225,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -269,6 +284,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -331,6 +353,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -351,6 +375,7 @@ public Builder from(ConfigurablePropBoolean other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -499,6 +524,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -587,6 +632,7 @@ public ConfigurablePropBoolean build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropDataStore.java b/src/main/java/com/pipedream/api/types/ConfigurablePropDataStore.java index fe1d851..6a20a2a 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropDataStore.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropDataStore.java @@ -31,6 +31,8 @@ public final class ConfigurablePropDataStore implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -49,6 +51,7 @@ private ConfigurablePropDataStore( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -60,6 +63,7 @@ private ConfigurablePropDataStore( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -113,6 +117,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -175,6 +188,7 @@ private boolean equalTo(ConfigurablePropDataStore other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -190,6 +204,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -246,6 +261,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -296,6 +318,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -316,6 +340,7 @@ public Builder from(ConfigurablePropDataStore other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -436,6 +461,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -524,6 +569,7 @@ public ConfigurablePropDataStore build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropDb.java b/src/main/java/com/pipedream/api/types/ConfigurablePropDb.java index 1625bfb..55d3e79 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropDb.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropDb.java @@ -31,6 +31,8 @@ public final class ConfigurablePropDb implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -49,6 +51,7 @@ private ConfigurablePropDb( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -60,6 +63,7 @@ private ConfigurablePropDb( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -113,6 +117,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -175,6 +188,7 @@ private boolean equalTo(ConfigurablePropDb other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -190,6 +204,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -246,6 +261,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -296,6 +318,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -316,6 +340,7 @@ public Builder from(ConfigurablePropDb other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -436,6 +461,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -524,6 +569,7 @@ public ConfigurablePropDb build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropDir.java b/src/main/java/com/pipedream/api/types/ConfigurablePropDir.java index e874799..2cb4de6 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropDir.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropDir.java @@ -31,6 +31,8 @@ public final class ConfigurablePropDir implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -49,6 +51,7 @@ private ConfigurablePropDir( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -60,6 +63,7 @@ private ConfigurablePropDir( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -113,6 +117,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -175,6 +188,7 @@ private boolean equalTo(ConfigurablePropDir other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -190,6 +204,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -246,6 +261,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -296,6 +318,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -316,6 +340,7 @@ public Builder from(ConfigurablePropDir other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -436,6 +461,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -524,6 +569,7 @@ public ConfigurablePropDir build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropDiscord.java b/src/main/java/com/pipedream/api/types/ConfigurablePropDiscord.java index 705e354..fb178e5 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropDiscord.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropDiscord.java @@ -31,6 +31,8 @@ public final class ConfigurablePropDiscord implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -49,6 +51,7 @@ private ConfigurablePropDiscord( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -60,6 +63,7 @@ private ConfigurablePropDiscord( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -113,6 +117,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -180,6 +193,7 @@ private boolean equalTo(ConfigurablePropDiscord other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -195,6 +209,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -251,6 +266,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -301,6 +323,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -321,6 +345,7 @@ public Builder from(ConfigurablePropDiscord other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -441,6 +466,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -529,6 +574,7 @@ public ConfigurablePropDiscord build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropDiscordChannel.java b/src/main/java/com/pipedream/api/types/ConfigurablePropDiscordChannel.java index a765ce5..dcaa7d0 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropDiscordChannel.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropDiscordChannel.java @@ -31,6 +31,8 @@ public final class ConfigurablePropDiscordChannel implements IConfigurablePropBa private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -51,6 +53,7 @@ private ConfigurablePropDiscordChannel( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -63,6 +66,7 @@ private ConfigurablePropDiscordChannel( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -117,6 +121,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -187,6 +200,7 @@ private boolean equalTo(ConfigurablePropDiscordChannel other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -203,6 +217,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -267,6 +282,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -319,6 +341,8 @@ public static final class Builder implements NameStage, AppPropStage, _FinalStag private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -339,6 +363,7 @@ public Builder from(ConfigurablePropDiscordChannel other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -472,6 +497,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -560,6 +605,7 @@ public ConfigurablePropDiscordChannel build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropDiscordChannelArray.java b/src/main/java/com/pipedream/api/types/ConfigurablePropDiscordChannelArray.java index 08e40ab..0f265f6 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropDiscordChannelArray.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropDiscordChannelArray.java @@ -31,6 +31,8 @@ public final class ConfigurablePropDiscordChannelArray implements IConfigurableP private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -51,6 +53,7 @@ private ConfigurablePropDiscordChannelArray( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -63,6 +66,7 @@ private ConfigurablePropDiscordChannelArray( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -117,6 +121,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -188,6 +201,7 @@ private boolean equalTo(ConfigurablePropDiscordChannelArray other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -204,6 +218,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -261,6 +276,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -320,6 +342,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -340,6 +364,7 @@ public Builder from(ConfigurablePropDiscordChannelArray other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -481,6 +506,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -569,6 +614,7 @@ public ConfigurablePropDiscordChannelArray build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropHttp.java b/src/main/java/com/pipedream/api/types/ConfigurablePropHttp.java index 489b992..679a268 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropHttp.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropHttp.java @@ -31,6 +31,8 @@ public final class ConfigurablePropHttp implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -51,6 +53,7 @@ private ConfigurablePropHttp( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -63,6 +66,7 @@ private ConfigurablePropHttp( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -117,6 +121,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -187,6 +200,7 @@ private boolean equalTo(ConfigurablePropHttp other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -203,6 +217,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -260,6 +275,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -319,6 +341,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -339,6 +363,7 @@ public Builder from(ConfigurablePropHttp other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -480,6 +505,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -568,6 +613,7 @@ public ConfigurablePropHttp build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropHttpRequest.java b/src/main/java/com/pipedream/api/types/ConfigurablePropHttpRequest.java index 7fddfac..bee1340 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropHttpRequest.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropHttpRequest.java @@ -31,6 +31,8 @@ public final class ConfigurablePropHttpRequest implements IConfigurablePropBase private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -51,6 +53,7 @@ private ConfigurablePropHttpRequest( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -63,6 +66,7 @@ private ConfigurablePropHttpRequest( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -117,6 +121,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -184,6 +197,7 @@ private boolean equalTo(ConfigurablePropHttpRequest other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -200,6 +214,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -257,6 +272,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -313,6 +335,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -333,6 +357,7 @@ public Builder from(ConfigurablePropHttpRequest other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -467,6 +492,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -555,6 +600,7 @@ public ConfigurablePropHttpRequest build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropInteger.java b/src/main/java/com/pipedream/api/types/ConfigurablePropInteger.java index b890aaf..4454921 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropInteger.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropInteger.java @@ -32,6 +32,8 @@ public final class ConfigurablePropInteger implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -58,6 +60,7 @@ private ConfigurablePropInteger( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -73,6 +76,7 @@ private ConfigurablePropInteger( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -130,6 +134,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -221,6 +234,7 @@ private boolean equalTo(ConfigurablePropInteger other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -240,6 +254,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -300,6 +315,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -383,6 +405,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -403,6 +427,7 @@ public Builder from(ConfigurablePropInteger other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -600,6 +625,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -688,6 +733,7 @@ public ConfigurablePropInteger build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropIntegerArray.java b/src/main/java/com/pipedream/api/types/ConfigurablePropIntegerArray.java index 970e522..2cbdfcf 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropIntegerArray.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropIntegerArray.java @@ -32,6 +32,8 @@ public final class ConfigurablePropIntegerArray implements IConfigurablePropBase private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -58,6 +60,7 @@ private ConfigurablePropIntegerArray( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -73,6 +76,7 @@ private ConfigurablePropIntegerArray( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -130,6 +134,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -224,6 +237,7 @@ private boolean equalTo(ConfigurablePropIntegerArray other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -243,6 +257,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -303,6 +318,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -389,6 +411,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -409,6 +433,7 @@ public Builder from(ConfigurablePropIntegerArray other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -613,6 +638,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -701,6 +746,7 @@ public ConfigurablePropIntegerArray build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropObject.java b/src/main/java/com/pipedream/api/types/ConfigurablePropObject.java index a0773df..7266d78 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropObject.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropObject.java @@ -32,6 +32,8 @@ public final class ConfigurablePropObject implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -54,6 +56,7 @@ private ConfigurablePropObject( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -67,6 +70,7 @@ private ConfigurablePropObject( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -122,6 +126,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -194,6 +207,7 @@ private boolean equalTo(ConfigurablePropObject other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -211,6 +225,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -269,6 +284,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -331,6 +353,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -351,6 +375,7 @@ public Builder from(ConfigurablePropObject other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -499,6 +524,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -587,6 +632,7 @@ public ConfigurablePropObject build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropSql.java b/src/main/java/com/pipedream/api/types/ConfigurablePropSql.java index ec5950e..b395c53 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropSql.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropSql.java @@ -32,6 +32,8 @@ public final class ConfigurablePropSql implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -56,6 +58,7 @@ private ConfigurablePropSql( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -70,6 +73,7 @@ private ConfigurablePropSql( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -126,6 +130,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -203,6 +216,7 @@ private boolean equalTo(ConfigurablePropSql other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -221,6 +235,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -280,6 +295,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -348,6 +370,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -368,6 +392,7 @@ public Builder from(ConfigurablePropSql other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -530,6 +555,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -618,6 +663,7 @@ public ConfigurablePropSql build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropString.java b/src/main/java/com/pipedream/api/types/ConfigurablePropString.java index d025aac..5f12b33 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropString.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropString.java @@ -32,6 +32,8 @@ public final class ConfigurablePropString implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -58,6 +60,7 @@ private ConfigurablePropString( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -73,6 +76,7 @@ private ConfigurablePropString( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -130,6 +134,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -215,6 +228,7 @@ private boolean equalTo(ConfigurablePropString other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -234,6 +248,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -294,6 +309,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -371,6 +393,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -391,6 +415,7 @@ public Builder from(ConfigurablePropString other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -574,6 +599,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -662,6 +707,7 @@ public ConfigurablePropString build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropStringArray.java b/src/main/java/com/pipedream/api/types/ConfigurablePropStringArray.java index da0fa48..1bd2b2e 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropStringArray.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropStringArray.java @@ -32,6 +32,8 @@ public final class ConfigurablePropStringArray implements IConfigurablePropBase private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -58,6 +60,7 @@ private ConfigurablePropStringArray( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -73,6 +76,7 @@ private ConfigurablePropStringArray( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -130,6 +134,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -218,6 +231,7 @@ private boolean equalTo(ConfigurablePropStringArray other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -237,6 +251,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -297,6 +312,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -377,6 +399,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -397,6 +421,7 @@ public Builder from(ConfigurablePropStringArray other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -587,6 +612,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -675,6 +720,7 @@ public ConfigurablePropStringArray build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropTimer.java b/src/main/java/com/pipedream/api/types/ConfigurablePropTimer.java index 6be9844..286a4eb 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropTimer.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropTimer.java @@ -32,6 +32,8 @@ public final class ConfigurablePropTimer implements IConfigurablePropBase { private final Optional disabled; + private final Optional readOnly; + private final Optional hidden; private final Optional remoteOptions; @@ -56,6 +58,7 @@ private ConfigurablePropTimer( Optional description, Optional optional, Optional disabled, + Optional readOnly, Optional hidden, Optional remoteOptions, Optional useQuery, @@ -70,6 +73,7 @@ private ConfigurablePropTimer( this.description = description; this.optional = optional; this.disabled = disabled; + this.readOnly = readOnly; this.hidden = hidden; this.remoteOptions = remoteOptions; this.useQuery = useQuery; @@ -126,6 +130,15 @@ public Optional getDisabled() { return disabled; } + /** + * @return If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input. + */ + @JsonProperty("readOnly") + @java.lang.Override + public Optional getReadOnly() { + return readOnly; + } + /** * @return If true, should not expose this prop to the user */ @@ -206,6 +219,7 @@ private boolean equalTo(ConfigurablePropTimer other) { && description.equals(other.description) && optional.equals(other.optional) && disabled.equals(other.disabled) + && readOnly.equals(other.readOnly) && hidden.equals(other.hidden) && remoteOptions.equals(other.remoteOptions) && useQuery.equals(other.useQuery) @@ -224,6 +238,7 @@ public int hashCode() { this.description, this.optional, this.disabled, + this.readOnly, this.hidden, this.remoteOptions, this.useQuery, @@ -283,6 +298,13 @@ public interface _FinalStage { _FinalStage disabled(Boolean disabled); + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + _FinalStage readOnly(Optional readOnly); + + _FinalStage readOnly(Boolean readOnly); + /** *

If true, should not expose this prop to the user

*/ @@ -354,6 +376,8 @@ public static final class Builder implements NameStage, _FinalStage { private Optional hidden = Optional.empty(); + private Optional readOnly = Optional.empty(); + private Optional disabled = Optional.empty(); private Optional optional = Optional.empty(); @@ -374,6 +398,7 @@ public Builder from(ConfigurablePropTimer other) { description(other.getDescription()); optional(other.getOptional()); disabled(other.getDisabled()); + readOnly(other.getReadOnly()); hidden(other.getHidden()); remoteOptions(other.getRemoteOptions()); useQuery(other.getUseQuery()); @@ -543,6 +568,26 @@ public _FinalStage hidden(Optional hidden) { return this; } + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage readOnly(Boolean readOnly) { + this.readOnly = Optional.ofNullable(readOnly); + return this; + } + + /** + *

If true, this prop is read-only — its value is either fixed by the component author (static) or the prop is purely informational (e.g. alert, dir). Connect clients should render it without treating it as a configurable input.

+ */ + @java.lang.Override + @JsonSetter(value = "readOnly", nulls = Nulls.SKIP) + public _FinalStage readOnly(Optional readOnly) { + this.readOnly = readOnly; + return this; + } + /** *

If true, this prop will be ignored.

* @return Reference to {@code this} so that method calls can be chained together. @@ -631,6 +676,7 @@ public ConfigurablePropTimer build() { description, optional, disabled, + readOnly, hidden, remoteOptions, useQuery, diff --git a/src/main/java/com/pipedream/api/types/ExternalUser.java b/src/main/java/com/pipedream/api/types/ExternalUser.java new file mode 100644 index 0000000..7cc6214 --- /dev/null +++ b/src/main/java/com/pipedream/api/types/ExternalUser.java @@ -0,0 +1,213 @@ +/** + * 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.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import org.jetbrains.annotations.NotNull; + +@JsonInclude(JsonInclude.Include.NON_ABSENT) +@JsonDeserialize(builder = ExternalUser.Builder.class) +public final class ExternalUser { + private final String id; + + private final String externalId; + + private final Optional createdAt; + + private final Optional updatedAt; + + private final Map additionalProperties; + + private ExternalUser( + String id, + String externalId, + Optional createdAt, + Optional updatedAt, + Map additionalProperties) { + this.id = id; + this.externalId = externalId; + this.createdAt = createdAt; + this.updatedAt = updatedAt; + this.additionalProperties = additionalProperties; + } + + /** + * @return The external user's Pipedream ID + */ + @JsonProperty("id") + public String getId() { + return id; + } + + /** + * @return Your identifier for the external user + */ + @JsonProperty("external_id") + public String getExternalId() { + return externalId; + } + + @JsonProperty("created_at") + public Optional getCreatedAt() { + return createdAt; + } + + @JsonProperty("updated_at") + public Optional getUpdatedAt() { + return updatedAt; + } + + @java.lang.Override + public boolean equals(Object other) { + if (this == other) return true; + return other instanceof ExternalUser && equalTo((ExternalUser) other); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + private boolean equalTo(ExternalUser other) { + return id.equals(other.id) + && externalId.equals(other.externalId) + && createdAt.equals(other.createdAt) + && updatedAt.equals(other.updatedAt); + } + + @java.lang.Override + public int hashCode() { + return Objects.hash(this.id, this.externalId, this.createdAt, this.updatedAt); + } + + @java.lang.Override + public String toString() { + return ObjectMappers.stringify(this); + } + + public static IdStage builder() { + return new Builder(); + } + + public interface IdStage { + /** + *

The external user's Pipedream ID

+ */ + ExternalIdStage id(@NotNull String id); + + Builder from(ExternalUser other); + } + + public interface ExternalIdStage { + /** + *

Your identifier for the external user

+ */ + _FinalStage externalId(@NotNull String externalId); + } + + public interface _FinalStage { + ExternalUser build(); + + _FinalStage createdAt(Optional createdAt); + + _FinalStage createdAt(OffsetDateTime createdAt); + + _FinalStage updatedAt(Optional updatedAt); + + _FinalStage updatedAt(OffsetDateTime updatedAt); + } + + @JsonIgnoreProperties(ignoreUnknown = true) + public static final class Builder implements IdStage, ExternalIdStage, _FinalStage { + private String id; + + private String externalId; + + private Optional updatedAt = Optional.empty(); + + private Optional createdAt = Optional.empty(); + + @JsonAnySetter + private Map additionalProperties = new HashMap<>(); + + private Builder() {} + + @java.lang.Override + public Builder from(ExternalUser other) { + id(other.getId()); + externalId(other.getExternalId()); + createdAt(other.getCreatedAt()); + updatedAt(other.getUpdatedAt()); + return this; + } + + /** + *

The external user's Pipedream ID

+ *

The external user's Pipedream ID

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + @JsonSetter("id") + public ExternalIdStage id(@NotNull String id) { + this.id = Objects.requireNonNull(id, "id must not be null"); + return this; + } + + /** + *

Your identifier for the external user

+ *

Your identifier for the external user

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + @JsonSetter("external_id") + public _FinalStage externalId(@NotNull String externalId) { + this.externalId = Objects.requireNonNull(externalId, "externalId must not be null"); + return this; + } + + @java.lang.Override + public _FinalStage updatedAt(OffsetDateTime updatedAt) { + this.updatedAt = Optional.ofNullable(updatedAt); + return this; + } + + @java.lang.Override + @JsonSetter(value = "updated_at", nulls = Nulls.SKIP) + public _FinalStage updatedAt(Optional updatedAt) { + this.updatedAt = updatedAt; + return this; + } + + @java.lang.Override + public _FinalStage createdAt(OffsetDateTime createdAt) { + this.createdAt = Optional.ofNullable(createdAt); + return this; + } + + @java.lang.Override + @JsonSetter(value = "created_at", nulls = Nulls.SKIP) + public _FinalStage createdAt(Optional createdAt) { + this.createdAt = createdAt; + return this; + } + + @java.lang.Override + public ExternalUser build() { + return new ExternalUser(id, externalId, createdAt, updatedAt, additionalProperties); + } + } +} diff --git a/src/main/java/com/pipedream/api/types/GetUsersResponse.java b/src/main/java/com/pipedream/api/types/GetUsersResponse.java new file mode 100644 index 0000000..50866a5 --- /dev/null +++ b/src/main/java/com/pipedream/api/types/GetUsersResponse.java @@ -0,0 +1,146 @@ +/** + * 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.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import org.jetbrains.annotations.NotNull; + +@JsonInclude(JsonInclude.Include.NON_ABSENT) +@JsonDeserialize(builder = GetUsersResponse.Builder.class) +public final class GetUsersResponse { + private final List data; + + private final PageInfo pageInfo; + + private final Map additionalProperties; + + private GetUsersResponse(List data, PageInfo pageInfo, Map additionalProperties) { + this.data = data; + this.pageInfo = pageInfo; + this.additionalProperties = additionalProperties; + } + + @JsonProperty("data") + public List getData() { + return data; + } + + @JsonProperty("page_info") + public PageInfo getPageInfo() { + return pageInfo; + } + + @java.lang.Override + public boolean equals(Object other) { + if (this == other) return true; + return other instanceof GetUsersResponse && equalTo((GetUsersResponse) other); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + private boolean equalTo(GetUsersResponse other) { + return data.equals(other.data) && pageInfo.equals(other.pageInfo); + } + + @java.lang.Override + public int hashCode() { + return Objects.hash(this.data, this.pageInfo); + } + + @java.lang.Override + public String toString() { + return ObjectMappers.stringify(this); + } + + public static PageInfoStage builder() { + return new Builder(); + } + + public interface PageInfoStage { + _FinalStage pageInfo(@NotNull PageInfo pageInfo); + + Builder from(GetUsersResponse other); + } + + public interface _FinalStage { + GetUsersResponse build(); + + _FinalStage data(List data); + + _FinalStage addData(ExternalUser data); + + _FinalStage addAllData(List data); + } + + @JsonIgnoreProperties(ignoreUnknown = true) + public static final class Builder implements PageInfoStage, _FinalStage { + private PageInfo pageInfo; + + private List data = new ArrayList<>(); + + @JsonAnySetter + private Map additionalProperties = new HashMap<>(); + + private Builder() {} + + @java.lang.Override + public Builder from(GetUsersResponse other) { + data(other.getData()); + pageInfo(other.getPageInfo()); + return this; + } + + @java.lang.Override + @JsonSetter("page_info") + public _FinalStage pageInfo(@NotNull PageInfo pageInfo) { + this.pageInfo = Objects.requireNonNull(pageInfo, "pageInfo must not be null"); + return this; + } + + @java.lang.Override + public _FinalStage addAllData(List data) { + if (data != null) { + this.data.addAll(data); + } + return this; + } + + @java.lang.Override + public _FinalStage addData(ExternalUser data) { + this.data.add(data); + return this; + } + + @java.lang.Override + @JsonSetter(value = "data", nulls = Nulls.SKIP) + public _FinalStage data(List data) { + this.data.clear(); + if (data != null) { + this.data.addAll(data); + } + return this; + } + + @java.lang.Override + public GetUsersResponse build() { + return new GetUsersResponse(data, pageInfo, additionalProperties); + } + } +} diff --git a/src/main/java/com/pipedream/api/types/IConfigurablePropBase.java b/src/main/java/com/pipedream/api/types/IConfigurablePropBase.java index 39f1f9e..78c3a54 100644 --- a/src/main/java/com/pipedream/api/types/IConfigurablePropBase.java +++ b/src/main/java/com/pipedream/api/types/IConfigurablePropBase.java @@ -16,6 +16,8 @@ public interface IConfigurablePropBase { Optional getDisabled(); + Optional getReadOnly(); + Optional getHidden(); Optional getRemoteOptions();