Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32445,6 +32445,7 @@ components:
connection_id:
description: Unique identifier of the Private Action Runner connection holding the credentials.
example: 08356fb7-3ae3-4ea2-913e-b4cb1b7e7ec2
format: uuid
type: string
secret_path:
description: Path of the credential inside the secret backend configured on the runner.
Expand All @@ -32453,6 +32454,7 @@ components:
user_uuid:
description: Unique identifier of the user the Private Action Runner connection belongs to.
example: ac470ea4-aa08-11f0-994d-da9212322ca2
format: uuid
type: string
required:
- auth_type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.UUID;

/** The Private Action Runner authentication method configured on the account. */
@JsonPropertyOrder({
Expand All @@ -33,22 +34,22 @@ public class DatabricksIntegrationAccountPrivateActionRunnerAuthResponse {
DatabricksIntegrationAccountPrivateActionRunnerAuthType.PRIVATE_ACTION_RUNNER;

public static final String JSON_PROPERTY_CONNECTION_ID = "connection_id";
private String connectionId;
private UUID connectionId;

public static final String JSON_PROPERTY_SECRET_PATH = "secret_path";
private String secretPath;

public static final String JSON_PROPERTY_USER_UUID = "user_uuid";
private String userUuid;
private UUID userUuid;

public DatabricksIntegrationAccountPrivateActionRunnerAuthResponse() {}

@JsonCreator
public DatabricksIntegrationAccountPrivateActionRunnerAuthResponse(
@JsonProperty(required = true, value = JSON_PROPERTY_AUTH_TYPE)
DatabricksIntegrationAccountPrivateActionRunnerAuthType authType,
@JsonProperty(required = true, value = JSON_PROPERTY_CONNECTION_ID) String connectionId,
@JsonProperty(required = true, value = JSON_PROPERTY_USER_UUID) String userUuid) {
@JsonProperty(required = true, value = JSON_PROPERTY_CONNECTION_ID) UUID connectionId,
@JsonProperty(required = true, value = JSON_PROPERTY_USER_UUID) UUID userUuid) {
this.authType = authType;
this.unparsed |= !authType.isValid();
this.connectionId = connectionId;
Expand Down Expand Up @@ -81,7 +82,7 @@ public void setAuthType(DatabricksIntegrationAccountPrivateActionRunnerAuthType
}

public DatabricksIntegrationAccountPrivateActionRunnerAuthResponse connectionId(
String connectionId) {
UUID connectionId) {
this.connectionId = connectionId;
return this;
}
Expand All @@ -93,11 +94,11 @@ public DatabricksIntegrationAccountPrivateActionRunnerAuthResponse connectionId(
*/
@JsonProperty(JSON_PROPERTY_CONNECTION_ID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getConnectionId() {
public UUID getConnectionId() {
return connectionId;
}

public void setConnectionId(String connectionId) {
public void setConnectionId(UUID connectionId) {
this.connectionId = connectionId;
}

Expand All @@ -122,7 +123,7 @@ public void setSecretPath(String secretPath) {
this.secretPath = secretPath;
}

public DatabricksIntegrationAccountPrivateActionRunnerAuthResponse userUuid(String userUuid) {
public DatabricksIntegrationAccountPrivateActionRunnerAuthResponse userUuid(UUID userUuid) {
this.userUuid = userUuid;
return this;
}
Expand All @@ -134,11 +135,11 @@ public DatabricksIntegrationAccountPrivateActionRunnerAuthResponse userUuid(Stri
*/
@JsonProperty(JSON_PROPERTY_USER_UUID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getUserUuid() {
public UUID getUserUuid() {
return userUuid;
}

public void setUserUuid(String userUuid) {
public void setUserUuid(UUID userUuid) {
this.userUuid = userUuid;
}

Expand Down
Loading