src/models/responses/BasicInfoResponse.ts
Function parseResponse
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static parseResponse(dict: ResponseDict, cb: DaikinResponseCb<BasicInfoResponse>): void {
const result = new BasicInfoResponse();
result.type = DaikinDataParser.resolveString(dict, 'type', Type);
result.region = DaikinDataParser.resolveString(dict, 'reg');
result.dst = DaikinDataParser.resolveBool(dict, 'dst');