All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlan.model.enums.PurposeMetadataAction Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
// 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;

public enum PurposeMetadataAction implements AtlanEnum, AtlanPolicyAction {
    CREATE("entity-create"), READ("entity-read"), UPDATE("entity-update"), DELETE("entity-delete"), UPDATE_CUSTOM_METADATA("entity-update-business-metadata"), ADD_ATLAN_TAG("entity-add-classification"), READ_ATLAN_TAG("entity-read-classification"), UPDATE_ATLAN_TAG("entity-update-classification"), REMOVE_ATLAN_TAG("entity-remove-classification"), ATTACH_TERMS("purpose-add-terms"), DETACH_TERMS("purpose-remove-terms");
    @JsonValue
    private final String value;

    PurposeMetadataAction(String value) {
        this.value = value;
    }

    public static PurposeMetadataAction fromValue(String value) {
        for (PurposeMetadataAction b : PurposeMetadataAction.values()) {
            if (b.value.equals(value)) {
                return b;
            }
        }
        return null;
    }

    @Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getValue() {
        return this.value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy