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=query-rocker-of-dpa-flows, returns=[RockerOfDpaFlow], data={name=str, *tbl-id=uint32}}</pre> 014 */ 015// QApiCommandDescriptor{name=query-rocker-of-dpa-flows, returns=[RockerOfDpaFlow], data={name=str, *tbl-id=uint32}} 016public class QueryRockerOfDpaFlowsCommand extends QApiCommand<QueryRockerOfDpaFlowsCommand.Arguments, QueryRockerOfDpaFlowsCommand.Response> { 017 /** Compound arguments to a QueryRockerOfDpaFlowsCommand. */ 018 @JsonInclude(JsonInclude.Include.NON_EMPTY) 019 public static class Arguments { 020 021 @SuppressFBWarnings("NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR") 022 @JsonProperty("name") 023 @Nonnull 024 public java.lang.String name; 025 @SuppressFBWarnings("NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR") 026 @JsonProperty("tbl-id") 027 @CheckForNull 028 public java.lang.Long tblId; 029 030 public Arguments() { 031 } 032 033 public Arguments(java.lang.String name, java.lang.Long tblId) { 034 this.name = name; 035 this.tblId = tblId; 036 } 037 } 038 039 /** Response to a QueryRockerOfDpaFlowsCommand. */ 040 public static class Response extends QApiResponse<java.util.List<RockerOfDpaFlow>> { 041 } 042 043 /** Constructs a new QueryRockerOfDpaFlowsCommand. */ 044 public QueryRockerOfDpaFlowsCommand(@Nonnull QueryRockerOfDpaFlowsCommand.Arguments argument) { 045 super("query-rocker-of-dpa-flows", Response.class, argument); 046 } 047 048 /** Constructs a new QueryRockerOfDpaFlowsCommand. */ 049 public QueryRockerOfDpaFlowsCommand(java.lang.String name, java.lang.Long tblId) { 050 this(new Arguments(name, tblId)); 051 } 052}