com.atlan.model.contracts.DataContractStatus Maven / Gradle / Ivy
// Generated by delombok at Wed Oct 16 22:16:03 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.model.contracts;
import com.atlan.model.enums.AtlanEnum;
import com.fasterxml.jackson.annotation.JsonValue;
public enum DataContractStatus implements AtlanEnum {
DRAFT("draft"), VERIFIED("verified");
@JsonValue
private final String value;
DataContractStatus(String value) {
this.value = value;
}
public static DataContractStatus fromValue(String value) {
for (DataContractStatus b : DataContractStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null;
}
@Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getValue() {
return this.value;
}
}