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

com.affinda.api.client.models.ManagementLevel Maven / Gradle / Ivy

Go to download

This package contains Java Client Library for the Affinda Resume Parser API. For documentation on how to use this package, please see https://github.com/affinda/affinda-java

There is a newer version: 3.16.0
Show newest version
package com.affinda.api.client.models;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/** Defines values for ManagementLevel. */
public enum ManagementLevel {
    /** Enum value None. */
    NONE("None"),

    /** Enum value Low. */
    LOW("Low"),

    /** Enum value Mid. */
    MID("Mid"),

    /** Enum value Upper. */
    UPPER("Upper");

    /** The actual serialized value for a ManagementLevel instance. */
    private final String value;

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

    /**
     * Parses a serialized value to a ManagementLevel instance.
     *
     * @param value the serialized value to parse.
     * @return the parsed ManagementLevel object, or null if unable to parse.
     */
    @JsonCreator
    public static ManagementLevel fromString(String value) {
        ManagementLevel[] items = ManagementLevel.values();
        for (ManagementLevel item : items) {
            if (item.toString().equalsIgnoreCase(value)) {
                return item;
            }
        }
        return null;
    }

    @JsonValue
    @Override
    public String toString() {
        return this.value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy