com.atlan.model.enums.WorkflowRunStatus Maven / Gradle / Ivy
// Generated by delombok at Thu Oct 10 18:56:33 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.model.enums;
import com.fasterxml.jackson.annotation.JsonValue;
import javax.annotation.processing.Generated;
@Generated("com.atlan.generators.ModelGeneratorV2")
public enum WorkflowRunStatus implements AtlanEnum {
PENDING("PENDING"), APPROVED("APPROVED"), REJECTED("REJECTED"), SUCCESS("SUCCESS"), FAILURE("FAILURE"), WITHDRAWN("WITHDRAWN"), EXPIRED("EXPIRED"), TERMINATED("TERMINATED");
@JsonValue
private final String value;
WorkflowRunStatus(String value) {
this.value = value;
}
public static WorkflowRunStatus fromValue(String value) {
for (WorkflowRunStatus b : WorkflowRunStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null;
}
@Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getValue() {
return this.value;
}
}