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

com.anaptecs.jeaf.openapi.BooleanLiteralsEnum Maven / Gradle / Ivy

There is a newer version: 1.24.7
Show newest version
/*
 * Product Base Definitions
 * This component represents the Open API interface of the accounting service. 
 *
 * OpenAPI spec version: 0.0.1
 * Contact: [email protected]
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.anaptecs.jeaf.openapi;

import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * Gets or Sets BooleanLiteralsEnum
 */
public enum BooleanLiteralsEnum {
  YES("YES"),
  ON("ON"),
  OFF("off"),
  Y("y"),
  N("n"),
  YEAH("YEAH"),
  NO("NO"),
  TRUE("True"),
  FALSE("FaLsE");

  private String value;

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

  @JsonValue
  public String getValue() {
    return value;
  }

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

  @JsonCreator
  public static BooleanLiteralsEnum fromValue(String input) {
    for (BooleanLiteralsEnum b : BooleanLiteralsEnum.values()) {
      if (b.value.equals(input)) {
        return b;
      }
    }
    return null;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy