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

mn.foreman.api.endpoints.StatusSubmit Maven / Gradle / Ivy

There is a newer version: 1.78.0
Show newest version
package mn.foreman.api.endpoints;

import com.fasterxml.jackson.annotation.JsonProperty;

/** The action submit statuses. */
public enum StatusSubmit {

    /** Action was accepted. */
    @JsonProperty("okay")
    OKAY;

    /**
     * Returns whether or not the action was accepted.
     *
     * @return Whether or not the action was accepted.
     */
    public boolean isSuccess() {
        return (this == OKAY);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy