package com.rdiot.yx485.bean;

import java.util.List;

public class CreatRoomBean {
    /**
     * name : string
     * home_id : string
     * devices : [{"record_id":"string","name":"string","device_code":"string","type_id":"string","type_name":"string","icon":"string","is_master":true,"home_id":"string","room_id":"string","is_online":true,"power":0,"temperature":0,"humidity":0}]
     */

    public String name;
    public String home_id;
    public List<DevicesBean> devices;

    public static class DevicesBean {
        /**
         * record_id : string
         * name : string
         * device_code : string
         * type_id : string
         * type_name : string
         * icon : string
         * is_master : true
         * home_id : string
         * room_id : string
         * is_online : true
         * power : 0
         * temperature : 0
         * humidity : 0
         */

        public String record_id;
        public String name;
        public String device_code;
        public String type_id;
        public String type_name;
        public String icon;
        public boolean is_master;
        public String home_id;
        public String room_id;
        public boolean is_online;
        public int power;
        public int temperature;
        public int humidity;
    }
}
