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

com.atlan.model.enums.PersonaMetadataAction 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 PersonaMetadataAction implements AtlanEnum, AtlanPolicyAction {
    CREATE("persona-api-create"), READ("persona-asset-read"), UPDATE("persona-asset-update"), DELETE("persona-api-delete"), UPDATE_CUSTOM_METADATA("persona-business-update-metadata"), ADD_ATLAN_TAG("persona-entity-add-classification"), UPDATE_ATLAN_TAG("persona-entity-update-classification"), REMOVE_ATLAN_TAG("persona-entity-remove-classification"), ATTACH_TERMS("persona-add-terms"), DETACH_TERMS("persona-remove-terms");
    @JsonValue
    private final String value;

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

    public static PersonaMetadataAction fromValue(String value) {
        for (PersonaMetadataAction b : PersonaMetadataAction.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