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

com.symphony.api.model.V3HealthStatus Maven / Gradle / Ivy

package com.symphony.api.model;

import io.swagger.v3.oas.annotations.media.Schema;


/**
 * Application health status.
 */
public enum V3HealthStatus {
  UP("UP"),
  
  DOWN("DOWN");

  private String value;

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

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

  public static V3HealthStatus fromValue(String text) {
    for (V3HealthStatus b : V3HealthStatus.values()) {
      if (String.valueOf(b.value).equals(text)) {
        return b;
      }
    }
    return null;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy