Add Voice Synchronous Scan API.
This commit is contained in:
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::AddFacesRequest;
|
||||
|
||||
AddFacesRequest::AddFacesRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/sface/face/add");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddFacesRequest::~AddFacesRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string AddFacesRequest::getRegionId()const
|
||||
void AddFacesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AddFacesRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string AddFacesRequest::getClientInfo()const
|
||||
void AddFacesRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::AddGroupsRequest;
|
||||
|
||||
AddGroupsRequest::AddGroupsRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/sface/person/groups/add");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddGroupsRequest::~AddGroupsRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string AddGroupsRequest::getRegionId()const
|
||||
void AddGroupsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AddGroupsRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string AddGroupsRequest::getClientInfo()const
|
||||
void AddGroupsRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::AddPersonRequest;
|
||||
|
||||
AddPersonRequest::AddPersonRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/sface/person/add");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddPersonRequest::~AddPersonRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string AddPersonRequest::getRegionId()const
|
||||
void AddPersonRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AddPersonRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string AddPersonRequest::getClientInfo()const
|
||||
void AddPersonRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::AddSimilarityImageRequest;
|
||||
|
||||
AddSimilarityImageRequest::AddSimilarityImageRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/similarity/image/add");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddSimilarityImageRequest::~AddSimilarityImageRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string AddSimilarityImageRequest::getClientInfo()const
|
||||
void AddSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::AddSimilarityLibraryRequest;
|
||||
|
||||
AddSimilarityLibraryRequest::AddSimilarityLibraryRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/similarity/library/add");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddSimilarityLibraryRequest::~AddSimilarityLibraryRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string AddSimilarityLibraryRequest::getClientInfo()const
|
||||
void AddSimilarityLibraryRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::AddVideoDnaGroupRequest;
|
||||
|
||||
AddVideoDnaGroupRequest::AddVideoDnaGroupRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/video/dna/group/add");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddVideoDnaGroupRequest::~AddVideoDnaGroupRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string AddVideoDnaGroupRequest::getClientInfo()const
|
||||
void AddVideoDnaGroupRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::AddVideoDnaRequest;
|
||||
|
||||
AddVideoDnaRequest::AddVideoDnaRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/video/dna/add");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddVideoDnaRequest::~AddVideoDnaRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string AddVideoDnaRequest::getClientInfo()const
|
||||
void AddVideoDnaRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -38,6 +38,17 @@ void CreateBizTypeRequest::setBizTypeImport(const std::string& bizTypeImport)
|
||||
setParameter("BizTypeImport", bizTypeImport);
|
||||
}
|
||||
|
||||
bool CreateBizTypeRequest::getCiteTemplate()const
|
||||
{
|
||||
return citeTemplate_;
|
||||
}
|
||||
|
||||
void CreateBizTypeRequest::setCiteTemplate(bool citeTemplate)
|
||||
{
|
||||
citeTemplate_ = citeTemplate;
|
||||
setParameter("CiteTemplate", citeTemplate ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateBizTypeRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DeleteFacesRequest;
|
||||
|
||||
DeleteFacesRequest::DeleteFacesRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/sface/face/delete");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteFacesRequest::~DeleteFacesRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string DeleteFacesRequest::getRegionId()const
|
||||
void DeleteFacesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteFacesRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string DeleteFacesRequest::getClientInfo()const
|
||||
void DeleteFacesRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DeleteGroupsRequest;
|
||||
|
||||
DeleteGroupsRequest::DeleteGroupsRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/sface/person/groups/delete");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteGroupsRequest::~DeleteGroupsRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string DeleteGroupsRequest::getRegionId()const
|
||||
void DeleteGroupsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteGroupsRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string DeleteGroupsRequest::getClientInfo()const
|
||||
void DeleteGroupsRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DeletePersonRequest;
|
||||
|
||||
DeletePersonRequest::DeletePersonRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/sface/person/delete");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeletePersonRequest::~DeletePersonRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string DeletePersonRequest::getRegionId()const
|
||||
void DeletePersonRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeletePersonRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string DeletePersonRequest::getClientInfo()const
|
||||
void DeletePersonRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DeleteSimilarityImageRequest;
|
||||
|
||||
DeleteSimilarityImageRequest::DeleteSimilarityImageRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/similarity/image/delete");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteSimilarityImageRequest::~DeleteSimilarityImageRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string DeleteSimilarityImageRequest::getClientInfo()const
|
||||
void DeleteSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DeleteSimilarityLibraryRequest;
|
||||
|
||||
DeleteSimilarityLibraryRequest::DeleteSimilarityLibraryRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/similarity/library/delete");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteSimilarityLibraryRequest::~DeleteSimilarityLibraryRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string DeleteSimilarityLibraryRequest::getClientInfo()const
|
||||
void DeleteSimilarityLibraryRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DeleteVideoDnaGroupRequest;
|
||||
|
||||
DeleteVideoDnaGroupRequest::DeleteVideoDnaGroupRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/video/dna/group/delete");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteVideoDnaGroupRequest::~DeleteVideoDnaGroupRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string DeleteVideoDnaGroupRequest::getClientInfo()const
|
||||
void DeleteVideoDnaGroupRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DeleteVideoDnaRequest;
|
||||
|
||||
DeleteVideoDnaRequest::DeleteVideoDnaRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/video/dna/delete");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteVideoDnaRequest::~DeleteVideoDnaRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string DeleteVideoDnaRequest::getClientInfo()const
|
||||
void DeleteVideoDnaRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
73
green/src/model/DescribeBizTypeImageLibRequest.cc
Normal file
73
green/src/model/DescribeBizTypeImageLibRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/DescribeBizTypeImageLibRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::DescribeBizTypeImageLibRequest;
|
||||
|
||||
DescribeBizTypeImageLibRequest::DescribeBizTypeImageLibRequest() :
|
||||
RpcServiceRequest("green", "2017-08-23", "DescribeBizTypeImageLib")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBizTypeImageLibRequest::~DescribeBizTypeImageLibRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeBizTypeImageLibRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void DescribeBizTypeImageLibRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string DescribeBizTypeImageLibRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void DescribeBizTypeImageLibRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setParameter("Scene", scene);
|
||||
}
|
||||
|
||||
std::string DescribeBizTypeImageLibRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeBizTypeImageLibRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeBizTypeImageLibRequest::getBizTypeName()const
|
||||
{
|
||||
return bizTypeName_;
|
||||
}
|
||||
|
||||
void DescribeBizTypeImageLibRequest::setBizTypeName(const std::string& bizTypeName)
|
||||
{
|
||||
bizTypeName_ = bizTypeName;
|
||||
setParameter("BizTypeName", bizTypeName);
|
||||
}
|
||||
|
||||
122
green/src/model/DescribeBizTypeImageLibResult.cc
Normal file
122
green/src/model/DescribeBizTypeImageLibResult.cc
Normal file
@@ -0,0 +1,122 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/DescribeBizTypeImageLibResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
DescribeBizTypeImageLibResult::DescribeBizTypeImageLibResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeBizTypeImageLibResult::DescribeBizTypeImageLibResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeBizTypeImageLibResult::~DescribeBizTypeImageLibResult()
|
||||
{}
|
||||
|
||||
void DescribeBizTypeImageLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto blackNode = value["Black"];
|
||||
auto allSelectedNode = blackNode["Selected"]["item"];
|
||||
for (auto blackNodeSelecteditem : allSelectedNode)
|
||||
{
|
||||
Black::Item itemObject;
|
||||
if(!blackNodeSelecteditem["Name"].isNull())
|
||||
itemObject.name = blackNodeSelecteditem["Name"].asString();
|
||||
if(!blackNodeSelecteditem["Code"].isNull())
|
||||
itemObject.code = blackNodeSelecteditem["Code"].asString();
|
||||
black_.selected.push_back(itemObject);
|
||||
}
|
||||
auto allAllNode = blackNode["All"]["item"];
|
||||
for (auto blackNodeAllitem : allAllNode)
|
||||
{
|
||||
Black::Item itemObject;
|
||||
if(!blackNodeAllitem["Name"].isNull())
|
||||
itemObject.name = blackNodeAllitem["Name"].asString();
|
||||
if(!blackNodeAllitem["Code"].isNull())
|
||||
itemObject.code = blackNodeAllitem["Code"].asString();
|
||||
black_.all.push_back(itemObject);
|
||||
}
|
||||
auto reviewNode = value["Review"];
|
||||
auto allSelected1Node = reviewNode["Selected"]["item"];
|
||||
for (auto reviewNodeSelecteditem : allSelected1Node)
|
||||
{
|
||||
Review::Item3 item3Object;
|
||||
if(!reviewNodeSelecteditem["Name"].isNull())
|
||||
item3Object.name = reviewNodeSelecteditem["Name"].asString();
|
||||
if(!reviewNodeSelecteditem["Code"].isNull())
|
||||
item3Object.code = reviewNodeSelecteditem["Code"].asString();
|
||||
review_.selected1.push_back(item3Object);
|
||||
}
|
||||
auto allAll2Node = reviewNode["All"]["item"];
|
||||
for (auto reviewNodeAllitem : allAll2Node)
|
||||
{
|
||||
Review::Item itemObject;
|
||||
if(!reviewNodeAllitem["Name"].isNull())
|
||||
itemObject.name = reviewNodeAllitem["Name"].asString();
|
||||
if(!reviewNodeAllitem["Code"].isNull())
|
||||
itemObject.code = reviewNodeAllitem["Code"].asString();
|
||||
review_.all2.push_back(itemObject);
|
||||
}
|
||||
auto whiteNode = value["White"];
|
||||
auto allSelected4Node = whiteNode["Selected"]["item"];
|
||||
for (auto whiteNodeSelecteditem : allSelected4Node)
|
||||
{
|
||||
White::Item6 item6Object;
|
||||
if(!whiteNodeSelecteditem["Name"].isNull())
|
||||
item6Object.name = whiteNodeSelecteditem["Name"].asString();
|
||||
if(!whiteNodeSelecteditem["Code"].isNull())
|
||||
item6Object.code = whiteNodeSelecteditem["Code"].asString();
|
||||
white_.selected4.push_back(item6Object);
|
||||
}
|
||||
auto allAll5Node = whiteNode["All"]["item"];
|
||||
for (auto whiteNodeAllitem : allAll5Node)
|
||||
{
|
||||
White::Item itemObject;
|
||||
if(!whiteNodeAllitem["Name"].isNull())
|
||||
itemObject.name = whiteNodeAllitem["Name"].asString();
|
||||
if(!whiteNodeAllitem["Code"].isNull())
|
||||
itemObject.code = whiteNodeAllitem["Code"].asString();
|
||||
white_.all5.push_back(itemObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
DescribeBizTypeImageLibResult::White DescribeBizTypeImageLibResult::getWhite()const
|
||||
{
|
||||
return white_;
|
||||
}
|
||||
|
||||
DescribeBizTypeImageLibResult::Black DescribeBizTypeImageLibResult::getBlack()const
|
||||
{
|
||||
return black_;
|
||||
}
|
||||
|
||||
DescribeBizTypeImageLibResult::Review DescribeBizTypeImageLibResult::getReview()const
|
||||
{
|
||||
return review_;
|
||||
}
|
||||
|
||||
73
green/src/model/DescribeBizTypeTextLibRequest.cc
Normal file
73
green/src/model/DescribeBizTypeTextLibRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/DescribeBizTypeTextLibRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::DescribeBizTypeTextLibRequest;
|
||||
|
||||
DescribeBizTypeTextLibRequest::DescribeBizTypeTextLibRequest() :
|
||||
RpcServiceRequest("green", "2017-08-23", "DescribeBizTypeTextLib")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBizTypeTextLibRequest::~DescribeBizTypeTextLibRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeBizTypeTextLibRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void DescribeBizTypeTextLibRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string DescribeBizTypeTextLibRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void DescribeBizTypeTextLibRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setParameter("Scene", scene);
|
||||
}
|
||||
|
||||
std::string DescribeBizTypeTextLibRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeBizTypeTextLibRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeBizTypeTextLibRequest::getBizTypeName()const
|
||||
{
|
||||
return bizTypeName_;
|
||||
}
|
||||
|
||||
void DescribeBizTypeTextLibRequest::setBizTypeName(const std::string& bizTypeName)
|
||||
{
|
||||
bizTypeName_ = bizTypeName;
|
||||
setParameter("BizTypeName", bizTypeName);
|
||||
}
|
||||
|
||||
148
green/src/model/DescribeBizTypeTextLibResult.cc
Normal file
148
green/src/model/DescribeBizTypeTextLibResult.cc
Normal file
@@ -0,0 +1,148 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/DescribeBizTypeTextLibResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
DescribeBizTypeTextLibResult::DescribeBizTypeTextLibResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeBizTypeTextLibResult::DescribeBizTypeTextLibResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeBizTypeTextLibResult::~DescribeBizTypeTextLibResult()
|
||||
{}
|
||||
|
||||
void DescribeBizTypeTextLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto blackNode = value["Black"];
|
||||
auto allSelectedNode = blackNode["Selected"]["item"];
|
||||
for (auto blackNodeSelecteditem : allSelectedNode)
|
||||
{
|
||||
Black::Item itemObject;
|
||||
if(!blackNodeSelecteditem["Name"].isNull())
|
||||
itemObject.name = blackNodeSelecteditem["Name"].asString();
|
||||
if(!blackNodeSelecteditem["Code"].isNull())
|
||||
itemObject.code = blackNodeSelecteditem["Code"].asString();
|
||||
black_.selected.push_back(itemObject);
|
||||
}
|
||||
auto allAllNode = blackNode["All"]["item"];
|
||||
for (auto blackNodeAllitem : allAllNode)
|
||||
{
|
||||
Black::Item itemObject;
|
||||
if(!blackNodeAllitem["Name"].isNull())
|
||||
itemObject.name = blackNodeAllitem["Name"].asString();
|
||||
if(!blackNodeAllitem["Code"].isNull())
|
||||
itemObject.code = blackNodeAllitem["Code"].asString();
|
||||
black_.all.push_back(itemObject);
|
||||
}
|
||||
auto reviewNode = value["Review"];
|
||||
auto allSelected1Node = reviewNode["Selected"]["item"];
|
||||
for (auto reviewNodeSelecteditem : allSelected1Node)
|
||||
{
|
||||
Review::Item3 item3Object;
|
||||
if(!reviewNodeSelecteditem["Name"].isNull())
|
||||
item3Object.name = reviewNodeSelecteditem["Name"].asString();
|
||||
if(!reviewNodeSelecteditem["Code"].isNull())
|
||||
item3Object.code = reviewNodeSelecteditem["Code"].asString();
|
||||
review_.selected1.push_back(item3Object);
|
||||
}
|
||||
auto allAll2Node = reviewNode["All"]["item"];
|
||||
for (auto reviewNodeAllitem : allAll2Node)
|
||||
{
|
||||
Review::Item itemObject;
|
||||
if(!reviewNodeAllitem["Name"].isNull())
|
||||
itemObject.name = reviewNodeAllitem["Name"].asString();
|
||||
if(!reviewNodeAllitem["Code"].isNull())
|
||||
itemObject.code = reviewNodeAllitem["Code"].asString();
|
||||
review_.all2.push_back(itemObject);
|
||||
}
|
||||
auto ignoreNode = value["Ignore"];
|
||||
auto allSelected4Node = ignoreNode["Selected"]["item"];
|
||||
for (auto ignoreNodeSelecteditem : allSelected4Node)
|
||||
{
|
||||
Ignore::Item6 item6Object;
|
||||
if(!ignoreNodeSelecteditem["Name"].isNull())
|
||||
item6Object.name = ignoreNodeSelecteditem["Name"].asString();
|
||||
if(!ignoreNodeSelecteditem["Code"].isNull())
|
||||
item6Object.code = ignoreNodeSelecteditem["Code"].asString();
|
||||
ignore_.selected4.push_back(item6Object);
|
||||
}
|
||||
auto allAll5Node = ignoreNode["All"]["item"];
|
||||
for (auto ignoreNodeAllitem : allAll5Node)
|
||||
{
|
||||
Ignore::Item itemObject;
|
||||
if(!ignoreNodeAllitem["Name"].isNull())
|
||||
itemObject.name = ignoreNodeAllitem["Name"].asString();
|
||||
if(!ignoreNodeAllitem["Code"].isNull())
|
||||
itemObject.code = ignoreNodeAllitem["Code"].asString();
|
||||
ignore_.all5.push_back(itemObject);
|
||||
}
|
||||
auto whiteNode = value["White"];
|
||||
auto allSelected7Node = whiteNode["Selected"]["item"];
|
||||
for (auto whiteNodeSelecteditem : allSelected7Node)
|
||||
{
|
||||
White::Item9 item9Object;
|
||||
if(!whiteNodeSelecteditem["Name"].isNull())
|
||||
item9Object.name = whiteNodeSelecteditem["Name"].asString();
|
||||
if(!whiteNodeSelecteditem["Code"].isNull())
|
||||
item9Object.code = whiteNodeSelecteditem["Code"].asString();
|
||||
white_.selected7.push_back(item9Object);
|
||||
}
|
||||
auto allAll8Node = whiteNode["All"]["item"];
|
||||
for (auto whiteNodeAllitem : allAll8Node)
|
||||
{
|
||||
White::Item itemObject;
|
||||
if(!whiteNodeAllitem["Name"].isNull())
|
||||
itemObject.name = whiteNodeAllitem["Name"].asString();
|
||||
if(!whiteNodeAllitem["Code"].isNull())
|
||||
itemObject.code = whiteNodeAllitem["Code"].asString();
|
||||
white_.all8.push_back(itemObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
DescribeBizTypeTextLibResult::Ignore DescribeBizTypeTextLibResult::getIgnore()const
|
||||
{
|
||||
return ignore_;
|
||||
}
|
||||
|
||||
DescribeBizTypeTextLibResult::White DescribeBizTypeTextLibResult::getWhite()const
|
||||
{
|
||||
return white_;
|
||||
}
|
||||
|
||||
DescribeBizTypeTextLibResult::Black DescribeBizTypeTextLibResult::getBlack()const
|
||||
{
|
||||
return black_;
|
||||
}
|
||||
|
||||
DescribeBizTypeTextLibResult::Review DescribeBizTypeTextLibResult::getReview()const
|
||||
{
|
||||
return review_;
|
||||
}
|
||||
|
||||
@@ -59,6 +59,10 @@ void DescribeOssIncrementCheckSettingResult::parse(const std::string &payload)
|
||||
imageAutoFreeze_.porn = imageAutoFreezeNode["Porn"].asString();
|
||||
if(!imageAutoFreezeNode["Terrorism"].isNull())
|
||||
imageAutoFreeze_.terrorism = imageAutoFreezeNode["Terrorism"].asString();
|
||||
if(!imageAutoFreezeNode["Ad"].isNull())
|
||||
imageAutoFreeze_.ad = imageAutoFreezeNode["Ad"].asString();
|
||||
if(!imageAutoFreezeNode["Live"].isNull())
|
||||
imageAutoFreeze_.live = imageAutoFreezeNode["Live"].asString();
|
||||
auto allImageSceneList = value["ImageSceneList"]["ImageScene"];
|
||||
for (const auto &item : allImageSceneList)
|
||||
imageSceneList_.push_back(item.asString());
|
||||
|
||||
@@ -51,6 +51,10 @@ void DescribeUserBizTypesResult::parse(const std::string &payload)
|
||||
bizTypeListObject.gray = valueBizTypeListitem["Gray"].asString() == "true";
|
||||
if(!valueBizTypeListitem["Source"].isNull())
|
||||
bizTypeListObject.source = valueBizTypeListitem["Source"].asString();
|
||||
if(!valueBizTypeListitem["CiteTemplate"].isNull())
|
||||
bizTypeListObject.citeTemplate = valueBizTypeListitem["CiteTemplate"].asString() == "true";
|
||||
if(!valueBizTypeListitem["IndustryInfo"].isNull())
|
||||
bizTypeListObject.industryInfo = valueBizTypeListitem["IndustryInfo"].asString();
|
||||
bizTypeList_.push_back(bizTypeListObject);
|
||||
}
|
||||
auto allBizTypeListImportNode = value["BizTypeListImport"]["item"];
|
||||
@@ -65,6 +69,10 @@ void DescribeUserBizTypesResult::parse(const std::string &payload)
|
||||
bizTypeListImportObject.gray = valueBizTypeListImportitem["Gray"].asString() == "true";
|
||||
if(!valueBizTypeListImportitem["Source"].isNull())
|
||||
bizTypeListImportObject.source = valueBizTypeListImportitem["Source"].asString();
|
||||
if(!valueBizTypeListImportitem["CiteTemplate"].isNull())
|
||||
bizTypeListImportObject.citeTemplate = valueBizTypeListImportitem["CiteTemplate"].asString() == "true";
|
||||
if(!valueBizTypeListImportitem["IndustryInfo"].isNull())
|
||||
bizTypeListImportObject.industryInfo = valueBizTypeListImportitem["IndustryInfo"].asString();
|
||||
bizTypeListImport_.push_back(bizTypeListImportObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DetectFaceRequest;
|
||||
|
||||
DetectFaceRequest::DetectFaceRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/face/detect");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DetectFaceRequest::~DetectFaceRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string DetectFaceRequest::getClientInfo()const
|
||||
void DetectFaceRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::FileAsyncScanRequest;
|
||||
|
||||
FileAsyncScanRequest::FileAsyncScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/file/asyncscan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
FileAsyncScanRequest::~FileAsyncScanRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string FileAsyncScanRequest::getClientInfo()const
|
||||
void FileAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::FileAsyncScanResultsRequest;
|
||||
|
||||
FileAsyncScanResultsRequest::FileAsyncScanResultsRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/file/results");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
FileAsyncScanResultsRequest::~FileAsyncScanResultsRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string FileAsyncScanResultsRequest::getClientInfo()const
|
||||
void FileAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::GetAddVideoDnaResultsRequest;
|
||||
|
||||
GetAddVideoDnaResultsRequest::GetAddVideoDnaResultsRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/video/dna/add/results");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAddVideoDnaResultsRequest::~GetAddVideoDnaResultsRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string GetAddVideoDnaResultsRequest::getClientInfo()const
|
||||
void GetAddVideoDnaResultsRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::GetFacesRequest;
|
||||
|
||||
GetFacesRequest::GetFacesRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/sface/faces");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetFacesRequest::~GetFacesRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string GetFacesRequest::getRegionId()const
|
||||
void GetFacesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string GetFacesRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string GetFacesRequest::getClientInfo()const
|
||||
void GetFacesRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::GetGroupsRequest;
|
||||
|
||||
GetGroupsRequest::GetGroupsRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/sface/groups");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetGroupsRequest::~GetGroupsRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string GetGroupsRequest::getRegionId()const
|
||||
void GetGroupsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string GetGroupsRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string GetGroupsRequest::getClientInfo()const
|
||||
void GetGroupsRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::GetPersonRequest;
|
||||
|
||||
GetPersonRequest::GetPersonRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/sface/person");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetPersonRequest::~GetPersonRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string GetPersonRequest::getRegionId()const
|
||||
void GetPersonRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string GetPersonRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string GetPersonRequest::getClientInfo()const
|
||||
void GetPersonRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::GetPersonsRequest;
|
||||
|
||||
GetPersonsRequest::GetPersonsRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/sface/group/persons");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetPersonsRequest::~GetPersonsRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string GetPersonsRequest::getRegionId()const
|
||||
void GetPersonsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string GetPersonsRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string GetPersonsRequest::getClientInfo()const
|
||||
void GetPersonsRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::GetSimilarityImageRequest;
|
||||
|
||||
GetSimilarityImageRequest::GetSimilarityImageRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/similarity/image/get");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetSimilarityImageRequest::~GetSimilarityImageRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string GetSimilarityImageRequest::getClientInfo()const
|
||||
void GetSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::GetSimilarityLibraryRequest;
|
||||
|
||||
GetSimilarityLibraryRequest::GetSimilarityLibraryRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/similarity/library/get");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetSimilarityLibraryRequest::~GetSimilarityLibraryRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string GetSimilarityLibraryRequest::getClientInfo()const
|
||||
void GetSimilarityLibraryRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ImageAsyncScanRequest;
|
||||
|
||||
ImageAsyncScanRequest::ImageAsyncScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/image/asyncscan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ImageAsyncScanRequest::~ImageAsyncScanRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string ImageAsyncScanRequest::getClientInfo()const
|
||||
void ImageAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ImageAsyncScanResultsRequest;
|
||||
|
||||
ImageAsyncScanResultsRequest::ImageAsyncScanResultsRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/image/results");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ImageAsyncScanResultsRequest::~ImageAsyncScanResultsRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string ImageAsyncScanResultsRequest::getClientInfo()const
|
||||
void ImageAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ImageDetectionRequest;
|
||||
|
||||
ImageDetectionRequest::ImageDetectionRequest() :
|
||||
RoaServiceRequest("green", "2016-12-22")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/image/detection");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ImageDetectionRequest::~ImageDetectionRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ImageResultRequest;
|
||||
|
||||
ImageResultRequest::ImageResultRequest() :
|
||||
RoaServiceRequest("green", "2016-12-22")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/image/result/[taskid]");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ImageResultRequest::~ImageResultRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string ImageResultRequest::getTaskid()const
|
||||
void ImageResultRequest::setTaskid(const std::string& taskid)
|
||||
{
|
||||
taskid_ = taskid;
|
||||
setCoreParameter("Taskid", taskid);
|
||||
setParameter("Taskid", taskid);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ImageResultsRequest;
|
||||
|
||||
ImageResultsRequest::ImageResultsRequest() :
|
||||
RoaServiceRequest("green", "2016-12-22")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/image/results");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ImageResultsRequest::~ImageResultsRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ImageScanFeedbackRequest;
|
||||
|
||||
ImageScanFeedbackRequest::ImageScanFeedbackRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/image/feedback");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ImageScanFeedbackRequest::~ImageScanFeedbackRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string ImageScanFeedbackRequest::getClientInfo()const
|
||||
void ImageScanFeedbackRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ImageSyncScanRequest;
|
||||
|
||||
ImageSyncScanRequest::ImageSyncScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/image/scan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ImageSyncScanRequest::~ImageSyncScanRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string ImageSyncScanRequest::getClientInfo()const
|
||||
void ImageSyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ListSimilarityImagesRequest;
|
||||
|
||||
ListSimilarityImagesRequest::ListSimilarityImagesRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/similarity/image/list");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListSimilarityImagesRequest::~ListSimilarityImagesRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string ListSimilarityImagesRequest::getClientInfo()const
|
||||
void ListSimilarityImagesRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ListSimilarityLibrariesRequest;
|
||||
|
||||
ListSimilarityLibrariesRequest::ListSimilarityLibrariesRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/similarity/library/list");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListSimilarityLibrariesRequest::~ListSimilarityLibrariesRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string ListSimilarityLibrariesRequest::getClientInfo()const
|
||||
void ListSimilarityLibrariesRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::SampleFeedbackRequest;
|
||||
|
||||
SampleFeedbackRequest::SampleFeedbackRequest() :
|
||||
RoaServiceRequest("green", "2016-12-22")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/sample/feedback");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SampleFeedbackRequest::~SampleFeedbackRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::SearchPersonRequest;
|
||||
|
||||
SearchPersonRequest::SearchPersonRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/sface/search");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SearchPersonRequest::~SearchPersonRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string SearchPersonRequest::getRegionId()const
|
||||
void SearchPersonRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string SearchPersonRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string SearchPersonRequest::getClientInfo()const
|
||||
void SearchPersonRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::SetPersonRequest;
|
||||
|
||||
SetPersonRequest::SetPersonRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/sface/person/update");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetPersonRequest::~SetPersonRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string SetPersonRequest::getRegionId()const
|
||||
void SetPersonRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string SetPersonRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string SetPersonRequest::getClientInfo()const
|
||||
void SetPersonRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::TextFeedbackRequest;
|
||||
|
||||
TextFeedbackRequest::TextFeedbackRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/text/feedback");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TextFeedbackRequest::~TextFeedbackRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string TextFeedbackRequest::getClientInfo()const
|
||||
void TextFeedbackRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::TextKeywordFilterRequest;
|
||||
|
||||
TextKeywordFilterRequest::TextKeywordFilterRequest() :
|
||||
RoaServiceRequest("green", "2016-12-22")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/text/keyword_filter");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TextKeywordFilterRequest::~TextKeywordFilterRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::TextScanRequest;
|
||||
|
||||
TextScanRequest::TextScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/text/scan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TextScanRequest::~TextScanRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string TextScanRequest::getClientInfo()const
|
||||
void TextScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
106
green/src/model/UpdateBizTypeImageLibRequest.cc
Normal file
106
green/src/model/UpdateBizTypeImageLibRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/UpdateBizTypeImageLibRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::UpdateBizTypeImageLibRequest;
|
||||
|
||||
UpdateBizTypeImageLibRequest::UpdateBizTypeImageLibRequest() :
|
||||
RpcServiceRequest("green", "2017-08-23", "UpdateBizTypeImageLib")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateBizTypeImageLibRequest::~UpdateBizTypeImageLibRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateBizTypeImageLibRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeImageLibRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setParameter("Scene", scene);
|
||||
}
|
||||
|
||||
std::string UpdateBizTypeImageLibRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeImageLibRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string UpdateBizTypeImageLibRequest::getWhite()const
|
||||
{
|
||||
return white_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeImageLibRequest::setWhite(const std::string& white)
|
||||
{
|
||||
white_ = white;
|
||||
setParameter("White", white);
|
||||
}
|
||||
|
||||
std::string UpdateBizTypeImageLibRequest::getReview()const
|
||||
{
|
||||
return review_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeImageLibRequest::setReview(const std::string& review)
|
||||
{
|
||||
review_ = review;
|
||||
setParameter("Review", review);
|
||||
}
|
||||
|
||||
std::string UpdateBizTypeImageLibRequest::getBizTypeName()const
|
||||
{
|
||||
return bizTypeName_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeImageLibRequest::setBizTypeName(const std::string& bizTypeName)
|
||||
{
|
||||
bizTypeName_ = bizTypeName;
|
||||
setParameter("BizTypeName", bizTypeName);
|
||||
}
|
||||
|
||||
std::string UpdateBizTypeImageLibRequest::getBlack()const
|
||||
{
|
||||
return black_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeImageLibRequest::setBlack(const std::string& black)
|
||||
{
|
||||
black_ = black;
|
||||
setParameter("Black", black);
|
||||
}
|
||||
|
||||
std::string UpdateBizTypeImageLibRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeImageLibRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
44
green/src/model/UpdateBizTypeImageLibResult.cc
Normal file
44
green/src/model/UpdateBizTypeImageLibResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/UpdateBizTypeImageLibResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
UpdateBizTypeImageLibResult::UpdateBizTypeImageLibResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateBizTypeImageLibResult::UpdateBizTypeImageLibResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateBizTypeImageLibResult::~UpdateBizTypeImageLibResult()
|
||||
{}
|
||||
|
||||
void UpdateBizTypeImageLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
117
green/src/model/UpdateBizTypeTextLibRequest.cc
Normal file
117
green/src/model/UpdateBizTypeTextLibRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/UpdateBizTypeTextLibRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::UpdateBizTypeTextLibRequest;
|
||||
|
||||
UpdateBizTypeTextLibRequest::UpdateBizTypeTextLibRequest() :
|
||||
RpcServiceRequest("green", "2017-08-23", "UpdateBizTypeTextLib")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateBizTypeTextLibRequest::~UpdateBizTypeTextLibRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateBizTypeTextLibRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeTextLibRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setParameter("Scene", scene);
|
||||
}
|
||||
|
||||
std::string UpdateBizTypeTextLibRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeTextLibRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string UpdateBizTypeTextLibRequest::getWhite()const
|
||||
{
|
||||
return white_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeTextLibRequest::setWhite(const std::string& white)
|
||||
{
|
||||
white_ = white;
|
||||
setParameter("White", white);
|
||||
}
|
||||
|
||||
std::string UpdateBizTypeTextLibRequest::getReview()const
|
||||
{
|
||||
return review_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeTextLibRequest::setReview(const std::string& review)
|
||||
{
|
||||
review_ = review;
|
||||
setParameter("Review", review);
|
||||
}
|
||||
|
||||
std::string UpdateBizTypeTextLibRequest::getIgnore()const
|
||||
{
|
||||
return ignore_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeTextLibRequest::setIgnore(const std::string& ignore)
|
||||
{
|
||||
ignore_ = ignore;
|
||||
setParameter("Ignore", ignore);
|
||||
}
|
||||
|
||||
std::string UpdateBizTypeTextLibRequest::getBizTypeName()const
|
||||
{
|
||||
return bizTypeName_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeTextLibRequest::setBizTypeName(const std::string& bizTypeName)
|
||||
{
|
||||
bizTypeName_ = bizTypeName;
|
||||
setParameter("BizTypeName", bizTypeName);
|
||||
}
|
||||
|
||||
std::string UpdateBizTypeTextLibRequest::getBlack()const
|
||||
{
|
||||
return black_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeTextLibRequest::setBlack(const std::string& black)
|
||||
{
|
||||
black_ = black;
|
||||
setParameter("Black", black);
|
||||
}
|
||||
|
||||
std::string UpdateBizTypeTextLibRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void UpdateBizTypeTextLibRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
44
green/src/model/UpdateBizTypeTextLibResult.cc
Normal file
44
green/src/model/UpdateBizTypeTextLibResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/UpdateBizTypeTextLibResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
UpdateBizTypeTextLibResult::UpdateBizTypeTextLibResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateBizTypeTextLibResult::UpdateBizTypeTextLibResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateBizTypeTextLibResult::~UpdateBizTypeTextLibResult()
|
||||
{}
|
||||
|
||||
void UpdateBizTypeTextLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::UploadCredentialsRequest;
|
||||
|
||||
UploadCredentialsRequest::UploadCredentialsRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/credentials/uploadcredentials");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UploadCredentialsRequest::~UploadCredentialsRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string UploadCredentialsRequest::getRegionId()const
|
||||
void UploadCredentialsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string UploadCredentialsRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string UploadCredentialsRequest::getClientInfo()const
|
||||
void UploadCredentialsRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VideoAsyncScanRequest;
|
||||
|
||||
VideoAsyncScanRequest::VideoAsyncScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/video/asyncscan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VideoAsyncScanRequest::~VideoAsyncScanRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string VideoAsyncScanRequest::getClientInfo()const
|
||||
void VideoAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VideoAsyncScanResultsRequest;
|
||||
|
||||
VideoAsyncScanResultsRequest::VideoAsyncScanResultsRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/video/results");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VideoAsyncScanResultsRequest::~VideoAsyncScanResultsRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string VideoAsyncScanResultsRequest::getClientInfo()const
|
||||
void VideoAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VideoCancelScanRequest;
|
||||
|
||||
VideoCancelScanRequest::VideoCancelScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/video/cancelscan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VideoCancelScanRequest::~VideoCancelScanRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string VideoCancelScanRequest::getClientInfo()const
|
||||
void VideoCancelScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VideoFeedbackRequest;
|
||||
|
||||
VideoFeedbackRequest::VideoFeedbackRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/video/feedback");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VideoFeedbackRequest::~VideoFeedbackRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string VideoFeedbackRequest::getClientInfo()const
|
||||
void VideoFeedbackRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VideoSyncScanRequest;
|
||||
|
||||
VideoSyncScanRequest::VideoSyncScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/video/syncscan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VideoSyncScanRequest::~VideoSyncScanRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string VideoSyncScanRequest::getClientInfo()const
|
||||
void VideoSyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceAsyncScanRequest;
|
||||
|
||||
VoiceAsyncScanRequest::VoiceAsyncScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/voice/asyncscan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VoiceAsyncScanRequest::~VoiceAsyncScanRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string VoiceAsyncScanRequest::getClientInfo()const
|
||||
void VoiceAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceAsyncScanResultsRequest;
|
||||
|
||||
VoiceAsyncScanResultsRequest::VoiceAsyncScanResultsRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/voice/results");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VoiceAsyncScanResultsRequest::~VoiceAsyncScanResultsRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string VoiceAsyncScanResultsRequest::getClientInfo()const
|
||||
void VoiceAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceCancelScanRequest;
|
||||
|
||||
VoiceCancelScanRequest::VoiceCancelScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/voice/cancelscan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VoiceCancelScanRequest::~VoiceCancelScanRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string VoiceCancelScanRequest::getClientInfo()const
|
||||
void VoiceCancelScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceIdentityCheckRequest;
|
||||
|
||||
VoiceIdentityCheckRequest::VoiceIdentityCheckRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/voice/auth/check");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VoiceIdentityCheckRequest::~VoiceIdentityCheckRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string VoiceIdentityCheckRequest::getRegionId()const
|
||||
void VoiceIdentityCheckRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string VoiceIdentityCheckRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string VoiceIdentityCheckRequest::getClientInfo()const
|
||||
void VoiceIdentityCheckRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceIdentityRegisterRequest;
|
||||
|
||||
VoiceIdentityRegisterRequest::VoiceIdentityRegisterRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/voice/auth/register");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VoiceIdentityRegisterRequest::~VoiceIdentityRegisterRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string VoiceIdentityRegisterRequest::getRegionId()const
|
||||
void VoiceIdentityRegisterRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string VoiceIdentityRegisterRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string VoiceIdentityRegisterRequest::getClientInfo()const
|
||||
void VoiceIdentityRegisterRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceIdentityStartCheckRequest;
|
||||
|
||||
VoiceIdentityStartCheckRequest::VoiceIdentityStartCheckRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/voice/auth/start/check");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VoiceIdentityStartCheckRequest::~VoiceIdentityStartCheckRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string VoiceIdentityStartCheckRequest::getRegionId()const
|
||||
void VoiceIdentityStartCheckRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string VoiceIdentityStartCheckRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string VoiceIdentityStartCheckRequest::getClientInfo()const
|
||||
void VoiceIdentityStartCheckRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceIdentityStartRegisterRequest;
|
||||
|
||||
VoiceIdentityStartRegisterRequest::VoiceIdentityStartRegisterRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/voice/auth/start/register");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VoiceIdentityStartRegisterRequest::~VoiceIdentityStartRegisterRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string VoiceIdentityStartRegisterRequest::getRegionId()const
|
||||
void VoiceIdentityStartRegisterRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string VoiceIdentityStartRegisterRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string VoiceIdentityStartRegisterRequest::getClientInfo()const
|
||||
void VoiceIdentityStartRegisterRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceIdentityUnregisterRequest;
|
||||
|
||||
VoiceIdentityUnregisterRequest::VoiceIdentityUnregisterRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/green/voice/auth/unregister");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VoiceIdentityUnregisterRequest::~VoiceIdentityUnregisterRequest()
|
||||
{}
|
||||
@@ -33,7 +36,7 @@ std::string VoiceIdentityUnregisterRequest::getRegionId()const
|
||||
void VoiceIdentityUnregisterRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string VoiceIdentityUnregisterRequest::getClientInfo()const
|
||||
@@ -44,6 +47,6 @@ std::string VoiceIdentityUnregisterRequest::getClientInfo()const
|
||||
void VoiceIdentityUnregisterRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setCoreParameter("ClientInfo", clientInfo);
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
|
||||
52
green/src/model/VoiceSyncScanRequest.cc
Normal file
52
green/src/model/VoiceSyncScanRequest.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/VoiceSyncScanRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::VoiceSyncScanRequest;
|
||||
|
||||
VoiceSyncScanRequest::VoiceSyncScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{
|
||||
setResourcePath("/green/voice/syncscan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VoiceSyncScanRequest::~VoiceSyncScanRequest()
|
||||
{}
|
||||
|
||||
std::string VoiceSyncScanRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void VoiceSyncScanRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string VoiceSyncScanRequest::getClientInfo()const
|
||||
{
|
||||
return clientInfo_;
|
||||
}
|
||||
|
||||
void VoiceSyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
44
green/src/model/VoiceSyncScanResult.cc
Normal file
44
green/src/model/VoiceSyncScanResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/VoiceSyncScanResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
VoiceSyncScanResult::VoiceSyncScanResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
VoiceSyncScanResult::VoiceSyncScanResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
VoiceSyncScanResult::~VoiceSyncScanResult()
|
||||
{}
|
||||
|
||||
void VoiceSyncScanResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user