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

nl.vpro.nep.sam.model.TechnicalStatusEnum Maven / Gradle / Ivy

There is a newer version: 8.3.1
Show newest version
/*
 * Stream Access Manager
 * Get access to a stream in order to view it
 *
 * The version of the OpenAPI document: 4.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package nl.vpro.nep.sam.model;

import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;

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

/**
 * Gets or Sets TechnicalStatusEnum
 */
public enum TechnicalStatusEnum {
  
  ONLINE("online"),
  
  OFFLINE("offline");

  private String value;

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

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

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

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





© 2015 - 2025 Weber Informatics LLC | Privacy Policy