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

com.ziqni.admin.sdk.model.EntrantStatus Maven / Gradle / Ivy

There is a newer version: 1.0.21
Show newest version
/*
 * ZIQNI Admin API
 * Ziqni Application Services are used to manage and configure spaces.
 *
 * The version of the OpenAPI document: 3.0.1
 * Contact: [email protected]
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package com.ziqni.admin.sdk.model;

import java.util.Objects;
import java.util.Arrays;
import java.util.Map;
import java.util.HashMap;
import io.swagger.annotations.ApiModel;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;


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

/**
 * The status of the entrant * -403, \"Unknown\" * -100, \"Deleted\" * -50, \"WrongGroups\" * -12, \"Disqualified\" * -11, \"Substituted\" * -10, \"Injured\" * -1, \"OptInRequired\" * 0, \"Registered\" * 1, \"Entered\" * 10, \"Playing\" * 20, \"Finished\" * 100, \"Finalised\"
 */
public enum EntrantStatus {
  
  UNKNOWN("Unknown"),
  
  DELETED("Deleted"),
  
  WRONGGROUPS("WrongGroups"),
  
  DISQUALIFIED("Disqualified"),
  
  SUBSTITUTED("Substituted"),
  
  INJURED("Injured"),
  
  OPTINREQUIRED("OptInRequired"),
  
  REGISTERED("Registered"),
  
  ENTERED("Entered"),
  
  PLAYING("Playing"),
  
  FINISHED("Finished"),
  
  FINALISED("Finalised");

  private String value;

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

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

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

  @JsonCreator
  public static EntrantStatus fromValue(String value) {
    for (EntrantStatus b : EntrantStatus.values()) {
      if (b.value.equals(value)) {
        return b;
      }
    }
    throw new IllegalArgumentException("Unexpected value '" + value + "'");
  }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy