com.atlan.model.enums.AtlanWorkflowPhase Maven / Gradle / Ivy
// Generated by delombok at Wed Oct 16 22:16:04 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.model.enums;
import com.fasterxml.jackson.annotation.JsonValue;
public enum AtlanWorkflowPhase implements AtlanEnum {
SUCCESS("Succeeded"), RUNNING("Running"), FAILED("Failed"), ERROR("Error"), PENDING("Pending");
@JsonValue
private final String value;
AtlanWorkflowPhase(String value) {
this.value = value;
}
public static AtlanWorkflowPhase fromValue(String value) {
for (AtlanWorkflowPhase b : AtlanWorkflowPhase.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null;
}
@Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getValue() {
return this.value;
}
}