Skip to content

Commit

Permalink
Update API InitFaceVerify: add param VideoEvidence.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jul 2, 2024
1 parent 5b1212f commit 3b1c6ea
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cloudauth-20190307/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-07-02 Version: 2.1.1
- Update API InitFaceVerify: add param VideoEvidence.


2024-06-19 Version: 2.1.0
- Support API DeepfakeDetect.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4870,6 +4870,7 @@ class InitFaceVerifyRequest : public Darabonba::Model {
shared_ptr<string> uiCustomUrl{};
shared_ptr<string> userId{};
shared_ptr<string> validityDate{};
shared_ptr<string> videoEvidence{};
shared_ptr<string> voluntaryCustomizedContent{};

InitFaceVerifyRequest() {}
Expand Down Expand Up @@ -4981,6 +4982,9 @@ class InitFaceVerifyRequest : public Darabonba::Model {
if (validityDate) {
res["ValidityDate"] = boost::any(*validityDate);
}
if (videoEvidence) {
res["VideoEvidence"] = boost::any(*videoEvidence);
}
if (voluntaryCustomizedContent) {
res["VoluntaryCustomizedContent"] = boost::any(*voluntaryCustomizedContent);
}
Expand Down Expand Up @@ -5087,6 +5091,9 @@ class InitFaceVerifyRequest : public Darabonba::Model {
if (m.find("ValidityDate") != m.end() && !m["ValidityDate"].empty()) {
validityDate = make_shared<string>(boost::any_cast<string>(m["ValidityDate"]));
}
if (m.find("VideoEvidence") != m.end() && !m["VideoEvidence"].empty()) {
videoEvidence = make_shared<string>(boost::any_cast<string>(m["VideoEvidence"]));
}
if (m.find("VoluntaryCustomizedContent") != m.end() && !m["VoluntaryCustomizedContent"].empty()) {
voluntaryCustomizedContent = make_shared<string>(boost::any_cast<string>(m["VoluntaryCustomizedContent"]));
}
Expand Down
3 changes: 3 additions & 0 deletions cloudauth-20190307/src/cloudauth_20190307.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,9 @@ InitFaceVerifyResponse Alibabacloud_Cloudauth20190307::Client::initFaceVerifyWit
if (!Darabonba_Util::Client::isUnset<string>(request->validityDate)) {
query->insert(pair<string, string>("ValidityDate", *request->validityDate));
}
if (!Darabonba_Util::Client::isUnset<string>(request->videoEvidence)) {
query->insert(pair<string, string>("VideoEvidence", *request->videoEvidence));
}
if (!Darabonba_Util::Client::isUnset<string>(request->voluntaryCustomizedContent)) {
query->insert(pair<string, string>("VoluntaryCustomizedContent", *request->voluntaryCustomizedContent));
}
Expand Down

0 comments on commit 3b1c6ea

Please sign in to comment.