Generate SDK by new Generator
This commit is contained in:
@@ -25,28 +25,6 @@ AddApgroupConfigRequest::AddApgroupConfigRequest() :
|
||||
AddApgroupConfigRequest::~AddApgroupConfigRequest()
|
||||
{}
|
||||
|
||||
long AddApgroupConfigRequest::getParentApgroupId()const
|
||||
{
|
||||
return parentApgroupId_;
|
||||
}
|
||||
|
||||
void AddApgroupConfigRequest::setParentApgroupId(long parentApgroupId)
|
||||
{
|
||||
parentApgroupId_ = parentApgroupId;
|
||||
setCoreParameter("ParentApgroupId", std::to_string(parentApgroupId));
|
||||
}
|
||||
|
||||
std::string AddApgroupConfigRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddApgroupConfigRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddApgroupConfigRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -69,3 +47,25 @@ void AddApgroupConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long AddApgroupConfigRequest::getParentApgroupId()const
|
||||
{
|
||||
return parentApgroupId_;
|
||||
}
|
||||
|
||||
void AddApgroupConfigRequest::setParentApgroupId(long parentApgroupId)
|
||||
{
|
||||
parentApgroupId_ = parentApgroupId;
|
||||
setCoreParameter("ParentApgroupId", std::to_string(parentApgroupId));
|
||||
}
|
||||
|
||||
std::string AddApgroupConfigRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddApgroupConfigRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddApgroupConfigResult::~AddApgroupConfigResult()
|
||||
|
||||
void AddApgroupConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ AliyunRegisterApAssetResult::~AliyunRegisterApAssetResult()
|
||||
|
||||
void AliyunRegisterApAssetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ ApgroupBatchAddApRequest::ApgroupBatchAddApRequest() :
|
||||
ApgroupBatchAddApRequest::~ApgroupBatchAddApRequest()
|
||||
{}
|
||||
|
||||
std::string ApgroupBatchAddApRequest::getApAssetIds()const
|
||||
{
|
||||
return apAssetIds_;
|
||||
}
|
||||
|
||||
void ApgroupBatchAddApRequest::setApAssetIds(const std::string& apAssetIds)
|
||||
{
|
||||
apAssetIds_ = apAssetIds;
|
||||
setCoreParameter("ApAssetIds", apAssetIds);
|
||||
}
|
||||
|
||||
long ApgroupBatchAddApRequest::getApgroupId()const
|
||||
{
|
||||
return apgroupId_;
|
||||
@@ -58,3 +47,14 @@ void ApgroupBatchAddApRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ApgroupBatchAddApRequest::getApAssetIds()const
|
||||
{
|
||||
return apAssetIds_;
|
||||
}
|
||||
|
||||
void ApgroupBatchAddApRequest::setApAssetIds(const std::string& apAssetIds)
|
||||
{
|
||||
apAssetIds_ = apAssetIds;
|
||||
setCoreParameter("ApAssetIds", apAssetIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ApgroupBatchAddApResult::~ApgroupBatchAddApResult()
|
||||
|
||||
void ApgroupBatchAddApResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ ApgroupBatchDeleteApRequest::ApgroupBatchDeleteApRequest() :
|
||||
ApgroupBatchDeleteApRequest::~ApgroupBatchDeleteApRequest()
|
||||
{}
|
||||
|
||||
std::string ApgroupBatchDeleteApRequest::getApAssetIds()const
|
||||
{
|
||||
return apAssetIds_;
|
||||
}
|
||||
|
||||
void ApgroupBatchDeleteApRequest::setApAssetIds(const std::string& apAssetIds)
|
||||
{
|
||||
apAssetIds_ = apAssetIds;
|
||||
setCoreParameter("ApAssetIds", apAssetIds);
|
||||
}
|
||||
|
||||
std::string ApgroupBatchDeleteApRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void ApgroupBatchDeleteApRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ApgroupBatchDeleteApRequest::getApAssetIds()const
|
||||
{
|
||||
return apAssetIds_;
|
||||
}
|
||||
|
||||
void ApgroupBatchDeleteApRequest::setApAssetIds(const std::string& apAssetIds)
|
||||
{
|
||||
apAssetIds_ = apAssetIds;
|
||||
setCoreParameter("ApAssetIds", apAssetIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ApgroupBatchDeleteApResult::~ApgroupBatchDeleteApResult()
|
||||
|
||||
void ApgroupBatchDeleteApResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,28 +25,6 @@ AreaCreateRequest::AreaCreateRequest() :
|
||||
AreaCreateRequest::~AreaCreateRequest()
|
||||
{}
|
||||
|
||||
std::string AreaCreateRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AreaCreateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AreaCreateRequest::getDids()const
|
||||
{
|
||||
return dids_;
|
||||
}
|
||||
|
||||
void AreaCreateRequest::setDids(const std::string& dids)
|
||||
{
|
||||
dids_ = dids;
|
||||
setCoreParameter("Dids", dids);
|
||||
}
|
||||
|
||||
std::string AreaCreateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -69,3 +47,25 @@ void AreaCreateRequest::setSid(long sid)
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
std::string AreaCreateRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AreaCreateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AreaCreateRequest::getDids()const
|
||||
{
|
||||
return dids_;
|
||||
}
|
||||
|
||||
void AreaCreateRequest::setDids(const std::string& dids)
|
||||
{
|
||||
dids_ = dids;
|
||||
setCoreParameter("Dids", dids);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AreaCreateResult::~AreaCreateResult()
|
||||
|
||||
void AreaCreateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ AreaDeleteRequest::AreaDeleteRequest() :
|
||||
AreaDeleteRequest::~AreaDeleteRequest()
|
||||
{}
|
||||
|
||||
long AreaDeleteRequest::getAid()const
|
||||
{
|
||||
return aid_;
|
||||
}
|
||||
|
||||
void AreaDeleteRequest::setAid(long aid)
|
||||
{
|
||||
aid_ = aid;
|
||||
setCoreParameter("Aid", std::to_string(aid));
|
||||
}
|
||||
|
||||
std::string AreaDeleteRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -58,3 +47,14 @@ void AreaDeleteRequest::setSid(long sid)
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
long AreaDeleteRequest::getAid()const
|
||||
{
|
||||
return aid_;
|
||||
}
|
||||
|
||||
void AreaDeleteRequest::setAid(long aid)
|
||||
{
|
||||
aid_ = aid;
|
||||
setCoreParameter("Aid", std::to_string(aid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AreaDeleteResult::~AreaDeleteResult()
|
||||
|
||||
void AreaDeleteResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ AreaInfoRequest::AreaInfoRequest() :
|
||||
AreaInfoRequest::~AreaInfoRequest()
|
||||
{}
|
||||
|
||||
long AreaInfoRequest::getAid()const
|
||||
{
|
||||
return aid_;
|
||||
}
|
||||
|
||||
void AreaInfoRequest::setAid(long aid)
|
||||
{
|
||||
aid_ = aid;
|
||||
setCoreParameter("Aid", std::to_string(aid));
|
||||
}
|
||||
|
||||
std::string AreaInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -58,3 +47,14 @@ void AreaInfoRequest::setSid(long sid)
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
long AreaInfoRequest::getAid()const
|
||||
{
|
||||
return aid_;
|
||||
}
|
||||
|
||||
void AreaInfoRequest::setAid(long aid)
|
||||
{
|
||||
aid_ = aid;
|
||||
setCoreParameter("Aid", std::to_string(aid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AreaInfoResult::~AreaInfoResult()
|
||||
|
||||
void AreaInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,28 +25,6 @@ AreaShowListRequest::AreaShowListRequest() :
|
||||
AreaShowListRequest::~AreaShowListRequest()
|
||||
{}
|
||||
|
||||
int AreaShowListRequest::getPage()const
|
||||
{
|
||||
return page_;
|
||||
}
|
||||
|
||||
void AreaShowListRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setCoreParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
int AreaShowListRequest::getPer()const
|
||||
{
|
||||
return per_;
|
||||
}
|
||||
|
||||
void AreaShowListRequest::setPer(int per)
|
||||
{
|
||||
per_ = per;
|
||||
setCoreParameter("Per", std::to_string(per));
|
||||
}
|
||||
|
||||
std::string AreaShowListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -69,3 +47,25 @@ void AreaShowListRequest::setSid(long sid)
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
int AreaShowListRequest::getPage()const
|
||||
{
|
||||
return page_;
|
||||
}
|
||||
|
||||
void AreaShowListRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setCoreParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
int AreaShowListRequest::getPer()const
|
||||
{
|
||||
return per_;
|
||||
}
|
||||
|
||||
void AreaShowListRequest::setPer(int per)
|
||||
{
|
||||
per_ = per;
|
||||
setCoreParameter("Per", std::to_string(per));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AreaShowListResult::~AreaShowListResult()
|
||||
|
||||
void AreaShowListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,6 +25,28 @@ AreaUpdateRequest::AreaUpdateRequest() :
|
||||
AreaUpdateRequest::~AreaUpdateRequest()
|
||||
{}
|
||||
|
||||
std::string AreaUpdateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AreaUpdateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long AreaUpdateRequest::getSid()const
|
||||
{
|
||||
return sid_;
|
||||
}
|
||||
|
||||
void AreaUpdateRequest::setSid(long sid)
|
||||
{
|
||||
sid_ = sid;
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
std::string AreaUpdateRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
@@ -58,25 +80,3 @@ void AreaUpdateRequest::setAid(long aid)
|
||||
setCoreParameter("Aid", std::to_string(aid));
|
||||
}
|
||||
|
||||
std::string AreaUpdateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AreaUpdateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long AreaUpdateRequest::getSid()const
|
||||
{
|
||||
return sid_;
|
||||
}
|
||||
|
||||
void AreaUpdateRequest::setSid(long sid)
|
||||
{
|
||||
sid_ = sid;
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AreaUpdateResult::~AreaUpdateResult()
|
||||
|
||||
void AreaUpdateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ BatchChangeGroupApNameResult::~BatchChangeGroupApNameResult()
|
||||
|
||||
void BatchChangeGroupApNameResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ BatchRegisterApAssetResult::~BatchRegisterApAssetResult()
|
||||
|
||||
void BatchRegisterApAssetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ BatchSaveApPositionResult::~BatchSaveApPositionResult()
|
||||
|
||||
void BatchSaveApPositionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -36,17 +36,6 @@ void BusinessCreateRequest::setBusinessCity(const std::string& businessCity)
|
||||
setCoreParameter("BusinessCity", businessCity);
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getCombo()const
|
||||
{
|
||||
return combo_;
|
||||
}
|
||||
|
||||
void BusinessCreateRequest::setCombo(const std::string& combo)
|
||||
{
|
||||
combo_ = combo;
|
||||
setCoreParameter("Combo", combo);
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getWarnEmail()const
|
||||
{
|
||||
return warnEmail_;
|
||||
@@ -58,17 +47,6 @@ void BusinessCreateRequest::setWarnEmail(const std::string& warnEmail)
|
||||
setCoreParameter("WarnEmail", warnEmail);
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getBusinessManager()const
|
||||
{
|
||||
return businessManager_;
|
||||
}
|
||||
|
||||
void BusinessCreateRequest::setBusinessManager(const std::string& businessManager)
|
||||
{
|
||||
businessManager_ = businessManager;
|
||||
setCoreParameter("BusinessManager", businessManager);
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -91,28 +69,6 @@ void BusinessCreateRequest::setBusinessType(int businessType)
|
||||
setCoreParameter("BusinessType", std::to_string(businessType));
|
||||
}
|
||||
|
||||
int BusinessCreateRequest::getWarn()const
|
||||
{
|
||||
return warn_;
|
||||
}
|
||||
|
||||
void BusinessCreateRequest::setWarn(int warn)
|
||||
{
|
||||
warn_ = warn;
|
||||
setCoreParameter("Warn", std::to_string(warn));
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getBusinessName()const
|
||||
{
|
||||
return businessName_;
|
||||
}
|
||||
|
||||
void BusinessCreateRequest::setBusinessName(const std::string& businessName)
|
||||
{
|
||||
businessName_ = businessName;
|
||||
setCoreParameter("BusinessName", businessName);
|
||||
}
|
||||
|
||||
int BusinessCreateRequest::getBusinessTopType()const
|
||||
{
|
||||
return businessTopType_;
|
||||
@@ -124,17 +80,6 @@ void BusinessCreateRequest::setBusinessTopType(int businessTopType)
|
||||
setCoreParameter("BusinessTopType", std::to_string(businessTopType));
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getBusinessAddress()const
|
||||
{
|
||||
return businessAddress_;
|
||||
}
|
||||
|
||||
void BusinessCreateRequest::setBusinessAddress(const std::string& businessAddress)
|
||||
{
|
||||
businessAddress_ = businessAddress;
|
||||
setCoreParameter("BusinessAddress", businessAddress);
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getBusinessTel()const
|
||||
{
|
||||
return businessTel_;
|
||||
@@ -168,3 +113,58 @@ void BusinessCreateRequest::setBusinessSubtype(int businessSubtype)
|
||||
setCoreParameter("BusinessSubtype", std::to_string(businessSubtype));
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getCombo()const
|
||||
{
|
||||
return combo_;
|
||||
}
|
||||
|
||||
void BusinessCreateRequest::setCombo(const std::string& combo)
|
||||
{
|
||||
combo_ = combo;
|
||||
setCoreParameter("Combo", combo);
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getBusinessManager()const
|
||||
{
|
||||
return businessManager_;
|
||||
}
|
||||
|
||||
void BusinessCreateRequest::setBusinessManager(const std::string& businessManager)
|
||||
{
|
||||
businessManager_ = businessManager;
|
||||
setCoreParameter("BusinessManager", businessManager);
|
||||
}
|
||||
|
||||
int BusinessCreateRequest::getWarn()const
|
||||
{
|
||||
return warn_;
|
||||
}
|
||||
|
||||
void BusinessCreateRequest::setWarn(int warn)
|
||||
{
|
||||
warn_ = warn;
|
||||
setCoreParameter("Warn", std::to_string(warn));
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getBusinessName()const
|
||||
{
|
||||
return businessName_;
|
||||
}
|
||||
|
||||
void BusinessCreateRequest::setBusinessName(const std::string& businessName)
|
||||
{
|
||||
businessName_ = businessName;
|
||||
setCoreParameter("BusinessName", businessName);
|
||||
}
|
||||
|
||||
std::string BusinessCreateRequest::getBusinessAddress()const
|
||||
{
|
||||
return businessAddress_;
|
||||
}
|
||||
|
||||
void BusinessCreateRequest::setBusinessAddress(const std::string& businessAddress)
|
||||
{
|
||||
businessAddress_ = businessAddress;
|
||||
setCoreParameter("BusinessAddress", businessAddress);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ BusinessCreateResult::~BusinessCreateResult()
|
||||
|
||||
void BusinessCreateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ BusinessInfoRequest::BusinessInfoRequest() :
|
||||
BusinessInfoRequest::~BusinessInfoRequest()
|
||||
{}
|
||||
|
||||
long BusinessInfoRequest::getBid()const
|
||||
{
|
||||
return bid_;
|
||||
}
|
||||
|
||||
void BusinessInfoRequest::setBid(long bid)
|
||||
{
|
||||
bid_ = bid;
|
||||
setCoreParameter("Bid", std::to_string(bid));
|
||||
}
|
||||
|
||||
std::string BusinessInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void BusinessInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long BusinessInfoRequest::getBid()const
|
||||
{
|
||||
return bid_;
|
||||
}
|
||||
|
||||
void BusinessInfoRequest::setBid(long bid)
|
||||
{
|
||||
bid_ = bid;
|
||||
setCoreParameter("Bid", std::to_string(bid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ BusinessInfoResult::~BusinessInfoResult()
|
||||
|
||||
void BusinessInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,6 +25,17 @@ BusinessShowListRequest::BusinessShowListRequest() :
|
||||
BusinessShowListRequest::~BusinessShowListRequest()
|
||||
{}
|
||||
|
||||
std::string BusinessShowListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void BusinessShowListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int BusinessShowListRequest::getPage()const
|
||||
{
|
||||
return page_;
|
||||
@@ -47,14 +58,3 @@ void BusinessShowListRequest::setPer(int per)
|
||||
setCoreParameter("Per", std::to_string(per));
|
||||
}
|
||||
|
||||
std::string BusinessShowListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void BusinessShowListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ BusinessShowListResult::~BusinessShowListResult()
|
||||
|
||||
void BusinessShowListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ BusinessUpdateRequest::BusinessUpdateRequest() :
|
||||
BusinessUpdateRequest::~BusinessUpdateRequest()
|
||||
{}
|
||||
|
||||
int BusinessUpdateRequest::getWarn()const
|
||||
{
|
||||
return warn_;
|
||||
}
|
||||
|
||||
void BusinessUpdateRequest::setWarn(int warn)
|
||||
{
|
||||
warn_ = warn;
|
||||
setCoreParameter("Warn", std::to_string(warn));
|
||||
}
|
||||
|
||||
std::string BusinessUpdateRequest::getBusinessCity()const
|
||||
{
|
||||
return businessCity_;
|
||||
@@ -58,6 +47,39 @@ void BusinessUpdateRequest::setWarnEmail(const std::string& warnEmail)
|
||||
setCoreParameter("WarnEmail", warnEmail);
|
||||
}
|
||||
|
||||
std::string BusinessUpdateRequest::getBusinessManager()const
|
||||
{
|
||||
return businessManager_;
|
||||
}
|
||||
|
||||
void BusinessUpdateRequest::setBusinessManager(const std::string& businessManager)
|
||||
{
|
||||
businessManager_ = businessManager;
|
||||
setCoreParameter("BusinessManager", businessManager);
|
||||
}
|
||||
|
||||
std::string BusinessUpdateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void BusinessUpdateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int BusinessUpdateRequest::getWarn()const
|
||||
{
|
||||
return warn_;
|
||||
}
|
||||
|
||||
void BusinessUpdateRequest::setWarn(int warn)
|
||||
{
|
||||
warn_ = warn;
|
||||
setCoreParameter("Warn", std::to_string(warn));
|
||||
}
|
||||
|
||||
std::string BusinessUpdateRequest::getBusinessAddress()const
|
||||
{
|
||||
return businessAddress_;
|
||||
@@ -80,17 +102,6 @@ void BusinessUpdateRequest::setBid(long bid)
|
||||
setCoreParameter("Bid", std::to_string(bid));
|
||||
}
|
||||
|
||||
std::string BusinessUpdateRequest::getBusinessManager()const
|
||||
{
|
||||
return businessManager_;
|
||||
}
|
||||
|
||||
void BusinessUpdateRequest::setBusinessManager(const std::string& businessManager)
|
||||
{
|
||||
businessManager_ = businessManager;
|
||||
setCoreParameter("BusinessManager", businessManager);
|
||||
}
|
||||
|
||||
std::string BusinessUpdateRequest::getBusinessProvince()const
|
||||
{
|
||||
return businessProvince_;
|
||||
@@ -102,14 +113,3 @@ void BusinessUpdateRequest::setBusinessProvince(const std::string& businessProvi
|
||||
setCoreParameter("BusinessProvince", businessProvince);
|
||||
}
|
||||
|
||||
std::string BusinessUpdateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void BusinessUpdateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ BusinessUpdateResult::~BusinessUpdateResult()
|
||||
|
||||
void BusinessUpdateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ CeaseInstanceResult::~CeaseInstanceResult()
|
||||
|
||||
void CeaseInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ CheckRootPermissionResult::~CheckRootPermissionResult()
|
||||
|
||||
void CheckRootPermissionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ CheckUmengDataAnalysisPermissionResult::~CheckUmengDataAnalysisPermissionResult(
|
||||
|
||||
void CheckUmengDataAnalysisPermissionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -47,17 +47,6 @@ void ConfigAutoRenewRequest::setMonths(int months)
|
||||
setCoreParameter("Months", std::to_string(months));
|
||||
}
|
||||
|
||||
bool ConfigAutoRenewRequest::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
void ConfigAutoRenewRequest::setAutoRenew(bool autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setCoreParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> ConfigAutoRenewRequest::getApList()const
|
||||
{
|
||||
return apList_;
|
||||
@@ -81,3 +70,14 @@ void ConfigAutoRenewRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool ConfigAutoRenewRequest::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
void ConfigAutoRenewRequest::setAutoRenew(bool autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setCoreParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ConfigAutoRenewResult::~ConfigAutoRenewResult()
|
||||
|
||||
void ConfigAutoRenewResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateRenewOrderResult::~CreateRenewOrderResult()
|
||||
|
||||
void CreateRenewOrderResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ CreateSubAccountPermissionRequest::CreateSubAccountPermissionRequest() :
|
||||
CreateSubAccountPermissionRequest::~CreateSubAccountPermissionRequest()
|
||||
{}
|
||||
|
||||
long CreateSubAccountPermissionRequest::getUid()const
|
||||
{
|
||||
return uid_;
|
||||
}
|
||||
|
||||
void CreateSubAccountPermissionRequest::setUid(long uid)
|
||||
{
|
||||
uid_ = uid;
|
||||
setCoreParameter("Uid", std::to_string(uid));
|
||||
}
|
||||
|
||||
std::vector<long> CreateSubAccountPermissionRequest::getShopGroupIds()const
|
||||
{
|
||||
return shopGroupIds_;
|
||||
@@ -48,6 +37,28 @@ void CreateSubAccountPermissionRequest::setShopGroupIds(const std::vector<long>&
|
||||
setCoreParameter("ShopGroupIds."+ std::to_string(i), std::to_string(shopGroupIds.at(i)));
|
||||
}
|
||||
|
||||
std::string CreateSubAccountPermissionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateSubAccountPermissionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long CreateSubAccountPermissionRequest::getUid()const
|
||||
{
|
||||
return uid_;
|
||||
}
|
||||
|
||||
void CreateSubAccountPermissionRequest::setUid(long uid)
|
||||
{
|
||||
uid_ = uid;
|
||||
setCoreParameter("Uid", std::to_string(uid));
|
||||
}
|
||||
|
||||
std::vector<long> CreateSubAccountPermissionRequest::getShopIds()const
|
||||
{
|
||||
return shopIds_;
|
||||
@@ -71,17 +82,6 @@ void CreateSubAccountPermissionRequest::setPagePermission(const std::string& pag
|
||||
setCoreParameter("PagePermission", pagePermission);
|
||||
}
|
||||
|
||||
std::string CreateSubAccountPermissionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateSubAccountPermissionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int CreateSubAccountPermissionRequest::getPermissionType()const
|
||||
{
|
||||
return permissionType_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateSubAccountPermissionResult::~CreateSubAccountPermissionResult()
|
||||
|
||||
void CreateSubAccountPermissionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,6 +25,17 @@ DelApPositionRequest::DelApPositionRequest() :
|
||||
DelApPositionRequest::~DelApPositionRequest()
|
||||
{}
|
||||
|
||||
std::string DelApPositionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DelApPositionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long DelApPositionRequest::getApAssetId()const
|
||||
{
|
||||
return apAssetId_;
|
||||
@@ -47,14 +58,3 @@ void DelApPositionRequest::setMapId(long mapId)
|
||||
setCoreParameter("MapId", std::to_string(mapId));
|
||||
}
|
||||
|
||||
std::string DelApPositionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DelApPositionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DelApPositionResult::~DelApPositionResult()
|
||||
|
||||
void DelApPositionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ DelPageConfigTemplateRequest::DelPageConfigTemplateRequest() :
|
||||
DelPageConfigTemplateRequest::~DelPageConfigTemplateRequest()
|
||||
{}
|
||||
|
||||
long DelPageConfigTemplateRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void DelPageConfigTemplateRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DelPageConfigTemplateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void DelPageConfigTemplateRequest::setAccessKeyId(const std::string& accessKeyId
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long DelPageConfigTemplateRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void DelPageConfigTemplateRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DelPageConfigTemplateResult::~DelPageConfigTemplateResult()
|
||||
|
||||
void DelPageConfigTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ DelPortalTempRequest::DelPortalTempRequest() :
|
||||
DelPortalTempRequest::~DelPortalTempRequest()
|
||||
{}
|
||||
|
||||
long DelPortalTempRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void DelPortalTempRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DelPortalTempRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void DelPortalTempRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long DelPortalTempRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void DelPortalTempRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DelPortalTempResult::~DelPortalTempResult()
|
||||
|
||||
void DelPortalTempResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ DelSubAccountPermissionRequest::DelSubAccountPermissionRequest() :
|
||||
DelSubAccountPermissionRequest::~DelSubAccountPermissionRequest()
|
||||
{}
|
||||
|
||||
long DelSubAccountPermissionRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void DelSubAccountPermissionRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DelSubAccountPermissionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void DelSubAccountPermissionRequest::setAccessKeyId(const std::string& accessKey
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long DelSubAccountPermissionRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void DelSubAccountPermissionRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DelSubAccountPermissionResult::~DelSubAccountPermissionResult()
|
||||
|
||||
void DelSubAccountPermissionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ DelUmengPagePermission4RootRequest::DelUmengPagePermission4RootRequest() :
|
||||
DelUmengPagePermission4RootRequest::~DelUmengPagePermission4RootRequest()
|
||||
{}
|
||||
|
||||
long DelUmengPagePermission4RootRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void DelUmengPagePermission4RootRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DelUmengPagePermission4RootRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void DelUmengPagePermission4RootRequest::setAccessKeyId(const std::string& acces
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long DelUmengPagePermission4RootRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void DelUmengPagePermission4RootRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DelUmengPagePermission4RootResult::~DelUmengPagePermission4RootResult()
|
||||
|
||||
void DelUmengPagePermission4RootResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,6 +25,17 @@ DeleteApRadioSsidConfigRequest::DeleteApRadioSsidConfigRequest() :
|
||||
DeleteApRadioSsidConfigRequest::~DeleteApRadioSsidConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteApRadioSsidConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteApRadioSsidConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int DeleteApRadioSsidConfigRequest::getInstantlyEffective()const
|
||||
{
|
||||
return instantlyEffective_;
|
||||
@@ -47,14 +58,3 @@ void DeleteApRadioSsidConfigRequest::setId(long id)
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DeleteApRadioSsidConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteApRadioSsidConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteApRadioSsidConfigResult::~DeleteApRadioSsidConfigResult()
|
||||
|
||||
void DeleteApRadioSsidConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ DeleteApgroupConfigRequest::DeleteApgroupConfigRequest() :
|
||||
DeleteApgroupConfigRequest::~DeleteApgroupConfigRequest()
|
||||
{}
|
||||
|
||||
long DeleteApgroupConfigRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void DeleteApgroupConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DeleteApgroupConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void DeleteApgroupConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long DeleteApgroupConfigRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void DeleteApgroupConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteApgroupConfigResult::~DeleteApgroupConfigResult()
|
||||
|
||||
void DeleteApgroupConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -36,17 +36,6 @@ void DeleteApgroupSsidConfigRequest::setApgroupId(long apgroupId)
|
||||
setCoreParameter("ApgroupId", std::to_string(apgroupId));
|
||||
}
|
||||
|
||||
long DeleteApgroupSsidConfigRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void DeleteApgroupSsidConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DeleteApgroupSsidConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -58,3 +47,14 @@ void DeleteApgroupSsidConfigRequest::setAccessKeyId(const std::string& accessKey
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long DeleteApgroupSsidConfigRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void DeleteApgroupSsidConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteApgroupSsidConfigResult::~DeleteApgroupSsidConfigResult()
|
||||
|
||||
void DeleteApgroupSsidConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ DeletePositionMapRequest::DeletePositionMapRequest() :
|
||||
DeletePositionMapRequest::~DeletePositionMapRequest()
|
||||
{}
|
||||
|
||||
long DeletePositionMapRequest::getMapId()const
|
||||
{
|
||||
return mapId_;
|
||||
}
|
||||
|
||||
void DeletePositionMapRequest::setMapId(long mapId)
|
||||
{
|
||||
mapId_ = mapId;
|
||||
setCoreParameter("MapId", std::to_string(mapId));
|
||||
}
|
||||
|
||||
std::string DeletePositionMapRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void DeletePositionMapRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long DeletePositionMapRequest::getMapId()const
|
||||
{
|
||||
return mapId_;
|
||||
}
|
||||
|
||||
void DeletePositionMapRequest::setMapId(long mapId)
|
||||
{
|
||||
mapId_ = mapId;
|
||||
setCoreParameter("MapId", std::to_string(mapId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeletePositionMapResult::~DeletePositionMapResult()
|
||||
|
||||
void DeletePositionMapResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ DeviceBatchCreateRequest::DeviceBatchCreateRequest() :
|
||||
DeviceBatchCreateRequest::~DeviceBatchCreateRequest()
|
||||
{}
|
||||
|
||||
std::string DeviceBatchCreateRequest::getSn()const
|
||||
{
|
||||
return sn_;
|
||||
}
|
||||
|
||||
void DeviceBatchCreateRequest::setSn(const std::string& sn)
|
||||
{
|
||||
sn_ = sn;
|
||||
setCoreParameter("Sn", sn);
|
||||
}
|
||||
|
||||
int DeviceBatchCreateRequest::getDeviceType()const
|
||||
{
|
||||
return deviceType_;
|
||||
@@ -58,3 +47,14 @@ void DeviceBatchCreateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeviceBatchCreateRequest::getSn()const
|
||||
{
|
||||
return sn_;
|
||||
}
|
||||
|
||||
void DeviceBatchCreateRequest::setSn(const std::string& sn)
|
||||
{
|
||||
sn_ = sn;
|
||||
setCoreParameter("Sn", sn);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeviceBatchCreateResult::~DeviceBatchCreateResult()
|
||||
|
||||
void DeviceBatchCreateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ DeviceCreateRequest::DeviceCreateRequest() :
|
||||
DeviceCreateRequest::~DeviceCreateRequest()
|
||||
{}
|
||||
|
||||
std::string DeviceCreateRequest::getDeviceNum()const
|
||||
{
|
||||
return deviceNum_;
|
||||
}
|
||||
|
||||
void DeviceCreateRequest::setDeviceNum(const std::string& deviceNum)
|
||||
{
|
||||
deviceNum_ = deviceNum;
|
||||
setCoreParameter("DeviceNum", deviceNum);
|
||||
}
|
||||
|
||||
std::string DeviceCreateRequest::getDevicePosition()const
|
||||
{
|
||||
return devicePosition_;
|
||||
@@ -47,17 +36,6 @@ void DeviceCreateRequest::setDevicePosition(const std::string& devicePosition)
|
||||
setCoreParameter("DevicePosition", devicePosition);
|
||||
}
|
||||
|
||||
std::string DeviceCreateRequest::getDeviceName()const
|
||||
{
|
||||
return deviceName_;
|
||||
}
|
||||
|
||||
void DeviceCreateRequest::setDeviceName(const std::string& deviceName)
|
||||
{
|
||||
deviceName_ = deviceName;
|
||||
setCoreParameter("DeviceName", deviceName);
|
||||
}
|
||||
|
||||
int DeviceCreateRequest::getDeviceType()const
|
||||
{
|
||||
return deviceType_;
|
||||
@@ -91,3 +69,25 @@ void DeviceCreateRequest::setSid(long sid)
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
std::string DeviceCreateRequest::getDeviceNum()const
|
||||
{
|
||||
return deviceNum_;
|
||||
}
|
||||
|
||||
void DeviceCreateRequest::setDeviceNum(const std::string& deviceNum)
|
||||
{
|
||||
deviceNum_ = deviceNum;
|
||||
setCoreParameter("DeviceNum", deviceNum);
|
||||
}
|
||||
|
||||
std::string DeviceCreateRequest::getDeviceName()const
|
||||
{
|
||||
return deviceName_;
|
||||
}
|
||||
|
||||
void DeviceCreateRequest::setDeviceName(const std::string& deviceName)
|
||||
{
|
||||
deviceName_ = deviceName;
|
||||
setCoreParameter("DeviceName", deviceName);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeviceCreateResult::~DeviceCreateResult()
|
||||
|
||||
void DeviceCreateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ DeviceDeleteRequest::DeviceDeleteRequest() :
|
||||
DeviceDeleteRequest::~DeviceDeleteRequest()
|
||||
{}
|
||||
|
||||
long DeviceDeleteRequest::getDid()const
|
||||
{
|
||||
return did_;
|
||||
}
|
||||
|
||||
void DeviceDeleteRequest::setDid(long did)
|
||||
{
|
||||
did_ = did;
|
||||
setCoreParameter("Did", std::to_string(did));
|
||||
}
|
||||
|
||||
std::string DeviceDeleteRequest::getMac()const
|
||||
{
|
||||
return mac_;
|
||||
@@ -58,3 +47,14 @@ void DeviceDeleteRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long DeviceDeleteRequest::getDid()const
|
||||
{
|
||||
return did_;
|
||||
}
|
||||
|
||||
void DeviceDeleteRequest::setDid(long did)
|
||||
{
|
||||
did_ = did;
|
||||
setCoreParameter("Did", std::to_string(did));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeviceDeleteResult::~DeviceDeleteResult()
|
||||
|
||||
void DeviceDeleteResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,39 +25,6 @@ DeviceShowListRequest::DeviceShowListRequest() :
|
||||
DeviceShowListRequest::~DeviceShowListRequest()
|
||||
{}
|
||||
|
||||
std::string DeviceShowListRequest::getDirc()const
|
||||
{
|
||||
return dirc_;
|
||||
}
|
||||
|
||||
void DeviceShowListRequest::setDirc(const std::string& dirc)
|
||||
{
|
||||
dirc_ = dirc;
|
||||
setCoreParameter("Dirc", dirc);
|
||||
}
|
||||
|
||||
int DeviceShowListRequest::getPage()const
|
||||
{
|
||||
return page_;
|
||||
}
|
||||
|
||||
void DeviceShowListRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setCoreParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
int DeviceShowListRequest::getPer()const
|
||||
{
|
||||
return per_;
|
||||
}
|
||||
|
||||
void DeviceShowListRequest::setPer(int per)
|
||||
{
|
||||
per_ = per;
|
||||
setCoreParameter("Per", std::to_string(per));
|
||||
}
|
||||
|
||||
int DeviceShowListRequest::getDeviceType()const
|
||||
{
|
||||
return deviceType_;
|
||||
@@ -91,3 +58,36 @@ void DeviceShowListRequest::setSid(long sid)
|
||||
setCoreParameter("Sid", std::to_string(sid));
|
||||
}
|
||||
|
||||
std::string DeviceShowListRequest::getDirc()const
|
||||
{
|
||||
return dirc_;
|
||||
}
|
||||
|
||||
void DeviceShowListRequest::setDirc(const std::string& dirc)
|
||||
{
|
||||
dirc_ = dirc;
|
||||
setCoreParameter("Dirc", dirc);
|
||||
}
|
||||
|
||||
int DeviceShowListRequest::getPage()const
|
||||
{
|
||||
return page_;
|
||||
}
|
||||
|
||||
void DeviceShowListRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setCoreParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
int DeviceShowListRequest::getPer()const
|
||||
{
|
||||
return per_;
|
||||
}
|
||||
|
||||
void DeviceShowListRequest::setPer(int per)
|
||||
{
|
||||
per_ = per;
|
||||
setCoreParameter("Per", std::to_string(per));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeviceShowListResult::~DeviceShowListResult()
|
||||
|
||||
void DeviceShowListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -36,6 +36,17 @@ void DeviceUpdateRequest::setDevicePosition(const std::string& devicePosition)
|
||||
setCoreParameter("DevicePosition", devicePosition);
|
||||
}
|
||||
|
||||
std::string DeviceUpdateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeviceUpdateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeviceUpdateRequest::getDeviceName()const
|
||||
{
|
||||
return deviceName_;
|
||||
@@ -58,14 +69,3 @@ void DeviceUpdateRequest::setDid(long did)
|
||||
setCoreParameter("Did", std::to_string(did));
|
||||
}
|
||||
|
||||
std::string DeviceUpdateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeviceUpdateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeviceUpdateResult::~DeviceUpdateResult()
|
||||
|
||||
void DeviceUpdateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ ExcelToJsonResult::~ExcelToJsonResult()
|
||||
|
||||
void ExcelToJsonResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ FindApRequest::FindApRequest() :
|
||||
FindApRequest::~FindApRequest()
|
||||
{}
|
||||
|
||||
long FindApRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void FindApRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string FindApRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void FindApRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long FindApRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void FindApRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ FindApResult::~FindApResult()
|
||||
|
||||
void FindApResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ FrequencyAnalyseRequest::FrequencyAnalyseRequest() :
|
||||
FrequencyAnalyseRequest::~FrequencyAnalyseRequest()
|
||||
{}
|
||||
|
||||
long FrequencyAnalyseRequest::getGsid()const
|
||||
{
|
||||
return gsid_;
|
||||
}
|
||||
|
||||
void FrequencyAnalyseRequest::setGsid(long gsid)
|
||||
{
|
||||
gsid_ = gsid;
|
||||
setCoreParameter("Gsid", std::to_string(gsid));
|
||||
}
|
||||
|
||||
std::string FrequencyAnalyseRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void FrequencyAnalyseRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long FrequencyAnalyseRequest::getGsid()const
|
||||
{
|
||||
return gsid_;
|
||||
}
|
||||
|
||||
void FrequencyAnalyseRequest::setGsid(long gsid)
|
||||
{
|
||||
gsid_ = gsid;
|
||||
setCoreParameter("Gsid", std::to_string(gsid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ FrequencyAnalyseResult::~FrequencyAnalyseResult()
|
||||
|
||||
void FrequencyAnalyseResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ GetAccountConfigRequest::GetAccountConfigRequest() :
|
||||
GetAccountConfigRequest::~GetAccountConfigRequest()
|
||||
{}
|
||||
|
||||
long GetAccountConfigRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetAccountConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetAccountConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void GetAccountConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long GetAccountConfigRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetAccountConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ GetAccountConfigResult::~GetAccountConfigResult()
|
||||
|
||||
void GetAccountConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ GetAddApsProgressRequest::GetAddApsProgressRequest() :
|
||||
GetAddApsProgressRequest::~GetAddApsProgressRequest()
|
||||
{}
|
||||
|
||||
long GetAddApsProgressRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetAddApsProgressRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetAddApsProgressRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void GetAddApsProgressRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long GetAddApsProgressRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetAddApsProgressRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ GetAddApsProgressResult::~GetAddApsProgressResult()
|
||||
|
||||
void GetAddApsProgressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -37,17 +37,6 @@ void GetAllActiveShopByGroupRequest::setGids(const std::vector<long>& gids)
|
||||
setCoreParameter("Gids."+ std::to_string(i), std::to_string(gids.at(i)));
|
||||
}
|
||||
|
||||
long GetAllActiveShopByGroupRequest::getBid()const
|
||||
{
|
||||
return bid_;
|
||||
}
|
||||
|
||||
void GetAllActiveShopByGroupRequest::setBid(long bid)
|
||||
{
|
||||
bid_ = bid;
|
||||
setCoreParameter("Bid", std::to_string(bid));
|
||||
}
|
||||
|
||||
std::string GetAllActiveShopByGroupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -59,3 +48,14 @@ void GetAllActiveShopByGroupRequest::setAccessKeyId(const std::string& accessKey
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long GetAllActiveShopByGroupRequest::getBid()const
|
||||
{
|
||||
return bid_;
|
||||
}
|
||||
|
||||
void GetAllActiveShopByGroupRequest::setBid(long bid)
|
||||
{
|
||||
bid_ = bid;
|
||||
setCoreParameter("Bid", std::to_string(bid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ GetAllActiveShopByGroupResult::~GetAllActiveShopByGroupResult()
|
||||
|
||||
void GetAllActiveShopByGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ GetAllApModelResult::~GetAllApModelResult()
|
||||
|
||||
void GetAllApModelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ GetApDetailedConfigRequest::GetApDetailedConfigRequest() :
|
||||
GetApDetailedConfigRequest::~GetApDetailedConfigRequest()
|
||||
{}
|
||||
|
||||
long GetApDetailedConfigRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetApDetailedConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetApDetailedConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void GetApDetailedConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long GetApDetailedConfigRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetApDetailedConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ GetApDetailedConfigResult::~GetApDetailedConfigResult()
|
||||
|
||||
void GetApDetailedConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ GetApDetailedStatusRequest::GetApDetailedStatusRequest() :
|
||||
GetApDetailedStatusRequest::~GetApDetailedStatusRequest()
|
||||
{}
|
||||
|
||||
long GetApDetailedStatusRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetApDetailedStatusRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetApDetailedStatusRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void GetApDetailedStatusRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long GetApDetailedStatusRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetApDetailedStatusRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ GetApDetailedStatusResult::~GetApDetailedStatusResult()
|
||||
|
||||
void GetApDetailedStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ GetApPortalBindResult::~GetApPortalBindResult()
|
||||
|
||||
void GetApPortalBindResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -36,6 +36,17 @@ void GetApRunHistoryTimeSerRequest::setStart(long start)
|
||||
setCoreParameter("Start", std::to_string(start));
|
||||
}
|
||||
|
||||
std::string GetApRunHistoryTimeSerRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetApRunHistoryTimeSerRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long GetApRunHistoryTimeSerRequest::getEnd()const
|
||||
{
|
||||
return end_;
|
||||
@@ -58,14 +69,3 @@ void GetApRunHistoryTimeSerRequest::setId(long id)
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetApRunHistoryTimeSerRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetApRunHistoryTimeSerRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ GetApRunHistoryTimeSerResult::~GetApRunHistoryTimeSerResult()
|
||||
|
||||
void GetApRunHistoryTimeSerResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ GetApStaMiscAggResult::~GetApStaMiscAggResult()
|
||||
|
||||
void GetApStaMiscAggResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ GetApTopResult::~GetApTopResult()
|
||||
|
||||
void GetApTopResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ GetApgroupConfigProgressRequest::GetApgroupConfigProgressRequest() :
|
||||
GetApgroupConfigProgressRequest::~GetApgroupConfigProgressRequest()
|
||||
{}
|
||||
|
||||
long GetApgroupConfigProgressRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetApgroupConfigProgressRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetApgroupConfigProgressRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void GetApgroupConfigProgressRequest::setAccessKeyId(const std::string& accessKe
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long GetApgroupConfigProgressRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetApgroupConfigProgressRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ GetApgroupConfigProgressResult::~GetApgroupConfigProgressResult()
|
||||
|
||||
void GetApgroupConfigProgressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ GetApgroupDetailedConfigRequest::GetApgroupDetailedConfigRequest() :
|
||||
GetApgroupDetailedConfigRequest::~GetApgroupDetailedConfigRequest()
|
||||
{}
|
||||
|
||||
long GetApgroupDetailedConfigRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetApgroupDetailedConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetApgroupDetailedConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void GetApgroupDetailedConfigRequest::setAccessKeyId(const std::string& accessKe
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long GetApgroupDetailedConfigRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetApgroupDetailedConfigRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ GetApgroupDetailedConfigResult::~GetApgroupDetailedConfigResult()
|
||||
|
||||
void GetApgroupDetailedConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ GetApgroupPortalConfigProgressRequest::GetApgroupPortalConfigProgressRequest() :
|
||||
GetApgroupPortalConfigProgressRequest::~GetApgroupPortalConfigProgressRequest()
|
||||
{}
|
||||
|
||||
long GetApgroupPortalConfigProgressRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetApgroupPortalConfigProgressRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetApgroupPortalConfigProgressRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void GetApgroupPortalConfigProgressRequest::setAccessKeyId(const std::string& ac
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long GetApgroupPortalConfigProgressRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetApgroupPortalConfigProgressRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ GetApgroupPortalConfigProgressResult::~GetApgroupPortalConfigProgressResult()
|
||||
|
||||
void GetApgroupPortalConfigProgressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ GetApgroupScanConfigSaveProgressRequest::GetApgroupScanConfigSaveProgressRequest
|
||||
GetApgroupScanConfigSaveProgressRequest::~GetApgroupScanConfigSaveProgressRequest()
|
||||
{}
|
||||
|
||||
long GetApgroupScanConfigSaveProgressRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetApgroupScanConfigSaveProgressRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetApgroupScanConfigSaveProgressRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void GetApgroupScanConfigSaveProgressRequest::setAccessKeyId(const std::string&
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long GetApgroupScanConfigSaveProgressRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetApgroupScanConfigSaveProgressRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ GetApgroupScanConfigSaveProgressResult::~GetApgroupScanConfigSaveProgressResult(
|
||||
|
||||
void GetApgroupScanConfigSaveProgressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ GetApgroupSsidConfigProgressRequest::GetApgroupSsidConfigProgressRequest() :
|
||||
GetApgroupSsidConfigProgressRequest::~GetApgroupSsidConfigProgressRequest()
|
||||
{}
|
||||
|
||||
long GetApgroupSsidConfigProgressRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetApgroupSsidConfigProgressRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string GetApgroupSsidConfigProgressRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void GetApgroupSsidConfigProgressRequest::setAccessKeyId(const std::string& acce
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long GetApgroupSsidConfigProgressRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetApgroupSsidConfigProgressRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ GetApgroupSsidConfigProgressResult::~GetApgroupSsidConfigProgressResult()
|
||||
|
||||
void GetApgroupSsidConfigProgressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ GetBatchSaveApAssetProgressResult::~GetBatchSaveApAssetProgressResult()
|
||||
|
||||
void GetBatchSaveApAssetProgressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -36,17 +36,6 @@ void GetBidRequest::setLength(int length)
|
||||
setCoreParameter("Length", std::to_string(length));
|
||||
}
|
||||
|
||||
int GetBidRequest::getPageIndex()const
|
||||
{
|
||||
return pageIndex_;
|
||||
}
|
||||
|
||||
void GetBidRequest::setPageIndex(int pageIndex)
|
||||
{
|
||||
pageIndex_ = pageIndex;
|
||||
setCoreParameter("PageIndex", std::to_string(pageIndex));
|
||||
}
|
||||
|
||||
std::string GetBidRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -58,3 +47,14 @@ void GetBidRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int GetBidRequest::getPageIndex()const
|
||||
{
|
||||
return pageIndex_;
|
||||
}
|
||||
|
||||
void GetBidRequest::setPageIndex(int pageIndex)
|
||||
{
|
||||
pageIndex_ = pageIndex;
|
||||
setCoreParameter("PageIndex", std::to_string(pageIndex));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ GetBidResult::~GetBidResult()
|
||||
|
||||
void GetBidResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ GetBids4Uid4RootRequest::GetBids4Uid4RootRequest() :
|
||||
GetBids4Uid4RootRequest::~GetBids4Uid4RootRequest()
|
||||
{}
|
||||
|
||||
long GetBids4Uid4RootRequest::getUid()const
|
||||
{
|
||||
return uid_;
|
||||
}
|
||||
|
||||
void GetBids4Uid4RootRequest::setUid(long uid)
|
||||
{
|
||||
uid_ = uid;
|
||||
setCoreParameter("Uid", std::to_string(uid));
|
||||
}
|
||||
|
||||
std::string GetBids4Uid4RootRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -47,3 +36,14 @@ void GetBids4Uid4RootRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long GetBids4Uid4RootRequest::getUid()const
|
||||
{
|
||||
return uid_;
|
||||
}
|
||||
|
||||
void GetBids4Uid4RootRequest::setUid(long uid)
|
||||
{
|
||||
uid_ = uid;
|
||||
setCoreParameter("Uid", std::to_string(uid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ GetBids4Uid4RootResult::~GetBids4Uid4RootResult()
|
||||
|
||||
void GetBids4Uid4RootResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
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