package com.rdiot.yx485;

import com.rdiot.yx485.http.entity.BaseReplyBean;

public class UpdateBean extends BaseReplyBean {


    /**
     * code : string
     * data : {"need_update":true,"update_info":{"creator":"string","download_url":"string","created_at":"string","version":"string","content":"string","force_update":0,"platform":"string"}}
     */

    public DataBean data;

    public static class DataBean {
        /**
         * need_update : true
         * update_info : {"creator":"string","download_url":"string","created_at":"string","version":"string","content":"string","force_update":0,"platform":"string"}
         */

        public boolean need_update;
        public UpdateInfo update_info;

        public static class UpdateInfo {
            /**
             * creator : string
             * download_url : string
             * created_at : string
             * version : string
             * content : string
             * force_update : 0
             * platform : string
             */

            public String record_id;
            public String version;
            public String content;
            public boolean force_update;
            public String download_url;
            public String platform;
            public String creator;
            public String created_at;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "need_update=" + need_update +
                    ", update_info=" + update_info +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "UpdateBean{" +
                "data=" + data +
                ", code=" + code +
                ", message='" + message + '\'' +
                '}';
    }
}
