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

com.atlan.model.enums.QueryUsernameStrategy 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;
import javax.annotation.processing.Generated;

@Generated("com.atlan.generators.ModelGeneratorV2")
public enum QueryUsernameStrategy implements AtlanEnum {
    CONNECTION_USERNAME("connectionUsername"), ATLAN_USERNAME("atlanUsername");
    @JsonValue
    private final String value;

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

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