@@ -33,7 +33,7 @@ long AddApgroupConfigRequest::getParentApgroupId()const
|
||||
void AddApgroupConfigRequest::setParentApgroupId(long parentApgroupId)
|
||||
{
|
||||
parentApgroupId_ = parentApgroupId;
|
||||
setParameter("ParentApgroupId", std::to_string(parentApgroupId));
|
||||
setCoreParameter("ParentApgroupId", std::to_string(parentApgroupId));
|
||||
}
|
||||
|
||||
std::string AddApgroupConfigRequest::getName()const
|
||||
@@ -44,7 +44,7 @@ std::string AddApgroupConfigRequest::getName()const
|
||||
void AddApgroupConfigRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddApgroupConfigRequest::getDescription()const
|
||||
@@ -55,7 +55,7 @@ std::string AddApgroupConfigRequest::getDescription()const
|
||||
void AddApgroupConfigRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string AddApgroupConfigRequest::getAccessKeyId()const
|
||||
@@ -66,6 +66,6 @@ std::string AddApgroupConfigRequest::getAccessKeyId()const
|
||||
void AddApgroupConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ AddApgroupConfigResult::~AddApgroupConfigResult()
|
||||
|
||||
void AddApgroupConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long AliyunRegisterApAssetRequest::getApgroupId()const
|
||||
void AliyunRegisterApAssetRequest::setApgroupId(long apgroupId)
|
||||
{
|
||||
apgroupId_ = apgroupId;
|
||||
setParameter("ApgroupId", std::to_string(apgroupId));
|
||||
setCoreParameter("ApgroupId", std::to_string(apgroupId));
|
||||
}
|
||||
|
||||
std::string AliyunRegisterApAssetRequest::getMac()const
|
||||
@@ -44,7 +44,7 @@ std::string AliyunRegisterApAssetRequest::getMac()const
|
||||
void AliyunRegisterApAssetRequest::setMac(const std::string& mac)
|
||||
{
|
||||
mac_ = mac;
|
||||
setParameter("Mac", mac);
|
||||
setCoreParameter("Mac", mac);
|
||||
}
|
||||
|
||||
std::string AliyunRegisterApAssetRequest::getAccessKeyId()const
|
||||
@@ -55,7 +55,7 @@ std::string AliyunRegisterApAssetRequest::getAccessKeyId()const
|
||||
void AliyunRegisterApAssetRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AliyunRegisterApAssetRequest::getSerialNo()const
|
||||
@@ -66,6 +66,6 @@ std::string AliyunRegisterApAssetRequest::getSerialNo()const
|
||||
void AliyunRegisterApAssetRequest::setSerialNo(const std::string& serialNo)
|
||||
{
|
||||
serialNo_ = serialNo;
|
||||
setParameter("SerialNo", serialNo);
|
||||
setCoreParameter("SerialNo", serialNo);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ AliyunRegisterApAssetResult::~AliyunRegisterApAssetResult()
|
||||
|
||||
void AliyunRegisterApAssetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string ApgroupBatchAddApRequest::getApAssetIds()const
|
||||
void ApgroupBatchAddApRequest::setApAssetIds(const std::string& apAssetIds)
|
||||
{
|
||||
apAssetIds_ = apAssetIds;
|
||||
setParameter("ApAssetIds", apAssetIds);
|
||||
setCoreParameter("ApAssetIds", apAssetIds);
|
||||
}
|
||||
|
||||
long ApgroupBatchAddApRequest::getApgroupId()const
|
||||
@@ -44,7 +44,7 @@ long ApgroupBatchAddApRequest::getApgroupId()const
|
||||
void ApgroupBatchAddApRequest::setApgroupId(long apgroupId)
|
||||
{
|
||||
apgroupId_ = apgroupId;
|
||||
setParameter("ApgroupId", std::to_string(apgroupId));
|
||||
setCoreParameter("ApgroupId", std::to_string(apgroupId));
|
||||
}
|
||||
|
||||
std::string ApgroupBatchAddApRequest::getAccessKeyId()const
|
||||
@@ -55,6 +55,6 @@ std::string ApgroupBatchAddApRequest::getAccessKeyId()const
|
||||
void ApgroupBatchAddApRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ ApgroupBatchAddApResult::~ApgroupBatchAddApResult()
|
||||
|
||||
void ApgroupBatchAddApResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string ApgroupBatchDeleteApRequest::getApAssetIds()const
|
||||
void ApgroupBatchDeleteApRequest::setApAssetIds(const std::string& apAssetIds)
|
||||
{
|
||||
apAssetIds_ = apAssetIds;
|
||||
setParameter("ApAssetIds", apAssetIds);
|
||||
setCoreParameter("ApAssetIds", apAssetIds);
|
||||
}
|
||||
|
||||
std::string ApgroupBatchDeleteApRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string ApgroupBatchDeleteApRequest::getAccessKeyId()const
|
||||
void ApgroupBatchDeleteApRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ ApgroupBatchDeleteApResult::~ApgroupBatchDeleteApResult()
|
||||
|
||||
void ApgroupBatchDeleteApResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string AreaCreateRequest::getName()const
|
||||
void AreaCreateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AreaCreateRequest::getDids()const
|
||||
@@ -44,7 +44,7 @@ std::string AreaCreateRequest::getDids()const
|
||||
void AreaCreateRequest::setDids(const std::string& dids)
|
||||
{
|
||||
dids_ = dids;
|
||||
setParameter("Dids", dids);
|
||||
setCoreParameter("Dids", dids);
|
||||
}
|
||||
|
||||
std::string AreaCreateRequest::getAccessKeyId()const
|
||||
@@ -55,7 +55,7 @@ std::string AreaCreateRequest::getAccessKeyId()const
|
||||
void AreaCreateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long AreaCreateRequest::getSid()const
|
||||
@@ -66,6 +66,6 @@ long AreaCreateRequest::getSid()const
|
||||
void AreaCreateRequest::setSid(long sid)
|
||||
{
|
||||
sid_ = sid;
|
||||
setParameter("Sid", std::to_string(sid));
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ AreaCreateResult::~AreaCreateResult()
|
||||
|
||||
void AreaCreateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long AreaDeleteRequest::getAid()const
|
||||
void AreaDeleteRequest::setAid(long aid)
|
||||
{
|
||||
aid_ = aid;
|
||||
setParameter("Aid", std::to_string(aid));
|
||||
setCoreParameter("Aid", std::to_string(aid));
|
||||
}
|
||||
|
||||
std::string AreaDeleteRequest::getAccessKeyId()const
|
||||
@@ -44,7 +44,7 @@ std::string AreaDeleteRequest::getAccessKeyId()const
|
||||
void AreaDeleteRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long AreaDeleteRequest::getSid()const
|
||||
@@ -55,6 +55,6 @@ long AreaDeleteRequest::getSid()const
|
||||
void AreaDeleteRequest::setSid(long sid)
|
||||
{
|
||||
sid_ = sid;
|
||||
setParameter("Sid", std::to_string(sid));
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ AreaDeleteResult::~AreaDeleteResult()
|
||||
|
||||
void AreaDeleteResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long AreaInfoRequest::getAid()const
|
||||
void AreaInfoRequest::setAid(long aid)
|
||||
{
|
||||
aid_ = aid;
|
||||
setParameter("Aid", std::to_string(aid));
|
||||
setCoreParameter("Aid", std::to_string(aid));
|
||||
}
|
||||
|
||||
std::string AreaInfoRequest::getAccessKeyId()const
|
||||
@@ -44,7 +44,7 @@ std::string AreaInfoRequest::getAccessKeyId()const
|
||||
void AreaInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long AreaInfoRequest::getSid()const
|
||||
@@ -55,6 +55,6 @@ long AreaInfoRequest::getSid()const
|
||||
void AreaInfoRequest::setSid(long sid)
|
||||
{
|
||||
sid_ = sid;
|
||||
setParameter("Sid", std::to_string(sid));
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ AreaInfoResult::~AreaInfoResult()
|
||||
|
||||
void AreaInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ int AreaShowListRequest::getPage()const
|
||||
void AreaShowListRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setParameter("Page", std::to_string(page));
|
||||
setCoreParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
int AreaShowListRequest::getPer()const
|
||||
@@ -44,7 +44,7 @@ int AreaShowListRequest::getPer()const
|
||||
void AreaShowListRequest::setPer(int per)
|
||||
{
|
||||
per_ = per;
|
||||
setParameter("Per", std::to_string(per));
|
||||
setCoreParameter("Per", std::to_string(per));
|
||||
}
|
||||
|
||||
std::string AreaShowListRequest::getAccessKeyId()const
|
||||
@@ -55,7 +55,7 @@ std::string AreaShowListRequest::getAccessKeyId()const
|
||||
void AreaShowListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long AreaShowListRequest::getSid()const
|
||||
@@ -66,6 +66,6 @@ long AreaShowListRequest::getSid()const
|
||||
void AreaShowListRequest::setSid(long sid)
|
||||
{
|
||||
sid_ = sid;
|
||||
setParameter("Sid", std::to_string(sid));
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ AreaShowListResult::~AreaShowListResult()
|
||||
|
||||
void AreaShowListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string AreaUpdateRequest::getName()const
|
||||
void AreaUpdateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AreaUpdateRequest::getDids()const
|
||||
@@ -44,7 +44,7 @@ std::string AreaUpdateRequest::getDids()const
|
||||
void AreaUpdateRequest::setDids(const std::string& dids)
|
||||
{
|
||||
dids_ = dids;
|
||||
setParameter("Dids", dids);
|
||||
setCoreParameter("Dids", dids);
|
||||
}
|
||||
|
||||
long AreaUpdateRequest::getAid()const
|
||||
@@ -55,7 +55,7 @@ long AreaUpdateRequest::getAid()const
|
||||
void AreaUpdateRequest::setAid(long aid)
|
||||
{
|
||||
aid_ = aid;
|
||||
setParameter("Aid", std::to_string(aid));
|
||||
setCoreParameter("Aid", std::to_string(aid));
|
||||
}
|
||||
|
||||
std::string AreaUpdateRequest::getAccessKeyId()const
|
||||
@@ -66,7 +66,7 @@ std::string AreaUpdateRequest::getAccessKeyId()const
|
||||
void AreaUpdateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long AreaUpdateRequest::getSid()const
|
||||
@@ -77,6 +77,6 @@ long AreaUpdateRequest::getSid()const
|
||||
void AreaUpdateRequest::setSid(long sid)
|
||||
{
|
||||
sid_ = sid;
|
||||
setParameter("Sid", std::to_string(sid));
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ AreaUpdateResult::~AreaUpdateResult()
|
||||
|
||||
void AreaUpdateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string BatchChangeGroupApNameRequest::getJsonData()const
|
||||
void BatchChangeGroupApNameRequest::setJsonData(const std::string& jsonData)
|
||||
{
|
||||
jsonData_ = jsonData;
|
||||
setParameter("JsonData", jsonData);
|
||||
setCoreParameter("JsonData", jsonData);
|
||||
}
|
||||
|
||||
std::string BatchChangeGroupApNameRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string BatchChangeGroupApNameRequest::getAccessKeyId()const
|
||||
void BatchChangeGroupApNameRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ BatchChangeGroupApNameResult::~BatchChangeGroupApNameResult()
|
||||
|
||||
void BatchChangeGroupApNameResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string BatchRegisterApAssetRequest::getJsonData()const
|
||||
void BatchRegisterApAssetRequest::setJsonData(const std::string& jsonData)
|
||||
{
|
||||
jsonData_ = jsonData;
|
||||
setParameter("JsonData", jsonData);
|
||||
setCoreParameter("JsonData", jsonData);
|
||||
}
|
||||
|
||||
std::string BatchRegisterApAssetRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string BatchRegisterApAssetRequest::getAccessKeyId()const
|
||||
void BatchRegisterApAssetRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ BatchRegisterApAssetResult::~BatchRegisterApAssetResult()
|
||||
|
||||
void BatchRegisterApAssetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string BatchSaveApPositionRequest::getJsonData()const
|
||||
void BatchSaveApPositionRequest::setJsonData(const std::string& jsonData)
|
||||
{
|
||||
jsonData_ = jsonData;
|
||||
setParameter("JsonData", jsonData);
|
||||
setCoreParameter("JsonData", jsonData);
|
||||
}
|
||||
|
||||
std::string BatchSaveApPositionRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string BatchSaveApPositionRequest::getAccessKeyId()const
|
||||
void BatchSaveApPositionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ BatchSaveApPositionResult::~BatchSaveApPositionResult()
|
||||
|
||||
void BatchSaveApPositionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string BusinessCreateRequest::getBusinessCity()const
|
||||
void BusinessCreateRequest::setBusinessCity(const std::string& businessCity)
|
||||
{
|
||||
businessCity_ = businessCity;
|
||||
setParameter("BusinessCity", businessCity);
|
||||
setCoreParameter("BusinessCity", businessCity);
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getCombo()const
|
||||
@@ -44,7 +44,7 @@ std::string BusinessCreateRequest::getCombo()const
|
||||
void BusinessCreateRequest::setCombo(const std::string& combo)
|
||||
{
|
||||
combo_ = combo;
|
||||
setParameter("Combo", combo);
|
||||
setCoreParameter("Combo", combo);
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getWarnEmail()const
|
||||
@@ -55,7 +55,7 @@ std::string BusinessCreateRequest::getWarnEmail()const
|
||||
void BusinessCreateRequest::setWarnEmail(const std::string& warnEmail)
|
||||
{
|
||||
warnEmail_ = warnEmail;
|
||||
setParameter("WarnEmail", warnEmail);
|
||||
setCoreParameter("WarnEmail", warnEmail);
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getBusinessManager()const
|
||||
@@ -66,7 +66,7 @@ std::string BusinessCreateRequest::getBusinessManager()const
|
||||
void BusinessCreateRequest::setBusinessManager(const std::string& businessManager)
|
||||
{
|
||||
businessManager_ = businessManager;
|
||||
setParameter("BusinessManager", businessManager);
|
||||
setCoreParameter("BusinessManager", businessManager);
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getAccessKeyId()const
|
||||
@@ -77,7 +77,7 @@ std::string BusinessCreateRequest::getAccessKeyId()const
|
||||
void BusinessCreateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int BusinessCreateRequest::getBusinessType()const
|
||||
@@ -88,7 +88,7 @@ int BusinessCreateRequest::getBusinessType()const
|
||||
void BusinessCreateRequest::setBusinessType(int businessType)
|
||||
{
|
||||
businessType_ = businessType;
|
||||
setParameter("BusinessType", std::to_string(businessType));
|
||||
setCoreParameter("BusinessType", std::to_string(businessType));
|
||||
}
|
||||
|
||||
int BusinessCreateRequest::getWarn()const
|
||||
@@ -99,7 +99,7 @@ int BusinessCreateRequest::getWarn()const
|
||||
void BusinessCreateRequest::setWarn(int warn)
|
||||
{
|
||||
warn_ = warn;
|
||||
setParameter("Warn", std::to_string(warn));
|
||||
setCoreParameter("Warn", std::to_string(warn));
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getBusinessName()const
|
||||
@@ -110,7 +110,7 @@ std::string BusinessCreateRequest::getBusinessName()const
|
||||
void BusinessCreateRequest::setBusinessName(const std::string& businessName)
|
||||
{
|
||||
businessName_ = businessName;
|
||||
setParameter("BusinessName", businessName);
|
||||
setCoreParameter("BusinessName", businessName);
|
||||
}
|
||||
|
||||
int BusinessCreateRequest::getBusinessTopType()const
|
||||
@@ -121,7 +121,7 @@ int BusinessCreateRequest::getBusinessTopType()const
|
||||
void BusinessCreateRequest::setBusinessTopType(int businessTopType)
|
||||
{
|
||||
businessTopType_ = businessTopType;
|
||||
setParameter("BusinessTopType", std::to_string(businessTopType));
|
||||
setCoreParameter("BusinessTopType", std::to_string(businessTopType));
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getBusinessAddress()const
|
||||
@@ -132,7 +132,7 @@ std::string BusinessCreateRequest::getBusinessAddress()const
|
||||
void BusinessCreateRequest::setBusinessAddress(const std::string& businessAddress)
|
||||
{
|
||||
businessAddress_ = businessAddress;
|
||||
setParameter("BusinessAddress", businessAddress);
|
||||
setCoreParameter("BusinessAddress", businessAddress);
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getBusinessTel()const
|
||||
@@ -143,7 +143,7 @@ std::string BusinessCreateRequest::getBusinessTel()const
|
||||
void BusinessCreateRequest::setBusinessTel(const std::string& businessTel)
|
||||
{
|
||||
businessTel_ = businessTel;
|
||||
setParameter("BusinessTel", businessTel);
|
||||
setCoreParameter("BusinessTel", businessTel);
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getBusinessProvince()const
|
||||
@@ -154,7 +154,7 @@ std::string BusinessCreateRequest::getBusinessProvince()const
|
||||
void BusinessCreateRequest::setBusinessProvince(const std::string& businessProvince)
|
||||
{
|
||||
businessProvince_ = businessProvince;
|
||||
setParameter("BusinessProvince", businessProvince);
|
||||
setCoreParameter("BusinessProvince", businessProvince);
|
||||
}
|
||||
|
||||
int BusinessCreateRequest::getBusinessSubtype()const
|
||||
@@ -165,6 +165,6 @@ int BusinessCreateRequest::getBusinessSubtype()const
|
||||
void BusinessCreateRequest::setBusinessSubtype(int businessSubtype)
|
||||
{
|
||||
businessSubtype_ = businessSubtype;
|
||||
setParameter("BusinessSubtype", std::to_string(businessSubtype));
|
||||
setCoreParameter("BusinessSubtype", std::to_string(businessSubtype));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ BusinessCreateResult::~BusinessCreateResult()
|
||||
|
||||
void BusinessCreateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long BusinessInfoRequest::getBid()const
|
||||
void BusinessInfoRequest::setBid(long bid)
|
||||
{
|
||||
bid_ = bid;
|
||||
setParameter("Bid", std::to_string(bid));
|
||||
setCoreParameter("Bid", std::to_string(bid));
|
||||
}
|
||||
|
||||
std::string BusinessInfoRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string BusinessInfoRequest::getAccessKeyId()const
|
||||
void BusinessInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ BusinessInfoResult::~BusinessInfoResult()
|
||||
|
||||
void BusinessInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ int BusinessShowListRequest::getPage()const
|
||||
void BusinessShowListRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setParameter("Page", std::to_string(page));
|
||||
setCoreParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
int BusinessShowListRequest::getPer()const
|
||||
@@ -44,7 +44,7 @@ int BusinessShowListRequest::getPer()const
|
||||
void BusinessShowListRequest::setPer(int per)
|
||||
{
|
||||
per_ = per;
|
||||
setParameter("Per", std::to_string(per));
|
||||
setCoreParameter("Per", std::to_string(per));
|
||||
}
|
||||
|
||||
std::string BusinessShowListRequest::getAccessKeyId()const
|
||||
@@ -55,6 +55,6 @@ std::string BusinessShowListRequest::getAccessKeyId()const
|
||||
void BusinessShowListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ BusinessShowListResult::~BusinessShowListResult()
|
||||
|
||||
void BusinessShowListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ int BusinessUpdateRequest::getWarn()const
|
||||
void BusinessUpdateRequest::setWarn(int warn)
|
||||
{
|
||||
warn_ = warn;
|
||||
setParameter("Warn", std::to_string(warn));
|
||||
setCoreParameter("Warn", std::to_string(warn));
|
||||
}
|
||||
|
||||
std::string BusinessUpdateRequest::getBusinessCity()const
|
||||
@@ -44,7 +44,7 @@ std::string BusinessUpdateRequest::getBusinessCity()const
|
||||
void BusinessUpdateRequest::setBusinessCity(const std::string& businessCity)
|
||||
{
|
||||
businessCity_ = businessCity;
|
||||
setParameter("BusinessCity", businessCity);
|
||||
setCoreParameter("BusinessCity", businessCity);
|
||||
}
|
||||
|
||||
std::string BusinessUpdateRequest::getWarnEmail()const
|
||||
@@ -55,7 +55,7 @@ std::string BusinessUpdateRequest::getWarnEmail()const
|
||||
void BusinessUpdateRequest::setWarnEmail(const std::string& warnEmail)
|
||||
{
|
||||
warnEmail_ = warnEmail;
|
||||
setParameter("WarnEmail", warnEmail);
|
||||
setCoreParameter("WarnEmail", warnEmail);
|
||||
}
|
||||
|
||||
std::string BusinessUpdateRequest::getBusinessAddress()const
|
||||
@@ -66,7 +66,7 @@ std::string BusinessUpdateRequest::getBusinessAddress()const
|
||||
void BusinessUpdateRequest::setBusinessAddress(const std::string& businessAddress)
|
||||
{
|
||||
businessAddress_ = businessAddress;
|
||||
setParameter("BusinessAddress", businessAddress);
|
||||
setCoreParameter("BusinessAddress", businessAddress);
|
||||
}
|
||||
|
||||
long BusinessUpdateRequest::getBid()const
|
||||
@@ -77,7 +77,7 @@ long BusinessUpdateRequest::getBid()const
|
||||
void BusinessUpdateRequest::setBid(long bid)
|
||||
{
|
||||
bid_ = bid;
|
||||
setParameter("Bid", std::to_string(bid));
|
||||
setCoreParameter("Bid", std::to_string(bid));
|
||||
}
|
||||
|
||||
std::string BusinessUpdateRequest::getBusinessManager()const
|
||||
@@ -88,7 +88,7 @@ std::string BusinessUpdateRequest::getBusinessManager()const
|
||||
void BusinessUpdateRequest::setBusinessManager(const std::string& businessManager)
|
||||
{
|
||||
businessManager_ = businessManager;
|
||||
setParameter("BusinessManager", businessManager);
|
||||
setCoreParameter("BusinessManager", businessManager);
|
||||
}
|
||||
|
||||
std::string BusinessUpdateRequest::getBusinessProvince()const
|
||||
@@ -99,7 +99,7 @@ std::string BusinessUpdateRequest::getBusinessProvince()const
|
||||
void BusinessUpdateRequest::setBusinessProvince(const std::string& businessProvince)
|
||||
{
|
||||
businessProvince_ = businessProvince;
|
||||
setParameter("BusinessProvince", businessProvince);
|
||||
setCoreParameter("BusinessProvince", businessProvince);
|
||||
}
|
||||
|
||||
std::string BusinessUpdateRequest::getAccessKeyId()const
|
||||
@@ -110,6 +110,6 @@ std::string BusinessUpdateRequest::getAccessKeyId()const
|
||||
void BusinessUpdateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ BusinessUpdateResult::~BusinessUpdateResult()
|
||||
|
||||
void BusinessUpdateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string CeaseInstanceRequest::getTraceId()const
|
||||
void CeaseInstanceRequest::setTraceId(const std::string& traceId)
|
||||
{
|
||||
traceId_ = traceId;
|
||||
setParameter("TraceId", traceId);
|
||||
setCoreParameter("TraceId", traceId);
|
||||
}
|
||||
|
||||
std::string CeaseInstanceRequest::getSpMsg()const
|
||||
@@ -44,7 +44,7 @@ std::string CeaseInstanceRequest::getSpMsg()const
|
||||
void CeaseInstanceRequest::setSpMsg(const std::string& spMsg)
|
||||
{
|
||||
spMsg_ = spMsg;
|
||||
setParameter("SpMsg", spMsg);
|
||||
setCoreParameter("SpMsg", spMsg);
|
||||
}
|
||||
|
||||
std::string CeaseInstanceRequest::getAccessKeyId()const
|
||||
@@ -55,6 +55,6 @@ std::string CeaseInstanceRequest::getAccessKeyId()const
|
||||
void CeaseInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CeaseInstanceResult::~CeaseInstanceResult()
|
||||
|
||||
void CeaseInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
|
||||
@@ -33,6 +33,6 @@ std::string CheckRootPermissionRequest::getAccessKeyId()const
|
||||
void CheckRootPermissionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CheckRootPermissionResult::~CheckRootPermissionResult()
|
||||
|
||||
void CheckRootPermissionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,6 +33,6 @@ std::string CheckUmengDataAnalysisPermissionRequest::getAccessKeyId()const
|
||||
void CheckUmengDataAnalysisPermissionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CheckUmengDataAnalysisPermissionResult::~CheckUmengDataAnalysisPermissionResult(
|
||||
|
||||
void CheckUmengDataAnalysisPermissionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ int ConfigAutoRenewRequest::getOffsetDays()const
|
||||
void ConfigAutoRenewRequest::setOffsetDays(int offsetDays)
|
||||
{
|
||||
offsetDays_ = offsetDays;
|
||||
setParameter("OffsetDays", std::to_string(offsetDays));
|
||||
setCoreParameter("OffsetDays", std::to_string(offsetDays));
|
||||
}
|
||||
|
||||
int ConfigAutoRenewRequest::getMonths()const
|
||||
@@ -44,7 +44,7 @@ int ConfigAutoRenewRequest::getMonths()const
|
||||
void ConfigAutoRenewRequest::setMonths(int months)
|
||||
{
|
||||
months_ = months;
|
||||
setParameter("Months", std::to_string(months));
|
||||
setCoreParameter("Months", std::to_string(months));
|
||||
}
|
||||
|
||||
bool ConfigAutoRenewRequest::getAutoRenew()const
|
||||
@@ -55,7 +55,7 @@ bool ConfigAutoRenewRequest::getAutoRenew()const
|
||||
void ConfigAutoRenewRequest::setAutoRenew(bool autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
setCoreParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> ConfigAutoRenewRequest::getApList()const
|
||||
@@ -67,7 +67,7 @@ void ConfigAutoRenewRequest::setApList(const std::vector<std::string>& apList)
|
||||
{
|
||||
apList_ = apList;
|
||||
for(int i = 0; i!= apList.size(); i++)
|
||||
setParameter("ApList."+ std::to_string(i), apList.at(i));
|
||||
setCoreParameter("ApList."+ std::to_string(i), apList.at(i));
|
||||
}
|
||||
|
||||
std::string ConfigAutoRenewRequest::getAccessKeyId()const
|
||||
@@ -78,6 +78,6 @@ std::string ConfigAutoRenewRequest::getAccessKeyId()const
|
||||
void ConfigAutoRenewRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ ConfigAutoRenewResult::~ConfigAutoRenewResult()
|
||||
|
||||
void ConfigAutoRenewResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ int CreateRenewOrderRequest::getTimeCycleNum()const
|
||||
void CreateRenewOrderRequest::setTimeCycleNum(int timeCycleNum)
|
||||
{
|
||||
timeCycleNum_ = timeCycleNum;
|
||||
setParameter("TimeCycleNum", std::to_string(timeCycleNum));
|
||||
setCoreParameter("TimeCycleNum", std::to_string(timeCycleNum));
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateRenewOrderRequest::getApList()const
|
||||
@@ -45,7 +45,7 @@ void CreateRenewOrderRequest::setApList(const std::vector<std::string>& apList)
|
||||
{
|
||||
apList_ = apList;
|
||||
for(int i = 0; i!= apList.size(); i++)
|
||||
setParameter("ApList."+ std::to_string(i), apList.at(i));
|
||||
setCoreParameter("ApList."+ std::to_string(i), apList.at(i));
|
||||
}
|
||||
|
||||
std::string CreateRenewOrderRequest::getAccessKeyId()const
|
||||
@@ -56,6 +56,6 @@ std::string CreateRenewOrderRequest::getAccessKeyId()const
|
||||
void CreateRenewOrderRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateRenewOrderResult::~CreateRenewOrderResult()
|
||||
|
||||
void CreateRenewOrderResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long CreateSubAccountPermissionRequest::getUid()const
|
||||
void CreateSubAccountPermissionRequest::setUid(long uid)
|
||||
{
|
||||
uid_ = uid;
|
||||
setParameter("Uid", std::to_string(uid));
|
||||
setCoreParameter("Uid", std::to_string(uid));
|
||||
}
|
||||
|
||||
std::vector<long> CreateSubAccountPermissionRequest::getShopGroupIds()const
|
||||
@@ -45,7 +45,7 @@ void CreateSubAccountPermissionRequest::setShopGroupIds(const std::vector<long>&
|
||||
{
|
||||
shopGroupIds_ = shopGroupIds;
|
||||
for(int i = 0; i!= shopGroupIds.size(); i++)
|
||||
setParameter("ShopGroupIds."+ std::to_string(i), std::to_string(shopGroupIds.at(i)));
|
||||
setCoreParameter("ShopGroupIds."+ std::to_string(i), std::to_string(shopGroupIds.at(i)));
|
||||
}
|
||||
|
||||
std::vector<long> CreateSubAccountPermissionRequest::getShopIds()const
|
||||
@@ -57,7 +57,7 @@ void CreateSubAccountPermissionRequest::setShopIds(const std::vector<long>& shop
|
||||
{
|
||||
shopIds_ = shopIds;
|
||||
for(int i = 0; i!= shopIds.size(); i++)
|
||||
setParameter("ShopIds."+ std::to_string(i), std::to_string(shopIds.at(i)));
|
||||
setCoreParameter("ShopIds."+ std::to_string(i), std::to_string(shopIds.at(i)));
|
||||
}
|
||||
|
||||
std::string CreateSubAccountPermissionRequest::getPagePermission()const
|
||||
@@ -68,7 +68,7 @@ std::string CreateSubAccountPermissionRequest::getPagePermission()const
|
||||
void CreateSubAccountPermissionRequest::setPagePermission(const std::string& pagePermission)
|
||||
{
|
||||
pagePermission_ = pagePermission;
|
||||
setParameter("PagePermission", pagePermission);
|
||||
setCoreParameter("PagePermission", pagePermission);
|
||||
}
|
||||
|
||||
std::string CreateSubAccountPermissionRequest::getAccessKeyId()const
|
||||
@@ -79,7 +79,7 @@ std::string CreateSubAccountPermissionRequest::getAccessKeyId()const
|
||||
void CreateSubAccountPermissionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int CreateSubAccountPermissionRequest::getPermissionType()const
|
||||
@@ -90,7 +90,7 @@ int CreateSubAccountPermissionRequest::getPermissionType()const
|
||||
void CreateSubAccountPermissionRequest::setPermissionType(int permissionType)
|
||||
{
|
||||
permissionType_ = permissionType;
|
||||
setParameter("PermissionType", std::to_string(permissionType));
|
||||
setCoreParameter("PermissionType", std::to_string(permissionType));
|
||||
}
|
||||
|
||||
std::vector<long> CreateSubAccountPermissionRequest::getBusinessIds()const
|
||||
@@ -102,6 +102,6 @@ void CreateSubAccountPermissionRequest::setBusinessIds(const std::vector<long>&
|
||||
{
|
||||
businessIds_ = businessIds;
|
||||
for(int i = 0; i!= businessIds.size(); i++)
|
||||
setParameter("BusinessIds."+ std::to_string(i), std::to_string(businessIds.at(i)));
|
||||
setCoreParameter("BusinessIds."+ std::to_string(i), std::to_string(businessIds.at(i)));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateSubAccountPermissionResult::~CreateSubAccountPermissionResult()
|
||||
|
||||
void CreateSubAccountPermissionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long DelApPositionRequest::getApAssetId()const
|
||||
void DelApPositionRequest::setApAssetId(long apAssetId)
|
||||
{
|
||||
apAssetId_ = apAssetId;
|
||||
setParameter("ApAssetId", std::to_string(apAssetId));
|
||||
setCoreParameter("ApAssetId", std::to_string(apAssetId));
|
||||
}
|
||||
|
||||
long DelApPositionRequest::getMapId()const
|
||||
@@ -44,7 +44,7 @@ long DelApPositionRequest::getMapId()const
|
||||
void DelApPositionRequest::setMapId(long mapId)
|
||||
{
|
||||
mapId_ = mapId;
|
||||
setParameter("MapId", std::to_string(mapId));
|
||||
setCoreParameter("MapId", std::to_string(mapId));
|
||||
}
|
||||
|
||||
std::string DelApPositionRequest::getAccessKeyId()const
|
||||
@@ -55,6 +55,6 @@ std::string DelApPositionRequest::getAccessKeyId()const
|
||||
void DelApPositionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DelApPositionResult::~DelApPositionResult()
|
||||
|
||||
void DelApPositionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long DelPageConfigTemplateRequest::getId()const
|
||||
void DelPageConfigTemplateRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DelPageConfigTemplateRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string DelPageConfigTemplateRequest::getAccessKeyId()const
|
||||
void DelPageConfigTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DelPageConfigTemplateResult::~DelPageConfigTemplateResult()
|
||||
|
||||
void DelPageConfigTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long DelPortalTempRequest::getId()const
|
||||
void DelPortalTempRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DelPortalTempRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string DelPortalTempRequest::getAccessKeyId()const
|
||||
void DelPortalTempRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DelPortalTempResult::~DelPortalTempResult()
|
||||
|
||||
void DelPortalTempResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long DelSubAccountPermissionRequest::getId()const
|
||||
void DelSubAccountPermissionRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DelSubAccountPermissionRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string DelSubAccountPermissionRequest::getAccessKeyId()const
|
||||
void DelSubAccountPermissionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DelSubAccountPermissionResult::~DelSubAccountPermissionResult()
|
||||
|
||||
void DelSubAccountPermissionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long DelUmengPagePermission4RootRequest::getId()const
|
||||
void DelUmengPagePermission4RootRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DelUmengPagePermission4RootRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string DelUmengPagePermission4RootRequest::getAccessKeyId()const
|
||||
void DelUmengPagePermission4RootRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DelUmengPagePermission4RootResult::~DelUmengPagePermission4RootResult()
|
||||
|
||||
void DelUmengPagePermission4RootResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ int DeleteApRadioSsidConfigRequest::getInstantlyEffective()const
|
||||
void DeleteApRadioSsidConfigRequest::setInstantlyEffective(int instantlyEffective)
|
||||
{
|
||||
instantlyEffective_ = instantlyEffective;
|
||||
setParameter("InstantlyEffective", std::to_string(instantlyEffective));
|
||||
setCoreParameter("InstantlyEffective", std::to_string(instantlyEffective));
|
||||
}
|
||||
|
||||
long DeleteApRadioSsidConfigRequest::getId()const
|
||||
@@ -44,7 +44,7 @@ long DeleteApRadioSsidConfigRequest::getId()const
|
||||
void DeleteApRadioSsidConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DeleteApRadioSsidConfigRequest::getAccessKeyId()const
|
||||
@@ -55,6 +55,6 @@ std::string DeleteApRadioSsidConfigRequest::getAccessKeyId()const
|
||||
void DeleteApRadioSsidConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteApRadioSsidConfigResult::~DeleteApRadioSsidConfigResult()
|
||||
|
||||
void DeleteApRadioSsidConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long DeleteApgroupConfigRequest::getId()const
|
||||
void DeleteApgroupConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DeleteApgroupConfigRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string DeleteApgroupConfigRequest::getAccessKeyId()const
|
||||
void DeleteApgroupConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteApgroupConfigResult::~DeleteApgroupConfigResult()
|
||||
|
||||
void DeleteApgroupConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long DeleteApgroupSsidConfigRequest::getApgroupId()const
|
||||
void DeleteApgroupSsidConfigRequest::setApgroupId(long apgroupId)
|
||||
{
|
||||
apgroupId_ = apgroupId;
|
||||
setParameter("ApgroupId", std::to_string(apgroupId));
|
||||
setCoreParameter("ApgroupId", std::to_string(apgroupId));
|
||||
}
|
||||
|
||||
long DeleteApgroupSsidConfigRequest::getId()const
|
||||
@@ -44,7 +44,7 @@ long DeleteApgroupSsidConfigRequest::getId()const
|
||||
void DeleteApgroupSsidConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DeleteApgroupSsidConfigRequest::getAccessKeyId()const
|
||||
@@ -55,6 +55,6 @@ std::string DeleteApgroupSsidConfigRequest::getAccessKeyId()const
|
||||
void DeleteApgroupSsidConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteApgroupSsidConfigResult::~DeleteApgroupSsidConfigResult()
|
||||
|
||||
void DeleteApgroupSsidConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long DeletePositionMapRequest::getMapId()const
|
||||
void DeletePositionMapRequest::setMapId(long mapId)
|
||||
{
|
||||
mapId_ = mapId;
|
||||
setParameter("MapId", std::to_string(mapId));
|
||||
setCoreParameter("MapId", std::to_string(mapId));
|
||||
}
|
||||
|
||||
std::string DeletePositionMapRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string DeletePositionMapRequest::getAccessKeyId()const
|
||||
void DeletePositionMapRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeletePositionMapResult::~DeletePositionMapResult()
|
||||
|
||||
void DeletePositionMapResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DeviceBatchCreateRequest::getSn()const
|
||||
void DeviceBatchCreateRequest::setSn(const std::string& sn)
|
||||
{
|
||||
sn_ = sn;
|
||||
setParameter("Sn", sn);
|
||||
setCoreParameter("Sn", sn);
|
||||
}
|
||||
|
||||
int DeviceBatchCreateRequest::getDeviceType()const
|
||||
@@ -44,7 +44,7 @@ int DeviceBatchCreateRequest::getDeviceType()const
|
||||
void DeviceBatchCreateRequest::setDeviceType(int deviceType)
|
||||
{
|
||||
deviceType_ = deviceType;
|
||||
setParameter("DeviceType", std::to_string(deviceType));
|
||||
setCoreParameter("DeviceType", std::to_string(deviceType));
|
||||
}
|
||||
|
||||
std::string DeviceBatchCreateRequest::getAccessKeyId()const
|
||||
@@ -55,6 +55,6 @@ std::string DeviceBatchCreateRequest::getAccessKeyId()const
|
||||
void DeviceBatchCreateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeviceBatchCreateResult::~DeviceBatchCreateResult()
|
||||
|
||||
void DeviceBatchCreateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DeviceCreateRequest::getDeviceNum()const
|
||||
void DeviceCreateRequest::setDeviceNum(const std::string& deviceNum)
|
||||
{
|
||||
deviceNum_ = deviceNum;
|
||||
setParameter("DeviceNum", deviceNum);
|
||||
setCoreParameter("DeviceNum", deviceNum);
|
||||
}
|
||||
|
||||
std::string DeviceCreateRequest::getDevicePosition()const
|
||||
@@ -44,7 +44,7 @@ std::string DeviceCreateRequest::getDevicePosition()const
|
||||
void DeviceCreateRequest::setDevicePosition(const std::string& devicePosition)
|
||||
{
|
||||
devicePosition_ = devicePosition;
|
||||
setParameter("DevicePosition", devicePosition);
|
||||
setCoreParameter("DevicePosition", devicePosition);
|
||||
}
|
||||
|
||||
std::string DeviceCreateRequest::getDeviceName()const
|
||||
@@ -55,7 +55,7 @@ std::string DeviceCreateRequest::getDeviceName()const
|
||||
void DeviceCreateRequest::setDeviceName(const std::string& deviceName)
|
||||
{
|
||||
deviceName_ = deviceName;
|
||||
setParameter("DeviceName", deviceName);
|
||||
setCoreParameter("DeviceName", deviceName);
|
||||
}
|
||||
|
||||
int DeviceCreateRequest::getDeviceType()const
|
||||
@@ -66,7 +66,7 @@ int DeviceCreateRequest::getDeviceType()const
|
||||
void DeviceCreateRequest::setDeviceType(int deviceType)
|
||||
{
|
||||
deviceType_ = deviceType;
|
||||
setParameter("DeviceType", std::to_string(deviceType));
|
||||
setCoreParameter("DeviceType", std::to_string(deviceType));
|
||||
}
|
||||
|
||||
std::string DeviceCreateRequest::getAccessKeyId()const
|
||||
@@ -77,7 +77,7 @@ std::string DeviceCreateRequest::getAccessKeyId()const
|
||||
void DeviceCreateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long DeviceCreateRequest::getSid()const
|
||||
@@ -88,6 +88,6 @@ long DeviceCreateRequest::getSid()const
|
||||
void DeviceCreateRequest::setSid(long sid)
|
||||
{
|
||||
sid_ = sid;
|
||||
setParameter("Sid", std::to_string(sid));
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeviceCreateResult::~DeviceCreateResult()
|
||||
|
||||
void DeviceCreateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long DeviceDeleteRequest::getDid()const
|
||||
void DeviceDeleteRequest::setDid(long did)
|
||||
{
|
||||
did_ = did;
|
||||
setParameter("Did", std::to_string(did));
|
||||
setCoreParameter("Did", std::to_string(did));
|
||||
}
|
||||
|
||||
std::string DeviceDeleteRequest::getMac()const
|
||||
@@ -44,7 +44,7 @@ std::string DeviceDeleteRequest::getMac()const
|
||||
void DeviceDeleteRequest::setMac(const std::string& mac)
|
||||
{
|
||||
mac_ = mac;
|
||||
setParameter("Mac", mac);
|
||||
setCoreParameter("Mac", mac);
|
||||
}
|
||||
|
||||
std::string DeviceDeleteRequest::getAccessKeyId()const
|
||||
@@ -55,6 +55,6 @@ std::string DeviceDeleteRequest::getAccessKeyId()const
|
||||
void DeviceDeleteRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeviceDeleteResult::~DeviceDeleteResult()
|
||||
|
||||
void DeviceDeleteResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DeviceShowListRequest::getDirc()const
|
||||
void DeviceShowListRequest::setDirc(const std::string& dirc)
|
||||
{
|
||||
dirc_ = dirc;
|
||||
setParameter("Dirc", dirc);
|
||||
setCoreParameter("Dirc", dirc);
|
||||
}
|
||||
|
||||
int DeviceShowListRequest::getPage()const
|
||||
@@ -44,7 +44,7 @@ int DeviceShowListRequest::getPage()const
|
||||
void DeviceShowListRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setParameter("Page", std::to_string(page));
|
||||
setCoreParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
int DeviceShowListRequest::getPer()const
|
||||
@@ -55,7 +55,7 @@ int DeviceShowListRequest::getPer()const
|
||||
void DeviceShowListRequest::setPer(int per)
|
||||
{
|
||||
per_ = per;
|
||||
setParameter("Per", std::to_string(per));
|
||||
setCoreParameter("Per", std::to_string(per));
|
||||
}
|
||||
|
||||
int DeviceShowListRequest::getDeviceType()const
|
||||
@@ -66,7 +66,7 @@ int DeviceShowListRequest::getDeviceType()const
|
||||
void DeviceShowListRequest::setDeviceType(int deviceType)
|
||||
{
|
||||
deviceType_ = deviceType;
|
||||
setParameter("DeviceType", std::to_string(deviceType));
|
||||
setCoreParameter("DeviceType", std::to_string(deviceType));
|
||||
}
|
||||
|
||||
std::string DeviceShowListRequest::getAccessKeyId()const
|
||||
@@ -77,7 +77,7 @@ std::string DeviceShowListRequest::getAccessKeyId()const
|
||||
void DeviceShowListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long DeviceShowListRequest::getSid()const
|
||||
@@ -88,6 +88,6 @@ long DeviceShowListRequest::getSid()const
|
||||
void DeviceShowListRequest::setSid(long sid)
|
||||
{
|
||||
sid_ = sid;
|
||||
setParameter("Sid", std::to_string(sid));
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeviceShowListResult::~DeviceShowListResult()
|
||||
|
||||
void DeviceShowListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DeviceUpdateRequest::getDevicePosition()const
|
||||
void DeviceUpdateRequest::setDevicePosition(const std::string& devicePosition)
|
||||
{
|
||||
devicePosition_ = devicePosition;
|
||||
setParameter("DevicePosition", devicePosition);
|
||||
setCoreParameter("DevicePosition", devicePosition);
|
||||
}
|
||||
|
||||
std::string DeviceUpdateRequest::getDeviceName()const
|
||||
@@ -44,7 +44,7 @@ std::string DeviceUpdateRequest::getDeviceName()const
|
||||
void DeviceUpdateRequest::setDeviceName(const std::string& deviceName)
|
||||
{
|
||||
deviceName_ = deviceName;
|
||||
setParameter("DeviceName", deviceName);
|
||||
setCoreParameter("DeviceName", deviceName);
|
||||
}
|
||||
|
||||
long DeviceUpdateRequest::getDid()const
|
||||
@@ -55,7 +55,7 @@ long DeviceUpdateRequest::getDid()const
|
||||
void DeviceUpdateRequest::setDid(long did)
|
||||
{
|
||||
did_ = did;
|
||||
setParameter("Did", std::to_string(did));
|
||||
setCoreParameter("Did", std::to_string(did));
|
||||
}
|
||||
|
||||
std::string DeviceUpdateRequest::getAccessKeyId()const
|
||||
@@ -66,6 +66,6 @@ std::string DeviceUpdateRequest::getAccessKeyId()const
|
||||
void DeviceUpdateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeviceUpdateResult::~DeviceUpdateResult()
|
||||
|
||||
void DeviceUpdateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string ExcelToJsonRequest::getUploadData()const
|
||||
void ExcelToJsonRequest::setUploadData(const std::string& uploadData)
|
||||
{
|
||||
uploadData_ = uploadData;
|
||||
setParameter("UploadData", uploadData);
|
||||
setCoreParameter("UploadData", uploadData);
|
||||
}
|
||||
|
||||
std::string ExcelToJsonRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string ExcelToJsonRequest::getAccessKeyId()const
|
||||
void ExcelToJsonRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ ExcelToJsonResult::~ExcelToJsonResult()
|
||||
|
||||
void ExcelToJsonResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long FindApRequest::getId()const
|
||||
void FindApRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string FindApRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string FindApRequest::getAccessKeyId()const
|
||||
void FindApRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ FindApResult::~FindApResult()
|
||||
|
||||
void FindApResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long FrequencyAnalyseRequest::getGsid()const
|
||||
void FrequencyAnalyseRequest::setGsid(long gsid)
|
||||
{
|
||||
gsid_ = gsid;
|
||||
setParameter("Gsid", std::to_string(gsid));
|
||||
setCoreParameter("Gsid", std::to_string(gsid));
|
||||
}
|
||||
|
||||
std::string FrequencyAnalyseRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string FrequencyAnalyseRequest::getAccessKeyId()const
|
||||
void FrequencyAnalyseRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ FrequencyAnalyseResult::~FrequencyAnalyseResult()
|
||||
|
||||
void FrequencyAnalyseResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long GetAccountConfigRequest::getId()const
|
||||
void GetAccountConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetAccountConfigRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string GetAccountConfigRequest::getAccessKeyId()const
|
||||
void GetAccountConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetAccountConfigResult::~GetAccountConfigResult()
|
||||
|
||||
void GetAccountConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long GetAddApsProgressRequest::getId()const
|
||||
void GetAddApsProgressRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetAddApsProgressRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string GetAddApsProgressRequest::getAccessKeyId()const
|
||||
void GetAddApsProgressRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetAddApsProgressResult::~GetAddApsProgressResult()
|
||||
|
||||
void GetAddApsProgressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -34,7 +34,7 @@ void GetAllActiveShopByGroupRequest::setGids(const std::vector<long>& gids)
|
||||
{
|
||||
gids_ = gids;
|
||||
for(int i = 0; i!= gids.size(); i++)
|
||||
setParameter("Gids."+ std::to_string(i), std::to_string(gids.at(i)));
|
||||
setCoreParameter("Gids."+ std::to_string(i), std::to_string(gids.at(i)));
|
||||
}
|
||||
|
||||
long GetAllActiveShopByGroupRequest::getBid()const
|
||||
@@ -45,7 +45,7 @@ long GetAllActiveShopByGroupRequest::getBid()const
|
||||
void GetAllActiveShopByGroupRequest::setBid(long bid)
|
||||
{
|
||||
bid_ = bid;
|
||||
setParameter("Bid", std::to_string(bid));
|
||||
setCoreParameter("Bid", std::to_string(bid));
|
||||
}
|
||||
|
||||
std::string GetAllActiveShopByGroupRequest::getAccessKeyId()const
|
||||
@@ -56,6 +56,6 @@ std::string GetAllActiveShopByGroupRequest::getAccessKeyId()const
|
||||
void GetAllActiveShopByGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetAllActiveShopByGroupResult::~GetAllActiveShopByGroupResult()
|
||||
|
||||
void GetAllActiveShopByGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,6 +33,6 @@ std::string GetAllApModelRequest::getAccessKeyId()const
|
||||
void GetAllApModelRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetAllApModelResult::~GetAllApModelResult()
|
||||
|
||||
void GetAllApModelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long GetApDetailedConfigRequest::getId()const
|
||||
void GetApDetailedConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetApDetailedConfigRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string GetApDetailedConfigRequest::getAccessKeyId()const
|
||||
void GetApDetailedConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetApDetailedConfigResult::~GetApDetailedConfigResult()
|
||||
|
||||
void GetApDetailedConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long GetApDetailedStatusRequest::getId()const
|
||||
void GetApDetailedStatusRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetApDetailedStatusRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string GetApDetailedStatusRequest::getAccessKeyId()const
|
||||
void GetApDetailedStatusRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetApDetailedStatusResult::~GetApDetailedStatusResult()
|
||||
|
||||
void GetApDetailedStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ int GetApPortalBindRequest::getConfigType()const
|
||||
void GetApPortalBindRequest::setConfigType(int configType)
|
||||
{
|
||||
configType_ = configType;
|
||||
setParameter("ConfigType", std::to_string(configType));
|
||||
setCoreParameter("ConfigType", std::to_string(configType));
|
||||
}
|
||||
|
||||
long GetApPortalBindRequest::getBindId()const
|
||||
@@ -44,7 +44,7 @@ long GetApPortalBindRequest::getBindId()const
|
||||
void GetApPortalBindRequest::setBindId(long bindId)
|
||||
{
|
||||
bindId_ = bindId;
|
||||
setParameter("BindId", std::to_string(bindId));
|
||||
setCoreParameter("BindId", std::to_string(bindId));
|
||||
}
|
||||
|
||||
std::string GetApPortalBindRequest::getAccessKeyId()const
|
||||
@@ -55,6 +55,6 @@ std::string GetApPortalBindRequest::getAccessKeyId()const
|
||||
void GetApPortalBindRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetApPortalBindResult::~GetApPortalBindResult()
|
||||
|
||||
void GetApPortalBindResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long GetApRunHistoryTimeSerRequest::getStart()const
|
||||
void GetApRunHistoryTimeSerRequest::setStart(long start)
|
||||
{
|
||||
start_ = start;
|
||||
setParameter("Start", std::to_string(start));
|
||||
setCoreParameter("Start", std::to_string(start));
|
||||
}
|
||||
|
||||
long GetApRunHistoryTimeSerRequest::getEnd()const
|
||||
@@ -44,7 +44,7 @@ long GetApRunHistoryTimeSerRequest::getEnd()const
|
||||
void GetApRunHistoryTimeSerRequest::setEnd(long end)
|
||||
{
|
||||
end_ = end;
|
||||
setParameter("End", std::to_string(end));
|
||||
setCoreParameter("End", std::to_string(end));
|
||||
}
|
||||
|
||||
long GetApRunHistoryTimeSerRequest::getId()const
|
||||
@@ -55,7 +55,7 @@ long GetApRunHistoryTimeSerRequest::getId()const
|
||||
void GetApRunHistoryTimeSerRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetApRunHistoryTimeSerRequest::getAccessKeyId()const
|
||||
@@ -66,6 +66,6 @@ std::string GetApRunHistoryTimeSerRequest::getAccessKeyId()const
|
||||
void GetApRunHistoryTimeSerRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetApRunHistoryTimeSerResult::~GetApRunHistoryTimeSerResult()
|
||||
|
||||
void GetApRunHistoryTimeSerResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long GetApStaMiscAggRequest::getApgroupId()const
|
||||
void GetApStaMiscAggRequest::setApgroupId(long apgroupId)
|
||||
{
|
||||
apgroupId_ = apgroupId;
|
||||
setParameter("ApgroupId", std::to_string(apgroupId));
|
||||
setCoreParameter("ApgroupId", std::to_string(apgroupId));
|
||||
}
|
||||
|
||||
std::string GetApStaMiscAggRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string GetApStaMiscAggRequest::getAccessKeyId()const
|
||||
void GetApStaMiscAggRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetApStaMiscAggResult::~GetApStaMiscAggResult()
|
||||
|
||||
void GetApStaMiscAggResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long GetApTopRequest::getApgroupId()const
|
||||
void GetApTopRequest::setApgroupId(long apgroupId)
|
||||
{
|
||||
apgroupId_ = apgroupId;
|
||||
setParameter("ApgroupId", std::to_string(apgroupId));
|
||||
setCoreParameter("ApgroupId", std::to_string(apgroupId));
|
||||
}
|
||||
|
||||
std::string GetApTopRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string GetApTopRequest::getAccessKeyId()const
|
||||
void GetApTopRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetApTopResult::~GetApTopResult()
|
||||
|
||||
void GetApTopResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ long GetApgroupConfigProgressRequest::getId()const
|
||||
void GetApgroupConfigProgressRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetApgroupConfigProgressRequest::getAccessKeyId()const
|
||||
@@ -44,6 +44,6 @@ std::string GetApgroupConfigProgressRequest::getAccessKeyId()const
|
||||
void GetApgroupConfigProgressRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetApgroupConfigProgressResult::~GetApgroupConfigProgressResult()
|
||||
|
||||
void GetApgroupConfigProgressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user