001/*
002 * To change this template, choose Tools | Templates
003 * and open the template in the editor.
004 */
005package org.anarres.qemu.qapi.common;
006
007import com.fasterxml.jackson.annotation.JsonProperty;
008import java.util.List;
009import org.anarres.qemu.qapi.api.VersionInfo;
010
011/**
012 * The QEmu version and capability information.
013 *
014 * This information is sent to the client on connection.
015 *
016 * @author shevek
017 */
018public class QApiGreeting extends QApiObject {
019
020    public static class QMPVersion extends QApiObject {
021
022        @JsonProperty
023        public VersionInfo version;
024        @JsonProperty
025        public List<Object> capabilities;
026    }
027    @JsonProperty
028    public QMPVersion QMP;
029}