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=dump-guest-memory, returns=null, data={paging=bool, protocol=str, *begin=int, *length=int, *format=DumpGuestMemoryFormat}}</pre>
014 */
015// QApiCommandDescriptor{name=dump-guest-memory, returns=null, data={paging=bool, protocol=str, *begin=int, *length=int, *format=DumpGuestMemoryFormat}}
016public class DumpGuestMemoryCommand extends QApiCommand<DumpGuestMemoryCommand.Arguments, DumpGuestMemoryCommand.Response> {
017        /** Compound arguments to a DumpGuestMemoryCommand. */
018        @JsonInclude(JsonInclude.Include.NON_EMPTY)
019        public static class Arguments {
020
021                @SuppressFBWarnings("NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR")
022                @JsonProperty("paging")
023                @Nonnull
024                public boolean paging;
025                @SuppressFBWarnings("NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR")
026                @JsonProperty("protocol")
027                @Nonnull
028                public java.lang.String protocol;
029                @SuppressFBWarnings("NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR")
030                @JsonProperty("begin")
031                @CheckForNull
032                public java.lang.Long begin;
033                @SuppressFBWarnings("NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR")
034                @JsonProperty("length")
035                @CheckForNull
036                public java.lang.Long length;
037                @SuppressFBWarnings("NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR")
038                @JsonProperty("format")
039                @CheckForNull
040                public DumpGuestMemoryFormat format;
041
042                public Arguments() {
043                }
044
045                public Arguments(boolean paging, java.lang.String protocol, java.lang.Long begin, java.lang.Long length, DumpGuestMemoryFormat format) {
046                        this.paging = paging;
047                        this.protocol = protocol;
048                        this.begin = begin;
049                        this.length = length;
050                        this.format = format;
051                }
052        }
053
054        /** Response to a DumpGuestMemoryCommand. */
055        public static class Response extends QApiResponse<java.lang.Void> {
056        }
057
058        /** Constructs a new DumpGuestMemoryCommand. */
059        public DumpGuestMemoryCommand(@Nonnull DumpGuestMemoryCommand.Arguments argument) {
060                super("dump-guest-memory", Response.class, argument);
061        }
062
063        /** Constructs a new DumpGuestMemoryCommand. */
064        public DumpGuestMemoryCommand(boolean paging, java.lang.String protocol, java.lang.Long begin, java.lang.Long length, DumpGuestMemoryFormat format) {
065                this(new Arguments(paging, protocol, begin, length, format));
066        }
067}