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