Generate SDK by new Generator
This commit is contained in:
@@ -35,13 +35,9 @@ AcknowledgeTaskResultResult::~AcknowledgeTaskResultResult()
|
||||
|
||||
void AcknowledgeTaskResultResult::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["Result"].isNull())
|
||||
result_ = std::stoi(value["Result"].asString());
|
||||
|
||||
@@ -35,13 +35,9 @@ BatchFuzzyMatchDomainSensitiveWordResult::~BatchFuzzyMatchDomainSensitiveWordRes
|
||||
|
||||
void BatchFuzzyMatchDomainSensitiveWordResult::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());
|
||||
auto allSensitiveWordMatchResultList = value["SensitiveWordMatchResultList"]["SensitiveWordMatchResult"];
|
||||
for (auto value : allSensitiveWordMatchResultList)
|
||||
|
||||
@@ -36,6 +36,17 @@ void CancelDomainVerificationRequest::setActionType(const std::string& actionTyp
|
||||
setCoreParameter("ActionType", actionType);
|
||||
}
|
||||
|
||||
std::string CancelDomainVerificationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CancelDomainVerificationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CancelDomainVerificationRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
@@ -69,14 +80,3 @@ void CancelDomainVerificationRequest::setLang(const std::string& lang)
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CancelDomainVerificationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CancelDomainVerificationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CancelDomainVerificationResult::~CancelDomainVerificationResult()
|
||||
|
||||
void CancelDomainVerificationResult::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());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,6 +25,28 @@ CancelQualificationVerificationRequest::CancelQualificationVerificationRequest()
|
||||
CancelQualificationVerificationRequest::~CancelQualificationVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CancelQualificationVerificationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getQualificationType()const
|
||||
{
|
||||
return qualificationType_;
|
||||
}
|
||||
|
||||
void CancelQualificationVerificationRequest::setQualificationType(const std::string& qualificationType)
|
||||
{
|
||||
qualificationType_ = qualificationType;
|
||||
setCoreParameter("QualificationType", qualificationType);
|
||||
}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
@@ -58,25 +80,3 @@ void CancelQualificationVerificationRequest::setLang(const std::string& lang)
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CancelQualificationVerificationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getQualificationType()const
|
||||
{
|
||||
return qualificationType_;
|
||||
}
|
||||
|
||||
void CancelQualificationVerificationRequest::setQualificationType(const std::string& qualificationType)
|
||||
{
|
||||
qualificationType_ = qualificationType;
|
||||
setCoreParameter("QualificationType", qualificationType);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CancelQualificationVerificationResult::~CancelQualificationVerificationResult()
|
||||
|
||||
void CancelQualificationVerificationResult::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());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,13 +35,9 @@ CancelTaskResult::~CancelTaskResult()
|
||||
|
||||
void CancelTaskResult::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());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,6 +25,17 @@ CheckDomainRequest::CheckDomainRequest() :
|
||||
CheckDomainRequest::~CheckDomainRequest()
|
||||
{}
|
||||
|
||||
std::string CheckDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void CheckDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string CheckDomainRequest::getFeeCurrency()const
|
||||
{
|
||||
return feeCurrency_;
|
||||
@@ -47,17 +58,6 @@ void CheckDomainRequest::setFeePeriod(int feePeriod)
|
||||
setCoreParameter("FeePeriod", std::to_string(feePeriod));
|
||||
}
|
||||
|
||||
std::string CheckDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void CheckDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string CheckDomainRequest::getFeeCommand()const
|
||||
{
|
||||
return feeCommand_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CheckDomainResult::~CheckDomainResult()
|
||||
|
||||
void CheckDomainResult::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["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
|
||||
@@ -35,13 +35,9 @@ CheckDomainSunriseClaimResult::~CheckDomainSunriseClaimResult()
|
||||
|
||||
void CheckDomainSunriseClaimResult::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["Result"].isNull())
|
||||
result_ = std::stoi(value["Result"].asString());
|
||||
|
||||
@@ -35,13 +35,9 @@ CheckMaxYearOfServerLockResult::~CheckMaxYearOfServerLockResult()
|
||||
|
||||
void CheckMaxYearOfServerLockResult::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["MaxYear"].isNull())
|
||||
maxYear_ = std::stoi(value["MaxYear"].asString());
|
||||
|
||||
@@ -25,17 +25,6 @@ CheckProcessingServerLockApplyRequest::CheckProcessingServerLockApplyRequest() :
|
||||
CheckProcessingServerLockApplyRequest::~CheckProcessingServerLockApplyRequest()
|
||||
{}
|
||||
|
||||
int CheckProcessingServerLockApplyRequest::getFeePeriod()const
|
||||
{
|
||||
return feePeriod_;
|
||||
}
|
||||
|
||||
void CheckProcessingServerLockApplyRequest::setFeePeriod(int feePeriod)
|
||||
{
|
||||
feePeriod_ = feePeriod;
|
||||
setCoreParameter("FeePeriod", std::to_string(feePeriod));
|
||||
}
|
||||
|
||||
std::string CheckProcessingServerLockApplyRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -47,6 +36,17 @@ void CheckProcessingServerLockApplyRequest::setDomainName(const std::string& dom
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
int CheckProcessingServerLockApplyRequest::getFeePeriod()const
|
||||
{
|
||||
return feePeriod_;
|
||||
}
|
||||
|
||||
void CheckProcessingServerLockApplyRequest::setFeePeriod(int feePeriod)
|
||||
{
|
||||
feePeriod_ = feePeriod;
|
||||
setCoreParameter("FeePeriod", std::to_string(feePeriod));
|
||||
}
|
||||
|
||||
std::string CheckProcessingServerLockApplyRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CheckProcessingServerLockApplyResult::~CheckProcessingServerLockApplyResult()
|
||||
|
||||
void CheckProcessingServerLockApplyResult::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["Exists"].isNull())
|
||||
exists_ = value["Exists"].asString() == "true";
|
||||
|
||||
@@ -25,6 +25,17 @@ CheckTransferInFeasibilityRequest::CheckTransferInFeasibilityRequest() :
|
||||
CheckTransferInFeasibilityRequest::~CheckTransferInFeasibilityRequest()
|
||||
{}
|
||||
|
||||
std::string CheckTransferInFeasibilityRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void CheckTransferInFeasibilityRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string CheckTransferInFeasibilityRequest::getTransferAuthorizationCode()const
|
||||
{
|
||||
return transferAuthorizationCode_;
|
||||
@@ -47,17 +58,6 @@ void CheckTransferInFeasibilityRequest::setUserClientIp(const std::string& userC
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string CheckTransferInFeasibilityRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void CheckTransferInFeasibilityRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string CheckTransferInFeasibilityRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CheckTransferInFeasibilityResult::~CheckTransferInFeasibilityResult()
|
||||
|
||||
void CheckTransferInFeasibilityResult::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["CanTransfer"].isNull())
|
||||
canTransfer_ = value["CanTransfer"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ ConfirmTransferInEmailRequest::ConfirmTransferInEmailRequest() :
|
||||
ConfirmTransferInEmailRequest::~ConfirmTransferInEmailRequest()
|
||||
{}
|
||||
|
||||
std::string ConfirmTransferInEmailRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void ConfirmTransferInEmailRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::vector<std::string> ConfirmTransferInEmailRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -48,6 +37,17 @@ void ConfirmTransferInEmailRequest::setDomainName(const std::vector<std::string>
|
||||
setCoreParameter("DomainName."+ std::to_string(i), domainName.at(i));
|
||||
}
|
||||
|
||||
std::string ConfirmTransferInEmailRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void ConfirmTransferInEmailRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string ConfirmTransferInEmailRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ ConfirmTransferInEmailResult::~ConfirmTransferInEmailResult()
|
||||
|
||||
void ConfirmTransferInEmailResult::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());
|
||||
auto allSuccessList = value["SuccessList"]["SuccessDomain"];
|
||||
for (const auto &item : allSuccessList)
|
||||
|
||||
@@ -25,6 +25,17 @@ DeleteDomainGroupRequest::DeleteDomainGroupRequest() :
|
||||
DeleteDomainGroupRequest::~DeleteDomainGroupRequest()
|
||||
{}
|
||||
|
||||
long DeleteDomainGroupRequest::getDomainGroupId()const
|
||||
{
|
||||
return domainGroupId_;
|
||||
}
|
||||
|
||||
void DeleteDomainGroupRequest::setDomainGroupId(long domainGroupId)
|
||||
{
|
||||
domainGroupId_ = domainGroupId;
|
||||
setCoreParameter("DomainGroupId", std::to_string(domainGroupId));
|
||||
}
|
||||
|
||||
std::string DeleteDomainGroupRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
@@ -47,14 +58,3 @@ void DeleteDomainGroupRequest::setLang(const std::string& lang)
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
long DeleteDomainGroupRequest::getDomainGroupId()const
|
||||
{
|
||||
return domainGroupId_;
|
||||
}
|
||||
|
||||
void DeleteDomainGroupRequest::setDomainGroupId(long domainGroupId)
|
||||
{
|
||||
domainGroupId_ = domainGroupId;
|
||||
setCoreParameter("DomainGroupId", std::to_string(domainGroupId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteDomainGroupResult::~DeleteDomainGroupResult()
|
||||
|
||||
void DeleteDomainGroupResult::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());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteEmailVerificationResult::~DeleteEmailVerificationResult()
|
||||
|
||||
void DeleteEmailVerificationResult::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());
|
||||
auto allSuccessList = value["SuccessList"]["SendResult"];
|
||||
for (auto value : allSuccessList)
|
||||
|
||||
@@ -25,17 +25,6 @@ DeleteRegistrantProfileRequest::DeleteRegistrantProfileRequest() :
|
||||
DeleteRegistrantProfileRequest::~DeleteRegistrantProfileRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteRegistrantProfileRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DeleteRegistrantProfileRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long DeleteRegistrantProfileRequest::getRegistrantProfileId()const
|
||||
{
|
||||
return registrantProfileId_;
|
||||
@@ -47,6 +36,17 @@ void DeleteRegistrantProfileRequest::setRegistrantProfileId(long registrantProfi
|
||||
setCoreParameter("RegistrantProfileId", std::to_string(registrantProfileId));
|
||||
}
|
||||
|
||||
std::string DeleteRegistrantProfileRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DeleteRegistrantProfileRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DeleteRegistrantProfileRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteRegistrantProfileResult::~DeleteRegistrantProfileResult()
|
||||
|
||||
void DeleteRegistrantProfileResult::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());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,13 +35,9 @@ EmailVerifiedResult::~EmailVerifiedResult()
|
||||
|
||||
void EmailVerifiedResult::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());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,13 +35,9 @@ FuzzyMatchDomainSensitiveWordResult::~FuzzyMatchDomainSensitiveWordResult()
|
||||
|
||||
void FuzzyMatchDomainSensitiveWordResult::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());
|
||||
auto allMatchedSentiveWords = value["MatchedSentiveWords"]["MatchedSensitiveWord"];
|
||||
for (auto value : allMatchedSentiveWords)
|
||||
|
||||
@@ -35,13 +35,9 @@ GetQualificationUploadPolicyResult::~GetQualificationUploadPolicyResult()
|
||||
|
||||
void GetQualificationUploadPolicyResult::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["Accessid"].isNull())
|
||||
accessid_ = value["Accessid"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ ListEmailVerificationRequest::ListEmailVerificationRequest() :
|
||||
ListEmailVerificationRequest::~ListEmailVerificationRequest()
|
||||
{}
|
||||
|
||||
long ListEmailVerificationRequest::getBeginCreateTime()const
|
||||
{
|
||||
return beginCreateTime_;
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setBeginCreateTime(long beginCreateTime)
|
||||
{
|
||||
beginCreateTime_ = beginCreateTime;
|
||||
setCoreParameter("BeginCreateTime", std::to_string(beginCreateTime));
|
||||
}
|
||||
|
||||
long ListEmailVerificationRequest::getEndCreateTime()const
|
||||
{
|
||||
return endCreateTime_;
|
||||
@@ -47,6 +36,39 @@ void ListEmailVerificationRequest::setEndCreateTime(long endCreateTime)
|
||||
setCoreParameter("EndCreateTime", std::to_string(endCreateTime));
|
||||
}
|
||||
|
||||
int ListEmailVerificationRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
int ListEmailVerificationRequest::getVerificationStatus()const
|
||||
{
|
||||
return verificationStatus_;
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setVerificationStatus(int verificationStatus)
|
||||
{
|
||||
verificationStatus_ = verificationStatus;
|
||||
setCoreParameter("VerificationStatus", std::to_string(verificationStatus));
|
||||
}
|
||||
|
||||
long ListEmailVerificationRequest::getBeginCreateTime()const
|
||||
{
|
||||
return beginCreateTime_;
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setBeginCreateTime(long beginCreateTime)
|
||||
{
|
||||
beginCreateTime_ = beginCreateTime;
|
||||
setCoreParameter("BeginCreateTime", std::to_string(beginCreateTime));
|
||||
}
|
||||
|
||||
int ListEmailVerificationRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
@@ -80,17 +102,6 @@ void ListEmailVerificationRequest::setLang(const std::string& lang)
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int ListEmailVerificationRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string ListEmailVerificationRequest::getEmail()const
|
||||
{
|
||||
return email_;
|
||||
@@ -102,14 +113,3 @@ void ListEmailVerificationRequest::setEmail(const std::string& email)
|
||||
setCoreParameter("Email", email);
|
||||
}
|
||||
|
||||
int ListEmailVerificationRequest::getVerificationStatus()const
|
||||
{
|
||||
return verificationStatus_;
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setVerificationStatus(int verificationStatus)
|
||||
{
|
||||
verificationStatus_ = verificationStatus;
|
||||
setCoreParameter("VerificationStatus", std::to_string(verificationStatus));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ListEmailVerificationResult::~ListEmailVerificationResult()
|
||||
|
||||
void ListEmailVerificationResult::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());
|
||||
auto allData = value["Data"]["EmailVerification"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -36,15 +36,37 @@ void ListServerLockRequest::setLockProductId(const std::string& lockProductId)
|
||||
setCoreParameter("LockProductId", lockProductId);
|
||||
}
|
||||
|
||||
long ListServerLockRequest::getEndStartDate()const
|
||||
long ListServerLockRequest::getEndExpireDate()const
|
||||
{
|
||||
return endStartDate_;
|
||||
return endExpireDate_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setEndStartDate(long endStartDate)
|
||||
void ListServerLockRequest::setEndExpireDate(long endExpireDate)
|
||||
{
|
||||
endStartDate_ = endStartDate;
|
||||
setCoreParameter("EndStartDate", std::to_string(endStartDate));
|
||||
endExpireDate_ = endExpireDate;
|
||||
setCoreParameter("EndExpireDate", std::to_string(endExpireDate));
|
||||
}
|
||||
|
||||
int ListServerLockRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
long ListServerLockRequest::getBeginStartDate()const
|
||||
{
|
||||
return beginStartDate_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setBeginStartDate(long beginStartDate)
|
||||
{
|
||||
beginStartDate_ = beginStartDate;
|
||||
setCoreParameter("BeginStartDate", std::to_string(beginStartDate));
|
||||
}
|
||||
|
||||
int ListServerLockRequest::getServerLockStatus()const
|
||||
@@ -69,17 +91,6 @@ void ListServerLockRequest::setStartExpireDate(long startExpireDate)
|
||||
setCoreParameter("StartExpireDate", std::to_string(startExpireDate));
|
||||
}
|
||||
|
||||
std::string ListServerLockRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
int ListServerLockRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
@@ -91,39 +102,6 @@ void ListServerLockRequest::setPageSize(int pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListServerLockRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long ListServerLockRequest::getEndExpireDate()const
|
||||
{
|
||||
return endExpireDate_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setEndExpireDate(long endExpireDate)
|
||||
{
|
||||
endExpireDate_ = endExpireDate;
|
||||
setCoreParameter("EndExpireDate", std::to_string(endExpireDate));
|
||||
}
|
||||
|
||||
int ListServerLockRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string ListServerLockRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
@@ -135,14 +113,36 @@ void ListServerLockRequest::setLang(const std::string& lang)
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
long ListServerLockRequest::getBeginStartDate()const
|
||||
std::string ListServerLockRequest::getDomainName()const
|
||||
{
|
||||
return beginStartDate_;
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setBeginStartDate(long beginStartDate)
|
||||
void ListServerLockRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
beginStartDate_ = beginStartDate;
|
||||
setCoreParameter("BeginStartDate", std::to_string(beginStartDate));
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long ListServerLockRequest::getEndStartDate()const
|
||||
{
|
||||
return endStartDate_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setEndStartDate(long endStartDate)
|
||||
{
|
||||
endStartDate_ = endStartDate;
|
||||
setCoreParameter("EndStartDate", std::to_string(endStartDate));
|
||||
}
|
||||
|
||||
std::string ListServerLockRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ListServerLockResult::~ListServerLockResult()
|
||||
|
||||
void ListServerLockResult::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());
|
||||
auto allData = value["Data"]["QueryTransferInResponse"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -35,13 +35,9 @@ LookupTmchNoticeResult::~LookupTmchNoticeResult()
|
||||
|
||||
void LookupTmchNoticeResult::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());
|
||||
auto allClaims = value["Claims"]["Claim"];
|
||||
for (auto value : allClaims)
|
||||
|
||||
@@ -25,6 +25,39 @@ PollTaskResultRequest::PollTaskResultRequest() :
|
||||
PollTaskResultRequest::~PollTaskResultRequest()
|
||||
{}
|
||||
|
||||
std::string PollTaskResultRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
int PollTaskResultRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
int PollTaskResultRequest::getTaskResultStatus()const
|
||||
{
|
||||
return taskResultStatus_;
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setTaskResultStatus(int taskResultStatus)
|
||||
{
|
||||
taskResultStatus_ = taskResultStatus;
|
||||
setCoreParameter("TaskResultStatus", std::to_string(taskResultStatus));
|
||||
}
|
||||
|
||||
std::string PollTaskResultRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
@@ -58,17 +91,6 @@ void PollTaskResultRequest::setTaskNo(const std::string& taskNo)
|
||||
setCoreParameter("TaskNo", taskNo);
|
||||
}
|
||||
|
||||
std::string PollTaskResultRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
int PollTaskResultRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
@@ -91,25 +113,3 @@ void PollTaskResultRequest::setLang(const std::string& lang)
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int PollTaskResultRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
int PollTaskResultRequest::getTaskResultStatus()const
|
||||
{
|
||||
return taskResultStatus_;
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setTaskResultStatus(int taskResultStatus)
|
||||
{
|
||||
taskResultStatus_ = taskResultStatus;
|
||||
setCoreParameter("TaskResultStatus", std::to_string(taskResultStatus));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ PollTaskResultResult::~PollTaskResultResult()
|
||||
|
||||
void PollTaskResultResult::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());
|
||||
auto allData = value["Data"]["TaskDetail"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryAdvancedDomainListResult::~QueryAdvancedDomainListResult()
|
||||
|
||||
void QueryAdvancedDomainListResult::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());
|
||||
auto allData = value["Data"]["Domain"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryArtExtensionResult::~QueryArtExtensionResult()
|
||||
|
||||
void QueryArtExtensionResult::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["ObjectType"].isNull())
|
||||
objectType_ = value["ObjectType"].asString();
|
||||
|
||||
@@ -25,28 +25,6 @@ QueryChangeLogListRequest::QueryChangeLogListRequest() :
|
||||
QueryChangeLogListRequest::~QueryChangeLogListRequest()
|
||||
{}
|
||||
|
||||
long QueryChangeLogListRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setEndDate(long endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setCoreParameter("EndDate", std::to_string(endDate));
|
||||
}
|
||||
|
||||
std::string QueryChangeLogListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryChangeLogListRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -58,28 +36,6 @@ void QueryChangeLogListRequest::setDomainName(const std::string& domainName)
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
int QueryChangeLogListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string QueryChangeLogListRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int QueryChangeLogListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
@@ -102,3 +58,47 @@ void QueryChangeLogListRequest::setStartDate(long startDate)
|
||||
setCoreParameter("StartDate", std::to_string(startDate));
|
||||
}
|
||||
|
||||
long QueryChangeLogListRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setEndDate(long endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setCoreParameter("EndDate", std::to_string(endDate));
|
||||
}
|
||||
|
||||
std::string QueryChangeLogListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
int QueryChangeLogListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string QueryChangeLogListRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryChangeLogListResult::~QueryChangeLogListResult()
|
||||
|
||||
void QueryChangeLogListResult::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());
|
||||
auto allData = value["Data"]["ChangeLog"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -36,17 +36,6 @@ void QueryContactInfoRequest::setContactType(const std::string& contactType)
|
||||
setCoreParameter("ContactType", contactType);
|
||||
}
|
||||
|
||||
std::string QueryContactInfoRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryContactInfoRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryContactInfoRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -58,6 +47,17 @@ void QueryContactInfoRequest::setDomainName(const std::string& domainName)
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string QueryContactInfoRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryContactInfoRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryContactInfoRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryContactInfoResult::~QueryContactInfoResult()
|
||||
|
||||
void QueryContactInfoResult::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["CreateDate"].isNull())
|
||||
createDate_ = value["CreateDate"].asString();
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryDSRecordResult::~QueryDSRecordResult()
|
||||
|
||||
void QueryDSRecordResult::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());
|
||||
auto allDSRecordList = value["DSRecordList"]["DSRecord"];
|
||||
for (auto value : allDSRecordList)
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryDnsHostResult::~QueryDnsHostResult()
|
||||
|
||||
void QueryDnsHostResult::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());
|
||||
auto allDnsHostList = value["DnsHostList"]["DnsHost"];
|
||||
for (auto value : allDnsHostList)
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryDomainAdminDivisionResult::~QueryDomainAdminDivisionResult()
|
||||
|
||||
void QueryDomainAdminDivisionResult::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());
|
||||
auto allAdminDivisions = value["AdminDivisions"]["AdminDivision"];
|
||||
for (auto value : allAdminDivisions)
|
||||
|
||||
@@ -25,17 +25,6 @@ QueryDomainByDomainNameRequest::QueryDomainByDomainNameRequest() :
|
||||
QueryDomainByDomainNameRequest::~QueryDomainByDomainNameRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDomainByDomainNameRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryDomainByDomainNameRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -47,6 +36,17 @@ void QueryDomainByDomainNameRequest::setDomainName(const std::string& domainName
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryDomainByDomainNameRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryDomainByDomainNameResult::~QueryDomainByDomainNameResult()
|
||||
|
||||
void QueryDomainByDomainNameResult::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());
|
||||
auto allDnsList = value["DnsList"]["Dns"];
|
||||
for (const auto &item : allDnsList)
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryDomainByInstanceIdResult::~QueryDomainByInstanceIdResult()
|
||||
|
||||
void QueryDomainByInstanceIdResult::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());
|
||||
auto allDnsList = value["DnsList"]["Dns"];
|
||||
for (const auto &item : allDnsList)
|
||||
|
||||
@@ -25,6 +25,17 @@ QueryDomainGroupListRequest::QueryDomainGroupListRequest() :
|
||||
QueryDomainGroupListRequest::~QueryDomainGroupListRequest()
|
||||
{}
|
||||
|
||||
bool QueryDomainGroupListRequest::getShowDeletingGroup()const
|
||||
{
|
||||
return showDeletingGroup_;
|
||||
}
|
||||
|
||||
void QueryDomainGroupListRequest::setShowDeletingGroup(bool showDeletingGroup)
|
||||
{
|
||||
showDeletingGroup_ = showDeletingGroup;
|
||||
setCoreParameter("ShowDeletingGroup", showDeletingGroup ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string QueryDomainGroupListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
@@ -58,14 +69,3 @@ void QueryDomainGroupListRequest::setLang(const std::string& lang)
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
bool QueryDomainGroupListRequest::getShowDeletingGroup()const
|
||||
{
|
||||
return showDeletingGroup_;
|
||||
}
|
||||
|
||||
void QueryDomainGroupListRequest::setShowDeletingGroup(bool showDeletingGroup)
|
||||
{
|
||||
showDeletingGroup_ = showDeletingGroup;
|
||||
setCoreParameter("ShowDeletingGroup", showDeletingGroup ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryDomainGroupListResult::~QueryDomainGroupListResult()
|
||||
|
||||
void QueryDomainGroupListResult::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());
|
||||
auto allData = value["Data"]["DomainGroup"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -25,17 +25,6 @@ QueryDomainListRequest::QueryDomainListRequest() :
|
||||
QueryDomainListRequest::~QueryDomainListRequest()
|
||||
{}
|
||||
|
||||
long QueryDomainListRequest::getEndExpirationDate()const
|
||||
{
|
||||
return endExpirationDate_;
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setEndExpirationDate(long endExpirationDate)
|
||||
{
|
||||
endExpirationDate_ = endExpirationDate;
|
||||
setCoreParameter("EndExpirationDate", std::to_string(endExpirationDate));
|
||||
}
|
||||
|
||||
std::string QueryDomainListRequest::getProductDomainType()const
|
||||
{
|
||||
return productDomainType_;
|
||||
@@ -58,28 +47,6 @@ void QueryDomainListRequest::setOrderKeyType(const std::string& orderKeyType)
|
||||
setCoreParameter("OrderKeyType", orderKeyType);
|
||||
}
|
||||
|
||||
std::string QueryDomainListRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long QueryDomainListRequest::getStartExpirationDate()const
|
||||
{
|
||||
return startExpirationDate_;
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setStartExpirationDate(long startExpirationDate)
|
||||
{
|
||||
startExpirationDate_ = startExpirationDate;
|
||||
setCoreParameter("StartExpirationDate", std::to_string(startExpirationDate));
|
||||
}
|
||||
|
||||
int QueryDomainListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
@@ -102,39 +69,6 @@ void QueryDomainListRequest::setOrderByType(const std::string& orderByType)
|
||||
setCoreParameter("OrderByType", orderByType);
|
||||
}
|
||||
|
||||
std::string QueryDomainListRequest::getDomainGroupId()const
|
||||
{
|
||||
return domainGroupId_;
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setDomainGroupId(const std::string& domainGroupId)
|
||||
{
|
||||
domainGroupId_ = domainGroupId;
|
||||
setCoreParameter("DomainGroupId", domainGroupId);
|
||||
}
|
||||
|
||||
long QueryDomainListRequest::getEndRegistrationDate()const
|
||||
{
|
||||
return endRegistrationDate_;
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setEndRegistrationDate(long endRegistrationDate)
|
||||
{
|
||||
endRegistrationDate_ = endRegistrationDate;
|
||||
setCoreParameter("EndRegistrationDate", std::to_string(endRegistrationDate));
|
||||
}
|
||||
|
||||
std::string QueryDomainListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
int QueryDomainListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
@@ -168,6 +102,72 @@ void QueryDomainListRequest::setQueryType(const std::string& queryType)
|
||||
setCoreParameter("QueryType", queryType);
|
||||
}
|
||||
|
||||
long QueryDomainListRequest::getEndExpirationDate()const
|
||||
{
|
||||
return endExpirationDate_;
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setEndExpirationDate(long endExpirationDate)
|
||||
{
|
||||
endExpirationDate_ = endExpirationDate;
|
||||
setCoreParameter("EndExpirationDate", std::to_string(endExpirationDate));
|
||||
}
|
||||
|
||||
std::string QueryDomainListRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long QueryDomainListRequest::getStartExpirationDate()const
|
||||
{
|
||||
return startExpirationDate_;
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setStartExpirationDate(long startExpirationDate)
|
||||
{
|
||||
startExpirationDate_ = startExpirationDate;
|
||||
setCoreParameter("StartExpirationDate", std::to_string(startExpirationDate));
|
||||
}
|
||||
|
||||
std::string QueryDomainListRequest::getDomainGroupId()const
|
||||
{
|
||||
return domainGroupId_;
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setDomainGroupId(const std::string& domainGroupId)
|
||||
{
|
||||
domainGroupId_ = domainGroupId;
|
||||
setCoreParameter("DomainGroupId", domainGroupId);
|
||||
}
|
||||
|
||||
long QueryDomainListRequest::getEndRegistrationDate()const
|
||||
{
|
||||
return endRegistrationDate_;
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setEndRegistrationDate(long endRegistrationDate)
|
||||
{
|
||||
endRegistrationDate_ = endRegistrationDate;
|
||||
setCoreParameter("EndRegistrationDate", std::to_string(endRegistrationDate));
|
||||
}
|
||||
|
||||
std::string QueryDomainListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long QueryDomainListRequest::getStartRegistrationDate()const
|
||||
{
|
||||
return startRegistrationDate_;
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryDomainListResult::~QueryDomainListResult()
|
||||
|
||||
void QueryDomainListResult::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());
|
||||
auto allData = value["Data"]["Domain"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -36,17 +36,6 @@ void QueryDomainRealNameVerificationInfoRequest::setFetchImage(bool fetchImage)
|
||||
setCoreParameter("FetchImage", fetchImage ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryDomainRealNameVerificationInfoRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -58,6 +47,17 @@ void QueryDomainRealNameVerificationInfoRequest::setDomainName(const std::string
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryDomainRealNameVerificationInfoRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryDomainRealNameVerificationInfoResult::~QueryDomainRealNameVerificationInfoR
|
||||
|
||||
void QueryDomainRealNameVerificationInfoResult::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["SubmissionDate"].isNull())
|
||||
submissionDate_ = value["SubmissionDate"].asString();
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryDomainSuffixResult::~QueryDomainSuffixResult()
|
||||
|
||||
void QueryDomainSuffixResult::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());
|
||||
auto allSuffixList = value["SuffixList"]["Suffix"];
|
||||
for (const auto &item : allSuffixList)
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryEmailVerificationResult::~QueryEmailVerificationResult()
|
||||
|
||||
void QueryEmailVerificationResult::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["GmtCreate"].isNull())
|
||||
gmtCreate_ = value["GmtCreate"].asString();
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryEnsAssociationResult::~QueryEnsAssociationResult()
|
||||
|
||||
void QueryEnsAssociationResult::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["Address"].isNull())
|
||||
address_ = value["Address"].asString();
|
||||
|
||||
@@ -25,6 +25,17 @@ QueryFailReasonForDomainRealNameVerificationRequest::QueryFailReasonForDomainRea
|
||||
QueryFailReasonForDomainRealNameVerificationRequest::~QueryFailReasonForDomainRealNameVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string QueryFailReasonForDomainRealNameVerificationRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void QueryFailReasonForDomainRealNameVerificationRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string QueryFailReasonForDomainRealNameVerificationRequest::getRealNameVerificationAction()const
|
||||
{
|
||||
return realNameVerificationAction_;
|
||||
@@ -47,17 +58,6 @@ void QueryFailReasonForDomainRealNameVerificationRequest::setUserClientIp(const
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryFailReasonForDomainRealNameVerificationRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void QueryFailReasonForDomainRealNameVerificationRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string QueryFailReasonForDomainRealNameVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryFailReasonForDomainRealNameVerificationResult::~QueryFailReasonForDomainRea
|
||||
|
||||
void QueryFailReasonForDomainRealNameVerificationResult::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());
|
||||
auto allData = value["Data"]["FailRecord"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -25,17 +25,6 @@ QueryFailReasonForRegistrantProfileRealNameVerificationRequest::QueryFailReasonF
|
||||
QueryFailReasonForRegistrantProfileRealNameVerificationRequest::~QueryFailReasonForRegistrantProfileRealNameVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string QueryFailReasonForRegistrantProfileRealNameVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryFailReasonForRegistrantProfileRealNameVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long QueryFailReasonForRegistrantProfileRealNameVerificationRequest::getRegistrantProfileID()const
|
||||
{
|
||||
return registrantProfileID_;
|
||||
@@ -47,6 +36,17 @@ void QueryFailReasonForRegistrantProfileRealNameVerificationRequest::setRegistra
|
||||
setCoreParameter("RegistrantProfileID", std::to_string(registrantProfileID));
|
||||
}
|
||||
|
||||
std::string QueryFailReasonForRegistrantProfileRealNameVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryFailReasonForRegistrantProfileRealNameVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryFailReasonForRegistrantProfileRealNameVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryFailReasonForRegistrantProfileRealNameVerificationResult::~QueryFailReasonF
|
||||
|
||||
void QueryFailReasonForRegistrantProfileRealNameVerificationResult::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());
|
||||
auto allData = value["Data"]["FailRecord"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -25,6 +25,17 @@ QueryFailingReasonListForQualificationRequest::QueryFailingReasonListForQualific
|
||||
QueryFailingReasonListForQualificationRequest::~QueryFailingReasonListForQualificationRequest()
|
||||
{}
|
||||
|
||||
std::string QueryFailingReasonListForQualificationRequest::getQualificationType()const
|
||||
{
|
||||
return qualificationType_;
|
||||
}
|
||||
|
||||
void QueryFailingReasonListForQualificationRequest::setQualificationType(const std::string& qualificationType)
|
||||
{
|
||||
qualificationType_ = qualificationType;
|
||||
setCoreParameter("QualificationType", qualificationType);
|
||||
}
|
||||
|
||||
std::string QueryFailingReasonListForQualificationRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
@@ -69,14 +80,3 @@ void QueryFailingReasonListForQualificationRequest::setLang(const std::string& l
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string QueryFailingReasonListForQualificationRequest::getQualificationType()const
|
||||
{
|
||||
return qualificationType_;
|
||||
}
|
||||
|
||||
void QueryFailingReasonListForQualificationRequest::setQualificationType(const std::string& qualificationType)
|
||||
{
|
||||
qualificationType_ = qualificationType;
|
||||
setCoreParameter("QualificationType", qualificationType);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryFailingReasonListForQualificationResult::~QueryFailingReasonListForQualific
|
||||
|
||||
void QueryFailingReasonListForQualificationResult::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());
|
||||
auto allData = value["Data"]["FailRecord"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -25,17 +25,6 @@ QueryLocalEnsAssociationRequest::QueryLocalEnsAssociationRequest() :
|
||||
QueryLocalEnsAssociationRequest::~QueryLocalEnsAssociationRequest()
|
||||
{}
|
||||
|
||||
std::string QueryLocalEnsAssociationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryLocalEnsAssociationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryLocalEnsAssociationRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -47,6 +36,17 @@ void QueryLocalEnsAssociationRequest::setDomainName(const std::string& domainNam
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string QueryLocalEnsAssociationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryLocalEnsAssociationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryLocalEnsAssociationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryLocalEnsAssociationResult::~QueryLocalEnsAssociationResult()
|
||||
|
||||
void QueryLocalEnsAssociationResult::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["Address"].isNull())
|
||||
address_ = value["Address"].asString();
|
||||
|
||||
@@ -25,6 +25,17 @@ QueryQualificationDetailRequest::QueryQualificationDetailRequest() :
|
||||
QueryQualificationDetailRequest::~QueryQualificationDetailRequest()
|
||||
{}
|
||||
|
||||
std::string QueryQualificationDetailRequest::getQualificationType()const
|
||||
{
|
||||
return qualificationType_;
|
||||
}
|
||||
|
||||
void QueryQualificationDetailRequest::setQualificationType(const std::string& qualificationType)
|
||||
{
|
||||
qualificationType_ = qualificationType;
|
||||
setCoreParameter("QualificationType", qualificationType);
|
||||
}
|
||||
|
||||
std::string QueryQualificationDetailRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
@@ -58,14 +69,3 @@ void QueryQualificationDetailRequest::setLang(const std::string& lang)
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string QueryQualificationDetailRequest::getQualificationType()const
|
||||
{
|
||||
return qualificationType_;
|
||||
}
|
||||
|
||||
void QueryQualificationDetailRequest::setQualificationType(const std::string& qualificationType)
|
||||
{
|
||||
qualificationType_ = qualificationType;
|
||||
setCoreParameter("QualificationType", qualificationType);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryQualificationDetailResult::~QueryQualificationDetailResult()
|
||||
|
||||
void QueryQualificationDetailResult::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());
|
||||
auto allCredentials = value["Credentials"]["QualificationCredential"];
|
||||
for (auto value : allCredentials)
|
||||
|
||||
@@ -36,17 +36,6 @@ void QueryRegistrantProfileRealNameVerificationInfoRequest::setFetchImage(bool f
|
||||
setCoreParameter("FetchImage", fetchImage ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string QueryRegistrantProfileRealNameVerificationInfoRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryRegistrantProfileRealNameVerificationInfoRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long QueryRegistrantProfileRealNameVerificationInfoRequest::getRegistrantProfileId()const
|
||||
{
|
||||
return registrantProfileId_;
|
||||
@@ -58,6 +47,17 @@ void QueryRegistrantProfileRealNameVerificationInfoRequest::setRegistrantProfile
|
||||
setCoreParameter("RegistrantProfileId", std::to_string(registrantProfileId));
|
||||
}
|
||||
|
||||
std::string QueryRegistrantProfileRealNameVerificationInfoRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryRegistrantProfileRealNameVerificationInfoRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryRegistrantProfileRealNameVerificationInfoRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryRegistrantProfileRealNameVerificationInfoResult::~QueryRegistrantProfileRea
|
||||
|
||||
void QueryRegistrantProfileRealNameVerificationInfoResult::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["SubmissionDate"].isNull())
|
||||
submissionDate_ = value["SubmissionDate"].asString();
|
||||
|
||||
@@ -25,28 +25,6 @@ QueryRegistrantProfilesRequest::QueryRegistrantProfilesRequest() :
|
||||
QueryRegistrantProfilesRequest::~QueryRegistrantProfilesRequest()
|
||||
{}
|
||||
|
||||
std::string QueryRegistrantProfilesRequest::getRegistrantOrganization()const
|
||||
{
|
||||
return registrantOrganization_;
|
||||
}
|
||||
|
||||
void QueryRegistrantProfilesRequest::setRegistrantOrganization(const std::string& registrantOrganization)
|
||||
{
|
||||
registrantOrganization_ = registrantOrganization;
|
||||
setCoreParameter("RegistrantOrganization", registrantOrganization);
|
||||
}
|
||||
|
||||
std::string QueryRegistrantProfilesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryRegistrantProfilesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long QueryRegistrantProfilesRequest::getRegistrantProfileId()const
|
||||
{
|
||||
return registrantProfileId_;
|
||||
@@ -58,6 +36,17 @@ void QueryRegistrantProfilesRequest::setRegistrantProfileId(long registrantProfi
|
||||
setCoreParameter("RegistrantProfileId", std::to_string(registrantProfileId));
|
||||
}
|
||||
|
||||
int QueryRegistrantProfilesRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void QueryRegistrantProfilesRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
int QueryRegistrantProfilesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
@@ -69,28 +58,6 @@ void QueryRegistrantProfilesRequest::setPageSize(int pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string QueryRegistrantProfilesRequest::getRegistrantType()const
|
||||
{
|
||||
return registrantType_;
|
||||
}
|
||||
|
||||
void QueryRegistrantProfilesRequest::setRegistrantType(const std::string& registrantType)
|
||||
{
|
||||
registrantType_ = registrantType;
|
||||
setCoreParameter("RegistrantType", registrantType);
|
||||
}
|
||||
|
||||
std::string QueryRegistrantProfilesRequest::getRegistrantProfileType()const
|
||||
{
|
||||
return registrantProfileType_;
|
||||
}
|
||||
|
||||
void QueryRegistrantProfilesRequest::setRegistrantProfileType(const std::string& registrantProfileType)
|
||||
{
|
||||
registrantProfileType_ = registrantProfileType;
|
||||
setCoreParameter("RegistrantProfileType", registrantProfileType);
|
||||
}
|
||||
|
||||
std::string QueryRegistrantProfilesRequest::getRealNameStatus()const
|
||||
{
|
||||
return realNameStatus_;
|
||||
@@ -113,28 +80,6 @@ void QueryRegistrantProfilesRequest::setLang(const std::string& lang)
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int QueryRegistrantProfilesRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void QueryRegistrantProfilesRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
bool QueryRegistrantProfilesRequest::getDefaultRegistrantProfile()const
|
||||
{
|
||||
return defaultRegistrantProfile_;
|
||||
}
|
||||
|
||||
void QueryRegistrantProfilesRequest::setDefaultRegistrantProfile(bool defaultRegistrantProfile)
|
||||
{
|
||||
defaultRegistrantProfile_ = defaultRegistrantProfile;
|
||||
setCoreParameter("DefaultRegistrantProfile", defaultRegistrantProfile ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string QueryRegistrantProfilesRequest::getEmail()const
|
||||
{
|
||||
return email_;
|
||||
@@ -157,3 +102,58 @@ void QueryRegistrantProfilesRequest::setZhRegistrantOrganization(const std::stri
|
||||
setCoreParameter("ZhRegistrantOrganization", zhRegistrantOrganization);
|
||||
}
|
||||
|
||||
std::string QueryRegistrantProfilesRequest::getRegistrantType()const
|
||||
{
|
||||
return registrantType_;
|
||||
}
|
||||
|
||||
void QueryRegistrantProfilesRequest::setRegistrantType(const std::string& registrantType)
|
||||
{
|
||||
registrantType_ = registrantType;
|
||||
setCoreParameter("RegistrantType", registrantType);
|
||||
}
|
||||
|
||||
std::string QueryRegistrantProfilesRequest::getRegistrantProfileType()const
|
||||
{
|
||||
return registrantProfileType_;
|
||||
}
|
||||
|
||||
void QueryRegistrantProfilesRequest::setRegistrantProfileType(const std::string& registrantProfileType)
|
||||
{
|
||||
registrantProfileType_ = registrantProfileType;
|
||||
setCoreParameter("RegistrantProfileType", registrantProfileType);
|
||||
}
|
||||
|
||||
bool QueryRegistrantProfilesRequest::getDefaultRegistrantProfile()const
|
||||
{
|
||||
return defaultRegistrantProfile_;
|
||||
}
|
||||
|
||||
void QueryRegistrantProfilesRequest::setDefaultRegistrantProfile(bool defaultRegistrantProfile)
|
||||
{
|
||||
defaultRegistrantProfile_ = defaultRegistrantProfile;
|
||||
setCoreParameter("DefaultRegistrantProfile", defaultRegistrantProfile ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string QueryRegistrantProfilesRequest::getRegistrantOrganization()const
|
||||
{
|
||||
return registrantOrganization_;
|
||||
}
|
||||
|
||||
void QueryRegistrantProfilesRequest::setRegistrantOrganization(const std::string& registrantOrganization)
|
||||
{
|
||||
registrantOrganization_ = registrantOrganization;
|
||||
setCoreParameter("RegistrantOrganization", registrantOrganization);
|
||||
}
|
||||
|
||||
std::string QueryRegistrantProfilesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryRegistrantProfilesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryRegistrantProfilesResult::~QueryRegistrantProfilesResult()
|
||||
|
||||
void QueryRegistrantProfilesResult::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());
|
||||
auto allRegistrantProfiles = value["RegistrantProfiles"]["RegistrantProfile"];
|
||||
for (auto value : allRegistrantProfiles)
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryServerLockResult::~QueryServerLockResult()
|
||||
|
||||
void QueryServerLockResult::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["GmtCreate"].isNull())
|
||||
gmtCreate_ = value["GmtCreate"].asString();
|
||||
|
||||
@@ -25,6 +25,17 @@ QueryTaskDetailHistoryRequest::QueryTaskDetailHistoryRequest() :
|
||||
QueryTaskDetailHistoryRequest::~QueryTaskDetailHistoryRequest()
|
||||
{}
|
||||
|
||||
std::string QueryTaskDetailHistoryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void QueryTaskDetailHistoryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
int QueryTaskDetailHistoryRequest::getTaskStatus()const
|
||||
{
|
||||
return taskStatus_;
|
||||
@@ -58,17 +69,6 @@ void QueryTaskDetailHistoryRequest::setTaskNo(const std::string& taskNo)
|
||||
setCoreParameter("TaskNo", taskNo);
|
||||
}
|
||||
|
||||
std::string QueryTaskDetailHistoryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void QueryTaskDetailHistoryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
int QueryTaskDetailHistoryRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryTaskDetailHistoryResult::~QueryTaskDetailHistoryResult()
|
||||
|
||||
void QueryTaskDetailHistoryResult::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());
|
||||
auto allObjects = value["Objects"]["TaskDetailHistory"];
|
||||
for (auto value : allObjects)
|
||||
|
||||
@@ -25,6 +25,28 @@ QueryTaskDetailListRequest::QueryTaskDetailListRequest() :
|
||||
QueryTaskDetailListRequest::~QueryTaskDetailListRequest()
|
||||
{}
|
||||
|
||||
std::string QueryTaskDetailListRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void QueryTaskDetailListRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
int QueryTaskDetailListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void QueryTaskDetailListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
int QueryTaskDetailListRequest::getTaskStatus()const
|
||||
{
|
||||
return taskStatus_;
|
||||
@@ -58,17 +80,6 @@ void QueryTaskDetailListRequest::setTaskNo(const std::string& taskNo)
|
||||
setCoreParameter("TaskNo", taskNo);
|
||||
}
|
||||
|
||||
std::string QueryTaskDetailListRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void QueryTaskDetailListRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string QueryTaskDetailListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
@@ -102,14 +113,3 @@ void QueryTaskDetailListRequest::setLang(const std::string& lang)
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int QueryTaskDetailListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void QueryTaskDetailListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryTaskDetailListResult::~QueryTaskDetailListResult()
|
||||
|
||||
void QueryTaskDetailListResult::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());
|
||||
auto allData = value["Data"]["TaskDetail"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -25,17 +25,6 @@ QueryTaskInfoHistoryRequest::QueryTaskInfoHistoryRequest() :
|
||||
QueryTaskInfoHistoryRequest::~QueryTaskInfoHistoryRequest()
|
||||
{}
|
||||
|
||||
long QueryTaskInfoHistoryRequest::getBeginCreateTime()const
|
||||
{
|
||||
return beginCreateTime_;
|
||||
}
|
||||
|
||||
void QueryTaskInfoHistoryRequest::setBeginCreateTime(long beginCreateTime)
|
||||
{
|
||||
beginCreateTime_ = beginCreateTime;
|
||||
setCoreParameter("BeginCreateTime", std::to_string(beginCreateTime));
|
||||
}
|
||||
|
||||
long QueryTaskInfoHistoryRequest::getEndCreateTime()const
|
||||
{
|
||||
return endCreateTime_;
|
||||
@@ -47,6 +36,17 @@ void QueryTaskInfoHistoryRequest::setEndCreateTime(long endCreateTime)
|
||||
setCoreParameter("EndCreateTime", std::to_string(endCreateTime));
|
||||
}
|
||||
|
||||
long QueryTaskInfoHistoryRequest::getBeginCreateTime()const
|
||||
{
|
||||
return beginCreateTime_;
|
||||
}
|
||||
|
||||
void QueryTaskInfoHistoryRequest::setBeginCreateTime(long beginCreateTime)
|
||||
{
|
||||
beginCreateTime_ = beginCreateTime;
|
||||
setCoreParameter("BeginCreateTime", std::to_string(beginCreateTime));
|
||||
}
|
||||
|
||||
std::string QueryTaskInfoHistoryRequest::getTaskNoCursor()const
|
||||
{
|
||||
return taskNoCursor_;
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryTaskInfoHistoryResult::~QueryTaskInfoHistoryResult()
|
||||
|
||||
void QueryTaskInfoHistoryResult::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());
|
||||
auto allObjects = value["Objects"]["TaskInfoHistory"];
|
||||
for (auto value : allObjects)
|
||||
|
||||
@@ -25,17 +25,6 @@ QueryTaskListRequest::QueryTaskListRequest() :
|
||||
QueryTaskListRequest::~QueryTaskListRequest()
|
||||
{}
|
||||
|
||||
long QueryTaskListRequest::getBeginCreateTime()const
|
||||
{
|
||||
return beginCreateTime_;
|
||||
}
|
||||
|
||||
void QueryTaskListRequest::setBeginCreateTime(long beginCreateTime)
|
||||
{
|
||||
beginCreateTime_ = beginCreateTime;
|
||||
setCoreParameter("BeginCreateTime", std::to_string(beginCreateTime));
|
||||
}
|
||||
|
||||
long QueryTaskListRequest::getEndCreateTime()const
|
||||
{
|
||||
return endCreateTime_;
|
||||
@@ -47,6 +36,28 @@ void QueryTaskListRequest::setEndCreateTime(long endCreateTime)
|
||||
setCoreParameter("EndCreateTime", std::to_string(endCreateTime));
|
||||
}
|
||||
|
||||
int QueryTaskListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void QueryTaskListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
long QueryTaskListRequest::getBeginCreateTime()const
|
||||
{
|
||||
return beginCreateTime_;
|
||||
}
|
||||
|
||||
void QueryTaskListRequest::setBeginCreateTime(long beginCreateTime)
|
||||
{
|
||||
beginCreateTime_ = beginCreateTime;
|
||||
setCoreParameter("BeginCreateTime", std::to_string(beginCreateTime));
|
||||
}
|
||||
|
||||
std::string QueryTaskListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
@@ -80,14 +91,3 @@ void QueryTaskListRequest::setLang(const std::string& lang)
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int QueryTaskListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void QueryTaskListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryTaskListResult::~QueryTaskListResult()
|
||||
|
||||
void QueryTaskListResult::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());
|
||||
auto allData = value["Data"]["TaskInfo"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryTransferInByInstanceIdResult::~QueryTransferInByInstanceIdResult()
|
||||
|
||||
void QueryTransferInByInstanceIdResult::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["SubmissionDate"].isNull())
|
||||
submissionDate_ = value["SubmissionDate"].asString();
|
||||
|
||||
@@ -36,17 +36,6 @@ void QueryTransferInListRequest::setSubmissionStartDate(long submissionStartDate
|
||||
setCoreParameter("SubmissionStartDate", std::to_string(submissionStartDate));
|
||||
}
|
||||
|
||||
std::string QueryTransferInListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryTransferInListRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long QueryTransferInListRequest::getSubmissionEndDate()const
|
||||
{
|
||||
return submissionEndDate_;
|
||||
@@ -69,6 +58,28 @@ void QueryTransferInListRequest::setDomainName(const std::string& domainName)
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
int QueryTransferInListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void QueryTransferInListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string QueryTransferInListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryTransferInListRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryTransferInListRequest::getSimpleTransferInStatus()const
|
||||
{
|
||||
return simpleTransferInStatus_;
|
||||
@@ -102,14 +113,3 @@ void QueryTransferInListRequest::setLang(const std::string& lang)
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int QueryTransferInListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void QueryTransferInListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryTransferInListResult::~QueryTransferInListResult()
|
||||
|
||||
void QueryTransferInListResult::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());
|
||||
auto allData = value["Data"]["TransferInInfo"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryTransferOutInfoResult::~QueryTransferOutInfoResult()
|
||||
|
||||
void QueryTransferOutInfoResult::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["Status"].isNull())
|
||||
status_ = std::stoi(value["Status"].asString());
|
||||
|
||||
@@ -36,17 +36,6 @@ void RegistrantProfileRealNameVerificationRequest::setIdentityCredentialType(con
|
||||
setCoreParameter("IdentityCredentialType", identityCredentialType);
|
||||
}
|
||||
|
||||
std::string RegistrantProfileRealNameVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void RegistrantProfileRealNameVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long RegistrantProfileRealNameVerificationRequest::getRegistrantProfileID()const
|
||||
{
|
||||
return registrantProfileID_;
|
||||
@@ -69,6 +58,17 @@ void RegistrantProfileRealNameVerificationRequest::setIdentityCredential(const s
|
||||
setCoreParameter("IdentityCredential", identityCredential);
|
||||
}
|
||||
|
||||
std::string RegistrantProfileRealNameVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void RegistrantProfileRealNameVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string RegistrantProfileRealNameVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ RegistrantProfileRealNameVerificationResult::~RegistrantProfileRealNameVerificat
|
||||
|
||||
void RegistrantProfileRealNameVerificationResult::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());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,13 +35,9 @@ ResendEmailVerificationResult::~ResendEmailVerificationResult()
|
||||
|
||||
void ResendEmailVerificationResult::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());
|
||||
auto allSuccessList = value["SuccessList"]["SendResult"];
|
||||
for (auto value : allSuccessList)
|
||||
|
||||
@@ -25,6 +25,17 @@ ResetQualificationVerificationRequest::ResetQualificationVerificationRequest() :
|
||||
ResetQualificationVerificationRequest::~ResetQualificationVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string ResetQualificationVerificationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ResetQualificationVerificationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ResetQualificationVerificationRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
@@ -58,14 +69,3 @@ void ResetQualificationVerificationRequest::setLang(const std::string& lang)
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string ResetQualificationVerificationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ResetQualificationVerificationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ResetQualificationVerificationResult::~ResetQualificationVerificationResult()
|
||||
|
||||
void ResetQualificationVerificationResult::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());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,6 +25,17 @@ SaveBatchDomainRemarkRequest::SaveBatchDomainRemarkRequest() :
|
||||
SaveBatchDomainRemarkRequest::~SaveBatchDomainRemarkRequest()
|
||||
{}
|
||||
|
||||
std::string SaveBatchDomainRemarkRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void SaveBatchDomainRemarkRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string SaveBatchDomainRemarkRequest::getInstanceIds()const
|
||||
{
|
||||
return instanceIds_;
|
||||
@@ -47,17 +58,6 @@ void SaveBatchDomainRemarkRequest::setUserClientIp(const std::string& userClient
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveBatchDomainRemarkRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void SaveBatchDomainRemarkRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string SaveBatchDomainRemarkRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ SaveBatchDomainRemarkResult::~SaveBatchDomainRemarkResult()
|
||||
|
||||
void SaveBatchDomainRemarkResult::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());
|
||||
|
||||
}
|
||||
|
||||
@@ -66,28 +66,6 @@ void SaveBatchTaskForCreatingOrderActivateRequest::setOrderActivateParam(const s
|
||||
}
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderActivateRequest::getPromotionNo()const
|
||||
{
|
||||
return promotionNo_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderActivateRequest::setPromotionNo(const std::string& promotionNo)
|
||||
{
|
||||
promotionNo_ = promotionNo;
|
||||
setCoreParameter("PromotionNo", promotionNo);
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderActivateRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderActivateRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderActivateRequest::getCouponNo()const
|
||||
{
|
||||
return couponNo_;
|
||||
@@ -110,6 +88,28 @@ void SaveBatchTaskForCreatingOrderActivateRequest::setUseCoupon(bool useCoupon)
|
||||
setCoreParameter("UseCoupon", useCoupon ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderActivateRequest::getPromotionNo()const
|
||||
{
|
||||
return promotionNo_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderActivateRequest::setPromotionNo(const std::string& promotionNo)
|
||||
{
|
||||
promotionNo_ = promotionNo;
|
||||
setCoreParameter("PromotionNo", promotionNo);
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderActivateRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderActivateRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderActivateRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ SaveBatchTaskForCreatingOrderActivateResult::~SaveBatchTaskForCreatingOrderActiv
|
||||
|
||||
void SaveBatchTaskForCreatingOrderActivateResult::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["TaskNo"].isNull())
|
||||
taskNo_ = value["TaskNo"].asString();
|
||||
|
||||
@@ -25,6 +25,28 @@ SaveBatchTaskForCreatingOrderRedeemRequest::SaveBatchTaskForCreatingOrderRedeemR
|
||||
SaveBatchTaskForCreatingOrderRedeemRequest::~SaveBatchTaskForCreatingOrderRedeemRequest()
|
||||
{}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderRedeemRequest::getCouponNo()const
|
||||
{
|
||||
return couponNo_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderRedeemRequest::setCouponNo(const std::string& couponNo)
|
||||
{
|
||||
couponNo_ = couponNo;
|
||||
setCoreParameter("CouponNo", couponNo);
|
||||
}
|
||||
|
||||
bool SaveBatchTaskForCreatingOrderRedeemRequest::getUseCoupon()const
|
||||
{
|
||||
return useCoupon_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderRedeemRequest::setUseCoupon(bool useCoupon)
|
||||
{
|
||||
useCoupon_ = useCoupon;
|
||||
setCoreParameter("UseCoupon", useCoupon ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderRedeemRequest::getPromotionNo()const
|
||||
{
|
||||
return promotionNo_;
|
||||
@@ -64,28 +86,6 @@ void SaveBatchTaskForCreatingOrderRedeemRequest::setUserClientIp(const std::stri
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderRedeemRequest::getCouponNo()const
|
||||
{
|
||||
return couponNo_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderRedeemRequest::setCouponNo(const std::string& couponNo)
|
||||
{
|
||||
couponNo_ = couponNo;
|
||||
setCoreParameter("CouponNo", couponNo);
|
||||
}
|
||||
|
||||
bool SaveBatchTaskForCreatingOrderRedeemRequest::getUseCoupon()const
|
||||
{
|
||||
return useCoupon_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderRedeemRequest::setUseCoupon(bool useCoupon)
|
||||
{
|
||||
useCoupon_ = useCoupon;
|
||||
setCoreParameter("UseCoupon", useCoupon ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderRedeemRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ SaveBatchTaskForCreatingOrderRedeemResult::~SaveBatchTaskForCreatingOrderRedeemR
|
||||
|
||||
void SaveBatchTaskForCreatingOrderRedeemResult::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["TaskNo"].isNull())
|
||||
taskNo_ = value["TaskNo"].asString();
|
||||
|
||||
@@ -25,6 +25,28 @@ SaveBatchTaskForCreatingOrderRenewRequest::SaveBatchTaskForCreatingOrderRenewReq
|
||||
SaveBatchTaskForCreatingOrderRenewRequest::~SaveBatchTaskForCreatingOrderRenewRequest()
|
||||
{}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderRenewRequest::getCouponNo()const
|
||||
{
|
||||
return couponNo_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderRenewRequest::setCouponNo(const std::string& couponNo)
|
||||
{
|
||||
couponNo_ = couponNo;
|
||||
setCoreParameter("CouponNo", couponNo);
|
||||
}
|
||||
|
||||
bool SaveBatchTaskForCreatingOrderRenewRequest::getUseCoupon()const
|
||||
{
|
||||
return useCoupon_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderRenewRequest::setUseCoupon(bool useCoupon)
|
||||
{
|
||||
useCoupon_ = useCoupon;
|
||||
setCoreParameter("UseCoupon", useCoupon ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderRenewRequest::getPromotionNo()const
|
||||
{
|
||||
return promotionNo_;
|
||||
@@ -65,28 +87,6 @@ void SaveBatchTaskForCreatingOrderRenewRequest::setOrderRenewParam(const std::ve
|
||||
}
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderRenewRequest::getCouponNo()const
|
||||
{
|
||||
return couponNo_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderRenewRequest::setCouponNo(const std::string& couponNo)
|
||||
{
|
||||
couponNo_ = couponNo;
|
||||
setCoreParameter("CouponNo", couponNo);
|
||||
}
|
||||
|
||||
bool SaveBatchTaskForCreatingOrderRenewRequest::getUseCoupon()const
|
||||
{
|
||||
return useCoupon_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderRenewRequest::setUseCoupon(bool useCoupon)
|
||||
{
|
||||
useCoupon_ = useCoupon;
|
||||
setCoreParameter("UseCoupon", useCoupon ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderRenewRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ SaveBatchTaskForCreatingOrderRenewResult::~SaveBatchTaskForCreatingOrderRenewRes
|
||||
|
||||
void SaveBatchTaskForCreatingOrderRenewResult::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["TaskNo"].isNull())
|
||||
taskNo_ = value["TaskNo"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ SaveBatchTaskForCreatingOrderTransferRequest::SaveBatchTaskForCreatingOrderTrans
|
||||
SaveBatchTaskForCreatingOrderTransferRequest::~SaveBatchTaskForCreatingOrderTransferRequest()
|
||||
{}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderTransferRequest::getPromotionNo()const
|
||||
{
|
||||
return promotionNo_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderTransferRequest::setPromotionNo(const std::string& promotionNo)
|
||||
{
|
||||
promotionNo_ = promotionNo;
|
||||
setCoreParameter("PromotionNo", promotionNo);
|
||||
}
|
||||
|
||||
std::vector<SaveBatchTaskForCreatingOrderTransferRequest::OrderTransferParam> SaveBatchTaskForCreatingOrderTransferRequest::getOrderTransferParam()const
|
||||
{
|
||||
return orderTransferParam_;
|
||||
@@ -55,17 +44,6 @@ void SaveBatchTaskForCreatingOrderTransferRequest::setOrderTransferParam(const s
|
||||
}
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderTransferRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderTransferRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderTransferRequest::getCouponNo()const
|
||||
{
|
||||
return couponNo_;
|
||||
@@ -88,6 +66,28 @@ void SaveBatchTaskForCreatingOrderTransferRequest::setUseCoupon(bool useCoupon)
|
||||
setCoreParameter("UseCoupon", useCoupon ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderTransferRequest::getPromotionNo()const
|
||||
{
|
||||
return promotionNo_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderTransferRequest::setPromotionNo(const std::string& promotionNo)
|
||||
{
|
||||
promotionNo_ = promotionNo;
|
||||
setCoreParameter("PromotionNo", promotionNo);
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderTransferRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForCreatingOrderTransferRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForCreatingOrderTransferRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ SaveBatchTaskForCreatingOrderTransferResult::~SaveBatchTaskForCreatingOrderTrans
|
||||
|
||||
void SaveBatchTaskForCreatingOrderTransferResult::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["TaskNo"].isNull())
|
||||
taskNo_ = value["TaskNo"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ SaveBatchTaskForDomainNameProxyServiceRequest::SaveBatchTaskForDomainNameProxySe
|
||||
SaveBatchTaskForDomainNameProxyServiceRequest::~SaveBatchTaskForDomainNameProxyServiceRequest()
|
||||
{}
|
||||
|
||||
std::string SaveBatchTaskForDomainNameProxyServiceRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForDomainNameProxyServiceRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::vector<std::string> SaveBatchTaskForDomainNameProxyServiceRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -48,6 +37,17 @@ void SaveBatchTaskForDomainNameProxyServiceRequest::setDomainName(const std::vec
|
||||
setCoreParameter("DomainName."+ std::to_string(i), domainName.at(i));
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForDomainNameProxyServiceRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForDomainNameProxyServiceRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForDomainNameProxyServiceRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -35,13 +35,9 @@ SaveBatchTaskForDomainNameProxyServiceResult::~SaveBatchTaskForDomainNameProxySe
|
||||
|
||||
void SaveBatchTaskForDomainNameProxyServiceResult::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["TaskNo"].isNull())
|
||||
taskNo_ = value["TaskNo"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ SaveBatchTaskForModifyingDomainDnsRequest::SaveBatchTaskForModifyingDomainDnsReq
|
||||
SaveBatchTaskForModifyingDomainDnsRequest::~SaveBatchTaskForModifyingDomainDnsRequest()
|
||||
{}
|
||||
|
||||
std::string SaveBatchTaskForModifyingDomainDnsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForModifyingDomainDnsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::vector<std::string> SaveBatchTaskForModifyingDomainDnsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -48,6 +37,28 @@ void SaveBatchTaskForModifyingDomainDnsRequest::setDomainName(const std::vector<
|
||||
setCoreParameter("DomainName."+ std::to_string(i), domainName.at(i));
|
||||
}
|
||||
|
||||
bool SaveBatchTaskForModifyingDomainDnsRequest::getAliyunDns()const
|
||||
{
|
||||
return aliyunDns_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForModifyingDomainDnsRequest::setAliyunDns(bool aliyunDns)
|
||||
{
|
||||
aliyunDns_ = aliyunDns;
|
||||
setCoreParameter("AliyunDns", aliyunDns ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForModifyingDomainDnsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForModifyingDomainDnsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::vector<std::string> SaveBatchTaskForModifyingDomainDnsRequest::getDomainNameServer()const
|
||||
{
|
||||
return domainNameServer_;
|
||||
@@ -71,14 +82,3 @@ void SaveBatchTaskForModifyingDomainDnsRequest::setLang(const std::string& lang)
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
bool SaveBatchTaskForModifyingDomainDnsRequest::getAliyunDns()const
|
||||
{
|
||||
return aliyunDns_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForModifyingDomainDnsRequest::setAliyunDns(bool aliyunDns)
|
||||
{
|
||||
aliyunDns_ = aliyunDns;
|
||||
setCoreParameter("AliyunDns", aliyunDns ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ SaveBatchTaskForModifyingDomainDnsResult::~SaveBatchTaskForModifyingDomainDnsRes
|
||||
|
||||
void SaveBatchTaskForModifyingDomainDnsResult::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["TaskNo"].isNull())
|
||||
taskNo_ = value["TaskNo"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ SaveBatchTaskForTransferProhibitionLockRequest::SaveBatchTaskForTransferProhibit
|
||||
SaveBatchTaskForTransferProhibitionLockRequest::~SaveBatchTaskForTransferProhibitionLockRequest()
|
||||
{}
|
||||
|
||||
std::string SaveBatchTaskForTransferProhibitionLockRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForTransferProhibitionLockRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::vector<std::string> SaveBatchTaskForTransferProhibitionLockRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -48,6 +37,17 @@ void SaveBatchTaskForTransferProhibitionLockRequest::setDomainName(const std::ve
|
||||
setCoreParameter("DomainName."+ std::to_string(i), domainName.at(i));
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForTransferProhibitionLockRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForTransferProhibitionLockRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForTransferProhibitionLockRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user