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=qom-set, returns=null, data={path=str, property=str, value=any}}</pre>
014 */
015// QApiCommandDescriptor{name=qom-set, returns=null, data={path=str, property=str, value=any}}
016public class QomSetCommand extends QApiCommand<QomSetCommand.Arguments, QomSetCommand.Response> {
017        /** Compound arguments to a QomSetCommand. */
018        @JsonInclude(JsonInclude.Include.NON_EMPTY)
019        public static class Arguments {
020
021                @SuppressFBWarnings("NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR")
022                @JsonProperty("path")
023                @Nonnull
024                public java.lang.String path;
025                @SuppressFBWarnings("NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR")
026                @JsonProperty("property")
027                @Nonnull
028                public java.lang.String property;
029                @SuppressFBWarnings("NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR")
030                @JsonProperty("value")
031                @Nonnull
032                public java.lang.Object value;
033
034                public Arguments() {
035                }
036
037                public Arguments(java.lang.String path, java.lang.String property, java.lang.Object value) {
038                        this.path = path;
039                        this.property = property;
040                        this.value = value;
041                }
042        }
043
044        /** Response to a QomSetCommand. */
045        public static class Response extends QApiResponse<java.lang.Void> {
046        }
047
048        /** Constructs a new QomSetCommand. */
049        public QomSetCommand(@Nonnull QomSetCommand.Arguments argument) {
050                super("qom-set", Response.class, argument);
051        }
052
053        /** Constructs a new QomSetCommand. */
054        public QomSetCommand(java.lang.String path, java.lang.String property, java.lang.Object value) {
055                this(new Arguments(path, property, value));
056        }
057}