void fromMap()

in et-industry-openapi-20200824/include/alibabacloud/et_industry_openapi_20200824.hpp [861:970]


  void fromMap(map<string, boost::any> m) override {
    if (m.find("AcqFreq") != m.end() && !m["AcqFreq"].empty()) {
      acqFreq = make_shared<string>(boost::any_cast<string>(m["AcqFreq"]));
    }
    if (m.find("AlarmAttribute") != m.end() && !m["AlarmAttribute"].empty()) {
      alarmAttribute = make_shared<string>(boost::any_cast<string>(m["AlarmAttribute"]));
    }
    if (m.find("AlarmLevel") != m.end() && !m["AlarmLevel"].empty()) {
      alarmLevel = make_shared<string>(boost::any_cast<string>(m["AlarmLevel"]));
    }
    if (m.find("CalcAttribute") != m.end() && !m["CalcAttribute"].empty()) {
      calcAttribute = make_shared<string>(boost::any_cast<string>(m["CalcAttribute"]));
    }
    if (m.find("CalcFormula") != m.end() && !m["CalcFormula"].empty()) {
      calcFormula = make_shared<string>(boost::any_cast<string>(m["CalcFormula"]));
    }
    if (m.find("CalcType") != m.end() && !m["CalcType"].empty()) {
      calcType = make_shared<string>(boost::any_cast<string>(m["CalcType"]));
    }
    if (m.find("Code") != m.end() && !m["Code"].empty()) {
      code = make_shared<string>(boost::any_cast<string>(m["Code"]));
    }
    if (m.find("CreateUser") != m.end() && !m["CreateUser"].empty()) {
      createUser = make_shared<string>(boost::any_cast<string>(m["CreateUser"]));
    }
    if (m.find("DataSourceId") != m.end() && !m["DataSourceId"].empty()) {
      dataSourceId = make_shared<string>(boost::any_cast<string>(m["DataSourceId"]));
    }
    if (m.find("DataType") != m.end() && !m["DataType"].empty()) {
      dataType = make_shared<string>(boost::any_cast<string>(m["DataType"]));
    }
    if (m.find("Description") != m.end() && !m["Description"].empty()) {
      description = make_shared<string>(boost::any_cast<string>(m["Description"]));
    }
    if (m.find("ErrMsgDetail") != m.end() && !m["ErrMsgDetail"].empty()) {
      errMsgDetail = make_shared<string>(boost::any_cast<string>(m["ErrMsgDetail"]));
    }
    if (m.find("FullName") != m.end() && !m["FullName"].empty()) {
      fullName = make_shared<string>(boost::any_cast<string>(m["FullName"]));
    }
    if (m.find("GmtCreate") != m.end() && !m["GmtCreate"].empty()) {
      gmtCreate = make_shared<long>(boost::any_cast<long>(m["GmtCreate"]));
    }
    if (m.find("GmtModify") != m.end() && !m["GmtModify"].empty()) {
      gmtModify = make_shared<long>(boost::any_cast<long>(m["GmtModify"]));
    }
    if (m.find("Id") != m.end() && !m["Id"].empty()) {
      id = make_shared<long>(boost::any_cast<long>(m["Id"]));
    }
    if (m.find("InitValue") != m.end() && !m["InitValue"].empty()) {
      initValue = make_shared<string>(boost::any_cast<string>(m["InitValue"]));
    }
    if (m.find("IsEnable") != m.end() && !m["IsEnable"].empty()) {
      isEnable = make_shared<string>(boost::any_cast<string>(m["IsEnable"]));
    }
    if (m.find("LastUploadTime") != m.end() && !m["LastUploadTime"].empty()) {
      lastUploadTime = make_shared<string>(boost::any_cast<string>(m["LastUploadTime"]));
    }
    if (m.find("LatestValue") != m.end() && !m["LatestValue"].empty()) {
      latestValue = make_shared<string>(boost::any_cast<string>(m["LatestValue"]));
    }
    if (m.find("LowerLimit") != m.end() && !m["LowerLimit"].empty()) {
      lowerLimit = make_shared<string>(boost::any_cast<string>(m["LowerLimit"]));
    }
    if (m.find("MeasurePointState") != m.end() && !m["MeasurePointState"].empty()) {
      measurePointState = make_shared<string>(boost::any_cast<string>(m["MeasurePointState"]));
    }
    if (m.find("ModifyUser") != m.end() && !m["ModifyUser"].empty()) {
      modifyUser = make_shared<string>(boost::any_cast<string>(m["ModifyUser"]));
    }
    if (m.find("Name") != m.end() && !m["Name"].empty()) {
      name = make_shared<string>(boost::any_cast<string>(m["Name"]));
    }
    if (m.find("NodeCode") != m.end() && !m["NodeCode"].empty()) {
      nodeCode = make_shared<string>(boost::any_cast<string>(m["NodeCode"]));
    }
    if (m.find("NodeId") != m.end() && !m["NodeId"].empty()) {
      nodeId = make_shared<long>(boost::any_cast<long>(m["NodeId"]));
    }
    if (m.find("NodeName") != m.end() && !m["NodeName"].empty()) {
      nodeName = make_shared<string>(boost::any_cast<string>(m["NodeName"]));
    }
    if (m.find("ParentFullName") != m.end() && !m["ParentFullName"].empty()) {
      parentFullName = make_shared<string>(boost::any_cast<string>(m["ParentFullName"]));
    }
    if (m.find("PayLoad") != m.end() && !m["PayLoad"].empty()) {
      payLoad = make_shared<string>(boost::any_cast<string>(m["PayLoad"]));
    }
    if (m.find("ProtocolConfig") != m.end() && !m["ProtocolConfig"].empty()) {
      protocolConfig = make_shared<string>(boost::any_cast<string>(m["ProtocolConfig"]));
    }
    if (m.find("SourcePoint") != m.end() && !m["SourcePoint"].empty()) {
      sourcePoint = make_shared<string>(boost::any_cast<string>(m["SourcePoint"]));
    }
    if (m.find("TenantCode") != m.end() && !m["TenantCode"].empty()) {
      tenantCode = make_shared<string>(boost::any_cast<string>(m["TenantCode"]));
    }
    if (m.find("Time") != m.end() && !m["Time"].empty()) {
      time = make_shared<string>(boost::any_cast<string>(m["Time"]));
    }
    if (m.find("Type") != m.end() && !m["Type"].empty()) {
      type = make_shared<string>(boost::any_cast<string>(m["Type"]));
    }
    if (m.find("Unit") != m.end() && !m["Unit"].empty()) {
      unit = make_shared<string>(boost::any_cast<string>(m["Unit"]));
    }
    if (m.find("UpperLimit") != m.end() && !m["UpperLimit"].empty()) {
      upperLimit = make_shared<string>(boost::any_cast<string>(m["UpperLimit"]));
    }
  }