001package org.anarres.qemu.qapi.api; 002 003import com.fasterxml.jackson.annotation.JsonInclude; 004import com.fasterxml.jackson.annotation.JsonProperty; 005import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 006import javax.annotation.CheckForNull; 007import javax.annotation.Nonnull; 008import org.anarres.qemu.qapi.common.*; 009 010/** 011 * Autogenerated class. 012 * 013 * <pre>QApiCommandDescriptor{name=device-list-properties, returns=[DevicePropertyInfo], data={typename=str}}</pre> 014 */ 015// QApiCommandDescriptor{name=device-list-properties, returns=[DevicePropertyInfo], data={typename=str}} 016public class DeviceListPropertiesCommand extends QApiCommand<DeviceListPropertiesCommand.Arguments, DeviceListPropertiesCommand.Response> { 017 /** Compound arguments to a DeviceListPropertiesCommand. */ 018 @JsonInclude(JsonInclude.Include.NON_EMPTY) 019 public static class Arguments { 020 021 @SuppressFBWarnings("NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR") 022 @JsonProperty("typename") 023 @Nonnull 024 public java.lang.String typename; 025 026 public Arguments() { 027 } 028 029 public Arguments(java.lang.String typename) { 030 this.typename = typename; 031 } 032 } 033 034 /** Response to a DeviceListPropertiesCommand. */ 035 public static class Response extends QApiResponse<java.util.List<DevicePropertyInfo>> { 036 } 037 038 /** Constructs a new DeviceListPropertiesCommand. */ 039 public DeviceListPropertiesCommand(@Nonnull DeviceListPropertiesCommand.Arguments argument) { 040 super("device-list-properties", Response.class, argument); 041 } 042 043 /** Constructs a new DeviceListPropertiesCommand. */ 044 public DeviceListPropertiesCommand(java.lang.String typename) { 045 this(new Arguments(typename)); 046 } 047}