diff --git a/pom.xml b/pom.xml index 7c7121b5..5c15ffcd 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.skyflow skyflow-java - 2.0.1 + 3.0.0-beta.8-dev.c20e456 jar ${project.groupId}:${project.artifactId} diff --git a/src/main/java/com/skyflow/generated/rest/core/ApiClientApiException.java b/src/main/java/com/skyflow/generated/rest/core/ApiClientApiException.java index a4487b1e..4fab1d41 100644 --- a/src/main/java/com/skyflow/generated/rest/core/ApiClientApiException.java +++ b/src/main/java/com/skyflow/generated/rest/core/ApiClientApiException.java @@ -65,7 +65,7 @@ public Map> headers() { return this.headers; } - @java.lang.Override + @Override public String toString() { return "ApiClientApiException{" + "message: " + getMessage() + ", statusCode: " + statusCode + ", body: " + body + "}"; diff --git a/src/main/java/com/skyflow/generated/rest/core/ClientOptions.java b/src/main/java/com/skyflow/generated/rest/core/ClientOptions.java index 59ac5f99..ddb0e107 100644 --- a/src/main/java/com/skyflow/generated/rest/core/ClientOptions.java +++ b/src/main/java/com/skyflow/generated/rest/core/ClientOptions.java @@ -34,7 +34,7 @@ private ClientOptions( { put("X-Fern-Language", "JAVA"); put("X-Fern-SDK-Name", "com.skyflow.fern:api-sdk"); - put("X-Fern-SDK-Version", "0.0.378"); + put("X-Fern-SDK-Version", "0.0.385"); } }); this.headerSuppliers = headerSuppliers; diff --git a/src/main/java/com/skyflow/generated/rest/errors/BadRequestError.java b/src/main/java/com/skyflow/generated/rest/errors/BadRequestError.java index c8d4bb99..80ae5e7c 100644 --- a/src/main/java/com/skyflow/generated/rest/errors/BadRequestError.java +++ b/src/main/java/com/skyflow/generated/rest/errors/BadRequestError.java @@ -25,7 +25,7 @@ public BadRequestError(Object body, Response rawResponse) { /** * @return the body */ - @java.lang.Override + @Override public Object body() { return this.body; } diff --git a/src/main/java/com/skyflow/generated/rest/errors/InternalServerError.java b/src/main/java/com/skyflow/generated/rest/errors/InternalServerError.java index d29f2b82..ffeed9d7 100644 --- a/src/main/java/com/skyflow/generated/rest/errors/InternalServerError.java +++ b/src/main/java/com/skyflow/generated/rest/errors/InternalServerError.java @@ -26,7 +26,7 @@ public InternalServerError(ErrorResponse body, Response rawResponse) { /** * @return the body */ - @java.lang.Override + @Override public ErrorResponse body() { return this.body; } diff --git a/src/main/java/com/skyflow/generated/rest/errors/NotFoundError.java b/src/main/java/com/skyflow/generated/rest/errors/NotFoundError.java index efa94aad..1d0a6ad0 100644 --- a/src/main/java/com/skyflow/generated/rest/errors/NotFoundError.java +++ b/src/main/java/com/skyflow/generated/rest/errors/NotFoundError.java @@ -25,7 +25,7 @@ public NotFoundError(Object body, Response rawResponse) { /** * @return the body */ - @java.lang.Override + @Override public Object body() { return this.body; } diff --git a/src/main/java/com/skyflow/generated/rest/errors/UnauthorizedError.java b/src/main/java/com/skyflow/generated/rest/errors/UnauthorizedError.java index 3b6d6ae1..3bc254bc 100644 --- a/src/main/java/com/skyflow/generated/rest/errors/UnauthorizedError.java +++ b/src/main/java/com/skyflow/generated/rest/errors/UnauthorizedError.java @@ -25,7 +25,7 @@ public UnauthorizedError(Object body, Response rawResponse) { /** * @return the body */ - @java.lang.Override + @Override public Object body() { return this.body; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/audit/requests/AuditServiceListAuditEventsRequest.java b/src/main/java/com/skyflow/generated/rest/resources/audit/requests/AuditServiceListAuditEventsRequest.java index 3da04589..8b6686e4 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/audit/requests/AuditServiceListAuditEventsRequest.java +++ b/src/main/java/com/skyflow/generated/rest/resources/audit/requests/AuditServiceListAuditEventsRequest.java @@ -430,7 +430,7 @@ public Optional getOffset() { return offset; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof AuditServiceListAuditEventsRequest @@ -478,7 +478,7 @@ private boolean equalTo(AuditServiceListAuditEventsRequest other) { && offset.equals(other.offset); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.filterOpsContextChangeId, @@ -516,7 +516,7 @@ public int hashCode() { this.offset); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -848,7 +848,7 @@ public static final class Builder implements FilterOpsAccountIdStage, _FinalStag private Builder() {} - @java.lang.Override + @Override public Builder from(AuditServiceListAuditEventsRequest other) { filterOpsContextChangeId(other.getFilterOpsContextChangeId()); filterOpsContextRequestId(other.getFilterOpsContextRequestId()); @@ -890,7 +890,7 @@ public Builder from(AuditServiceListAuditEventsRequest other) { * Resources with the specified account ID.

Resources with the specified account ID.

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

Record position at which to start returning results.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage offset(Long offset) { this.offset = Optional.ofNullable(offset); return this; @@ -910,7 +910,7 @@ public _FinalStage offset(Long offset) { /** *

Record position at which to start returning results.

*/ - @java.lang.Override + @Override @JsonSetter(value = "offset", nulls = Nulls.SKIP) public _FinalStage offset(Optional offset) { this.offset = offset; @@ -921,7 +921,7 @@ public _FinalStage offset(Optional offset) { *

Number of results to return.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage limit(Long limit) { this.limit = Optional.ofNullable(limit); return this; @@ -930,7 +930,7 @@ public _FinalStage limit(Long limit) { /** *

Number of results to return.

*/ - @java.lang.Override + @Override @JsonSetter(value = "limit", nulls = Nulls.SKIP) public _FinalStage limit(Optional limit) { this.limit = limit; @@ -941,7 +941,7 @@ public _FinalStage limit(Optional limit) { *

Change ID provided in the previous audit response's nextOps attribute. An alternate way to manage response pagination. Can't be used with sortOps or offset. For the first request in a series of audit requests, leave blank.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage afterOpsChangeId(String afterOpsChangeId) { this.afterOpsChangeId = Optional.ofNullable(afterOpsChangeId); return this; @@ -950,7 +950,7 @@ public _FinalStage afterOpsChangeId(String afterOpsChangeId) { /** *

Change ID provided in the previous audit response's nextOps attribute. An alternate way to manage response pagination. Can't be used with sortOps or offset. For the first request in a series of audit requests, leave blank.

*/ - @java.lang.Override + @Override @JsonSetter(value = "afterOps.changeID", nulls = Nulls.SKIP) public _FinalStage afterOpsChangeId(Optional afterOpsChangeId) { this.afterOpsChangeId = afterOpsChangeId; @@ -961,7 +961,7 @@ public _FinalStage afterOpsChangeId(Optional afterOpsChangeId) { *

Timestamp provided in the previous audit response's nextOps attribute. An alternate way to manage response pagination. Can't be used with sortOps or offset. For the first request in a series of audit requests, leave blank.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage afterOpsTimestamp(String afterOpsTimestamp) { this.afterOpsTimestamp = Optional.ofNullable(afterOpsTimestamp); return this; @@ -970,7 +970,7 @@ public _FinalStage afterOpsTimestamp(String afterOpsTimestamp) { /** *

Timestamp provided in the previous audit response's nextOps attribute. An alternate way to manage response pagination. Can't be used with sortOps or offset. For the first request in a series of audit requests, leave blank.

*/ - @java.lang.Override + @Override @JsonSetter(value = "afterOps.timestamp", nulls = Nulls.SKIP) public _FinalStage afterOpsTimestamp(Optional afterOpsTimestamp) { this.afterOpsTimestamp = afterOpsTimestamp; @@ -981,7 +981,7 @@ public _FinalStage afterOpsTimestamp(Optional afterOpsTimestamp) { *

Ascending or descending ordering of results.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage sortOpsOrderBy(AuditServiceListAuditEventsRequestSortOpsOrderBy sortOpsOrderBy) { this.sortOpsOrderBy = Optional.ofNullable(sortOpsOrderBy); return this; @@ -990,7 +990,7 @@ public _FinalStage sortOpsOrderBy(AuditServiceListAuditEventsRequestSortOpsOrder /** *

Ascending or descending ordering of results.

*/ - @java.lang.Override + @Override @JsonSetter(value = "sortOps.orderBy", nulls = Nulls.SKIP) public _FinalStage sortOpsOrderBy(Optional sortOpsOrderBy) { this.sortOpsOrderBy = sortOpsOrderBy; @@ -1001,7 +1001,7 @@ public _FinalStage sortOpsOrderBy(OptionalFully-qualified field by which to sort results. Field names should be in camel case (for example, "capitalization.camelCase").

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage sortOpsSortBy(String sortOpsSortBy) { this.sortOpsSortBy = Optional.ofNullable(sortOpsSortBy); return this; @@ -1010,7 +1010,7 @@ public _FinalStage sortOpsSortBy(String sortOpsSortBy) { /** *

Fully-qualified field by which to sort results. Field names should be in camel case (for example, "capitalization.camelCase").

*/ - @java.lang.Override + @Override @JsonSetter(value = "sortOps.sortBy", nulls = Nulls.SKIP) public _FinalStage sortOpsSortBy(Optional sortOpsSortBy) { this.sortOpsSortBy = sortOpsSortBy; @@ -1021,7 +1021,7 @@ public _FinalStage sortOpsSortBy(Optional sortOpsSortBy) { *

HTTP URI of the request.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsHttpUri(String filterOpsHttpUri) { this.filterOpsHttpUri = Optional.ofNullable(filterOpsHttpUri); return this; @@ -1030,7 +1030,7 @@ public _FinalStage filterOpsHttpUri(String filterOpsHttpUri) { /** *

HTTP URI of the request.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.httpURI", nulls = Nulls.SKIP) public _FinalStage filterOpsHttpUri(Optional filterOpsHttpUri) { this.filterOpsHttpUri = filterOpsHttpUri; @@ -1041,7 +1041,7 @@ public _FinalStage filterOpsHttpUri(Optional filterOpsHttpUri) { *

HTTP method of the request.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsHttpMethod(String filterOpsHttpMethod) { this.filterOpsHttpMethod = Optional.ofNullable(filterOpsHttpMethod); return this; @@ -1050,7 +1050,7 @@ public _FinalStage filterOpsHttpMethod(String filterOpsHttpMethod) { /** *

HTTP method of the request.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.httpMethod", nulls = Nulls.SKIP) public _FinalStage filterOpsHttpMethod(Optional filterOpsHttpMethod) { this.filterOpsHttpMethod = filterOpsHttpMethod; @@ -1061,7 +1061,7 @@ public _FinalStage filterOpsHttpMethod(Optional filterOpsHttpMethod) { *

Response message of the request.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsResponseMessage(String filterOpsResponseMessage) { this.filterOpsResponseMessage = Optional.ofNullable(filterOpsResponseMessage); return this; @@ -1070,7 +1070,7 @@ public _FinalStage filterOpsResponseMessage(String filterOpsResponseMessage) { /** *

Response message of the request.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.responseMessage", nulls = Nulls.SKIP) public _FinalStage filterOpsResponseMessage(Optional filterOpsResponseMessage) { this.filterOpsResponseMessage = filterOpsResponseMessage; @@ -1081,7 +1081,7 @@ public _FinalStage filterOpsResponseMessage(Optional filterOpsResponseMe *

Name of the API called in the request.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsApiName(String filterOpsApiName) { this.filterOpsApiName = Optional.ofNullable(filterOpsApiName); return this; @@ -1090,7 +1090,7 @@ public _FinalStage filterOpsApiName(String filterOpsApiName) { /** *

Name of the API called in the request.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.apiName", nulls = Nulls.SKIP) public _FinalStage filterOpsApiName(Optional filterOpsApiName) { this.filterOpsApiName = filterOpsApiName; @@ -1101,7 +1101,7 @@ public _FinalStage filterOpsApiName(Optional filterOpsApiName) { *

End timestamp for the query, in SQL format.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsEndTime(String filterOpsEndTime) { this.filterOpsEndTime = Optional.ofNullable(filterOpsEndTime); return this; @@ -1110,7 +1110,7 @@ public _FinalStage filterOpsEndTime(String filterOpsEndTime) { /** *

End timestamp for the query, in SQL format.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.endTime", nulls = Nulls.SKIP) public _FinalStage filterOpsEndTime(Optional filterOpsEndTime) { this.filterOpsEndTime = filterOpsEndTime; @@ -1121,7 +1121,7 @@ public _FinalStage filterOpsEndTime(Optional filterOpsEndTime) { *

Start timestamp for the query, in SQL format.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsStartTime(String filterOpsStartTime) { this.filterOpsStartTime = Optional.ofNullable(filterOpsStartTime); return this; @@ -1130,7 +1130,7 @@ public _FinalStage filterOpsStartTime(String filterOpsStartTime) { /** *

Start timestamp for the query, in SQL format.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.startTime", nulls = Nulls.SKIP) public _FinalStage filterOpsStartTime(Optional filterOpsStartTime) { this.filterOpsStartTime = filterOpsStartTime; @@ -1141,7 +1141,7 @@ public _FinalStage filterOpsStartTime(Optional filterOpsStartTime) { *

HTTP response code of the request.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsResponseCode(Integer filterOpsResponseCode) { this.filterOpsResponseCode = Optional.ofNullable(filterOpsResponseCode); return this; @@ -1150,7 +1150,7 @@ public _FinalStage filterOpsResponseCode(Integer filterOpsResponseCode) { /** *

HTTP response code of the request.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.responseCode", nulls = Nulls.SKIP) public _FinalStage filterOpsResponseCode(Optional filterOpsResponseCode) { this.filterOpsResponseCode = filterOpsResponseCode; @@ -1161,7 +1161,7 @@ public _FinalStage filterOpsResponseCode(Optional filterOpsResponseCode *

Events with associated tags. If an event matches at least one tag, the event is returned. Comma-separated list. For example, "login, get".

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsTags(String filterOpsTags) { this.filterOpsTags = Optional.ofNullable(filterOpsTags); return this; @@ -1170,7 +1170,7 @@ public _FinalStage filterOpsTags(String filterOpsTags) { /** *

Events with associated tags. If an event matches at least one tag, the event is returned. Comma-separated list. For example, "login, get".

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.tags", nulls = Nulls.SKIP) public _FinalStage filterOpsTags(Optional filterOpsTags) { this.filterOpsTags = filterOpsTags; @@ -1181,7 +1181,7 @@ public _FinalStage filterOpsTags(Optional filterOpsTags) { *

Resources with the specified type.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsResourceType( AuditServiceListAuditEventsRequestFilterOpsResourceType filterOpsResourceType) { this.filterOpsResourceType = Optional.ofNullable(filterOpsResourceType); @@ -1191,7 +1191,7 @@ public _FinalStage filterOpsResourceType( /** *

Resources with the specified type.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.resourceType", nulls = Nulls.SKIP) public _FinalStage filterOpsResourceType( Optional filterOpsResourceType) { @@ -1203,7 +1203,7 @@ public _FinalStage filterOpsResourceType( *

Events with the specified action type.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsActionType( AuditServiceListAuditEventsRequestFilterOpsActionType filterOpsActionType) { this.filterOpsActionType = Optional.ofNullable(filterOpsActionType); @@ -1213,7 +1213,7 @@ public _FinalStage filterOpsActionType( /** *

Events with the specified action type.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.actionType", nulls = Nulls.SKIP) public _FinalStage filterOpsActionType( Optional filterOpsActionType) { @@ -1225,7 +1225,7 @@ public _FinalStage filterOpsActionType( *

Resources with a specified ID. If a resource matches at least one ID, the associated event is returned. Format is a comma-separated list of "<resourceType>/<resourceID>". For example, "VAULT/12345, USER/67890".

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsResourceIDs(String filterOpsResourceIDs) { this.filterOpsResourceIDs = Optional.ofNullable(filterOpsResourceIDs); return this; @@ -1234,7 +1234,7 @@ public _FinalStage filterOpsResourceIDs(String filterOpsResourceIDs) { /** *

Resources with a specified ID. If a resource matches at least one ID, the associated event is returned. Format is a comma-separated list of "<resourceType>/<resourceID>". For example, "VAULT/12345, USER/67890".

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.resourceIDs", nulls = Nulls.SKIP) public _FinalStage filterOpsResourceIDs(Optional filterOpsResourceIDs) { this.filterOpsResourceIDs = filterOpsResourceIDs; @@ -1245,7 +1245,7 @@ public _FinalStage filterOpsResourceIDs(Optional filterOpsResourceIDs) { *

Resources with the specified vault ID.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsVaultId(String filterOpsVaultId) { this.filterOpsVaultId = Optional.ofNullable(filterOpsVaultId); return this; @@ -1254,7 +1254,7 @@ public _FinalStage filterOpsVaultId(String filterOpsVaultId) { /** *

Resources with the specified vault ID.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.vaultID", nulls = Nulls.SKIP) public _FinalStage filterOpsVaultId(Optional filterOpsVaultId) { this.filterOpsVaultId = filterOpsVaultId; @@ -1265,7 +1265,7 @@ public _FinalStage filterOpsVaultId(Optional filterOpsVaultId) { *

Resources with the specified workspace ID.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsWorkspaceId(String filterOpsWorkspaceId) { this.filterOpsWorkspaceId = Optional.ofNullable(filterOpsWorkspaceId); return this; @@ -1274,7 +1274,7 @@ public _FinalStage filterOpsWorkspaceId(String filterOpsWorkspaceId) { /** *

Resources with the specified workspace ID.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.workspaceID", nulls = Nulls.SKIP) public _FinalStage filterOpsWorkspaceId(Optional filterOpsWorkspaceId) { this.filterOpsWorkspaceId = filterOpsWorkspaceId; @@ -1285,7 +1285,7 @@ public _FinalStage filterOpsWorkspaceId(Optional filterOpsWorkspaceId) { *

Resources with the specified parent account ID.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsParentAccountId(String filterOpsParentAccountId) { this.filterOpsParentAccountId = Optional.ofNullable(filterOpsParentAccountId); return this; @@ -1294,7 +1294,7 @@ public _FinalStage filterOpsParentAccountId(String filterOpsParentAccountId) { /** *

Resources with the specified parent account ID.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.parentAccountID", nulls = Nulls.SKIP) public _FinalStage filterOpsParentAccountId(Optional filterOpsParentAccountId) { this.filterOpsParentAccountId = filterOpsParentAccountId; @@ -1305,7 +1305,7 @@ public _FinalStage filterOpsParentAccountId(Optional filterOpsParentAcco *

Embedded User Context.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsContextBearerTokenContextId(String filterOpsContextBearerTokenContextId) { this.filterOpsContextBearerTokenContextId = Optional.ofNullable(filterOpsContextBearerTokenContextId); return this; @@ -1314,7 +1314,7 @@ public _FinalStage filterOpsContextBearerTokenContextId(String filterOpsContextB /** *

Embedded User Context.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.context.bearerTokenContextID", nulls = Nulls.SKIP) public _FinalStage filterOpsContextBearerTokenContextId(Optional filterOpsContextBearerTokenContextId) { this.filterOpsContextBearerTokenContextId = filterOpsContextBearerTokenContextId; @@ -1325,7 +1325,7 @@ public _FinalStage filterOpsContextBearerTokenContextId(Optional filterO *

ID of the JWT token.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsContextJwtId(String filterOpsContextJwtId) { this.filterOpsContextJwtId = Optional.ofNullable(filterOpsContextJwtId); return this; @@ -1334,7 +1334,7 @@ public _FinalStage filterOpsContextJwtId(String filterOpsContextJwtId) { /** *

ID of the JWT token.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.context.jwtID", nulls = Nulls.SKIP) public _FinalStage filterOpsContextJwtId(Optional filterOpsContextJwtId) { this.filterOpsContextJwtId = filterOpsContextJwtId; @@ -1345,7 +1345,7 @@ public _FinalStage filterOpsContextJwtId(Optional filterOpsContextJwtId) *

Authentication mode the actor used.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsContextAuthMode( AuditServiceListAuditEventsRequestFilterOpsContextAuthMode filterOpsContextAuthMode) { this.filterOpsContextAuthMode = Optional.ofNullable(filterOpsContextAuthMode); @@ -1355,7 +1355,7 @@ public _FinalStage filterOpsContextAuthMode( /** *

Authentication mode the actor used.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.context.authMode", nulls = Nulls.SKIP) public _FinalStage filterOpsContextAuthMode( Optional filterOpsContextAuthMode) { @@ -1367,7 +1367,7 @@ public _FinalStage filterOpsContextAuthMode( *

HTTP Origin request header (including scheme, hostname, and port) of the request.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsContextOrigin(String filterOpsContextOrigin) { this.filterOpsContextOrigin = Optional.ofNullable(filterOpsContextOrigin); return this; @@ -1376,7 +1376,7 @@ public _FinalStage filterOpsContextOrigin(String filterOpsContextOrigin) { /** *

HTTP Origin request header (including scheme, hostname, and port) of the request.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.context.origin", nulls = Nulls.SKIP) public _FinalStage filterOpsContextOrigin(Optional filterOpsContextOrigin) { this.filterOpsContextOrigin = filterOpsContextOrigin; @@ -1387,7 +1387,7 @@ public _FinalStage filterOpsContextOrigin(Optional filterOpsContextOrigi *

IP Address of the client that made the request.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsContextIpAddress(String filterOpsContextIpAddress) { this.filterOpsContextIpAddress = Optional.ofNullable(filterOpsContextIpAddress); return this; @@ -1396,7 +1396,7 @@ public _FinalStage filterOpsContextIpAddress(String filterOpsContextIpAddress) { /** *

IP Address of the client that made the request.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.context.ipAddress", nulls = Nulls.SKIP) public _FinalStage filterOpsContextIpAddress(Optional filterOpsContextIpAddress) { this.filterOpsContextIpAddress = filterOpsContextIpAddress; @@ -1407,7 +1407,7 @@ public _FinalStage filterOpsContextIpAddress(Optional filterOpsContextIp *

Type of access for the request.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsContextAccessType( AuditServiceListAuditEventsRequestFilterOpsContextAccessType filterOpsContextAccessType) { this.filterOpsContextAccessType = Optional.ofNullable(filterOpsContextAccessType); @@ -1417,7 +1417,7 @@ public _FinalStage filterOpsContextAccessType( /** *

Type of access for the request.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.context.accessType", nulls = Nulls.SKIP) public _FinalStage filterOpsContextAccessType( Optional filterOpsContextAccessType) { @@ -1429,7 +1429,7 @@ public _FinalStage filterOpsContextAccessType( *

Type of member who sent the request.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsContextActorType( AuditServiceListAuditEventsRequestFilterOpsContextActorType filterOpsContextActorType) { this.filterOpsContextActorType = Optional.ofNullable(filterOpsContextActorType); @@ -1439,7 +1439,7 @@ public _FinalStage filterOpsContextActorType( /** *

Type of member who sent the request.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.context.actorType", nulls = Nulls.SKIP) public _FinalStage filterOpsContextActorType( Optional filterOpsContextActorType) { @@ -1451,7 +1451,7 @@ public _FinalStage filterOpsContextActorType( *

Member who sent the request. Depending on actorType, this may be a user ID or a service account ID.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsContextActor(String filterOpsContextActor) { this.filterOpsContextActor = Optional.ofNullable(filterOpsContextActor); return this; @@ -1460,7 +1460,7 @@ public _FinalStage filterOpsContextActor(String filterOpsContextActor) { /** *

Member who sent the request. Depending on actorType, this may be a user ID or a service account ID.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.context.actor", nulls = Nulls.SKIP) public _FinalStage filterOpsContextActor(Optional filterOpsContextActor) { this.filterOpsContextActor = filterOpsContextActor; @@ -1471,7 +1471,7 @@ public _FinalStage filterOpsContextActor(Optional filterOpsContextActor) *

ID for the session in which the request was sent.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsContextSessionId(String filterOpsContextSessionId) { this.filterOpsContextSessionId = Optional.ofNullable(filterOpsContextSessionId); return this; @@ -1480,7 +1480,7 @@ public _FinalStage filterOpsContextSessionId(String filterOpsContextSessionId) { /** *

ID for the session in which the request was sent.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.context.sessionID", nulls = Nulls.SKIP) public _FinalStage filterOpsContextSessionId(Optional filterOpsContextSessionId) { this.filterOpsContextSessionId = filterOpsContextSessionId; @@ -1491,7 +1491,7 @@ public _FinalStage filterOpsContextSessionId(Optional filterOpsContextSe *

ID for the request set by the service that received the request.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsContextTraceId(String filterOpsContextTraceId) { this.filterOpsContextTraceId = Optional.ofNullable(filterOpsContextTraceId); return this; @@ -1500,7 +1500,7 @@ public _FinalStage filterOpsContextTraceId(String filterOpsContextTraceId) { /** *

ID for the request set by the service that received the request.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.context.traceID", nulls = Nulls.SKIP) public _FinalStage filterOpsContextTraceId(Optional filterOpsContextTraceId) { this.filterOpsContextTraceId = filterOpsContextTraceId; @@ -1511,7 +1511,7 @@ public _FinalStage filterOpsContextTraceId(Optional filterOpsContextTrac *

ID for the request that caused the event.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsContextRequestId(String filterOpsContextRequestId) { this.filterOpsContextRequestId = Optional.ofNullable(filterOpsContextRequestId); return this; @@ -1520,7 +1520,7 @@ public _FinalStage filterOpsContextRequestId(String filterOpsContextRequestId) { /** *

ID for the request that caused the event.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.context.requestID", nulls = Nulls.SKIP) public _FinalStage filterOpsContextRequestId(Optional filterOpsContextRequestId) { this.filterOpsContextRequestId = filterOpsContextRequestId; @@ -1531,7 +1531,7 @@ public _FinalStage filterOpsContextRequestId(Optional filterOpsContextRe *

ID for the audit event.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage filterOpsContextChangeId(String filterOpsContextChangeId) { this.filterOpsContextChangeId = Optional.ofNullable(filterOpsContextChangeId); return this; @@ -1540,14 +1540,14 @@ public _FinalStage filterOpsContextChangeId(String filterOpsContextChangeId) { /** *

ID for the audit event.

*/ - @java.lang.Override + @Override @JsonSetter(value = "filterOps.context.changeID", nulls = Nulls.SKIP) public _FinalStage filterOpsContextChangeId(Optional filterOpsContextChangeId) { this.filterOpsContextChangeId = filterOpsContextChangeId; return this; } - @java.lang.Override + @Override public AuditServiceListAuditEventsRequest build() { return new AuditServiceListAuditEventsRequest( filterOpsContextChangeId, diff --git a/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsActionType.java b/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsActionType.java index a9fb6d44..9611f8ab 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsActionType.java +++ b/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsActionType.java @@ -49,7 +49,7 @@ public enum AuditServiceListAuditEventsRequestFilterOpsActionType { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsContextAccessType.java b/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsContextAccessType.java index 0b082305..44ac80d9 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsContextAccessType.java +++ b/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsContextAccessType.java @@ -21,7 +21,7 @@ public enum AuditServiceListAuditEventsRequestFilterOpsContextAccessType { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsContextActorType.java b/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsContextActorType.java index 76a357f4..1948ea9c 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsContextActorType.java +++ b/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsContextActorType.java @@ -19,7 +19,7 @@ public enum AuditServiceListAuditEventsRequestFilterOpsContextActorType { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsContextAuthMode.java b/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsContextAuthMode.java index cfca2e35..82c375aa 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsContextAuthMode.java +++ b/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsContextAuthMode.java @@ -21,7 +21,7 @@ public enum AuditServiceListAuditEventsRequestFilterOpsContextAuthMode { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsResourceType.java b/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsResourceType.java index f5d2eafe..864213ec 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsResourceType.java +++ b/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestFilterOpsResourceType.java @@ -73,7 +73,7 @@ public enum AuditServiceListAuditEventsRequestFilterOpsResourceType { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestSortOpsOrderBy.java b/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestSortOpsOrderBy.java index 51fc2715..fe3f928e 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestSortOpsOrderBy.java +++ b/src/main/java/com/skyflow/generated/rest/resources/audit/types/AuditServiceListAuditEventsRequestSortOpsOrderBy.java @@ -17,7 +17,7 @@ public enum AuditServiceListAuditEventsRequestSortOpsOrderBy { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/authentication/requests/V1GetAuthTokenRequest.java b/src/main/java/com/skyflow/generated/rest/resources/authentication/requests/V1GetAuthTokenRequest.java index 8c4961b1..182952bc 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/authentication/requests/V1GetAuthTokenRequest.java +++ b/src/main/java/com/skyflow/generated/rest/resources/authentication/requests/V1GetAuthTokenRequest.java @@ -100,7 +100,7 @@ public Optional getScope() { return scope; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1GetAuthTokenRequest && equalTo((V1GetAuthTokenRequest) other); @@ -120,7 +120,7 @@ private boolean equalTo(V1GetAuthTokenRequest other) { && scope.equals(other.scope); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.grantType, @@ -131,7 +131,7 @@ public int hashCode() { this.scope); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -207,7 +207,7 @@ public static final class Builder implements GrantTypeStage, AssertionStage, _Fi private Builder() {} - @java.lang.Override + @Override public Builder from(V1GetAuthTokenRequest other) { grantType(other.getGrantType()); assertion(other.getAssertion()); @@ -222,7 +222,7 @@ public Builder from(V1GetAuthTokenRequest other) { * Grant type of the request. Set this to `urn:ietf:params:oauth:grant-type:jwt-bearer`.

Grant type of the request. Set this to urn:ietf:params:oauth:grant-type:jwt-bearer.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("grant_type") public AssertionStage grantType(@NotNull String grantType) { this.grantType = Objects.requireNonNull(grantType, "grantType must not be null"); @@ -233,7 +233,7 @@ public AssertionStage grantType(@NotNull String grantType) { * User-signed JWT token that contains the following fields:
  • iss: Issuer of the JWT.
  • key: Unique identifier for the key.
  • aud: Recipient the JWT is intended for.
  • exp: Time the JWT expires.
  • sub: Subject of the JWT.
  • ctx: (Optional) Value for Context-aware authorization.

User-signed JWT token that contains the following fields: <br/> <ul><li><code>iss</code>: Issuer of the JWT.</li><li><code>key</code>: Unique identifier for the key.</li><li><code>aud</code>: Recipient the JWT is intended for.</li><li><code>exp</code>: Time the JWT expires.</li><li><code>sub</code>: Subject of the JWT.</li><li><code>ctx</code>: (Optional) Value for <a href='/context-aware-overview/'>Context-aware authorization</a>.</li></ul>

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

Subset of available <a href='#Roles'>roles</a> to associate with the requested token. Uses the format "role:<roleID1> role:<roleID2>".

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage scope(String scope) { this.scope = Optional.ofNullable(scope); return this; @@ -253,7 +253,7 @@ public _FinalStage scope(String scope) { /** *

Subset of available <a href='#Roles'>roles</a> to associate with the requested token. Uses the format "role:<roleID1> role:<roleID2>".

*/ - @java.lang.Override + @Override @JsonSetter(value = "scope", nulls = Nulls.SKIP) public _FinalStage scope(Optional scope) { this.scope = scope; @@ -264,7 +264,7 @@ public _FinalStage scope(Optional scope) { *

Token use type. Either delegation or impersonation.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage requestedTokenUse(String requestedTokenUse) { this.requestedTokenUse = Optional.ofNullable(requestedTokenUse); return this; @@ -273,7 +273,7 @@ public _FinalStage requestedTokenUse(String requestedTokenUse) { /** *

Token use type. Either delegation or impersonation.

*/ - @java.lang.Override + @Override @JsonSetter(value = "requested_token_use", nulls = Nulls.SKIP) public _FinalStage requestedTokenUse(Optional requestedTokenUse) { this.requestedTokenUse = requestedTokenUse; @@ -284,7 +284,7 @@ public _FinalStage requestedTokenUse(Optional requestedTokenUse) { *

Subject token type.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage subjectTokenType(String subjectTokenType) { this.subjectTokenType = Optional.ofNullable(subjectTokenType); return this; @@ -293,7 +293,7 @@ public _FinalStage subjectTokenType(String subjectTokenType) { /** *

Subject token type.

*/ - @java.lang.Override + @Override @JsonSetter(value = "subject_token_type", nulls = Nulls.SKIP) public _FinalStage subjectTokenType(Optional subjectTokenType) { this.subjectTokenType = subjectTokenType; @@ -304,7 +304,7 @@ public _FinalStage subjectTokenType(Optional subjectTokenType) { *

Subject token.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage subjectToken(String subjectToken) { this.subjectToken = Optional.ofNullable(subjectToken); return this; @@ -313,14 +313,14 @@ public _FinalStage subjectToken(String subjectToken) { /** *

Subject token.

*/ - @java.lang.Override + @Override @JsonSetter(value = "subject_token", nulls = Nulls.SKIP) public _FinalStage subjectToken(Optional subjectToken) { this.subjectToken = subjectToken; return this; } - @java.lang.Override + @Override public V1GetAuthTokenRequest build() { return new V1GetAuthTokenRequest( grantType, diff --git a/src/main/java/com/skyflow/generated/rest/resources/binlookup/requests/V1BinListRequest.java b/src/main/java/com/skyflow/generated/rest/resources/binlookup/requests/V1BinListRequest.java index d4a1c21b..af827e01 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/binlookup/requests/V1BinListRequest.java +++ b/src/main/java/com/skyflow/generated/rest/resources/binlookup/requests/V1BinListRequest.java @@ -74,7 +74,7 @@ public Optional getSkyflowId() { return skyflowId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1BinListRequest && equalTo((V1BinListRequest) other); @@ -92,12 +92,12 @@ private boolean equalTo(V1BinListRequest other) { && skyflowId.equals(other.skyflowId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.fields, this.bin, this.vaultSchemaConfig, this.skyflowId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileAudioRequestDeidentifyAudio.java b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileAudioRequestDeidentifyAudio.java index c3a025cf..d1cadca3 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileAudioRequestDeidentifyAudio.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileAudioRequestDeidentifyAudio.java @@ -193,7 +193,7 @@ public Optional getConfigurationId() { return configurationId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DeidentifyFileAudioRequestDeidentifyAudio @@ -222,7 +222,7 @@ private boolean equalTo(DeidentifyFileAudioRequestDeidentifyAudio other) { && configurationId.equals(other.configurationId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.file, @@ -241,7 +241,7 @@ public int hashCode() { this.configurationId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -383,7 +383,7 @@ public static final class Builder implements FileStage, VaultIdStage, _FinalStag private Builder() {} - @java.lang.Override + @Override public Builder from(DeidentifyFileAudioRequestDeidentifyAudio other) { file(other.getFile()); vaultId(other.getVaultId()); @@ -402,7 +402,7 @@ public Builder from(DeidentifyFileAudioRequestDeidentifyAudio other) { return this; } - @java.lang.Override + @Override @JsonSetter("file") public VaultIdStage file(@NotNull FileDataDeidentifyAudio file) { this.file = Objects.requireNonNull(file, "file must not be null"); @@ -413,7 +413,7 @@ public VaultIdStage file(@NotNull FileDataDeidentifyAudio file) { * ID of a vault that you have Detect Invoker or Vault Owner permissions for.

ID of a vault that you have Detect Invoker or Vault Owner permissions for.

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

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage configurationId(String configurationId) { this.configurationId = Optional.ofNullable(configurationId); return this; @@ -433,20 +433,20 @@ public _FinalStage configurationId(String configurationId) { /** *

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

*/ - @java.lang.Override + @Override @JsonSetter(value = "configuration_id", nulls = Nulls.SKIP) public _FinalStage configurationId(Optional configurationId) { this.configurationId = configurationId; return this; } - @java.lang.Override + @Override public _FinalStage transformations(Transformations transformations) { this.transformations = Optional.ofNullable(transformations); return this; } - @java.lang.Override + @Override @JsonSetter(value = "transformations", nulls = Nulls.SKIP) public _FinalStage transformations(Optional transformations) { this.transformations = transformations; @@ -457,7 +457,7 @@ public _FinalStage transformations(Optional transformations) { *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage restrictRegex(List restrictRegex) { this.restrictRegex = Optional.ofNullable(restrictRegex); return this; @@ -466,7 +466,7 @@ public _FinalStage restrictRegex(List restrictRegex) { /** *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

*/ - @java.lang.Override + @Override @JsonSetter(value = "restrict_regex", nulls = Nulls.SKIP) public _FinalStage restrictRegex(Optional> restrictRegex) { this.restrictRegex = restrictRegex; @@ -477,7 +477,7 @@ public _FinalStage restrictRegex(Optional> restrictRegex) { *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage allowRegex(List allowRegex) { this.allowRegex = Optional.ofNullable(allowRegex); return this; @@ -486,20 +486,20 @@ public _FinalStage allowRegex(List allowRegex) { /** *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

*/ - @java.lang.Override + @Override @JsonSetter(value = "allow_regex", nulls = Nulls.SKIP) public _FinalStage allowRegex(Optional> allowRegex) { this.allowRegex = allowRegex; return this; } - @java.lang.Override + @Override public _FinalStage tokenType(TokenTypeMapping tokenType) { this.tokenType = Optional.ofNullable(tokenType); return this; } - @java.lang.Override + @Override @JsonSetter(value = "token_type", nulls = Nulls.SKIP) public _FinalStage tokenType(Optional tokenType) { this.tokenType = tokenType; @@ -510,7 +510,7 @@ public _FinalStage tokenType(Optional tokenType) { *

Entities to detect and de-identify.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage entityTypes(List entityTypes) { this.entityTypes = Optional.ofNullable(entityTypes); return this; @@ -519,7 +519,7 @@ public _FinalStage entityTypes(ListEntities to detect and de-identify.

*/ - @java.lang.Override + @Override @JsonSetter(value = "entity_types", nulls = Nulls.SKIP) public _FinalStage entityTypes( Optional> entityTypes) { @@ -531,7 +531,7 @@ public _FinalStage entityTypes( *

Relative loudness of the bleep in dB. Positive values increase its loudness, and negative values decrease it.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage bleepGain(Integer bleepGain) { this.bleepGain = Optional.ofNullable(bleepGain); return this; @@ -540,7 +540,7 @@ public _FinalStage bleepGain(Integer bleepGain) { /** *

Relative loudness of the bleep in dB. Positive values increase its loudness, and negative values decrease it.

*/ - @java.lang.Override + @Override @JsonSetter(value = "bleep_gain", nulls = Nulls.SKIP) public _FinalStage bleepGain(Optional bleepGain) { this.bleepGain = bleepGain; @@ -551,7 +551,7 @@ public _FinalStage bleepGain(Optional bleepGain) { *

The pitch of the bleep sound, in Hz. The higher the number, the higher the pitch.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage bleepFrequency(Integer bleepFrequency) { this.bleepFrequency = Optional.ofNullable(bleepFrequency); return this; @@ -560,7 +560,7 @@ public _FinalStage bleepFrequency(Integer bleepFrequency) { /** *

The pitch of the bleep sound, in Hz. The higher the number, the higher the pitch.

*/ - @java.lang.Override + @Override @JsonSetter(value = "bleep_frequency", nulls = Nulls.SKIP) public _FinalStage bleepFrequency(Optional bleepFrequency) { this.bleepFrequency = bleepFrequency; @@ -571,7 +571,7 @@ public _FinalStage bleepFrequency(Optional bleepFrequency) { *

Padding added to the end of a bleep, in seconds.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage bleepStopPadding(Float bleepStopPadding) { this.bleepStopPadding = Optional.ofNullable(bleepStopPadding); return this; @@ -580,7 +580,7 @@ public _FinalStage bleepStopPadding(Float bleepStopPadding) { /** *

Padding added to the end of a bleep, in seconds.

*/ - @java.lang.Override + @Override @JsonSetter(value = "bleep_stop_padding", nulls = Nulls.SKIP) public _FinalStage bleepStopPadding(Optional bleepStopPadding) { this.bleepStopPadding = bleepStopPadding; @@ -591,7 +591,7 @@ public _FinalStage bleepStopPadding(Optional bleepStopPadding) { *

Padding added to the beginning of a bleep, in seconds.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage bleepStartPadding(Float bleepStartPadding) { this.bleepStartPadding = Optional.ofNullable(bleepStartPadding); return this; @@ -600,7 +600,7 @@ public _FinalStage bleepStartPadding(Float bleepStartPadding) { /** *

Padding added to the beginning of a bleep, in seconds.

*/ - @java.lang.Override + @Override @JsonSetter(value = "bleep_start_padding", nulls = Nulls.SKIP) public _FinalStage bleepStartPadding(Optional bleepStartPadding) { this.bleepStartPadding = bleepStartPadding; @@ -611,7 +611,7 @@ public _FinalStage bleepStartPadding(Optional bleepStartPadding) { *

Whether to include the processed audio file in the response.

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

Whether to include the processed audio file in the response.

*/ - @java.lang.Override + @Override @JsonSetter(value = "output_processed_audio", nulls = Nulls.SKIP) public _FinalStage outputProcessedAudio(Optional outputProcessedAudio) { this.outputProcessedAudio = outputProcessedAudio; @@ -631,7 +631,7 @@ public _FinalStage outputProcessedAudio(Optional outputProcessedAudio) *

Type of transcription to output.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage outputTranscription( DeidentifyFileAudioRequestDeidentifyAudioOutputTranscription outputTranscription) { this.outputTranscription = Optional.ofNullable(outputTranscription); @@ -641,7 +641,7 @@ public _FinalStage outputTranscription( /** *

Type of transcription to output.

*/ - @java.lang.Override + @Override @JsonSetter(value = "output_transcription", nulls = Nulls.SKIP) public _FinalStage outputTranscription( Optional outputTranscription) { @@ -649,7 +649,7 @@ public _FinalStage outputTranscription( return this; } - @java.lang.Override + @Override public DeidentifyFileAudioRequestDeidentifyAudio build() { return new DeidentifyFileAudioRequestDeidentifyAudio( file, diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileDocumentPdfRequestDeidentifyPdf.java b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileDocumentPdfRequestDeidentifyPdf.java index 30f803aa..5b6a653f 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileDocumentPdfRequestDeidentifyPdf.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileDocumentPdfRequestDeidentifyPdf.java @@ -144,7 +144,7 @@ public Optional getConfigurationId() { return configurationId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DeidentifyFileDocumentPdfRequestDeidentifyPdf @@ -169,7 +169,7 @@ private boolean equalTo(DeidentifyFileDocumentPdfRequestDeidentifyPdf other) { && configurationId.equals(other.configurationId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.file, @@ -184,7 +184,7 @@ public int hashCode() { this.configurationId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -289,7 +289,7 @@ public static final class Builder implements FileStage, VaultIdStage, _FinalStag private Builder() {} - @java.lang.Override + @Override public Builder from(DeidentifyFileDocumentPdfRequestDeidentifyPdf other) { file(other.getFile()); vaultId(other.getVaultId()); @@ -304,7 +304,7 @@ public Builder from(DeidentifyFileDocumentPdfRequestDeidentifyPdf other) { return this; } - @java.lang.Override + @Override @JsonSetter("file") public VaultIdStage file(@NotNull FileDataDeidentifyPdf file) { this.file = Objects.requireNonNull(file, "file must not be null"); @@ -315,7 +315,7 @@ public VaultIdStage file(@NotNull FileDataDeidentifyPdf file) { * ID of a vault that you have Detect Invoker or Vault Owner permissions for.

ID of a vault that you have Detect Invoker or Vault Owner permissions for.

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

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage configurationId(String configurationId) { this.configurationId = Optional.ofNullable(configurationId); return this; @@ -335,20 +335,20 @@ public _FinalStage configurationId(String configurationId) { /** *

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

*/ - @java.lang.Override + @Override @JsonSetter(value = "configuration_id", nulls = Nulls.SKIP) public _FinalStage configurationId(Optional configurationId) { this.configurationId = configurationId; return this; } - @java.lang.Override + @Override public _FinalStage transformations(Transformations transformations) { this.transformations = Optional.ofNullable(transformations); return this; } - @java.lang.Override + @Override @JsonSetter(value = "transformations", nulls = Nulls.SKIP) public _FinalStage transformations(Optional transformations) { this.transformations = transformations; @@ -359,7 +359,7 @@ public _FinalStage transformations(Optional transformations) { *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage restrictRegex(List restrictRegex) { this.restrictRegex = Optional.ofNullable(restrictRegex); return this; @@ -368,7 +368,7 @@ public _FinalStage restrictRegex(List restrictRegex) { /** *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

*/ - @java.lang.Override + @Override @JsonSetter(value = "restrict_regex", nulls = Nulls.SKIP) public _FinalStage restrictRegex(Optional> restrictRegex) { this.restrictRegex = restrictRegex; @@ -379,7 +379,7 @@ public _FinalStage restrictRegex(Optional> restrictRegex) { *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage allowRegex(List allowRegex) { this.allowRegex = Optional.ofNullable(allowRegex); return this; @@ -388,20 +388,20 @@ public _FinalStage allowRegex(List allowRegex) { /** *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

*/ - @java.lang.Override + @Override @JsonSetter(value = "allow_regex", nulls = Nulls.SKIP) public _FinalStage allowRegex(Optional> allowRegex) { this.allowRegex = allowRegex; return this; } - @java.lang.Override + @Override public _FinalStage tokenType(TokenTypeMapping tokenType) { this.tokenType = Optional.ofNullable(tokenType); return this; } - @java.lang.Override + @Override @JsonSetter(value = "token_type", nulls = Nulls.SKIP) public _FinalStage tokenType(Optional tokenType) { this.tokenType = tokenType; @@ -412,7 +412,7 @@ public _FinalStage tokenType(Optional tokenType) { *

Entities to detect and de-identify.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage entityTypes(List entityTypes) { this.entityTypes = Optional.ofNullable(entityTypes); return this; @@ -421,7 +421,7 @@ public _FinalStage entityTypes(ListEntities to detect and de-identify.

*/ - @java.lang.Override + @Override @JsonSetter(value = "entity_types", nulls = Nulls.SKIP) public _FinalStage entityTypes( Optional> entityTypes) { @@ -433,7 +433,7 @@ public _FinalStage entityTypes( *

Max resolution at which to process the PDF file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage maxResolution(Integer maxResolution) { this.maxResolution = Optional.ofNullable(maxResolution); return this; @@ -442,7 +442,7 @@ public _FinalStage maxResolution(Integer maxResolution) { /** *

Max resolution at which to process the PDF file.

*/ - @java.lang.Override + @Override @JsonSetter(value = "max_resolution", nulls = Nulls.SKIP) public _FinalStage maxResolution(Optional maxResolution) { this.maxResolution = maxResolution; @@ -453,7 +453,7 @@ public _FinalStage maxResolution(Optional maxResolution) { *

Pixel density at which to process the PDF file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage density(Integer density) { this.density = Optional.ofNullable(density); return this; @@ -462,14 +462,14 @@ public _FinalStage density(Integer density) { /** *

Pixel density at which to process the PDF file.

*/ - @java.lang.Override + @Override @JsonSetter(value = "density", nulls = Nulls.SKIP) public _FinalStage density(Optional density) { this.density = density; return this; } - @java.lang.Override + @Override public DeidentifyFileDocumentPdfRequestDeidentifyPdf build() { return new DeidentifyFileDocumentPdfRequestDeidentifyPdf( file, diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileImageRequestDeidentifyImage.java b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileImageRequestDeidentifyImage.java index 44c14777..015bba9e 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileImageRequestDeidentifyImage.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileImageRequestDeidentifyImage.java @@ -157,7 +157,7 @@ public Optional getConfigurationId() { return configurationId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DeidentifyFileImageRequestDeidentifyImage @@ -183,7 +183,7 @@ private boolean equalTo(DeidentifyFileImageRequestDeidentifyImage other) { && configurationId.equals(other.configurationId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.file, @@ -199,7 +199,7 @@ public int hashCode() { this.configurationId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -311,7 +311,7 @@ public static final class Builder implements FileStage, VaultIdStage, _FinalStag private Builder() {} - @java.lang.Override + @Override public Builder from(DeidentifyFileImageRequestDeidentifyImage other) { file(other.getFile()); vaultId(other.getVaultId()); @@ -327,7 +327,7 @@ public Builder from(DeidentifyFileImageRequestDeidentifyImage other) { return this; } - @java.lang.Override + @Override @JsonSetter("file") public VaultIdStage file(@NotNull FileDataDeidentifyImage file) { this.file = Objects.requireNonNull(file, "file must not be null"); @@ -338,7 +338,7 @@ public VaultIdStage file(@NotNull FileDataDeidentifyImage file) { * ID of a vault that you have Detect Invoker or Vault Owner permissions for.

ID of a vault that you have Detect Invoker or Vault Owner permissions for.

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

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage configurationId(String configurationId) { this.configurationId = Optional.ofNullable(configurationId); return this; @@ -358,20 +358,20 @@ public _FinalStage configurationId(String configurationId) { /** *

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

*/ - @java.lang.Override + @Override @JsonSetter(value = "configuration_id", nulls = Nulls.SKIP) public _FinalStage configurationId(Optional configurationId) { this.configurationId = configurationId; return this; } - @java.lang.Override + @Override public _FinalStage transformations(Transformations transformations) { this.transformations = Optional.ofNullable(transformations); return this; } - @java.lang.Override + @Override @JsonSetter(value = "transformations", nulls = Nulls.SKIP) public _FinalStage transformations(Optional transformations) { this.transformations = transformations; @@ -382,7 +382,7 @@ public _FinalStage transformations(Optional transformations) { *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage restrictRegex(List restrictRegex) { this.restrictRegex = Optional.ofNullable(restrictRegex); return this; @@ -391,7 +391,7 @@ public _FinalStage restrictRegex(List restrictRegex) { /** *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

*/ - @java.lang.Override + @Override @JsonSetter(value = "restrict_regex", nulls = Nulls.SKIP) public _FinalStage restrictRegex(Optional> restrictRegex) { this.restrictRegex = restrictRegex; @@ -402,7 +402,7 @@ public _FinalStage restrictRegex(Optional> restrictRegex) { *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage allowRegex(List allowRegex) { this.allowRegex = Optional.ofNullable(allowRegex); return this; @@ -411,20 +411,20 @@ public _FinalStage allowRegex(List allowRegex) { /** *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

*/ - @java.lang.Override + @Override @JsonSetter(value = "allow_regex", nulls = Nulls.SKIP) public _FinalStage allowRegex(Optional> allowRegex) { this.allowRegex = allowRegex; return this; } - @java.lang.Override + @Override public _FinalStage tokenType(TokenTypeMapping tokenType) { this.tokenType = Optional.ofNullable(tokenType); return this; } - @java.lang.Override + @Override @JsonSetter(value = "token_type", nulls = Nulls.SKIP) public _FinalStage tokenType(Optional tokenType) { this.tokenType = tokenType; @@ -435,7 +435,7 @@ public _FinalStage tokenType(Optional tokenType) { *

Entities to detect and de-identify.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage entityTypes(List entityTypes) { this.entityTypes = Optional.ofNullable(entityTypes); return this; @@ -444,7 +444,7 @@ public _FinalStage entityTypes(ListEntities to detect and de-identify.

*/ - @java.lang.Override + @Override @JsonSetter(value = "entity_types", nulls = Nulls.SKIP) public _FinalStage entityTypes( Optional> entityTypes) { @@ -456,7 +456,7 @@ public _FinalStage entityTypes( *

Method to mask the entities in the image.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage maskingMethod(DeidentifyFileImageRequestDeidentifyImageMaskingMethod maskingMethod) { this.maskingMethod = Optional.ofNullable(maskingMethod); return this; @@ -465,7 +465,7 @@ public _FinalStage maskingMethod(DeidentifyFileImageRequestDeidentifyImageMaskin /** *

Method to mask the entities in the image.

*/ - @java.lang.Override + @Override @JsonSetter(value = "masking_method", nulls = Nulls.SKIP) public _FinalStage maskingMethod( Optional maskingMethod) { @@ -477,7 +477,7 @@ public _FinalStage maskingMethod( *

If true, includes text detected by OCR in the response.

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

If true, includes text detected by OCR in the response.

*/ - @java.lang.Override + @Override @JsonSetter(value = "output_ocr_text", nulls = Nulls.SKIP) public _FinalStage outputOcrText(Optional outputOcrText) { this.outputOcrText = outputOcrText; @@ -497,7 +497,7 @@ public _FinalStage outputOcrText(Optional outputOcrText) { *

If true, includes processed image in the output.

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

If true, includes processed image in the output.

*/ - @java.lang.Override + @Override @JsonSetter(value = "output_processed_image", nulls = Nulls.SKIP) public _FinalStage outputProcessedImage(Optional outputProcessedImage) { this.outputProcessedImage = outputProcessedImage; return this; } - @java.lang.Override + @Override public DeidentifyFileImageRequestDeidentifyImage build() { return new DeidentifyFileImageRequestDeidentifyImage( file, diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequest.java b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequest.java index 32cd5cca..c2cdcfb5 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequest.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequest.java @@ -120,7 +120,7 @@ public Optional getConfigurationId() { return configurationId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DeidentifyFileRequest && equalTo((DeidentifyFileRequest) other); @@ -142,7 +142,7 @@ private boolean equalTo(DeidentifyFileRequest other) { && configurationId.equals(other.configurationId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.file, @@ -155,7 +155,7 @@ public int hashCode() { this.configurationId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -240,7 +240,7 @@ public static final class Builder implements FileStage, VaultIdStage, _FinalStag private Builder() {} - @java.lang.Override + @Override public Builder from(DeidentifyFileRequest other) { file(other.getFile()); vaultId(other.getVaultId()); @@ -253,7 +253,7 @@ public Builder from(DeidentifyFileRequest other) { return this; } - @java.lang.Override + @Override @JsonSetter("file") public VaultIdStage file(@NotNull FileData file) { this.file = Objects.requireNonNull(file, "file must not be null"); @@ -264,7 +264,7 @@ public VaultIdStage file(@NotNull FileData file) { * ID of a vault that you have Detect Invoker or Vault Owner permissions for.

ID of a vault that you have Detect Invoker or Vault Owner permissions for.

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

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage configurationId(String configurationId) { this.configurationId = Optional.ofNullable(configurationId); return this; @@ -284,20 +284,20 @@ public _FinalStage configurationId(String configurationId) { /** *

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

*/ - @java.lang.Override + @Override @JsonSetter(value = "configuration_id", nulls = Nulls.SKIP) public _FinalStage configurationId(Optional configurationId) { this.configurationId = configurationId; return this; } - @java.lang.Override + @Override public _FinalStage transformations(Transformations transformations) { this.transformations = Optional.ofNullable(transformations); return this; } - @java.lang.Override + @Override @JsonSetter(value = "transformations", nulls = Nulls.SKIP) public _FinalStage transformations(Optional transformations) { this.transformations = transformations; @@ -308,7 +308,7 @@ public _FinalStage transformations(Optional transformations) { *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage restrictRegex(List restrictRegex) { this.restrictRegex = Optional.ofNullable(restrictRegex); return this; @@ -317,7 +317,7 @@ public _FinalStage restrictRegex(List restrictRegex) { /** *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

*/ - @java.lang.Override + @Override @JsonSetter(value = "restrict_regex", nulls = Nulls.SKIP) public _FinalStage restrictRegex(Optional> restrictRegex) { this.restrictRegex = restrictRegex; @@ -328,7 +328,7 @@ public _FinalStage restrictRegex(Optional> restrictRegex) { *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage allowRegex(List allowRegex) { this.allowRegex = Optional.ofNullable(allowRegex); return this; @@ -337,20 +337,20 @@ public _FinalStage allowRegex(List allowRegex) { /** *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

*/ - @java.lang.Override + @Override @JsonSetter(value = "allow_regex", nulls = Nulls.SKIP) public _FinalStage allowRegex(Optional> allowRegex) { this.allowRegex = allowRegex; return this; } - @java.lang.Override + @Override public _FinalStage tokenType(TokenTypeMapping tokenType) { this.tokenType = Optional.ofNullable(tokenType); return this; } - @java.lang.Override + @Override @JsonSetter(value = "token_type", nulls = Nulls.SKIP) public _FinalStage tokenType(Optional tokenType) { this.tokenType = tokenType; @@ -361,7 +361,7 @@ public _FinalStage tokenType(Optional tokenType) { *

Entities to detect and de-identify.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage entityTypes(List entityTypes) { this.entityTypes = Optional.ofNullable(entityTypes); return this; @@ -370,14 +370,14 @@ public _FinalStage entityTypes(List entity /** *

Entities to detect and de-identify.

*/ - @java.lang.Override + @Override @JsonSetter(value = "entity_types", nulls = Nulls.SKIP) public _FinalStage entityTypes(Optional> entityTypes) { this.entityTypes = entityTypes; return this; } - @java.lang.Override + @Override public DeidentifyFileRequest build() { return new DeidentifyFileRequest( file, diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyDocument.java b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyDocument.java index 9c1a098c..fc3db52a 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyDocument.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyDocument.java @@ -120,7 +120,7 @@ public Optional getConfigurationId() { return configurationId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DeidentifyFileRequestDeidentifyDocument @@ -143,7 +143,7 @@ private boolean equalTo(DeidentifyFileRequestDeidentifyDocument other) { && configurationId.equals(other.configurationId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.file, @@ -156,7 +156,7 @@ public int hashCode() { this.configurationId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -241,7 +241,7 @@ public static final class Builder implements FileStage, VaultIdStage, _FinalStag private Builder() {} - @java.lang.Override + @Override public Builder from(DeidentifyFileRequestDeidentifyDocument other) { file(other.getFile()); vaultId(other.getVaultId()); @@ -254,7 +254,7 @@ public Builder from(DeidentifyFileRequestDeidentifyDocument other) { return this; } - @java.lang.Override + @Override @JsonSetter("file") public VaultIdStage file(@NotNull FileDataDeidentifyDocument file) { this.file = Objects.requireNonNull(file, "file must not be null"); @@ -265,7 +265,7 @@ public VaultIdStage file(@NotNull FileDataDeidentifyDocument file) { * ID of a vault that you have Detect Invoker or Vault Owner permissions for.

ID of a vault that you have Detect Invoker or Vault Owner permissions for.

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

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage configurationId(String configurationId) { this.configurationId = Optional.ofNullable(configurationId); return this; @@ -285,20 +285,20 @@ public _FinalStage configurationId(String configurationId) { /** *

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

*/ - @java.lang.Override + @Override @JsonSetter(value = "configuration_id", nulls = Nulls.SKIP) public _FinalStage configurationId(Optional configurationId) { this.configurationId = configurationId; return this; } - @java.lang.Override + @Override public _FinalStage transformations(Transformations transformations) { this.transformations = Optional.ofNullable(transformations); return this; } - @java.lang.Override + @Override @JsonSetter(value = "transformations", nulls = Nulls.SKIP) public _FinalStage transformations(Optional transformations) { this.transformations = transformations; @@ -309,7 +309,7 @@ public _FinalStage transformations(Optional transformations) { *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage restrictRegex(List restrictRegex) { this.restrictRegex = Optional.ofNullable(restrictRegex); return this; @@ -318,7 +318,7 @@ public _FinalStage restrictRegex(List restrictRegex) { /** *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

*/ - @java.lang.Override + @Override @JsonSetter(value = "restrict_regex", nulls = Nulls.SKIP) public _FinalStage restrictRegex(Optional> restrictRegex) { this.restrictRegex = restrictRegex; @@ -329,7 +329,7 @@ public _FinalStage restrictRegex(Optional> restrictRegex) { *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage allowRegex(List allowRegex) { this.allowRegex = Optional.ofNullable(allowRegex); return this; @@ -338,20 +338,20 @@ public _FinalStage allowRegex(List allowRegex) { /** *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

*/ - @java.lang.Override + @Override @JsonSetter(value = "allow_regex", nulls = Nulls.SKIP) public _FinalStage allowRegex(Optional> allowRegex) { this.allowRegex = allowRegex; return this; } - @java.lang.Override + @Override public _FinalStage tokenType(TokenTypeMapping tokenType) { this.tokenType = Optional.ofNullable(tokenType); return this; } - @java.lang.Override + @Override @JsonSetter(value = "token_type", nulls = Nulls.SKIP) public _FinalStage tokenType(Optional tokenType) { this.tokenType = tokenType; @@ -362,7 +362,7 @@ public _FinalStage tokenType(Optional tokenType) { *

Entities to detect and de-identify.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage entityTypes(List entityTypes) { this.entityTypes = Optional.ofNullable(entityTypes); return this; @@ -371,7 +371,7 @@ public _FinalStage entityTypes(ListEntities to detect and de-identify.

*/ - @java.lang.Override + @Override @JsonSetter(value = "entity_types", nulls = Nulls.SKIP) public _FinalStage entityTypes( Optional> entityTypes) { @@ -379,7 +379,7 @@ public _FinalStage entityTypes( return this; } - @java.lang.Override + @Override public DeidentifyFileRequestDeidentifyDocument build() { return new DeidentifyFileRequestDeidentifyDocument( file, diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyPresentation.java b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyPresentation.java index 54d35363..f45802ec 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyPresentation.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyPresentation.java @@ -120,7 +120,7 @@ public Optional getConfigurationId() { return configurationId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DeidentifyFileRequestDeidentifyPresentation @@ -143,7 +143,7 @@ private boolean equalTo(DeidentifyFileRequestDeidentifyPresentation other) { && configurationId.equals(other.configurationId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.file, @@ -156,7 +156,7 @@ public int hashCode() { this.configurationId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -242,7 +242,7 @@ public static final class Builder implements FileStage, VaultIdStage, _FinalStag private Builder() {} - @java.lang.Override + @Override public Builder from(DeidentifyFileRequestDeidentifyPresentation other) { file(other.getFile()); vaultId(other.getVaultId()); @@ -255,7 +255,7 @@ public Builder from(DeidentifyFileRequestDeidentifyPresentation other) { return this; } - @java.lang.Override + @Override @JsonSetter("file") public VaultIdStage file(@NotNull FileDataDeidentifyPresentation file) { this.file = Objects.requireNonNull(file, "file must not be null"); @@ -266,7 +266,7 @@ public VaultIdStage file(@NotNull FileDataDeidentifyPresentation file) { * ID of a vault that you have Detect Invoker or Vault Owner permissions for.

ID of a vault that you have Detect Invoker or Vault Owner permissions for.

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

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage configurationId(String configurationId) { this.configurationId = Optional.ofNullable(configurationId); return this; @@ -286,20 +286,20 @@ public _FinalStage configurationId(String configurationId) { /** *

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

*/ - @java.lang.Override + @Override @JsonSetter(value = "configuration_id", nulls = Nulls.SKIP) public _FinalStage configurationId(Optional configurationId) { this.configurationId = configurationId; return this; } - @java.lang.Override + @Override public _FinalStage transformations(Transformations transformations) { this.transformations = Optional.ofNullable(transformations); return this; } - @java.lang.Override + @Override @JsonSetter(value = "transformations", nulls = Nulls.SKIP) public _FinalStage transformations(Optional transformations) { this.transformations = transformations; @@ -310,7 +310,7 @@ public _FinalStage transformations(Optional transformations) { *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage restrictRegex(List restrictRegex) { this.restrictRegex = Optional.ofNullable(restrictRegex); return this; @@ -319,7 +319,7 @@ public _FinalStage restrictRegex(List restrictRegex) { /** *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

*/ - @java.lang.Override + @Override @JsonSetter(value = "restrict_regex", nulls = Nulls.SKIP) public _FinalStage restrictRegex(Optional> restrictRegex) { this.restrictRegex = restrictRegex; @@ -330,7 +330,7 @@ public _FinalStage restrictRegex(Optional> restrictRegex) { *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage allowRegex(List allowRegex) { this.allowRegex = Optional.ofNullable(allowRegex); return this; @@ -339,20 +339,20 @@ public _FinalStage allowRegex(List allowRegex) { /** *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

*/ - @java.lang.Override + @Override @JsonSetter(value = "allow_regex", nulls = Nulls.SKIP) public _FinalStage allowRegex(Optional> allowRegex) { this.allowRegex = allowRegex; return this; } - @java.lang.Override + @Override public _FinalStage tokenType(TokenTypeMapping tokenType) { this.tokenType = Optional.ofNullable(tokenType); return this; } - @java.lang.Override + @Override @JsonSetter(value = "token_type", nulls = Nulls.SKIP) public _FinalStage tokenType(Optional tokenType) { this.tokenType = tokenType; @@ -363,7 +363,7 @@ public _FinalStage tokenType(Optional tokenType) { *

Entities to detect and de-identify.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage entityTypes(List entityTypes) { this.entityTypes = Optional.ofNullable(entityTypes); return this; @@ -372,7 +372,7 @@ public _FinalStage entityTypes(ListEntities to detect and de-identify.

*/ - @java.lang.Override + @Override @JsonSetter(value = "entity_types", nulls = Nulls.SKIP) public _FinalStage entityTypes( Optional> entityTypes) { @@ -380,7 +380,7 @@ public _FinalStage entityTypes( return this; } - @java.lang.Override + @Override public DeidentifyFileRequestDeidentifyPresentation build() { return new DeidentifyFileRequestDeidentifyPresentation( file, diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifySpreadsheet.java b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifySpreadsheet.java index e00f4f13..93ea921a 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifySpreadsheet.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifySpreadsheet.java @@ -120,7 +120,7 @@ public Optional getConfigurationId() { return configurationId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DeidentifyFileRequestDeidentifySpreadsheet @@ -143,7 +143,7 @@ private boolean equalTo(DeidentifyFileRequestDeidentifySpreadsheet other) { && configurationId.equals(other.configurationId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.file, @@ -156,7 +156,7 @@ public int hashCode() { this.configurationId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -242,7 +242,7 @@ public static final class Builder implements FileStage, VaultIdStage, _FinalStag private Builder() {} - @java.lang.Override + @Override public Builder from(DeidentifyFileRequestDeidentifySpreadsheet other) { file(other.getFile()); vaultId(other.getVaultId()); @@ -255,7 +255,7 @@ public Builder from(DeidentifyFileRequestDeidentifySpreadsheet other) { return this; } - @java.lang.Override + @Override @JsonSetter("file") public VaultIdStage file(@NotNull FileDataDeidentifySpreadsheet file) { this.file = Objects.requireNonNull(file, "file must not be null"); @@ -266,7 +266,7 @@ public VaultIdStage file(@NotNull FileDataDeidentifySpreadsheet file) { * ID of a vault that you have Detect Invoker or Vault Owner permissions for.

ID of a vault that you have Detect Invoker or Vault Owner permissions for.

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

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage configurationId(String configurationId) { this.configurationId = Optional.ofNullable(configurationId); return this; @@ -286,20 +286,20 @@ public _FinalStage configurationId(String configurationId) { /** *

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

*/ - @java.lang.Override + @Override @JsonSetter(value = "configuration_id", nulls = Nulls.SKIP) public _FinalStage configurationId(Optional configurationId) { this.configurationId = configurationId; return this; } - @java.lang.Override + @Override public _FinalStage transformations(Transformations transformations) { this.transformations = Optional.ofNullable(transformations); return this; } - @java.lang.Override + @Override @JsonSetter(value = "transformations", nulls = Nulls.SKIP) public _FinalStage transformations(Optional transformations) { this.transformations = transformations; @@ -310,7 +310,7 @@ public _FinalStage transformations(Optional transformations) { *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage restrictRegex(List restrictRegex) { this.restrictRegex = Optional.ofNullable(restrictRegex); return this; @@ -319,7 +319,7 @@ public _FinalStage restrictRegex(List restrictRegex) { /** *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

*/ - @java.lang.Override + @Override @JsonSetter(value = "restrict_regex", nulls = Nulls.SKIP) public _FinalStage restrictRegex(Optional> restrictRegex) { this.restrictRegex = restrictRegex; @@ -330,7 +330,7 @@ public _FinalStage restrictRegex(Optional> restrictRegex) { *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage allowRegex(List allowRegex) { this.allowRegex = Optional.ofNullable(allowRegex); return this; @@ -339,20 +339,20 @@ public _FinalStage allowRegex(List allowRegex) { /** *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

*/ - @java.lang.Override + @Override @JsonSetter(value = "allow_regex", nulls = Nulls.SKIP) public _FinalStage allowRegex(Optional> allowRegex) { this.allowRegex = allowRegex; return this; } - @java.lang.Override + @Override public _FinalStage tokenType(TokenTypeMapping tokenType) { this.tokenType = Optional.ofNullable(tokenType); return this; } - @java.lang.Override + @Override @JsonSetter(value = "token_type", nulls = Nulls.SKIP) public _FinalStage tokenType(Optional tokenType) { this.tokenType = tokenType; @@ -363,7 +363,7 @@ public _FinalStage tokenType(Optional tokenType) { *

Entities to detect and de-identify.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage entityTypes(List entityTypes) { this.entityTypes = Optional.ofNullable(entityTypes); return this; @@ -372,7 +372,7 @@ public _FinalStage entityTypes(ListEntities to detect and de-identify.

*/ - @java.lang.Override + @Override @JsonSetter(value = "entity_types", nulls = Nulls.SKIP) public _FinalStage entityTypes( Optional> entityTypes) { @@ -380,7 +380,7 @@ public _FinalStage entityTypes( return this; } - @java.lang.Override + @Override public DeidentifyFileRequestDeidentifySpreadsheet build() { return new DeidentifyFileRequestDeidentifySpreadsheet( file, diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyStructuredText.java b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyStructuredText.java index e94a0f65..b579fe1b 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyStructuredText.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyStructuredText.java @@ -120,7 +120,7 @@ public Optional getConfigurationId() { return configurationId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DeidentifyFileRequestDeidentifyStructuredText @@ -143,7 +143,7 @@ private boolean equalTo(DeidentifyFileRequestDeidentifyStructuredText other) { && configurationId.equals(other.configurationId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.file, @@ -156,7 +156,7 @@ public int hashCode() { this.configurationId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -243,7 +243,7 @@ public static final class Builder implements FileStage, VaultIdStage, _FinalStag private Builder() {} - @java.lang.Override + @Override public Builder from(DeidentifyFileRequestDeidentifyStructuredText other) { file(other.getFile()); vaultId(other.getVaultId()); @@ -256,7 +256,7 @@ public Builder from(DeidentifyFileRequestDeidentifyStructuredText other) { return this; } - @java.lang.Override + @Override @JsonSetter("file") public VaultIdStage file(@NotNull FileDataDeidentifyStructuredText file) { this.file = Objects.requireNonNull(file, "file must not be null"); @@ -267,7 +267,7 @@ public VaultIdStage file(@NotNull FileDataDeidentifyStructuredText file) { * ID of a vault that you have Detect Invoker or Vault Owner permissions for.

ID of a vault that you have Detect Invoker or Vault Owner permissions for.

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

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage configurationId(String configurationId) { this.configurationId = Optional.ofNullable(configurationId); return this; @@ -287,20 +287,20 @@ public _FinalStage configurationId(String configurationId) { /** *

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

*/ - @java.lang.Override + @Override @JsonSetter(value = "configuration_id", nulls = Nulls.SKIP) public _FinalStage configurationId(Optional configurationId) { this.configurationId = configurationId; return this; } - @java.lang.Override + @Override public _FinalStage transformations(Transformations transformations) { this.transformations = Optional.ofNullable(transformations); return this; } - @java.lang.Override + @Override @JsonSetter(value = "transformations", nulls = Nulls.SKIP) public _FinalStage transformations(Optional transformations) { this.transformations = transformations; @@ -311,7 +311,7 @@ public _FinalStage transformations(Optional transformations) { *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage restrictRegex(List restrictRegex) { this.restrictRegex = Optional.ofNullable(restrictRegex); return this; @@ -320,7 +320,7 @@ public _FinalStage restrictRegex(List restrictRegex) { /** *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

*/ - @java.lang.Override + @Override @JsonSetter(value = "restrict_regex", nulls = Nulls.SKIP) public _FinalStage restrictRegex(Optional> restrictRegex) { this.restrictRegex = restrictRegex; @@ -331,7 +331,7 @@ public _FinalStage restrictRegex(Optional> restrictRegex) { *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage allowRegex(List allowRegex) { this.allowRegex = Optional.ofNullable(allowRegex); return this; @@ -340,20 +340,20 @@ public _FinalStage allowRegex(List allowRegex) { /** *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

*/ - @java.lang.Override + @Override @JsonSetter(value = "allow_regex", nulls = Nulls.SKIP) public _FinalStage allowRegex(Optional> allowRegex) { this.allowRegex = allowRegex; return this; } - @java.lang.Override + @Override public _FinalStage tokenType(TokenTypeMapping tokenType) { this.tokenType = Optional.ofNullable(tokenType); return this; } - @java.lang.Override + @Override @JsonSetter(value = "token_type", nulls = Nulls.SKIP) public _FinalStage tokenType(Optional tokenType) { this.tokenType = tokenType; @@ -364,7 +364,7 @@ public _FinalStage tokenType(Optional tokenType) { *

Entities to detect and de-identify.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage entityTypes(List entityTypes) { this.entityTypes = Optional.ofNullable(entityTypes); return this; @@ -373,7 +373,7 @@ public _FinalStage entityTypes(ListEntities to detect and de-identify.

*/ - @java.lang.Override + @Override @JsonSetter(value = "entity_types", nulls = Nulls.SKIP) public _FinalStage entityTypes( Optional> entityTypes) { @@ -381,7 +381,7 @@ public _FinalStage entityTypes( return this; } - @java.lang.Override + @Override public DeidentifyFileRequestDeidentifyStructuredText build() { return new DeidentifyFileRequestDeidentifyStructuredText( file, diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyText.java b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyText.java index a5757029..7a7c6615 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyText.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/requests/DeidentifyFileRequestDeidentifyText.java @@ -120,7 +120,7 @@ public Optional getConfigurationId() { return configurationId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DeidentifyFileRequestDeidentifyText @@ -143,7 +143,7 @@ private boolean equalTo(DeidentifyFileRequestDeidentifyText other) { && configurationId.equals(other.configurationId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.file, @@ -156,7 +156,7 @@ public int hashCode() { this.configurationId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -241,7 +241,7 @@ public static final class Builder implements FileStage, VaultIdStage, _FinalStag private Builder() {} - @java.lang.Override + @Override public Builder from(DeidentifyFileRequestDeidentifyText other) { file(other.getFile()); vaultId(other.getVaultId()); @@ -254,7 +254,7 @@ public Builder from(DeidentifyFileRequestDeidentifyText other) { return this; } - @java.lang.Override + @Override @JsonSetter("file") public VaultIdStage file(@NotNull FileDataDeidentifyText file) { this.file = Objects.requireNonNull(file, "file must not be null"); @@ -265,7 +265,7 @@ public VaultIdStage file(@NotNull FileDataDeidentifyText file) { * ID of a vault that you have Detect Invoker or Vault Owner permissions for.

ID of a vault that you have Detect Invoker or Vault Owner permissions for.

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

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage configurationId(String configurationId) { this.configurationId = Optional.ofNullable(configurationId); return this; @@ -285,20 +285,20 @@ public _FinalStage configurationId(String configurationId) { /** *

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

*/ - @java.lang.Override + @Override @JsonSetter(value = "configuration_id", nulls = Nulls.SKIP) public _FinalStage configurationId(Optional configurationId) { this.configurationId = configurationId; return this; } - @java.lang.Override + @Override public _FinalStage transformations(Transformations transformations) { this.transformations = Optional.ofNullable(transformations); return this; } - @java.lang.Override + @Override @JsonSetter(value = "transformations", nulls = Nulls.SKIP) public _FinalStage transformations(Optional transformations) { this.transformations = transformations; @@ -309,7 +309,7 @@ public _FinalStage transformations(Optional transformations) { *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage restrictRegex(List restrictRegex) { this.restrictRegex = Optional.ofNullable(restrictRegex); return this; @@ -318,7 +318,7 @@ public _FinalStage restrictRegex(List restrictRegex) { /** *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

*/ - @java.lang.Override + @Override @JsonSetter(value = "restrict_regex", nulls = Nulls.SKIP) public _FinalStage restrictRegex(Optional> restrictRegex) { this.restrictRegex = restrictRegex; @@ -329,7 +329,7 @@ public _FinalStage restrictRegex(Optional> restrictRegex) { *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage allowRegex(List allowRegex) { this.allowRegex = Optional.ofNullable(allowRegex); return this; @@ -338,20 +338,20 @@ public _FinalStage allowRegex(List allowRegex) { /** *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

*/ - @java.lang.Override + @Override @JsonSetter(value = "allow_regex", nulls = Nulls.SKIP) public _FinalStage allowRegex(Optional> allowRegex) { this.allowRegex = allowRegex; return this; } - @java.lang.Override + @Override public _FinalStage tokenType(TokenTypeMapping tokenType) { this.tokenType = Optional.ofNullable(tokenType); return this; } - @java.lang.Override + @Override @JsonSetter(value = "token_type", nulls = Nulls.SKIP) public _FinalStage tokenType(Optional tokenType) { this.tokenType = tokenType; @@ -362,7 +362,7 @@ public _FinalStage tokenType(Optional tokenType) { *

Entities to detect and de-identify.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage entityTypes(List entityTypes) { this.entityTypes = Optional.ofNullable(entityTypes); return this; @@ -371,14 +371,14 @@ public _FinalStage entityTypes(ListEntities to detect and de-identify.

*/ - @java.lang.Override + @Override @JsonSetter(value = "entity_types", nulls = Nulls.SKIP) public _FinalStage entityTypes(Optional> entityTypes) { this.entityTypes = entityTypes; return this; } - @java.lang.Override + @Override public DeidentifyFileRequestDeidentifyText build() { return new DeidentifyFileRequestDeidentifyText( file, diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/requests/GetRunRequest.java b/src/main/java/com/skyflow/generated/rest/resources/files/requests/GetRunRequest.java index 6b5a63ad..490392f1 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/requests/GetRunRequest.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/requests/GetRunRequest.java @@ -34,7 +34,7 @@ public Optional getVaultId() { return vaultId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof GetRunRequest && equalTo((GetRunRequest) other); @@ -49,12 +49,12 @@ private boolean equalTo(GetRunRequest other) { return vaultId.equals(other.vaultId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.vaultId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/requests/ReidentifyFileRequestReidentifyFile.java b/src/main/java/com/skyflow/generated/rest/resources/files/requests/ReidentifyFileRequestReidentifyFile.java index 407df7f1..0f5e79ab 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/requests/ReidentifyFileRequestReidentifyFile.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/requests/ReidentifyFileRequestReidentifyFile.java @@ -60,7 +60,7 @@ public Optional getFormat() { return format; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof ReidentifyFileRequestReidentifyFile @@ -76,12 +76,12 @@ private boolean equalTo(ReidentifyFileRequestReidentifyFile other) { return file.equals(other.file) && vaultId.equals(other.vaultId) && format.equals(other.format); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.file, this.vaultId, this.format); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -124,7 +124,7 @@ public static final class Builder implements FileStage, VaultIdStage, _FinalStag private Builder() {} - @java.lang.Override + @Override public Builder from(ReidentifyFileRequestReidentifyFile other) { file(other.getFile()); vaultId(other.getVaultId()); @@ -132,7 +132,7 @@ public Builder from(ReidentifyFileRequestReidentifyFile other) { return this; } - @java.lang.Override + @Override @JsonSetter("file") public VaultIdStage file(@NotNull FileDataReidentifyFile file) { this.file = Objects.requireNonNull(file, "file must not be null"); @@ -143,27 +143,27 @@ public VaultIdStage file(@NotNull FileDataReidentifyFile file) { * ID of the vault where the entities are stored.

ID of the vault where the entities are stored.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("vault_id") public _FinalStage vaultId(@NotNull String vaultId) { this.vaultId = Objects.requireNonNull(vaultId, "vaultId must not be null"); return this; } - @java.lang.Override + @Override public _FinalStage format(Format format) { this.format = Optional.ofNullable(format); return this; } - @java.lang.Override + @Override @JsonSetter(value = "format", nulls = Nulls.SKIP) public _FinalStage format(Optional format) { this.format = format; return this; } - @java.lang.Override + @Override public ReidentifyFileRequestReidentifyFile build() { return new ReidentifyFileRequestReidentifyFile(file, vaultId, format, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileAudioRequestDeidentifyAudioEntityTypesItem.java b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileAudioRequestDeidentifyAudioEntityTypesItem.java index a6a1fa0e..0335ac47 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileAudioRequestDeidentifyAudioEntityTypesItem.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileAudioRequestDeidentifyAudioEntityTypesItem.java @@ -153,7 +153,7 @@ public enum DeidentifyFileAudioRequestDeidentifyAudioEntityTypesItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileAudioRequestDeidentifyAudioOutputTranscription.java b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileAudioRequestDeidentifyAudioOutputTranscription.java index a19cb5fb..22a948ca 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileAudioRequestDeidentifyAudioOutputTranscription.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileAudioRequestDeidentifyAudioOutputTranscription.java @@ -21,7 +21,7 @@ public enum DeidentifyFileAudioRequestDeidentifyAudioOutputTranscription { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileDocumentPdfRequestDeidentifyPdfEntityTypesItem.java b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileDocumentPdfRequestDeidentifyPdfEntityTypesItem.java index c5eac50a..aa6c578d 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileDocumentPdfRequestDeidentifyPdfEntityTypesItem.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileDocumentPdfRequestDeidentifyPdfEntityTypesItem.java @@ -153,7 +153,7 @@ public enum DeidentifyFileDocumentPdfRequestDeidentifyPdfEntityTypesItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileImageRequestDeidentifyImageEntityTypesItem.java b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileImageRequestDeidentifyImageEntityTypesItem.java index c1d3ff51..5e08b9db 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileImageRequestDeidentifyImageEntityTypesItem.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileImageRequestDeidentifyImageEntityTypesItem.java @@ -153,7 +153,7 @@ public enum DeidentifyFileImageRequestDeidentifyImageEntityTypesItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileImageRequestDeidentifyImageMaskingMethod.java b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileImageRequestDeidentifyImageMaskingMethod.java index f1d50c12..d97b3191 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileImageRequestDeidentifyImageMaskingMethod.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileImageRequestDeidentifyImageMaskingMethod.java @@ -17,7 +17,7 @@ public enum DeidentifyFileImageRequestDeidentifyImageMaskingMethod { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyDocumentEntityTypesItem.java b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyDocumentEntityTypesItem.java index 40f92bd0..5089bc83 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyDocumentEntityTypesItem.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyDocumentEntityTypesItem.java @@ -153,7 +153,7 @@ public enum DeidentifyFileRequestDeidentifyDocumentEntityTypesItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyPresentationEntityTypesItem.java b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyPresentationEntityTypesItem.java index d54f39eb..a7682795 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyPresentationEntityTypesItem.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyPresentationEntityTypesItem.java @@ -153,7 +153,7 @@ public enum DeidentifyFileRequestDeidentifyPresentationEntityTypesItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifySpreadsheetEntityTypesItem.java b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifySpreadsheetEntityTypesItem.java index 91df43b6..96a55f5a 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifySpreadsheetEntityTypesItem.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifySpreadsheetEntityTypesItem.java @@ -153,7 +153,7 @@ public enum DeidentifyFileRequestDeidentifySpreadsheetEntityTypesItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyStructuredTextEntityTypesItem.java b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyStructuredTextEntityTypesItem.java index e4880d05..aff014d8 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyStructuredTextEntityTypesItem.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyStructuredTextEntityTypesItem.java @@ -153,7 +153,7 @@ public enum DeidentifyFileRequestDeidentifyStructuredTextEntityTypesItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyTextEntityTypesItem.java b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyTextEntityTypesItem.java index f883cfc1..b0326561 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyTextEntityTypesItem.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestDeidentifyTextEntityTypesItem.java @@ -153,7 +153,7 @@ public enum DeidentifyFileRequestDeidentifyTextEntityTypesItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestEntityTypesItem.java b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestEntityTypesItem.java index e6d91615..9c9c84c2 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestEntityTypesItem.java +++ b/src/main/java/com/skyflow/generated/rest/resources/files/types/DeidentifyFileRequestEntityTypesItem.java @@ -153,7 +153,7 @@ public enum DeidentifyFileRequestEntityTypesItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/guardrails/requests/DetectGuardrailsRequest.java b/src/main/java/com/skyflow/generated/rest/resources/guardrails/requests/DetectGuardrailsRequest.java index d9485677..9063fed8 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/guardrails/requests/DetectGuardrailsRequest.java +++ b/src/main/java/com/skyflow/generated/rest/resources/guardrails/requests/DetectGuardrailsRequest.java @@ -77,7 +77,7 @@ public String getVaultId() { return vaultId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DetectGuardrailsRequest && equalTo((DetectGuardrailsRequest) other); @@ -95,12 +95,12 @@ private boolean equalTo(DetectGuardrailsRequest other) { && vaultId.equals(other.vaultId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.text, this.checkToxicity, this.denyTopics, this.vaultId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -158,7 +158,7 @@ public static final class Builder implements TextStage, VaultIdStage, _FinalStag private Builder() {} - @java.lang.Override + @Override public Builder from(DetectGuardrailsRequest other) { text(other.getText()); checkToxicity(other.getCheckToxicity()); @@ -171,7 +171,7 @@ public Builder from(DetectGuardrailsRequest other) { * Text to check against guardrails.

Text to check against guardrails.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("text") public VaultIdStage text(@NotNull String text) { this.text = Objects.requireNonNull(text, "text must not be null"); @@ -182,7 +182,7 @@ public VaultIdStage text(@NotNull String text) { * ID of the vault.

ID of the vault.

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

List of topics to deny.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage denyTopics(List denyTopics) { this.denyTopics = Optional.ofNullable(denyTopics); return this; @@ -202,7 +202,7 @@ public _FinalStage denyTopics(List denyTopics) { /** *

List of topics to deny.

*/ - @java.lang.Override + @Override @JsonSetter(value = "deny_topics", nulls = Nulls.SKIP) public _FinalStage denyTopics(Optional> denyTopics) { this.denyTopics = denyTopics; @@ -213,7 +213,7 @@ public _FinalStage denyTopics(Optional> denyTopics) { *

If true, checks for toxicity in the text.

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

If true, checks for toxicity in the text.

*/ - @java.lang.Override + @Override @JsonSetter(value = "check_toxicity", nulls = Nulls.SKIP) public _FinalStage checkToxicity(Optional checkToxicity) { this.checkToxicity = checkToxicity; return this; } - @java.lang.Override + @Override public DetectGuardrailsRequest build() { return new DetectGuardrailsRequest(text, checkToxicity, denyTopics, vaultId, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/query/requests/QueryServiceExecuteQueryBody.java b/src/main/java/com/skyflow/generated/rest/resources/query/requests/QueryServiceExecuteQueryBody.java index dfa21d15..60565eb5 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/query/requests/QueryServiceExecuteQueryBody.java +++ b/src/main/java/com/skyflow/generated/rest/resources/query/requests/QueryServiceExecuteQueryBody.java @@ -37,7 +37,7 @@ public Optional getQuery() { return query; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof QueryServiceExecuteQueryBody && equalTo((QueryServiceExecuteQueryBody) other); @@ -52,12 +52,12 @@ private boolean equalTo(QueryServiceExecuteQueryBody other) { return query.equals(other.query); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.query); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/records/AsyncRawRecordsClient.java b/src/main/java/com/skyflow/generated/rest/resources/records/AsyncRawRecordsClient.java index d63d1b48..a810f142 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/records/AsyncRawRecordsClient.java +++ b/src/main/java/com/skyflow/generated/rest/resources/records/AsyncRawRecordsClient.java @@ -753,10 +753,8 @@ public CompletableFuture> fileServ "file", file.get().getName(), RequestBody.create(file.get(), fileMimeTypeMediaType)); } if (request.getColumnName().isPresent()) { - body.addFormDataPart( - "columnName", - ObjectMappers.JSON_MAPPER.writeValueAsString( - request.getColumnName().get())); + QueryStringMapper.addFormDataPart( + body, "columnName", request.getColumnName().get(), false); } } catch (Exception e) { throw new RuntimeException(e); @@ -979,22 +977,21 @@ public CompletableFuture> uploadFile .build(); MultipartBody.Builder body = new MultipartBody.Builder().setType(MultipartBody.FORM); try { - body.addFormDataPart("tableName", ObjectMappers.JSON_MAPPER.writeValueAsString(request.getTableName())); - body.addFormDataPart("columnName", ObjectMappers.JSON_MAPPER.writeValueAsString(request.getColumnName())); + QueryStringMapper.addFormDataPart(body, "tableName", request.getTableName(), false); + QueryStringMapper.addFormDataPart(body, "columnName", request.getColumnName(), false); String fileMimeType = Files.probeContentType(file.toPath()); MediaType fileMimeTypeMediaType = fileMimeType != null ? MediaType.parse(fileMimeType) : null; body.addFormDataPart("file", file.getName(), RequestBody.create(file, fileMimeTypeMediaType)); if (request.getSkyflowId().isPresent()) { - body.addFormDataPart( - "skyflowID", - ObjectMappers.JSON_MAPPER.writeValueAsString( - request.getSkyflowId().get())); + QueryStringMapper.addFormDataPart( + body, "skyflowID", request.getSkyflowId().get(), false); } if (request.getReturnFileMetadata().isPresent()) { - body.addFormDataPart( + QueryStringMapper.addFormDataPart( + body, "returnFileMetadata", - ObjectMappers.JSON_MAPPER.writeValueAsString( - request.getReturnFileMetadata().get())); + request.getReturnFileMetadata().get(), + false); } } catch (Exception e) { throw new RuntimeException(e); diff --git a/src/main/java/com/skyflow/generated/rest/resources/records/RawRecordsClient.java b/src/main/java/com/skyflow/generated/rest/resources/records/RawRecordsClient.java index eb83fa7c..d1b607a0 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/records/RawRecordsClient.java +++ b/src/main/java/com/skyflow/generated/rest/resources/records/RawRecordsClient.java @@ -641,10 +641,8 @@ public ApiClientHttpResponse fileServiceUploadFile( "file", file.get().getName(), RequestBody.create(file.get(), fileMimeTypeMediaType)); } if (request.getColumnName().isPresent()) { - body.addFormDataPart( - "columnName", - ObjectMappers.JSON_MAPPER.writeValueAsString( - request.getColumnName().get())); + QueryStringMapper.addFormDataPart( + body, "columnName", request.getColumnName().get(), false); } } catch (Exception e) { throw new RuntimeException(e); @@ -823,22 +821,21 @@ public ApiClientHttpResponse uploadFileV2( .build(); MultipartBody.Builder body = new MultipartBody.Builder().setType(MultipartBody.FORM); try { - body.addFormDataPart("tableName", ObjectMappers.JSON_MAPPER.writeValueAsString(request.getTableName())); - body.addFormDataPart("columnName", ObjectMappers.JSON_MAPPER.writeValueAsString(request.getColumnName())); + QueryStringMapper.addFormDataPart(body, "tableName", request.getTableName(), false); + QueryStringMapper.addFormDataPart(body, "columnName", request.getColumnName(), false); String fileMimeType = Files.probeContentType(file.toPath()); MediaType fileMimeTypeMediaType = fileMimeType != null ? MediaType.parse(fileMimeType) : null; body.addFormDataPart("file", file.getName(), RequestBody.create(file, fileMimeTypeMediaType)); if (request.getSkyflowId().isPresent()) { - body.addFormDataPart( - "skyflowID", - ObjectMappers.JSON_MAPPER.writeValueAsString( - request.getSkyflowId().get())); + QueryStringMapper.addFormDataPart( + body, "skyflowID", request.getSkyflowId().get(), false); } if (request.getReturnFileMetadata().isPresent()) { - body.addFormDataPart( + QueryStringMapper.addFormDataPart( + body, "returnFileMetadata", - ObjectMappers.JSON_MAPPER.writeValueAsString( - request.getReturnFileMetadata().get())); + request.getReturnFileMetadata().get(), + false); } } catch (Exception e) { throw new RuntimeException(e); diff --git a/src/main/java/com/skyflow/generated/rest/resources/records/requests/FileServiceUploadFileRequest.java b/src/main/java/com/skyflow/generated/rest/resources/records/requests/FileServiceUploadFileRequest.java index 8152e4d7..fe805970 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/records/requests/FileServiceUploadFileRequest.java +++ b/src/main/java/com/skyflow/generated/rest/resources/records/requests/FileServiceUploadFileRequest.java @@ -37,7 +37,7 @@ public Optional getColumnName() { return columnName; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof FileServiceUploadFileRequest && equalTo((FileServiceUploadFileRequest) other); @@ -52,12 +52,12 @@ private boolean equalTo(FileServiceUploadFileRequest other) { return columnName.equals(other.columnName); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.columnName); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceBatchOperationBody.java b/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceBatchOperationBody.java index 33b92483..48586839 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceBatchOperationBody.java +++ b/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceBatchOperationBody.java @@ -63,7 +63,7 @@ public Optional getByot() { return byot; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof RecordServiceBatchOperationBody && equalTo((RecordServiceBatchOperationBody) other); @@ -80,12 +80,12 @@ private boolean equalTo(RecordServiceBatchOperationBody other) { && byot.equals(other.byot); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.records, this.continueOnError, this.byot); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceBulkDeleteRecordBody.java b/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceBulkDeleteRecordBody.java index b2c991f9..b417adbb 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceBulkDeleteRecordBody.java +++ b/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceBulkDeleteRecordBody.java @@ -39,7 +39,7 @@ public Optional> getSkyflowIds() { return skyflowIds; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof RecordServiceBulkDeleteRecordBody && equalTo((RecordServiceBulkDeleteRecordBody) other); @@ -54,12 +54,12 @@ private boolean equalTo(RecordServiceBulkDeleteRecordBody other) { return skyflowIds.equals(other.skyflowIds); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.skyflowIds); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceBulkGetRecordRequest.java b/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceBulkGetRecordRequest.java index f8cccf09..22c9090c 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceBulkGetRecordRequest.java +++ b/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceBulkGetRecordRequest.java @@ -151,7 +151,7 @@ public Optional getOrderBy() { return orderBy; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof RecordServiceBulkGetRecordRequest && equalTo((RecordServiceBulkGetRecordRequest) other); @@ -175,7 +175,7 @@ private boolean equalTo(RecordServiceBulkGetRecordRequest other) { && orderBy.equals(other.orderBy); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.skyflowIds, @@ -190,7 +190,7 @@ public int hashCode() { this.orderBy); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceGetRecordRequest.java b/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceGetRecordRequest.java index 0fa5319d..eef17665 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceGetRecordRequest.java +++ b/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceGetRecordRequest.java @@ -78,7 +78,7 @@ public Optional getDownloadUrl() { return downloadUrl; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof RecordServiceGetRecordRequest && equalTo((RecordServiceGetRecordRequest) other); @@ -96,12 +96,12 @@ private boolean equalTo(RecordServiceGetRecordRequest other) { && downloadUrl.equals(other.downloadUrl); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.fields, this.redaction, this.tokenization, this.downloadUrl); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceInsertRecordBody.java b/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceInsertRecordBody.java index 4ac78692..e1de00f7 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceInsertRecordBody.java +++ b/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceInsertRecordBody.java @@ -87,7 +87,7 @@ public Optional getByot() { return byot; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof RecordServiceInsertRecordBody && equalTo((RecordServiceInsertRecordBody) other); @@ -106,12 +106,12 @@ private boolean equalTo(RecordServiceInsertRecordBody other) { && byot.equals(other.byot); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.records, this.tokenization, this.upsert, this.homogeneous, this.byot); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceUpdateRecordBody.java b/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceUpdateRecordBody.java index 19e0ae23..e52af2e4 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceUpdateRecordBody.java +++ b/src/main/java/com/skyflow/generated/rest/resources/records/requests/RecordServiceUpdateRecordBody.java @@ -59,7 +59,7 @@ public Optional getByot() { return byot; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof RecordServiceUpdateRecordBody && equalTo((RecordServiceUpdateRecordBody) other); @@ -74,12 +74,12 @@ private boolean equalTo(RecordServiceUpdateRecordBody other) { return record.equals(other.record) && tokenization.equals(other.tokenization) && byot.equals(other.byot); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.record, this.tokenization, this.byot); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/records/requests/UploadFileV2Request.java b/src/main/java/com/skyflow/generated/rest/resources/records/requests/UploadFileV2Request.java index ca26f0d3..f162530c 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/records/requests/UploadFileV2Request.java +++ b/src/main/java/com/skyflow/generated/rest/resources/records/requests/UploadFileV2Request.java @@ -76,7 +76,7 @@ public Optional getReturnFileMetadata() { return returnFileMetadata; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof UploadFileV2Request && equalTo((UploadFileV2Request) other); @@ -94,12 +94,12 @@ private boolean equalTo(UploadFileV2Request other) { && returnFileMetadata.equals(other.returnFileMetadata); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.tableName, this.columnName, this.skyflowId, this.returnFileMetadata); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -157,7 +157,7 @@ public static final class Builder implements TableNameStage, ColumnNameStage, _F private Builder() {} - @java.lang.Override + @Override public Builder from(UploadFileV2Request other) { tableName(other.getTableName()); columnName(other.getColumnName()); @@ -170,7 +170,7 @@ public Builder from(UploadFileV2Request other) { * Name of the table to upload the file to.

Name of the table to upload the file to.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("tableName") public ColumnNameStage tableName(@NotNull String tableName) { this.tableName = Objects.requireNonNull(tableName, "tableName must not be null"); @@ -181,7 +181,7 @@ public ColumnNameStage tableName(@NotNull String tableName) { * Name of the column to upload the file to. The column must have a `file` data type.

Name of the column to upload the file to. The column must have a file data type.

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

If true, returns metadata about the uploaded file.

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

If true, returns metadata about the uploaded file.

*/ - @java.lang.Override + @Override @JsonSetter(value = "returnFileMetadata", nulls = Nulls.SKIP) public _FinalStage returnFileMetadata(Optional returnFileMetadata) { this.returnFileMetadata = returnFileMetadata; @@ -212,7 +212,7 @@ public _FinalStage returnFileMetadata(Optional returnFileMetadata) { *

Skyflow ID of the record to upload the file to. If skyflowID isn't specified, a new record will be created.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage skyflowId(String skyflowId) { this.skyflowId = Optional.ofNullable(skyflowId); return this; @@ -221,14 +221,14 @@ public _FinalStage skyflowId(String skyflowId) { /** *

Skyflow ID of the record to upload the file to. If skyflowID isn't specified, a new record will be created.

*/ - @java.lang.Override + @Override @JsonSetter(value = "skyflowID", nulls = Nulls.SKIP) public _FinalStage skyflowId(Optional skyflowId) { this.skyflowId = skyflowId; return this; } - @java.lang.Override + @Override public UploadFileV2Request build() { return new UploadFileV2Request(tableName, columnName, skyflowId, returnFileMetadata, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/records/types/RecordServiceBulkGetRecordRequestOrderBy.java b/src/main/java/com/skyflow/generated/rest/resources/records/types/RecordServiceBulkGetRecordRequestOrderBy.java index 2563652f..1f25b38d 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/records/types/RecordServiceBulkGetRecordRequestOrderBy.java +++ b/src/main/java/com/skyflow/generated/rest/resources/records/types/RecordServiceBulkGetRecordRequestOrderBy.java @@ -19,7 +19,7 @@ public enum RecordServiceBulkGetRecordRequestOrderBy { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/records/types/RecordServiceBulkGetRecordRequestRedaction.java b/src/main/java/com/skyflow/generated/rest/resources/records/types/RecordServiceBulkGetRecordRequestRedaction.java index b20f2541..12bbc291 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/records/types/RecordServiceBulkGetRecordRequestRedaction.java +++ b/src/main/java/com/skyflow/generated/rest/resources/records/types/RecordServiceBulkGetRecordRequestRedaction.java @@ -21,7 +21,7 @@ public enum RecordServiceBulkGetRecordRequestRedaction { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/records/types/RecordServiceGetRecordRequestRedaction.java b/src/main/java/com/skyflow/generated/rest/resources/records/types/RecordServiceGetRecordRequestRedaction.java index 468e3edd..4f546262 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/records/types/RecordServiceGetRecordRequestRedaction.java +++ b/src/main/java/com/skyflow/generated/rest/resources/records/types/RecordServiceGetRecordRequestRedaction.java @@ -21,7 +21,7 @@ public enum RecordServiceGetRecordRequestRedaction { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/strings/requests/DeidentifyStringRequest.java b/src/main/java/com/skyflow/generated/rest/resources/strings/requests/DeidentifyStringRequest.java index 522142aa..943ddde4 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/strings/requests/DeidentifyStringRequest.java +++ b/src/main/java/com/skyflow/generated/rest/resources/strings/requests/DeidentifyStringRequest.java @@ -122,7 +122,7 @@ public Optional getConfigurationId() { return configurationId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DeidentifyStringRequest && equalTo((DeidentifyStringRequest) other); @@ -144,7 +144,7 @@ private boolean equalTo(DeidentifyStringRequest other) { && configurationId.equals(other.configurationId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.text, @@ -157,7 +157,7 @@ public int hashCode() { this.configurationId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -245,7 +245,7 @@ public static final class Builder implements TextStage, VaultIdStage, _FinalStag private Builder() {} - @java.lang.Override + @Override public Builder from(DeidentifyStringRequest other) { text(other.getText()); vaultId(other.getVaultId()); @@ -262,7 +262,7 @@ public Builder from(DeidentifyStringRequest other) { * Text to de-identify.

Text to de-identify.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("text") public VaultIdStage text(@NotNull String text) { this.text = Objects.requireNonNull(text, "text must not be null"); @@ -273,7 +273,7 @@ public VaultIdStage text(@NotNull String text) { * ID of a vault that you have Detect Invoker or Vault Owner permissions for.

ID of a vault that you have Detect Invoker or Vault Owner permissions for.

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

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage configurationId(String configurationId) { this.configurationId = Optional.ofNullable(configurationId); return this; @@ -293,20 +293,20 @@ public _FinalStage configurationId(String configurationId) { /** *

ID of the Detect configuration to use for de-identification. Can't be specified with fields other than vault_id, text, and file.

*/ - @java.lang.Override + @Override @JsonSetter(value = "configuration_id", nulls = Nulls.SKIP) public _FinalStage configurationId(Optional configurationId) { this.configurationId = configurationId; return this; } - @java.lang.Override + @Override public _FinalStage transformations(Transformations transformations) { this.transformations = Optional.ofNullable(transformations); return this; } - @java.lang.Override + @Override @JsonSetter(value = "transformations", nulls = Nulls.SKIP) public _FinalStage transformations(Optional transformations) { this.transformations = transformations; @@ -317,7 +317,7 @@ public _FinalStage transformations(Optional transformations) { *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage restrictRegex(List restrictRegex) { this.restrictRegex = Optional.ofNullable(restrictRegex); return this; @@ -326,7 +326,7 @@ public _FinalStage restrictRegex(List restrictRegex) { /** *

Regular expressions to replace with '[RESTRICTED]'. Expressions must match the entirety of a detected entity, not just a substring, for the entity to be restricted. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext. If a string is detected as an entity and a restrict_regex pattern matches the entire detected entity, the entity is replaced with '[RESTRICTED]'. If a string is detected as an entity but a restrict_regex pattern only matches a substring of it, the restrict_regex pattern is ignored, and the entity is processed according to the specified tokenization and transformation settings.

*/ - @java.lang.Override + @Override @JsonSetter(value = "restrict_regex", nulls = Nulls.SKIP) public _FinalStage restrictRegex(Optional> restrictRegex) { this.restrictRegex = restrictRegex; @@ -337,7 +337,7 @@ public _FinalStage restrictRegex(Optional> restrictRegex) { *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage allowRegex(List allowRegex) { this.allowRegex = Optional.ofNullable(allowRegex); return this; @@ -346,20 +346,20 @@ public _FinalStage allowRegex(List allowRegex) { /** *

Regular expressions to display in plaintext. Entities appear in plaintext if an expression matches either the entirety of a detected entity or a substring of it. Expressions don't match across entity boundaries. If a string or entity matches both allow_regex and restrict_regex, the entity is displayed in plaintext.

*/ - @java.lang.Override + @Override @JsonSetter(value = "allow_regex", nulls = Nulls.SKIP) public _FinalStage allowRegex(Optional> allowRegex) { this.allowRegex = allowRegex; return this; } - @java.lang.Override + @Override public _FinalStage tokenType(TokenTypeMapping tokenType) { this.tokenType = Optional.ofNullable(tokenType); return this; } - @java.lang.Override + @Override @JsonSetter(value = "token_type", nulls = Nulls.SKIP) public _FinalStage tokenType(Optional tokenType) { this.tokenType = tokenType; @@ -370,7 +370,7 @@ public _FinalStage tokenType(Optional tokenType) { *

Entities to detect and de-identify.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override public _FinalStage entityTypes(List entityTypes) { this.entityTypes = Optional.ofNullable(entityTypes); return this; @@ -379,14 +379,14 @@ public _FinalStage entityTypes(List enti /** *

Entities to detect and de-identify.

*/ - @java.lang.Override + @Override @JsonSetter(value = "entity_types", nulls = Nulls.SKIP) public _FinalStage entityTypes(Optional> entityTypes) { this.entityTypes = entityTypes; return this; } - @java.lang.Override + @Override public DeidentifyStringRequest build() { return new DeidentifyStringRequest( text, diff --git a/src/main/java/com/skyflow/generated/rest/resources/strings/requests/ReidentifyStringRequest.java b/src/main/java/com/skyflow/generated/rest/resources/strings/requests/ReidentifyStringRequest.java index d07aa731..59c1aaf2 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/strings/requests/ReidentifyStringRequest.java +++ b/src/main/java/com/skyflow/generated/rest/resources/strings/requests/ReidentifyStringRequest.java @@ -61,7 +61,7 @@ public Optional getFormat() { return format; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof ReidentifyStringRequest && equalTo((ReidentifyStringRequest) other); @@ -76,12 +76,12 @@ private boolean equalTo(ReidentifyStringRequest other) { return text.equals(other.text) && vaultId.equals(other.vaultId) && format.equals(other.format); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.text, this.vaultId, this.format); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/strings/types/DeidentifyStringRequestEntityTypesItem.java b/src/main/java/com/skyflow/generated/rest/resources/strings/types/DeidentifyStringRequestEntityTypesItem.java index 0965b178..28066122 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/strings/types/DeidentifyStringRequestEntityTypesItem.java +++ b/src/main/java/com/skyflow/generated/rest/resources/strings/types/DeidentifyStringRequestEntityTypesItem.java @@ -153,7 +153,7 @@ public enum DeidentifyStringRequestEntityTypesItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/resources/tokens/requests/V1DetokenizePayload.java b/src/main/java/com/skyflow/generated/rest/resources/tokens/requests/V1DetokenizePayload.java index 1d3cb407..59318aa8 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/tokens/requests/V1DetokenizePayload.java +++ b/src/main/java/com/skyflow/generated/rest/resources/tokens/requests/V1DetokenizePayload.java @@ -65,7 +65,7 @@ public Optional getContinueOnError() { return continueOnError; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1DetokenizePayload && equalTo((V1DetokenizePayload) other); @@ -82,12 +82,12 @@ private boolean equalTo(V1DetokenizePayload other) { && continueOnError.equals(other.continueOnError); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.detokenizationParameters, this.downloadUrl, this.continueOnError); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/resources/tokens/requests/V1TokenizePayload.java b/src/main/java/com/skyflow/generated/rest/resources/tokens/requests/V1TokenizePayload.java index 30bdde6a..9729023e 100644 --- a/src/main/java/com/skyflow/generated/rest/resources/tokens/requests/V1TokenizePayload.java +++ b/src/main/java/com/skyflow/generated/rest/resources/tokens/requests/V1TokenizePayload.java @@ -40,7 +40,7 @@ public Optional> getTokenizationParameters() { return tokenizationParameters; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1TokenizePayload && equalTo((V1TokenizePayload) other); @@ -55,12 +55,12 @@ private boolean equalTo(V1TokenizePayload other) { return tokenizationParameters.equals(other.tokenizationParameters); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.tokenizationParameters); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/AuditEventAuditResourceType.java b/src/main/java/com/skyflow/generated/rest/types/AuditEventAuditResourceType.java index 4264996a..d16caf10 100644 --- a/src/main/java/com/skyflow/generated/rest/types/AuditEventAuditResourceType.java +++ b/src/main/java/com/skyflow/generated/rest/types/AuditEventAuditResourceType.java @@ -73,7 +73,7 @@ public enum AuditEventAuditResourceType { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/AuditEventContext.java b/src/main/java/com/skyflow/generated/rest/types/AuditEventContext.java index 2a5c104a..210f96c0 100644 --- a/src/main/java/com/skyflow/generated/rest/types/AuditEventContext.java +++ b/src/main/java/com/skyflow/generated/rest/types/AuditEventContext.java @@ -162,7 +162,7 @@ public Optional getBearerTokenContextId() { return bearerTokenContextId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof AuditEventContext && equalTo((AuditEventContext) other); @@ -188,7 +188,7 @@ private boolean equalTo(AuditEventContext other) { && bearerTokenContextId.equals(other.bearerTokenContextId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.changeId, @@ -205,7 +205,7 @@ public int hashCode() { this.bearerTokenContextId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/AuditEventData.java b/src/main/java/com/skyflow/generated/rest/types/AuditEventData.java index 45d15be1..e2028fba 100644 --- a/src/main/java/com/skyflow/generated/rest/types/AuditEventData.java +++ b/src/main/java/com/skyflow/generated/rest/types/AuditEventData.java @@ -37,7 +37,7 @@ public Optional getContent() { return content; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof AuditEventData && equalTo((AuditEventData) other); @@ -52,12 +52,12 @@ private boolean equalTo(AuditEventData other) { return content.equals(other.content); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.content); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/AuditEventHttpInfo.java b/src/main/java/com/skyflow/generated/rest/types/AuditEventHttpInfo.java index 91126cc0..1352c42f 100644 --- a/src/main/java/com/skyflow/generated/rest/types/AuditEventHttpInfo.java +++ b/src/main/java/com/skyflow/generated/rest/types/AuditEventHttpInfo.java @@ -49,7 +49,7 @@ public Optional getMethod() { return method; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof AuditEventHttpInfo && equalTo((AuditEventHttpInfo) other); @@ -64,12 +64,12 @@ private boolean equalTo(AuditEventHttpInfo other) { return uri.equals(other.uri) && method.equals(other.method); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.uri, this.method); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/BatchRecordMethod.java b/src/main/java/com/skyflow/generated/rest/types/BatchRecordMethod.java index c50f618d..a6f5e673 100644 --- a/src/main/java/com/skyflow/generated/rest/types/BatchRecordMethod.java +++ b/src/main/java/com/skyflow/generated/rest/types/BatchRecordMethod.java @@ -23,7 +23,7 @@ public enum BatchRecordMethod { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/ContextAccessType.java b/src/main/java/com/skyflow/generated/rest/types/ContextAccessType.java index b1b6072c..163e862e 100644 --- a/src/main/java/com/skyflow/generated/rest/types/ContextAccessType.java +++ b/src/main/java/com/skyflow/generated/rest/types/ContextAccessType.java @@ -19,7 +19,7 @@ public enum ContextAccessType { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/ContextAuthMode.java b/src/main/java/com/skyflow/generated/rest/types/ContextAuthMode.java index 349ca23a..204ad039 100644 --- a/src/main/java/com/skyflow/generated/rest/types/ContextAuthMode.java +++ b/src/main/java/com/skyflow/generated/rest/types/ContextAuthMode.java @@ -21,7 +21,7 @@ public enum ContextAuthMode { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/DeidentifiedFileOutput.java b/src/main/java/com/skyflow/generated/rest/types/DeidentifiedFileOutput.java index ad4a3550..a7dd7c68 100644 --- a/src/main/java/com/skyflow/generated/rest/types/DeidentifiedFileOutput.java +++ b/src/main/java/com/skyflow/generated/rest/types/DeidentifiedFileOutput.java @@ -63,7 +63,7 @@ public Optional getProcessedFileEx return processedFileExtension; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DeidentifiedFileOutput && equalTo((DeidentifiedFileOutput) other); @@ -80,12 +80,12 @@ private boolean equalTo(DeidentifiedFileOutput other) { && processedFileExtension.equals(other.processedFileExtension); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.processedFile, this.processedFileType, this.processedFileExtension); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/DeidentifiedFileOutputProcessedFileExtension.java b/src/main/java/com/skyflow/generated/rest/types/DeidentifiedFileOutputProcessedFileExtension.java index f7993608..febaeca3 100644 --- a/src/main/java/com/skyflow/generated/rest/types/DeidentifiedFileOutputProcessedFileExtension.java +++ b/src/main/java/com/skyflow/generated/rest/types/DeidentifiedFileOutputProcessedFileExtension.java @@ -53,7 +53,7 @@ public enum DeidentifiedFileOutputProcessedFileExtension { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/DeidentifiedFileOutputProcessedFileType.java b/src/main/java/com/skyflow/generated/rest/types/DeidentifiedFileOutputProcessedFileType.java index ba2d3d19..e020b28f 100644 --- a/src/main/java/com/skyflow/generated/rest/types/DeidentifiedFileOutputProcessedFileType.java +++ b/src/main/java/com/skyflow/generated/rest/types/DeidentifiedFileOutputProcessedFileType.java @@ -27,7 +27,7 @@ public enum DeidentifiedFileOutputProcessedFileType { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/DeidentifyFileResponse.java b/src/main/java/com/skyflow/generated/rest/types/DeidentifyFileResponse.java index 5f01f61e..d2b8e5b6 100644 --- a/src/main/java/com/skyflow/generated/rest/types/DeidentifyFileResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/DeidentifyFileResponse.java @@ -37,7 +37,7 @@ public Optional getRunId() { return runId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DeidentifyFileResponse && equalTo((DeidentifyFileResponse) other); @@ -52,12 +52,12 @@ private boolean equalTo(DeidentifyFileResponse other) { return runId.equals(other.runId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.runId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/DeidentifyStringResponse.java b/src/main/java/com/skyflow/generated/rest/types/DeidentifyStringResponse.java index d510fc77..e831f142 100644 --- a/src/main/java/com/skyflow/generated/rest/types/DeidentifyStringResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/DeidentifyStringResponse.java @@ -76,7 +76,7 @@ public Optional getCharacterCount() { return characterCount; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DeidentifyStringResponse && equalTo((DeidentifyStringResponse) other); @@ -94,12 +94,12 @@ private boolean equalTo(DeidentifyStringResponse other) { && characterCount.equals(other.characterCount); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.processedText, this.entities, this.wordCount, this.characterCount); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/DetectGuardrailsResponse.java b/src/main/java/com/skyflow/generated/rest/types/DetectGuardrailsResponse.java index 3f3d8558..9773dcc3 100644 --- a/src/main/java/com/skyflow/generated/rest/types/DetectGuardrailsResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/DetectGuardrailsResponse.java @@ -76,7 +76,7 @@ public DetectGuardrailsResponseValidation getValidation() { return validation; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DetectGuardrailsResponse && equalTo((DetectGuardrailsResponse) other); @@ -94,12 +94,12 @@ private boolean equalTo(DetectGuardrailsResponse other) { && validation.equals(other.validation); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.text, this.toxic, this.deniedTopic, this.validation); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -157,7 +157,7 @@ public static final class Builder implements TextStage, ValidationStage, _FinalS private Builder() {} - @java.lang.Override + @Override public Builder from(DetectGuardrailsResponse other) { text(other.getText()); toxic(other.getToxic()); @@ -170,7 +170,7 @@ public Builder from(DetectGuardrailsResponse other) { * Text that was checked against guardrails.

Text that was checked against guardrails.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("text") public ValidationStage text(@NotNull String text) { this.text = Objects.requireNonNull(text, "text must not be null"); @@ -181,7 +181,7 @@ public ValidationStage text(@NotNull String text) { * Whether the text passed validation.

Whether the text passed validation.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("validation") public _FinalStage validation(@NotNull DetectGuardrailsResponseValidation validation) { this.validation = Objects.requireNonNull(validation, "validation must not be null"); @@ -192,7 +192,7 @@ public _FinalStage validation(@NotNull DetectGuardrailsResponseValidation valida *

Whether the text included a denied topic.

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

Whether the text included a denied topic.

*/ - @java.lang.Override + @Override @JsonSetter(value = "denied_topic", nulls = Nulls.SKIP) public _FinalStage deniedTopic(Optional deniedTopic) { this.deniedTopic = deniedTopic; @@ -212,7 +212,7 @@ public _FinalStage deniedTopic(Optional deniedTopic) { *

Whether the text is toxic.

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

Whether the text is toxic.

*/ - @java.lang.Override + @Override @JsonSetter(value = "toxic", nulls = Nulls.SKIP) public _FinalStage toxic(Optional toxic) { this.toxic = toxic; return this; } - @java.lang.Override + @Override public DetectGuardrailsResponse build() { return new DetectGuardrailsResponse(text, toxic, deniedTopic, validation, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/types/DetectGuardrailsResponseValidation.java b/src/main/java/com/skyflow/generated/rest/types/DetectGuardrailsResponseValidation.java index 679f9184..e8bf032e 100644 --- a/src/main/java/com/skyflow/generated/rest/types/DetectGuardrailsResponseValidation.java +++ b/src/main/java/com/skyflow/generated/rest/types/DetectGuardrailsResponseValidation.java @@ -17,7 +17,7 @@ public enum DetectGuardrailsResponseValidation { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/DetectRunsResponse.java b/src/main/java/com/skyflow/generated/rest/types/DetectRunsResponse.java index ddfececa..c97f7635 100644 --- a/src/main/java/com/skyflow/generated/rest/types/DetectRunsResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/DetectRunsResponse.java @@ -133,7 +133,7 @@ public Optional getSlides() { return slides; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof DetectRunsResponse && equalTo((DetectRunsResponse) other); @@ -156,7 +156,7 @@ private boolean equalTo(DetectRunsResponse other) { && slides.equals(other.slides); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.status, @@ -170,7 +170,7 @@ public int hashCode() { this.slides); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/DetectRunsResponseOutputType.java b/src/main/java/com/skyflow/generated/rest/types/DetectRunsResponseOutputType.java index 4fb7d748..171dd153 100644 --- a/src/main/java/com/skyflow/generated/rest/types/DetectRunsResponseOutputType.java +++ b/src/main/java/com/skyflow/generated/rest/types/DetectRunsResponseOutputType.java @@ -17,7 +17,7 @@ public enum DetectRunsResponseOutputType { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/DetectRunsResponseStatus.java b/src/main/java/com/skyflow/generated/rest/types/DetectRunsResponseStatus.java index 39f11600..e5fa80d4 100644 --- a/src/main/java/com/skyflow/generated/rest/types/DetectRunsResponseStatus.java +++ b/src/main/java/com/skyflow/generated/rest/types/DetectRunsResponseStatus.java @@ -21,7 +21,7 @@ public enum DetectRunsResponseStatus { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/DetokenizeRecordResponseValueType.java b/src/main/java/com/skyflow/generated/rest/types/DetokenizeRecordResponseValueType.java index f192c14f..e9f4be2a 100644 --- a/src/main/java/com/skyflow/generated/rest/types/DetokenizeRecordResponseValueType.java +++ b/src/main/java/com/skyflow/generated/rest/types/DetokenizeRecordResponseValueType.java @@ -31,7 +31,7 @@ public enum DetokenizeRecordResponseValueType { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/ErrorResponse.java b/src/main/java/com/skyflow/generated/rest/types/ErrorResponse.java index 68778cb1..565714eb 100644 --- a/src/main/java/com/skyflow/generated/rest/types/ErrorResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/ErrorResponse.java @@ -33,7 +33,7 @@ public ErrorResponseError getError() { return error; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof ErrorResponse && equalTo((ErrorResponse) other); @@ -48,12 +48,12 @@ private boolean equalTo(ErrorResponse other) { return error.equals(other.error); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.error); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -81,20 +81,20 @@ public static final class Builder implements ErrorStage, _FinalStage { private Builder() {} - @java.lang.Override + @Override public Builder from(ErrorResponse other) { error(other.getError()); return this; } - @java.lang.Override + @Override @JsonSetter("error") public _FinalStage error(@NotNull ErrorResponseError error) { this.error = Objects.requireNonNull(error, "error must not be null"); return this; } - @java.lang.Override + @Override public ErrorResponse build() { return new ErrorResponse(error, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/types/ErrorResponseError.java b/src/main/java/com/skyflow/generated/rest/types/ErrorResponseError.java index 161feba5..bcc23f03 100644 --- a/src/main/java/com/skyflow/generated/rest/types/ErrorResponseError.java +++ b/src/main/java/com/skyflow/generated/rest/types/ErrorResponseError.java @@ -77,7 +77,7 @@ public Optional>> getDetails() { return details; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof ErrorResponseError && equalTo((ErrorResponseError) other); @@ -96,12 +96,12 @@ private boolean equalTo(ErrorResponseError other) { && details.equals(other.details); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.grpcCode, this.httpCode, this.httpStatus, this.message, this.details); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -157,7 +157,7 @@ public static final class Builder private Builder() {} - @java.lang.Override + @Override public Builder from(ErrorResponseError other) { grpcCode(other.getGrpcCode()); httpCode(other.getHttpCode()); @@ -171,48 +171,48 @@ public Builder from(ErrorResponseError other) { * gRPC status codes. See https://grpc.io/docs/guides/status-codes.

gRPC status codes. See https://grpc.io/docs/guides/status-codes.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("grpc_code") public HttpCodeStage grpcCode(int grpcCode) { this.grpcCode = grpcCode; return this; } - @java.lang.Override + @Override @JsonSetter("http_code") public HttpStatusStage httpCode(int httpCode) { this.httpCode = httpCode; return this; } - @java.lang.Override + @Override @JsonSetter("http_status") public MessageStage httpStatus(@NotNull String httpStatus) { this.httpStatus = Objects.requireNonNull(httpStatus, "httpStatus must not be null"); return this; } - @java.lang.Override + @Override @JsonSetter("message") public _FinalStage message(@NotNull String message) { this.message = Objects.requireNonNull(message, "message must not be null"); return this; } - @java.lang.Override + @Override public _FinalStage details(List> details) { this.details = Optional.ofNullable(details); return this; } - @java.lang.Override + @Override @JsonSetter(value = "details", nulls = Nulls.SKIP) public _FinalStage details(Optional>> details) { this.details = details; return this; } - @java.lang.Override + @Override public ErrorResponseError build() { return new ErrorResponseError(grpcCode, httpCode, httpStatus, message, details, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileData.java b/src/main/java/com/skyflow/generated/rest/types/FileData.java index a012b8b0..7f58332e 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileData.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileData.java @@ -47,7 +47,7 @@ public FileDataDataFormat getDataFormat() { return dataFormat; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof FileData && equalTo((FileData) other); @@ -62,12 +62,12 @@ private boolean equalTo(FileData other) { return base64.equals(other.base64) && dataFormat.equals(other.dataFormat); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.base64, this.dataFormat); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -107,7 +107,7 @@ public static final class Builder implements Base64Stage, DataFormatStage, _Fina private Builder() {} - @java.lang.Override + @Override public Builder from(FileData other) { base64(other.getBase64()); dataFormat(other.getDataFormat()); @@ -118,7 +118,7 @@ public Builder from(FileData other) { * Base64-encoded data of the file.

Base64-encoded data of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("base64") public DataFormatStage base64(@NotNull String base64) { this.base64 = Objects.requireNonNull(base64, "base64 must not be null"); @@ -129,14 +129,14 @@ public DataFormatStage base64(@NotNull String base64) { * Format of the file.

Format of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("data_format") public _FinalStage dataFormat(@NotNull FileDataDataFormat dataFormat) { this.dataFormat = Objects.requireNonNull(dataFormat, "dataFormat must not be null"); return this; } - @java.lang.Override + @Override public FileData build() { return new FileData(base64, dataFormat, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDataFormat.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDataFormat.java index d49957ae..8ed06e57 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDataFormat.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDataFormat.java @@ -55,7 +55,7 @@ public enum FileDataDataFormat { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyAudio.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyAudio.java index db1aeea9..2aa88f7b 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyAudio.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyAudio.java @@ -48,7 +48,7 @@ public FileDataDeidentifyAudioDataFormat getDataFormat() { return dataFormat; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof FileDataDeidentifyAudio && equalTo((FileDataDeidentifyAudio) other); @@ -63,12 +63,12 @@ private boolean equalTo(FileDataDeidentifyAudio other) { return base64.equals(other.base64) && dataFormat.equals(other.dataFormat); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.base64, this.dataFormat); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -108,7 +108,7 @@ public static final class Builder implements Base64Stage, DataFormatStage, _Fina private Builder() {} - @java.lang.Override + @Override public Builder from(FileDataDeidentifyAudio other) { base64(other.getBase64()); dataFormat(other.getDataFormat()); @@ -119,7 +119,7 @@ public Builder from(FileDataDeidentifyAudio other) { * Base64-encoded data of the file.

Base64-encoded data of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("base64") public DataFormatStage base64(@NotNull String base64) { this.base64 = Objects.requireNonNull(base64, "base64 must not be null"); @@ -130,14 +130,14 @@ public DataFormatStage base64(@NotNull String base64) { * Format of the file.

Format of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("data_format") public _FinalStage dataFormat(@NotNull FileDataDeidentifyAudioDataFormat dataFormat) { this.dataFormat = Objects.requireNonNull(dataFormat, "dataFormat must not be null"); return this; } - @java.lang.Override + @Override public FileDataDeidentifyAudio build() { return new FileDataDeidentifyAudio(base64, dataFormat, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyAudioDataFormat.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyAudioDataFormat.java index dbc10429..06121b27 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyAudioDataFormat.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyAudioDataFormat.java @@ -17,7 +17,7 @@ public enum FileDataDeidentifyAudioDataFormat { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyDocument.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyDocument.java index 3ebbdc1e..e6390e28 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyDocument.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyDocument.java @@ -48,7 +48,7 @@ public FileDataDeidentifyDocumentDataFormat getDataFormat() { return dataFormat; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof FileDataDeidentifyDocument && equalTo((FileDataDeidentifyDocument) other); @@ -63,12 +63,12 @@ private boolean equalTo(FileDataDeidentifyDocument other) { return base64.equals(other.base64) && dataFormat.equals(other.dataFormat); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.base64, this.dataFormat); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -108,7 +108,7 @@ public static final class Builder implements Base64Stage, DataFormatStage, _Fina private Builder() {} - @java.lang.Override + @Override public Builder from(FileDataDeidentifyDocument other) { base64(other.getBase64()); dataFormat(other.getDataFormat()); @@ -119,7 +119,7 @@ public Builder from(FileDataDeidentifyDocument other) { * Base64-encoded data of the file.

Base64-encoded data of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("base64") public DataFormatStage base64(@NotNull String base64) { this.base64 = Objects.requireNonNull(base64, "base64 must not be null"); @@ -130,14 +130,14 @@ public DataFormatStage base64(@NotNull String base64) { * Format of the file.

Format of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("data_format") public _FinalStage dataFormat(@NotNull FileDataDeidentifyDocumentDataFormat dataFormat) { this.dataFormat = Objects.requireNonNull(dataFormat, "dataFormat must not be null"); return this; } - @java.lang.Override + @Override public FileDataDeidentifyDocument build() { return new FileDataDeidentifyDocument(base64, dataFormat, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyDocumentDataFormat.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyDocumentDataFormat.java index 5446fa2f..a68ee832 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyDocumentDataFormat.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyDocumentDataFormat.java @@ -19,7 +19,7 @@ public enum FileDataDeidentifyDocumentDataFormat { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyImage.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyImage.java index 785e58c5..127c5f4c 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyImage.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyImage.java @@ -48,7 +48,7 @@ public FileDataDeidentifyImageDataFormat getDataFormat() { return dataFormat; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof FileDataDeidentifyImage && equalTo((FileDataDeidentifyImage) other); @@ -63,12 +63,12 @@ private boolean equalTo(FileDataDeidentifyImage other) { return base64.equals(other.base64) && dataFormat.equals(other.dataFormat); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.base64, this.dataFormat); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -108,7 +108,7 @@ public static final class Builder implements Base64Stage, DataFormatStage, _Fina private Builder() {} - @java.lang.Override + @Override public Builder from(FileDataDeidentifyImage other) { base64(other.getBase64()); dataFormat(other.getDataFormat()); @@ -119,7 +119,7 @@ public Builder from(FileDataDeidentifyImage other) { * Base64-encoded data of the file.

Base64-encoded data of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("base64") public DataFormatStage base64(@NotNull String base64) { this.base64 = Objects.requireNonNull(base64, "base64 must not be null"); @@ -130,14 +130,14 @@ public DataFormatStage base64(@NotNull String base64) { * Format of the file.

Format of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("data_format") public _FinalStage dataFormat(@NotNull FileDataDeidentifyImageDataFormat dataFormat) { this.dataFormat = Objects.requireNonNull(dataFormat, "dataFormat must not be null"); return this; } - @java.lang.Override + @Override public FileDataDeidentifyImage build() { return new FileDataDeidentifyImage(base64, dataFormat, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyImageDataFormat.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyImageDataFormat.java index 6f1ed581..34541314 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyImageDataFormat.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyImageDataFormat.java @@ -25,7 +25,7 @@ public enum FileDataDeidentifyImageDataFormat { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyPdf.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyPdf.java index 25e91ce8..20b0314f 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyPdf.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyPdf.java @@ -44,7 +44,7 @@ public String getDataFormat() { return "pdf"; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof FileDataDeidentifyPdf && equalTo((FileDataDeidentifyPdf) other); @@ -59,12 +59,12 @@ private boolean equalTo(FileDataDeidentifyPdf other) { return base64.equals(other.base64); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.base64); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -95,7 +95,7 @@ public static final class Builder implements Base64Stage, _FinalStage { private Builder() {} - @java.lang.Override + @Override public Builder from(FileDataDeidentifyPdf other) { base64(other.getBase64()); return this; @@ -105,14 +105,14 @@ public Builder from(FileDataDeidentifyPdf other) { * Base64-encoded data of the file.

Base64-encoded data of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("base64") public _FinalStage base64(@NotNull String base64) { this.base64 = Objects.requireNonNull(base64, "base64 must not be null"); return this; } - @java.lang.Override + @Override public FileDataDeidentifyPdf build() { return new FileDataDeidentifyPdf(base64, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyPresentation.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyPresentation.java index fce353e0..e808f0b2 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyPresentation.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyPresentation.java @@ -50,7 +50,7 @@ public FileDataDeidentifyPresentationDataFormat getDataFormat() { return dataFormat; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof FileDataDeidentifyPresentation && equalTo((FileDataDeidentifyPresentation) other); @@ -65,12 +65,12 @@ private boolean equalTo(FileDataDeidentifyPresentation other) { return base64.equals(other.base64) && dataFormat.equals(other.dataFormat); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.base64, this.dataFormat); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -110,7 +110,7 @@ public static final class Builder implements Base64Stage, DataFormatStage, _Fina private Builder() {} - @java.lang.Override + @Override public Builder from(FileDataDeidentifyPresentation other) { base64(other.getBase64()); dataFormat(other.getDataFormat()); @@ -121,7 +121,7 @@ public Builder from(FileDataDeidentifyPresentation other) { * Base64-encoded data of the file.

Base64-encoded data of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("base64") public DataFormatStage base64(@NotNull String base64) { this.base64 = Objects.requireNonNull(base64, "base64 must not be null"); @@ -132,14 +132,14 @@ public DataFormatStage base64(@NotNull String base64) { * Format of the file.

Format of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("data_format") public _FinalStage dataFormat(@NotNull FileDataDeidentifyPresentationDataFormat dataFormat) { this.dataFormat = Objects.requireNonNull(dataFormat, "dataFormat must not be null"); return this; } - @java.lang.Override + @Override public FileDataDeidentifyPresentation build() { return new FileDataDeidentifyPresentation(base64, dataFormat, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyPresentationDataFormat.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyPresentationDataFormat.java index c0b6fcca..6aed659d 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyPresentationDataFormat.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyPresentationDataFormat.java @@ -17,7 +17,7 @@ public enum FileDataDeidentifyPresentationDataFormat { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifySpreadsheet.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifySpreadsheet.java index 853b98db..33478d20 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifySpreadsheet.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifySpreadsheet.java @@ -50,7 +50,7 @@ public FileDataDeidentifySpreadsheetDataFormat getDataFormat() { return dataFormat; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof FileDataDeidentifySpreadsheet && equalTo((FileDataDeidentifySpreadsheet) other); @@ -65,12 +65,12 @@ private boolean equalTo(FileDataDeidentifySpreadsheet other) { return base64.equals(other.base64) && dataFormat.equals(other.dataFormat); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.base64, this.dataFormat); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -110,7 +110,7 @@ public static final class Builder implements Base64Stage, DataFormatStage, _Fina private Builder() {} - @java.lang.Override + @Override public Builder from(FileDataDeidentifySpreadsheet other) { base64(other.getBase64()); dataFormat(other.getDataFormat()); @@ -121,7 +121,7 @@ public Builder from(FileDataDeidentifySpreadsheet other) { * Base64-encoded data of the file.

Base64-encoded data of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("base64") public DataFormatStage base64(@NotNull String base64) { this.base64 = Objects.requireNonNull(base64, "base64 must not be null"); @@ -132,14 +132,14 @@ public DataFormatStage base64(@NotNull String base64) { * Format of the file.

Format of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("data_format") public _FinalStage dataFormat(@NotNull FileDataDeidentifySpreadsheetDataFormat dataFormat) { this.dataFormat = Objects.requireNonNull(dataFormat, "dataFormat must not be null"); return this; } - @java.lang.Override + @Override public FileDataDeidentifySpreadsheet build() { return new FileDataDeidentifySpreadsheet(base64, dataFormat, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifySpreadsheetDataFormat.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifySpreadsheetDataFormat.java index 496fdd26..9fc8b8ae 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifySpreadsheetDataFormat.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifySpreadsheetDataFormat.java @@ -19,7 +19,7 @@ public enum FileDataDeidentifySpreadsheetDataFormat { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyStructuredText.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyStructuredText.java index a2ca1ba0..dad188ce 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyStructuredText.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyStructuredText.java @@ -50,7 +50,7 @@ public FileDataDeidentifyStructuredTextDataFormat getDataFormat() { return dataFormat; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof FileDataDeidentifyStructuredText && equalTo((FileDataDeidentifyStructuredText) other); @@ -65,12 +65,12 @@ private boolean equalTo(FileDataDeidentifyStructuredText other) { return base64.equals(other.base64) && dataFormat.equals(other.dataFormat); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.base64, this.dataFormat); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -110,7 +110,7 @@ public static final class Builder implements Base64Stage, DataFormatStage, _Fina private Builder() {} - @java.lang.Override + @Override public Builder from(FileDataDeidentifyStructuredText other) { base64(other.getBase64()); dataFormat(other.getDataFormat()); @@ -121,7 +121,7 @@ public Builder from(FileDataDeidentifyStructuredText other) { * Base64-encoded data of the file.

Base64-encoded data of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("base64") public DataFormatStage base64(@NotNull String base64) { this.base64 = Objects.requireNonNull(base64, "base64 must not be null"); @@ -132,14 +132,14 @@ public DataFormatStage base64(@NotNull String base64) { * Format of the file.

Format of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("data_format") public _FinalStage dataFormat(@NotNull FileDataDeidentifyStructuredTextDataFormat dataFormat) { this.dataFormat = Objects.requireNonNull(dataFormat, "dataFormat must not be null"); return this; } - @java.lang.Override + @Override public FileDataDeidentifyStructuredText build() { return new FileDataDeidentifyStructuredText(base64, dataFormat, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyStructuredTextDataFormat.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyStructuredTextDataFormat.java index 613a4455..29d9548b 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyStructuredTextDataFormat.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyStructuredTextDataFormat.java @@ -17,7 +17,7 @@ public enum FileDataDeidentifyStructuredTextDataFormat { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyText.java b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyText.java index cba1d62c..79045d7a 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyText.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataDeidentifyText.java @@ -44,7 +44,7 @@ public String getDataFormat() { return "txt"; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof FileDataDeidentifyText && equalTo((FileDataDeidentifyText) other); @@ -59,12 +59,12 @@ private boolean equalTo(FileDataDeidentifyText other) { return base64.equals(other.base64); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.base64); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -95,7 +95,7 @@ public static final class Builder implements Base64Stage, _FinalStage { private Builder() {} - @java.lang.Override + @Override public Builder from(FileDataDeidentifyText other) { base64(other.getBase64()); return this; @@ -105,14 +105,14 @@ public Builder from(FileDataDeidentifyText other) { * Base64-encoded data of the file.

Base64-encoded data of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("base64") public _FinalStage base64(@NotNull String base64) { this.base64 = Objects.requireNonNull(base64, "base64 must not be null"); return this; } - @java.lang.Override + @Override public FileDataDeidentifyText build() { return new FileDataDeidentifyText(base64, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataReidentifyFile.java b/src/main/java/com/skyflow/generated/rest/types/FileDataReidentifyFile.java index 37778509..edea3145 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataReidentifyFile.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataReidentifyFile.java @@ -48,7 +48,7 @@ public FileDataReidentifyFileDataFormat getDataFormat() { return dataFormat; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof FileDataReidentifyFile && equalTo((FileDataReidentifyFile) other); @@ -63,12 +63,12 @@ private boolean equalTo(FileDataReidentifyFile other) { return base64.equals(other.base64) && dataFormat.equals(other.dataFormat); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.base64, this.dataFormat); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -108,7 +108,7 @@ public static final class Builder implements Base64Stage, DataFormatStage, _Fina private Builder() {} - @java.lang.Override + @Override public Builder from(FileDataReidentifyFile other) { base64(other.getBase64()); dataFormat(other.getDataFormat()); @@ -119,7 +119,7 @@ public Builder from(FileDataReidentifyFile other) { * Base64-encoded data of the file.

Base64-encoded data of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("base64") public DataFormatStage base64(@NotNull String base64) { this.base64 = Objects.requireNonNull(base64, "base64 must not be null"); @@ -130,14 +130,14 @@ public DataFormatStage base64(@NotNull String base64) { * Format of the file.

Format of the file.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("data_format") public _FinalStage dataFormat(@NotNull FileDataReidentifyFileDataFormat dataFormat) { this.dataFormat = Objects.requireNonNull(dataFormat, "dataFormat must not be null"); return this; } - @java.lang.Override + @Override public FileDataReidentifyFile build() { return new FileDataReidentifyFile(base64, dataFormat, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/types/FileDataReidentifyFileDataFormat.java b/src/main/java/com/skyflow/generated/rest/types/FileDataReidentifyFileDataFormat.java index fc8df337..cc8293d2 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FileDataReidentifyFileDataFormat.java +++ b/src/main/java/com/skyflow/generated/rest/types/FileDataReidentifyFileDataFormat.java @@ -29,7 +29,7 @@ public enum FileDataReidentifyFileDataFormat { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/Format.java b/src/main/java/com/skyflow/generated/rest/types/Format.java index ad3e814d..68ac94ca 100644 --- a/src/main/java/com/skyflow/generated/rest/types/Format.java +++ b/src/main/java/com/skyflow/generated/rest/types/Format.java @@ -64,7 +64,7 @@ public Optional> getPlaintext() { return plaintext; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof Format && equalTo((Format) other); @@ -79,12 +79,12 @@ private boolean equalTo(Format other) { return redacted.equals(other.redacted) && masked.equals(other.masked) && plaintext.equals(other.plaintext); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.redacted, this.masked, this.plaintext); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/FormatMaskedItem.java b/src/main/java/com/skyflow/generated/rest/types/FormatMaskedItem.java index c3b8d6b9..77d18a2b 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FormatMaskedItem.java +++ b/src/main/java/com/skyflow/generated/rest/types/FormatMaskedItem.java @@ -153,7 +153,7 @@ public enum FormatMaskedItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/FormatPlaintextItem.java b/src/main/java/com/skyflow/generated/rest/types/FormatPlaintextItem.java index 0698f38e..0a5e97f8 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FormatPlaintextItem.java +++ b/src/main/java/com/skyflow/generated/rest/types/FormatPlaintextItem.java @@ -153,7 +153,7 @@ public enum FormatPlaintextItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/FormatRedactedItem.java b/src/main/java/com/skyflow/generated/rest/types/FormatRedactedItem.java index bd3c4284..92eb291a 100644 --- a/src/main/java/com/skyflow/generated/rest/types/FormatRedactedItem.java +++ b/src/main/java/com/skyflow/generated/rest/types/FormatRedactedItem.java @@ -153,7 +153,7 @@ public enum FormatRedactedItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/GooglerpcStatus.java b/src/main/java/com/skyflow/generated/rest/types/GooglerpcStatus.java index d0290573..807aee4e 100644 --- a/src/main/java/com/skyflow/generated/rest/types/GooglerpcStatus.java +++ b/src/main/java/com/skyflow/generated/rest/types/GooglerpcStatus.java @@ -55,7 +55,7 @@ public Optional> getDetails() { return details; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof GooglerpcStatus && equalTo((GooglerpcStatus) other); @@ -70,12 +70,12 @@ private boolean equalTo(GooglerpcStatus other) { return code.equals(other.code) && message.equals(other.message) && details.equals(other.details); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.code, this.message, this.details); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/IdentifyResponse.java b/src/main/java/com/skyflow/generated/rest/types/IdentifyResponse.java index 970403ed..e7ae30fc 100644 --- a/src/main/java/com/skyflow/generated/rest/types/IdentifyResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/IdentifyResponse.java @@ -36,7 +36,7 @@ public String getText() { return text; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof IdentifyResponse && equalTo((IdentifyResponse) other); @@ -51,12 +51,12 @@ private boolean equalTo(IdentifyResponse other) { return text.equals(other.text); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.text); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } @@ -87,7 +87,7 @@ public static final class Builder implements TextStage, _FinalStage { private Builder() {} - @java.lang.Override + @Override public Builder from(IdentifyResponse other) { text(other.getText()); return this; @@ -97,14 +97,14 @@ public Builder from(IdentifyResponse other) { * Re-identified text.

Re-identified text.

* @return Reference to {@code this} so that method calls can be chained together. */ - @java.lang.Override + @Override @JsonSetter("text") public _FinalStage text(@NotNull String text) { this.text = Objects.requireNonNull(text, "text must not be null"); return this; } - @java.lang.Override + @Override public IdentifyResponse build() { return new IdentifyResponse(text, additionalProperties); } diff --git a/src/main/java/com/skyflow/generated/rest/types/Locations.java b/src/main/java/com/skyflow/generated/rest/types/Locations.java index 84b7d285..9864541a 100644 --- a/src/main/java/com/skyflow/generated/rest/types/Locations.java +++ b/src/main/java/com/skyflow/generated/rest/types/Locations.java @@ -75,7 +75,7 @@ public Optional getEndIndexProcessed() { return endIndexProcessed; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof Locations && equalTo((Locations) other); @@ -93,12 +93,12 @@ private boolean equalTo(Locations other) { && endIndexProcessed.equals(other.endIndexProcessed); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.startIndex, this.endIndex, this.startIndexProcessed, this.endIndexProcessed); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/ProtobufAny.java b/src/main/java/com/skyflow/generated/rest/types/ProtobufAny.java index 37555aae..9f019b66 100644 --- a/src/main/java/com/skyflow/generated/rest/types/ProtobufAny.java +++ b/src/main/java/com/skyflow/generated/rest/types/ProtobufAny.java @@ -34,7 +34,7 @@ public Optional getType() { return type; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof ProtobufAny && equalTo((ProtobufAny) other); @@ -49,12 +49,12 @@ private boolean equalTo(ProtobufAny other) { return type.equals(other.type); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.type); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/RedactionEnumRedaction.java b/src/main/java/com/skyflow/generated/rest/types/RedactionEnumRedaction.java index 3e83052b..88022df8 100644 --- a/src/main/java/com/skyflow/generated/rest/types/RedactionEnumRedaction.java +++ b/src/main/java/com/skyflow/generated/rest/types/RedactionEnumRedaction.java @@ -21,7 +21,7 @@ public enum RedactionEnumRedaction { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/ReidentifiedFileOutput.java b/src/main/java/com/skyflow/generated/rest/types/ReidentifiedFileOutput.java index 4b00e81d..b5a4f6f5 100644 --- a/src/main/java/com/skyflow/generated/rest/types/ReidentifiedFileOutput.java +++ b/src/main/java/com/skyflow/generated/rest/types/ReidentifiedFileOutput.java @@ -63,7 +63,7 @@ public Optional getProcessedFileEx return processedFileExtension; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof ReidentifiedFileOutput && equalTo((ReidentifiedFileOutput) other); @@ -80,12 +80,12 @@ private boolean equalTo(ReidentifiedFileOutput other) { && processedFileExtension.equals(other.processedFileExtension); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.processedFile, this.processedFileType, this.processedFileExtension); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/ReidentifiedFileOutputProcessedFileExtension.java b/src/main/java/com/skyflow/generated/rest/types/ReidentifiedFileOutputProcessedFileExtension.java index 73bb0e58..b99612e2 100644 --- a/src/main/java/com/skyflow/generated/rest/types/ReidentifiedFileOutputProcessedFileExtension.java +++ b/src/main/java/com/skyflow/generated/rest/types/ReidentifiedFileOutputProcessedFileExtension.java @@ -53,7 +53,7 @@ public enum ReidentifiedFileOutputProcessedFileExtension { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/ReidentifyFileResponse.java b/src/main/java/com/skyflow/generated/rest/types/ReidentifyFileResponse.java index 54866826..024200d1 100644 --- a/src/main/java/com/skyflow/generated/rest/types/ReidentifyFileResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/ReidentifyFileResponse.java @@ -60,7 +60,7 @@ public Optional getOutput() { return output; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof ReidentifyFileResponse && equalTo((ReidentifyFileResponse) other); @@ -75,12 +75,12 @@ private boolean equalTo(ReidentifyFileResponse other) { return status.equals(other.status) && outputType.equals(other.outputType) && output.equals(other.output); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.status, this.outputType, this.output); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/ReidentifyFileResponseOutputType.java b/src/main/java/com/skyflow/generated/rest/types/ReidentifyFileResponseOutputType.java index a47b1ea3..342e3d93 100644 --- a/src/main/java/com/skyflow/generated/rest/types/ReidentifyFileResponseOutputType.java +++ b/src/main/java/com/skyflow/generated/rest/types/ReidentifyFileResponseOutputType.java @@ -17,7 +17,7 @@ public enum ReidentifyFileResponseOutputType { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/ReidentifyFileResponseStatus.java b/src/main/java/com/skyflow/generated/rest/types/ReidentifyFileResponseStatus.java index e4cbac24..2b6aaa85 100644 --- a/src/main/java/com/skyflow/generated/rest/types/ReidentifyFileResponseStatus.java +++ b/src/main/java/com/skyflow/generated/rest/types/ReidentifyFileResponseStatus.java @@ -21,7 +21,7 @@ public enum ReidentifyFileResponseStatus { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/RequestActionType.java b/src/main/java/com/skyflow/generated/rest/types/RequestActionType.java index 436a1de8..ad0a32a7 100644 --- a/src/main/java/com/skyflow/generated/rest/types/RequestActionType.java +++ b/src/main/java/com/skyflow/generated/rest/types/RequestActionType.java @@ -49,7 +49,7 @@ public enum RequestActionType { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/ShiftDates.java b/src/main/java/com/skyflow/generated/rest/types/ShiftDates.java index afdb073d..2fc4b11a 100644 --- a/src/main/java/com/skyflow/generated/rest/types/ShiftDates.java +++ b/src/main/java/com/skyflow/generated/rest/types/ShiftDates.java @@ -64,7 +64,7 @@ public Optional> getEntityTypes() { return entityTypes; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof ShiftDates && equalTo((ShiftDates) other); @@ -79,12 +79,12 @@ private boolean equalTo(ShiftDates other) { return minDays.equals(other.minDays) && maxDays.equals(other.maxDays) && entityTypes.equals(other.entityTypes); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.minDays, this.maxDays, this.entityTypes); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/ShiftDatesEntityTypesItem.java b/src/main/java/com/skyflow/generated/rest/types/ShiftDatesEntityTypesItem.java index fad29e10..a2fb5e64 100644 --- a/src/main/java/com/skyflow/generated/rest/types/ShiftDatesEntityTypesItem.java +++ b/src/main/java/com/skyflow/generated/rest/types/ShiftDatesEntityTypesItem.java @@ -19,7 +19,7 @@ public enum ShiftDatesEntityTypesItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/StringResponseEntities.java b/src/main/java/com/skyflow/generated/rest/types/StringResponseEntities.java index da3e7f5e..81c1e58d 100644 --- a/src/main/java/com/skyflow/generated/rest/types/StringResponseEntities.java +++ b/src/main/java/com/skyflow/generated/rest/types/StringResponseEntities.java @@ -84,7 +84,7 @@ public Optional> getEntityScores() { return entityScores; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof StringResponseEntities && equalTo((StringResponseEntities) other); @@ -103,12 +103,12 @@ private boolean equalTo(StringResponseEntities other) { && entityScores.equals(other.entityScores); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.token, this.value, this.location, this.entityType, this.entityScores); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/TokenTypeMapping.java b/src/main/java/com/skyflow/generated/rest/types/TokenTypeMapping.java index dfdf71be..f8c1edb4 100644 --- a/src/main/java/com/skyflow/generated/rest/types/TokenTypeMapping.java +++ b/src/main/java/com/skyflow/generated/rest/types/TokenTypeMapping.java @@ -76,7 +76,7 @@ public Optional getDefault() { return default_; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof TokenTypeMapping && equalTo((TokenTypeMapping) other); @@ -94,12 +94,12 @@ private boolean equalTo(TokenTypeMapping other) { && default_.equals(other.default_); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.vaultToken, this.entityOnly, this.entityUnqCounter, this.default_); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingDefault.java b/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingDefault.java index ee9075da..17893bad 100644 --- a/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingDefault.java +++ b/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingDefault.java @@ -19,7 +19,7 @@ public enum TokenTypeMappingDefault { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingEntityOnlyItem.java b/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingEntityOnlyItem.java index 409784f7..c1daa680 100644 --- a/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingEntityOnlyItem.java +++ b/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingEntityOnlyItem.java @@ -153,7 +153,7 @@ public enum TokenTypeMappingEntityOnlyItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingEntityUnqCounterItem.java b/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingEntityUnqCounterItem.java index 21623aa0..6fcf08a9 100644 --- a/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingEntityUnqCounterItem.java +++ b/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingEntityUnqCounterItem.java @@ -153,7 +153,7 @@ public enum TokenTypeMappingEntityUnqCounterItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingVaultTokenItem.java b/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingVaultTokenItem.java index da575473..1ffe9a26 100644 --- a/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingVaultTokenItem.java +++ b/src/main/java/com/skyflow/generated/rest/types/TokenTypeMappingVaultTokenItem.java @@ -153,7 +153,7 @@ public enum TokenTypeMappingVaultTokenItem { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/Transformations.java b/src/main/java/com/skyflow/generated/rest/types/Transformations.java index 37de75ff..12a5afc7 100644 --- a/src/main/java/com/skyflow/generated/rest/types/Transformations.java +++ b/src/main/java/com/skyflow/generated/rest/types/Transformations.java @@ -34,7 +34,7 @@ public Optional getShiftDates() { return shiftDates; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof Transformations && equalTo((Transformations) other); @@ -49,12 +49,12 @@ private boolean equalTo(Transformations other) { return shiftDates.equals(other.shiftDates); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.shiftDates); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/UploadFileV2Response.java b/src/main/java/com/skyflow/generated/rest/types/UploadFileV2Response.java index 85f98bd1..c1ddbd58 100644 --- a/src/main/java/com/skyflow/generated/rest/types/UploadFileV2Response.java +++ b/src/main/java/com/skyflow/generated/rest/types/UploadFileV2Response.java @@ -46,7 +46,7 @@ public Optional getFileMetadata() { return fileMetadata; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof UploadFileV2Response && equalTo((UploadFileV2Response) other); @@ -61,12 +61,12 @@ private boolean equalTo(UploadFileV2Response other) { return skyflowId.equals(other.skyflowId) && fileMetadata.equals(other.fileMetadata); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.skyflowId, this.fileMetadata); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1AuditAfterOptions.java b/src/main/java/com/skyflow/generated/rest/types/V1AuditAfterOptions.java index 1453dd99..d942fdcd 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1AuditAfterOptions.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1AuditAfterOptions.java @@ -49,7 +49,7 @@ public Optional getChangeId() { return changeId; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1AuditAfterOptions && equalTo((V1AuditAfterOptions) other); @@ -64,12 +64,12 @@ private boolean equalTo(V1AuditAfterOptions other) { return timestamp.equals(other.timestamp) && changeId.equals(other.changeId); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.timestamp, this.changeId); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1AuditEventResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1AuditEventResponse.java index 2dd2ca4e..c582d06d 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1AuditEventResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1AuditEventResponse.java @@ -72,7 +72,7 @@ public Optional getTimestamp() { return timestamp; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1AuditEventResponse && equalTo((V1AuditEventResponse) other); @@ -90,12 +90,12 @@ private boolean equalTo(V1AuditEventResponse other) { && timestamp.equals(other.timestamp); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.code, this.message, this.data, this.timestamp); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1AuditResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1AuditResponse.java index 88496f03..dd23d77c 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1AuditResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1AuditResponse.java @@ -49,7 +49,7 @@ public Optional getNextOps() { return nextOps; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1AuditResponse && equalTo((V1AuditResponse) other); @@ -64,12 +64,12 @@ private boolean equalTo(V1AuditResponse other) { return event.equals(other.event) && nextOps.equals(other.nextOps); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.event, this.nextOps); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1AuditResponseEvent.java b/src/main/java/com/skyflow/generated/rest/types/V1AuditResponseEvent.java index 595b724c..ca2bfdc2 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1AuditResponseEvent.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1AuditResponseEvent.java @@ -91,7 +91,7 @@ public Optional> getResourceIDs() { return resourceIDs; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1AuditResponseEvent && equalTo((V1AuditResponseEvent) other); @@ -111,13 +111,13 @@ private boolean equalTo(V1AuditResponseEvent other) { && resourceIDs.equals(other.resourceIDs); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.context, this.request, this.response, this.parentAccountId, this.accountId, this.resourceIDs); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1AuditResponseEventRequest.java b/src/main/java/com/skyflow/generated/rest/types/V1AuditResponseEventRequest.java index c77bc31f..046c8fb4 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1AuditResponseEventRequest.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1AuditResponseEventRequest.java @@ -124,7 +124,7 @@ public Optional getHttpInfo() { return httpInfo; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1AuditResponseEventRequest && equalTo((V1AuditResponseEventRequest) other); @@ -147,7 +147,7 @@ private boolean equalTo(V1AuditResponseEventRequest other) { && httpInfo.equals(other.httpInfo); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.data, @@ -161,7 +161,7 @@ public int hashCode() { this.httpInfo); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1BatchOperationResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1BatchOperationResponse.java index 03d752d9..a557da82 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1BatchOperationResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1BatchOperationResponse.java @@ -52,7 +52,7 @@ public Optional>> getResponses() { return responses; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1BatchOperationResponse && equalTo((V1BatchOperationResponse) other); @@ -67,12 +67,12 @@ private boolean equalTo(V1BatchOperationResponse other) { return vaultId.equals(other.vaultId) && responses.equals(other.responses); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.vaultId, this.responses); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1BatchRecord.java b/src/main/java/com/skyflow/generated/rest/types/V1BatchRecord.java index 39eb2e68..afc572cf 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1BatchRecord.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1BatchRecord.java @@ -141,7 +141,7 @@ public Optional> getTokens() { return tokens; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1BatchRecord && equalTo((V1BatchRecord) other); @@ -165,7 +165,7 @@ private boolean equalTo(V1BatchRecord other) { && tokens.equals(other.tokens); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.fields, @@ -180,7 +180,7 @@ public int hashCode() { this.tokens); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1BinListResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1BinListResponse.java index cf3a3326..58472a8b 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1BinListResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1BinListResponse.java @@ -38,7 +38,7 @@ public Optional> getCardsData() { return cardsData; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1BinListResponse && equalTo((V1BinListResponse) other); @@ -53,12 +53,12 @@ private boolean equalTo(V1BinListResponse other) { return cardsData.equals(other.cardsData); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.cardsData); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1BulkDeleteRecordResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1BulkDeleteRecordResponse.java index 5f781686..ddb0d213 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1BulkDeleteRecordResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1BulkDeleteRecordResponse.java @@ -39,7 +39,7 @@ public Optional> getRecordIdResponse() { return recordIdResponse; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1BulkDeleteRecordResponse && equalTo((V1BulkDeleteRecordResponse) other); @@ -54,12 +54,12 @@ private boolean equalTo(V1BulkDeleteRecordResponse other) { return recordIdResponse.equals(other.recordIdResponse); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.recordIdResponse); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1BulkGetRecordResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1BulkGetRecordResponse.java index 70d31034..c2d3790a 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1BulkGetRecordResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1BulkGetRecordResponse.java @@ -38,7 +38,7 @@ public Optional> getRecords() { return records; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1BulkGetRecordResponse && equalTo((V1BulkGetRecordResponse) other); @@ -53,12 +53,12 @@ private boolean equalTo(V1BulkGetRecordResponse other) { return records.equals(other.records); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.records); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1Byot.java b/src/main/java/com/skyflow/generated/rest/types/V1Byot.java index 819fdb42..bafd7a09 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1Byot.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1Byot.java @@ -19,7 +19,7 @@ public enum V1Byot { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1Card.java b/src/main/java/com/skyflow/generated/rest/types/V1Card.java index d19d3099..f2a9db90 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1Card.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1Card.java @@ -135,7 +135,7 @@ public Optional getCardExpiry() { return cardExpiry; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1Card && equalTo((V1Card) other); @@ -158,7 +158,7 @@ private boolean equalTo(V1Card other) { && cardExpiry.equals(other.cardExpiry); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash( this.bin, @@ -172,7 +172,7 @@ public int hashCode() { this.cardExpiry); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1DeleteFileResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1DeleteFileResponse.java index efdb8e42..4ec85903 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1DeleteFileResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1DeleteFileResponse.java @@ -49,7 +49,7 @@ public Optional getDeleted() { return deleted; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1DeleteFileResponse && equalTo((V1DeleteFileResponse) other); @@ -64,12 +64,12 @@ private boolean equalTo(V1DeleteFileResponse other) { return skyflowId.equals(other.skyflowId) && deleted.equals(other.deleted); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.skyflowId, this.deleted); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1DeleteRecordResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1DeleteRecordResponse.java index 700bfe2f..2f3bde14 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1DeleteRecordResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1DeleteRecordResponse.java @@ -49,7 +49,7 @@ public Optional getDeleted() { return deleted; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1DeleteRecordResponse && equalTo((V1DeleteRecordResponse) other); @@ -64,12 +64,12 @@ private boolean equalTo(V1DeleteRecordResponse other) { return skyflowId.equals(other.skyflowId) && deleted.equals(other.deleted); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.skyflowId, this.deleted); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1DetokenizeRecordRequest.java b/src/main/java/com/skyflow/generated/rest/types/V1DetokenizeRecordRequest.java index 5b6927d1..3cf5b59c 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1DetokenizeRecordRequest.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1DetokenizeRecordRequest.java @@ -48,7 +48,7 @@ public Optional getRedaction() { return redaction; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1DetokenizeRecordRequest && equalTo((V1DetokenizeRecordRequest) other); @@ -63,12 +63,12 @@ private boolean equalTo(V1DetokenizeRecordRequest other) { return token.equals(other.token) && redaction.equals(other.redaction); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.token, this.redaction); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1DetokenizeRecordResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1DetokenizeRecordResponse.java index 423abfe8..ba0abbfa 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1DetokenizeRecordResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1DetokenizeRecordResponse.java @@ -72,7 +72,7 @@ public Optional getError() { return error; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1DetokenizeRecordResponse && equalTo((V1DetokenizeRecordResponse) other); @@ -90,12 +90,12 @@ private boolean equalTo(V1DetokenizeRecordResponse other) { && error.equals(other.error); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.token, this.valueType, this.value, this.error); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1DetokenizeResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1DetokenizeResponse.java index 20d7d8e4..74f4f6e6 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1DetokenizeResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1DetokenizeResponse.java @@ -39,7 +39,7 @@ public Optional> getRecords() { return records; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1DetokenizeResponse && equalTo((V1DetokenizeResponse) other); @@ -54,12 +54,12 @@ private boolean equalTo(V1DetokenizeResponse other) { return records.equals(other.records); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.records); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1FieldRecords.java b/src/main/java/com/skyflow/generated/rest/types/V1FieldRecords.java index 8d520d3b..dfbccb8b 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1FieldRecords.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1FieldRecords.java @@ -51,7 +51,7 @@ public Optional> getTokens() { return tokens; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1FieldRecords && equalTo((V1FieldRecords) other); @@ -66,12 +66,12 @@ private boolean equalTo(V1FieldRecords other) { return fields.equals(other.fields) && tokens.equals(other.tokens); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.fields, this.tokens); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1FileAvScanStatus.java b/src/main/java/com/skyflow/generated/rest/types/V1FileAvScanStatus.java index afe545fe..02658ef2 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1FileAvScanStatus.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1FileAvScanStatus.java @@ -31,7 +31,7 @@ public enum V1FileAvScanStatus { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1GetAuthTokenResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1GetAuthTokenResponse.java index 9b6be70b..f5669085 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1GetAuthTokenResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1GetAuthTokenResponse.java @@ -49,7 +49,7 @@ public Optional getTokenType() { return tokenType; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1GetAuthTokenResponse && equalTo((V1GetAuthTokenResponse) other); @@ -64,12 +64,12 @@ private boolean equalTo(V1GetAuthTokenResponse other) { return accessToken.equals(other.accessToken) && tokenType.equals(other.tokenType); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.accessToken, this.tokenType); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1GetFileScanStatusResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1GetFileScanStatusResponse.java index 27100e6d..4bd67013 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1GetFileScanStatusResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1GetFileScanStatusResponse.java @@ -35,7 +35,7 @@ public Optional getAvScanStatus() { return avScanStatus; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1GetFileScanStatusResponse && equalTo((V1GetFileScanStatusResponse) other); @@ -50,12 +50,12 @@ private boolean equalTo(V1GetFileScanStatusResponse other) { return avScanStatus.equals(other.avScanStatus); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.avScanStatus); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1GetQueryResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1GetQueryResponse.java index 6a8689ae..821d1f06 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1GetQueryResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1GetQueryResponse.java @@ -38,7 +38,7 @@ public Optional> getRecords() { return records; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1GetQueryResponse && equalTo((V1GetQueryResponse) other); @@ -53,12 +53,12 @@ private boolean equalTo(V1GetQueryResponse other) { return records.equals(other.records); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.records); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1InsertRecordResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1InsertRecordResponse.java index 724bee91..0addf786 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1InsertRecordResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1InsertRecordResponse.java @@ -39,7 +39,7 @@ public Optional> getRecords() { return records; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1InsertRecordResponse && equalTo((V1InsertRecordResponse) other); @@ -54,12 +54,12 @@ private boolean equalTo(V1InsertRecordResponse other) { return records.equals(other.records); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.records); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1MemberType.java b/src/main/java/com/skyflow/generated/rest/types/V1MemberType.java index dacca1b9..48e96379 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1MemberType.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1MemberType.java @@ -19,7 +19,7 @@ public enum V1MemberType { } @JsonValue - @java.lang.Override + @Override public String toString() { return this.value; } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1RecordMetaProperties.java b/src/main/java/com/skyflow/generated/rest/types/V1RecordMetaProperties.java index 419b8e16..f69719cf 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1RecordMetaProperties.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1RecordMetaProperties.java @@ -51,7 +51,7 @@ public Optional> getTokens() { return tokens; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1RecordMetaProperties && equalTo((V1RecordMetaProperties) other); @@ -66,12 +66,12 @@ private boolean equalTo(V1RecordMetaProperties other) { return skyflowId.equals(other.skyflowId) && tokens.equals(other.tokens); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.skyflowId, this.tokens); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1TokenizeRecordRequest.java b/src/main/java/com/skyflow/generated/rest/types/V1TokenizeRecordRequest.java index 03c5ef89..2c15ceac 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1TokenizeRecordRequest.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1TokenizeRecordRequest.java @@ -49,7 +49,7 @@ public Optional getColumnGroup() { return columnGroup; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1TokenizeRecordRequest && equalTo((V1TokenizeRecordRequest) other); @@ -64,12 +64,12 @@ private boolean equalTo(V1TokenizeRecordRequest other) { return value.equals(other.value) && columnGroup.equals(other.columnGroup); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.value, this.columnGroup); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1TokenizeRecordResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1TokenizeRecordResponse.java index 4cd41dd0..201a4f60 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1TokenizeRecordResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1TokenizeRecordResponse.java @@ -37,7 +37,7 @@ public Optional getToken() { return token; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1TokenizeRecordResponse && equalTo((V1TokenizeRecordResponse) other); @@ -52,12 +52,12 @@ private boolean equalTo(V1TokenizeRecordResponse other) { return token.equals(other.token); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.token); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1TokenizeResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1TokenizeResponse.java index 38159283..62d77bed 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1TokenizeResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1TokenizeResponse.java @@ -39,7 +39,7 @@ public Optional> getRecords() { return records; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1TokenizeResponse && equalTo((V1TokenizeResponse) other); @@ -54,12 +54,12 @@ private boolean equalTo(V1TokenizeResponse other) { return records.equals(other.records); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.records); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1UpdateRecordResponse.java b/src/main/java/com/skyflow/generated/rest/types/V1UpdateRecordResponse.java index 658926b9..03ed7b58 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1UpdateRecordResponse.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1UpdateRecordResponse.java @@ -51,7 +51,7 @@ public Optional> getTokens() { return tokens; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1UpdateRecordResponse && equalTo((V1UpdateRecordResponse) other); @@ -66,12 +66,12 @@ private boolean equalTo(V1UpdateRecordResponse other) { return skyflowId.equals(other.skyflowId) && tokens.equals(other.tokens); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.skyflowId, this.tokens); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1VaultFieldMapping.java b/src/main/java/com/skyflow/generated/rest/types/V1VaultFieldMapping.java index bad4474a..c19d1cb5 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1VaultFieldMapping.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1VaultFieldMapping.java @@ -63,7 +63,7 @@ public Optional getCardExpiry() { return cardExpiry; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1VaultFieldMapping && equalTo((V1VaultFieldMapping) other); @@ -80,12 +80,12 @@ private boolean equalTo(V1VaultFieldMapping other) { && cardExpiry.equals(other.cardExpiry); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.cardNumber, this.cardLastFourDigits, this.cardExpiry); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/V1VaultSchemaConfig.java b/src/main/java/com/skyflow/generated/rest/types/V1VaultSchemaConfig.java index 28a609b6..cd838305 100644 --- a/src/main/java/com/skyflow/generated/rest/types/V1VaultSchemaConfig.java +++ b/src/main/java/com/skyflow/generated/rest/types/V1VaultSchemaConfig.java @@ -60,7 +60,7 @@ public Optional getMapping() { return mapping; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof V1VaultSchemaConfig && equalTo((V1VaultSchemaConfig) other); @@ -75,12 +75,12 @@ private boolean equalTo(V1VaultSchemaConfig other) { return id.equals(other.id) && tableName.equals(other.tableName) && mapping.equals(other.mapping); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.id, this.tableName, this.mapping); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/generated/rest/types/WordCharacterCount.java b/src/main/java/com/skyflow/generated/rest/types/WordCharacterCount.java index d2757ff9..594b6d11 100644 --- a/src/main/java/com/skyflow/generated/rest/types/WordCharacterCount.java +++ b/src/main/java/com/skyflow/generated/rest/types/WordCharacterCount.java @@ -49,7 +49,7 @@ public Optional getCharacterCount() { return characterCount; } - @java.lang.Override + @Override public boolean equals(Object other) { if (this == other) return true; return other instanceof WordCharacterCount && equalTo((WordCharacterCount) other); @@ -64,12 +64,12 @@ private boolean equalTo(WordCharacterCount other) { return wordCount.equals(other.wordCount) && characterCount.equals(other.characterCount); } - @java.lang.Override + @Override public int hashCode() { return Objects.hash(this.wordCount, this.characterCount); } - @java.lang.Override + @Override public String toString() { return ObjectMappers.stringify(this); } diff --git a/src/main/java/com/skyflow/utils/validations/Validations.java b/src/main/java/com/skyflow/utils/validations/Validations.java index 0372749a..1d078fa9 100644 --- a/src/main/java/com/skyflow/utils/validations/Validations.java +++ b/src/main/java/com/skyflow/utils/validations/Validations.java @@ -1,5 +1,14 @@ package com.skyflow.utils.validations; +import java.io.File; +import java.net.URL; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + import com.google.gson.Gson; import com.google.gson.JsonObject; import com.skyflow.config.ConnectionConfig; @@ -16,22 +25,22 @@ import com.skyflow.utils.Utils; import com.skyflow.utils.logger.LogUtil; import com.skyflow.vault.connection.InvokeConnectionRequest; -import com.skyflow.vault.data.*; -import com.skyflow.vault.detect.*; +import com.skyflow.vault.data.DeleteRequest; +import com.skyflow.vault.data.FileUploadRequest; +import com.skyflow.vault.data.GetRequest; +import com.skyflow.vault.data.InsertRequest; +import com.skyflow.vault.data.QueryRequest; +import com.skyflow.vault.data.UpdateRequest; +import com.skyflow.vault.detect.DeidentifyFileRequest; +import com.skyflow.vault.detect.DeidentifyTextRequest; +import com.skyflow.vault.detect.GetDetectRunRequest; +import com.skyflow.vault.detect.ReidentifyTextRequest; +import com.skyflow.vault.detect.TokenFormat; import com.skyflow.vault.tokens.ColumnValue; import com.skyflow.vault.tokens.DetokenizeData; import com.skyflow.vault.tokens.DetokenizeRequest; import com.skyflow.vault.tokens.TokenizeRequest; -import java.io.File; -import java.net.URL; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - public class Validations { private Validations() { } @@ -703,19 +712,6 @@ public static void validateFileUploadRequest(FileUploadRequest fileUploadRequest throw new SkyflowException(ErrorCode.INVALID_INPUT.getCode(), ErrorMessage.EmptyTable.getMessage()); } - String skyflowId = fileUploadRequest.getSkyflowId(); - if (skyflowId == null) { - LogUtil.printErrorLog(Utils.parameterizedString( - ErrorLogs.SKYFLOW_ID_IS_REQUIRED.getLog(), InterfaceName.FILE_UPLOAD.getName() - )); - throw new SkyflowException(ErrorCode.INVALID_INPUT.getCode(), ErrorMessage.SkyflowIdKeyError.getMessage()); - } else if (skyflowId.trim().isEmpty()) { - LogUtil.printErrorLog(Utils.parameterizedString( - ErrorLogs.EMPTY_SKYFLOW_ID.getLog(), InterfaceName.FILE_UPLOAD.getName() - )); - throw new SkyflowException(ErrorCode.INVALID_INPUT.getCode(), ErrorMessage.EmptySkyflowId.getMessage()); - } - String columnName = fileUploadRequest.getColumnName(); if (columnName == null) { LogUtil.printErrorLog(Utils.parameterizedString( diff --git a/src/main/java/com/skyflow/vault/controller/VaultController.java b/src/main/java/com/skyflow/vault/controller/VaultController.java index 3a237470..acac9608 100644 --- a/src/main/java/com/skyflow/vault/controller/VaultController.java +++ b/src/main/java/com/skyflow/vault/controller/VaultController.java @@ -1,6 +1,20 @@ package com.skyflow.vault.controller; -import com.google.gson.*; +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParser; +import com.google.gson.JsonPrimitive; import com.skyflow.VaultClient; import com.skyflow.config.Credentials; import com.skyflow.config.VaultConfig; @@ -11,24 +25,52 @@ import com.skyflow.generated.rest.core.ApiClientHttpResponse; import com.skyflow.generated.rest.core.RequestOptions; import com.skyflow.generated.rest.resources.query.requests.QueryServiceExecuteQueryBody; -import com.skyflow.generated.rest.resources.records.requests.*; +import com.skyflow.generated.rest.resources.records.requests.RecordServiceBatchOperationBody; +import com.skyflow.generated.rest.resources.records.requests.RecordServiceBulkDeleteRecordBody; +import com.skyflow.generated.rest.resources.records.requests.RecordServiceBulkGetRecordRequest; +import com.skyflow.generated.rest.resources.records.requests.RecordServiceInsertRecordBody; +import com.skyflow.generated.rest.resources.records.requests.RecordServiceUpdateRecordBody; +import com.skyflow.generated.rest.resources.records.requests.UploadFileV2Request; import com.skyflow.generated.rest.resources.records.types.RecordServiceBulkGetRecordRequestOrderBy; import com.skyflow.generated.rest.resources.records.types.RecordServiceBulkGetRecordRequestRedaction; import com.skyflow.generated.rest.resources.tokens.requests.V1DetokenizePayload; import com.skyflow.generated.rest.resources.tokens.requests.V1TokenizePayload; -import com.skyflow.generated.rest.types.*; +import com.skyflow.generated.rest.types.UploadFileV2Response; +import com.skyflow.generated.rest.types.V1BatchOperationResponse; +import com.skyflow.generated.rest.types.V1BulkDeleteRecordResponse; +import com.skyflow.generated.rest.types.V1BulkGetRecordResponse; +import com.skyflow.generated.rest.types.V1DetokenizeRecordResponse; +import com.skyflow.generated.rest.types.V1DetokenizeResponse; +import com.skyflow.generated.rest.types.V1FieldRecords; +import com.skyflow.generated.rest.types.V1GetQueryResponse; +import com.skyflow.generated.rest.types.V1InsertRecordResponse; +import com.skyflow.generated.rest.types.V1RecordMetaProperties; +import com.skyflow.generated.rest.types.V1TokenizeRecordResponse; +import com.skyflow.generated.rest.types.V1TokenizeResponse; +import com.skyflow.generated.rest.types.V1UpdateRecordResponse; import com.skyflow.logs.ErrorLogs; import com.skyflow.logs.InfoLogs; import com.skyflow.utils.Constants; import com.skyflow.utils.Utils; import com.skyflow.utils.logger.LogUtil; import com.skyflow.utils.validations.Validations; -import com.skyflow.vault.data.*; -import com.skyflow.vault.tokens.*; - -import java.io.File; -import java.io.IOException; -import java.util.*; +import com.skyflow.vault.data.DeleteRequest; +import com.skyflow.vault.data.DeleteResponse; +import com.skyflow.vault.data.FileUploadRequest; +import com.skyflow.vault.data.FileUploadResponse; +import com.skyflow.vault.data.GetRequest; +import com.skyflow.vault.data.GetResponse; +import com.skyflow.vault.data.InsertRequest; +import com.skyflow.vault.data.InsertResponse; +import com.skyflow.vault.data.QueryRequest; +import com.skyflow.vault.data.QueryResponse; +import com.skyflow.vault.data.UpdateRequest; +import com.skyflow.vault.data.UpdateResponse; +import com.skyflow.vault.tokens.DetokenizeRecordResponse; +import com.skyflow.vault.tokens.DetokenizeRequest; +import com.skyflow.vault.tokens.DetokenizeResponse; +import com.skyflow.vault.tokens.TokenizeRequest; +import com.skyflow.vault.tokens.TokenizeResponse; public final class VaultController extends VaultClient { private static final Gson GSON = new GsonBuilder().serializeNulls().create(); diff --git a/src/test/java/com/skyflow/vault/data/FileUploadTests.java b/src/test/java/com/skyflow/vault/data/FileUploadTests.java index 4eac8bed..1eac84ae 100644 --- a/src/test/java/com/skyflow/vault/data/FileUploadTests.java +++ b/src/test/java/com/skyflow/vault/data/FileUploadTests.java @@ -1,17 +1,17 @@ package com.skyflow.vault.data; +import java.io.File; + +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; + import com.skyflow.errors.ErrorCode; import com.skyflow.errors.ErrorMessage; import com.skyflow.errors.SkyflowException; import com.skyflow.utils.Constants; import com.skyflow.utils.Utils; import com.skyflow.utils.validations.Validations; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -import java.io.File; public class FileUploadTests { private static final String INVALID_EXCEPTION_THROWN = "Should not have thrown any exception"; @@ -120,17 +120,12 @@ public void testMissingSkyflowId() { FileUploadRequest request = FileUploadRequest.builder() .table(table) .columnName(columnName) - .fileName(fileName) + .filePath(filePath) .build(); Validations.validateFileUploadRequest(request); - Assert.fail(EXCEPTION_NOT_THROWN); } catch (SkyflowException e) { - Assert.assertEquals(ErrorCode.INVALID_INPUT.getCode(), e.getHttpCode()); - Assert.assertEquals( - Utils.parameterizedString(ErrorMessage.SkyflowIdKeyError.getMessage(), Constants.SDK_PREFIX), - e.getMessage() - ); + Assert.fail(INVALID_EXCEPTION_THROWN); } } @@ -141,17 +136,11 @@ public void testEmptySkyflowId() { .table(table) .skyflowId("") .columnName(columnName) - .fileName(fileName) + .filePath(filePath) .build(); - Validations.validateFileUploadRequest(request); - Assert.fail(EXCEPTION_NOT_THROWN); } catch (SkyflowException e) { - Assert.assertEquals(ErrorCode.INVALID_INPUT.getCode(), e.getHttpCode()); - Assert.assertEquals( - Utils.parameterizedString(ErrorMessage.EmptySkyflowId.getMessage(), Constants.SDK_PREFIX), - e.getMessage() - ); + Assert.fail(INVALID_EXCEPTION_THROWN); } }