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=ErrorClass, data=[GenericError, CommandNotFound, DeviceEncrypted, DeviceNotActive, DeviceNotFound, KVMMissingCap], fields=null}</pre> 012 */ 013// QApiEnumDescriptor{name=ErrorClass, data=[GenericError, CommandNotFound, DeviceEncrypted, DeviceNotActive, DeviceNotFound, KVMMissingCap], fields=null} 014public enum ErrorClass { 015 GenericError("GenericError"), 016 CommandNotFound("CommandNotFound"), 017 DeviceEncrypted("DeviceEncrypted"), 018 DeviceNotActive("DeviceNotActive"), 019 DeviceNotFound("DeviceNotFound"), 020 KVMMissingCap("KVMMissingCap"), 021 __UNKNOWN("<unknown>"); 022 023 private final java.lang.String jsonValue; 024 025 /* pp */ ErrorClass(@Nonnull java.lang.String jsonValue) { 026 this.jsonValue = jsonValue; 027 } 028 029 @JsonValue 030 public java.lang.String getJsonValue() { 031 return jsonValue; 032 } 033}