Support certFilter for getUserCertificateDetail API.
This commit is contained in:
@@ -34,10 +34,13 @@ public:
|
|||||||
void setCertId(long certId);
|
void setCertId(long certId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
bool getCertFilter() const;
|
||||||
|
void setCertFilter(bool certFilter);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long certId_;
|
long certId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
bool certFilter_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Cas
|
} // namespace Cas
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ namespace AlibabaCloud
|
|||||||
std::string getCity()const;
|
std::string getCity()const;
|
||||||
long getOrderId()const;
|
long getOrderId()const;
|
||||||
std::string getEndDate()const;
|
std::string getEndDate()const;
|
||||||
|
std::string getAlgorithm()const;
|
||||||
std::string getProvince()const;
|
std::string getProvince()const;
|
||||||
std::string getName()const;
|
std::string getName()const;
|
||||||
std::string getCommon()const;
|
std::string getCommon()const;
|
||||||
@@ -73,6 +74,7 @@ namespace AlibabaCloud
|
|||||||
std::string city_;
|
std::string city_;
|
||||||
long orderId_;
|
long orderId_;
|
||||||
std::string endDate_;
|
std::string endDate_;
|
||||||
|
std::string algorithm_;
|
||||||
std::string province_;
|
std::string province_;
|
||||||
std::string name_;
|
std::string name_;
|
||||||
std::string common_;
|
std::string common_;
|
||||||
|
|||||||
@@ -43,3 +43,12 @@ void GetUserCertificateDetailRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool GetUserCertificateDetailRequest::getCertFilter() const {
|
||||||
|
return certFilter_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetUserCertificateDetailRequest::setCertFilter(bool certFilter) {
|
||||||
|
certFilter_ = certFilter;
|
||||||
|
setParameter(std::string("CertFilter"), certFilter ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -83,6 +83,8 @@ void GetUserCertificateDetailResult::parse(const std::string &payload)
|
|||||||
orderId_ = std::stol(value["OrderId"].asString());
|
orderId_ = std::stol(value["OrderId"].asString());
|
||||||
if(!value["ResourceGroupId"].isNull())
|
if(!value["ResourceGroupId"].isNull())
|
||||||
resourceGroupId_ = value["ResourceGroupId"].asString();
|
resourceGroupId_ = value["ResourceGroupId"].asString();
|
||||||
|
if(!value["Algorithm"].isNull())
|
||||||
|
algorithm_ = value["Algorithm"].asString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -136,6 +138,11 @@ std::string GetUserCertificateDetailResult::getEndDate()const
|
|||||||
return endDate_;
|
return endDate_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string GetUserCertificateDetailResult::getAlgorithm()const
|
||||||
|
{
|
||||||
|
return algorithm_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string GetUserCertificateDetailResult::getProvince()const
|
std::string GetUserCertificateDetailResult::getProvince()const
|
||||||
{
|
{
|
||||||
return province_;
|
return province_;
|
||||||
|
|||||||
Reference in New Issue
Block a user