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

io.camunda.zeebe.management.backups.StateCode Maven / Gradle / Ivy

There is a newer version: 8.7.0-alpha1
Show newest version
package io.camunda.zeebe.management.backups;

import java.net.URI;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime;
import jakarta.validation.Valid;
import jakarta.validation.constraints.*;
import io.swagger.v3.oas.annotations.media.Schema;


import java.util.*;
import jakarta.annotation.Generated;

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

/**
 * The state of the backup.
 */

@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-24T12:12:46.611450107Z[GMT]", comments = "Generator version: 7.8.0")
public enum StateCode {
  
  DOES_NOT_EXIST("DOES_NOT_EXIST"),
  
  IN_PROGRESS("IN_PROGRESS"),
  
  COMPLETED("COMPLETED"),
  
  FAILED("FAILED"),
  
  INCOMPLETE("INCOMPLETE"),
  
  INCOMPATIBLE("INCOMPATIBLE");

  private String value;

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

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

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

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy