![JAR search and dependency download from the Maven repository](/logo.png)
com.atlan.model.workflow.WorkflowRunResponse Maven / Gradle / Ivy
// Generated by delombok at Thu Oct 10 18:56:32 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.model.workflow;
import com.atlan.exception.AtlanException;
public class WorkflowRunResponse extends WorkflowResponse {
private static final long serialVersionUID = 2L;
WorkflowSearchResultStatus status;
/**
* Retrieve the workflow run details.
*
* @param name of the specific workflow run
* @return the details of the workflow run
* @throws AtlanException on any API errors searching for the workflow run
*/
@Override
protected WorkflowSearchResult getRunDetails(String name) throws AtlanException {
return WorkflowSearchRequest.findRunByName(client, name);
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public WorkflowSearchResultStatus getStatus() {
return this.status;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof WorkflowRunResponse)) return false;
final WorkflowRunResponse other = (WorkflowRunResponse) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$status = this.getStatus();
final java.lang.Object other$status = other.getStatus();
if (this$status == null ? other$status != null : !this$status.equals(other$status)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof WorkflowRunResponse;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $status = this.getStatus();
result = result * PRIME + ($status == null ? 43 : $status.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public java.lang.String toString() {
return "WorkflowRunResponse(super=" + super.toString() + ", status=" + this.getStatus() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy