001package org.anarres.qemu.qapi.api; 002 003import com.fasterxml.jackson.annotation.JsonProperty; 004import com.fasterxml.jackson.annotation.JsonValue; 005import javax.annotation.CheckForNull; 006import javax.annotation.Nonnull; 007 008/** 009 * Autogenerated class. 010 * 011 * <pre>QApiEnumDescriptor{name=MigrationStatus, data=[none, setup, cancelling, cancelled, active, postcopy-active, completed, failed], fields=null}</pre> 012 */ 013// QApiEnumDescriptor{name=MigrationStatus, data=[none, setup, cancelling, cancelled, active, postcopy-active, completed, failed], fields=null} 014public enum MigrationStatus { 015 none("none"), 016 setup("setup"), 017 cancelling("cancelling"), 018 cancelled("cancelled"), 019 active("active"), 020 postcopy_active("postcopy-active"), 021 completed("completed"), 022 failed("failed"), 023 __UNKNOWN("<unknown>"); 024 025 private final java.lang.String jsonValue; 026 027 /* pp */ MigrationStatus(@Nonnull java.lang.String jsonValue) { 028 this.jsonValue = jsonValue; 029 } 030 031 @JsonValue 032 public java.lang.String getJsonValue() { 033 return jsonValue; 034 } 035}