//--- (end of generated code: YFileRecord definitions) public YFileRecord(string data) { //--- (generated code: YFileRecord attributes initialization) //--- (end of generated code: YFileRecord attributes initialization) YAPI.YJSONObject p = new YAPI.YJSONObject(data); p.parse(); this._name = p.getString("name"); this._size = p.getInt("size"); this._crc = p.getInt("crc"); }
//--- (end of generated code: YWlanRecord definitions) public YWlanRecord(string data) { //--- (generated code: YWlanRecord attributes initialization) //--- (end of generated code: YWlanRecord attributes initialization) YAPI.YJSONObject p = new YAPI.YJSONObject(data); p.parse(); this._ssid = p.getString("ssid"); this._sec = p.getString("sec"); this._rssi = p.getInt("rssi"); this._channel = p.getInt("channel"); }