GREEN SDK Auto Released By Alibaba Cloud,Version:1.15.0

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2018-05-28 19:21:02 +08:00
parent b1d844c587
commit b333d4f03c
45 changed files with 789 additions and 102 deletions

View File

@@ -267,6 +267,42 @@ GreenClient::DeletePersonOutcomeCallable GreenClient::deletePersonCallable(const
return task->get_future();
}
GreenClient::VideoSyncScanOutcome GreenClient::videoSyncScan(const VideoSyncScanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return VideoSyncScanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return VideoSyncScanOutcome(VideoSyncScanResult(outcome.result()));
else
return VideoSyncScanOutcome(outcome.error());
}
void GreenClient::videoSyncScanAsync(const VideoSyncScanRequest& request, const VideoSyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, videoSyncScan(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::VideoSyncScanOutcomeCallable GreenClient::videoSyncScanCallable(const VideoSyncScanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<VideoSyncScanOutcome()>>(
[this, request]()
{
return this->videoSyncScan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::VideoAsyncScanResultsOutcome GreenClient::videoAsyncScanResults(const VideoAsyncScanResultsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -447,42 +483,6 @@ GreenClient::TextFeedbackOutcomeCallable GreenClient::textFeedbackCallable(const
return task->get_future();
}
GreenClient::SearchOutcome GreenClient::search(const SearchRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SearchOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SearchOutcome(SearchResult(outcome.result()));
else
return SearchOutcome(outcome.error());
}
void GreenClient::searchAsync(const SearchRequest& request, const SearchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, search(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::SearchOutcomeCallable GreenClient::searchCallable(const SearchRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SearchOutcome()>>(
[this, request]()
{
return this->search(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::FileAsyncScanResultsOutcome GreenClient::fileAsyncScanResults(const FileAsyncScanResultsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -879,6 +879,78 @@ GreenClient::ImageScanFeedbackOutcomeCallable GreenClient::imageScanFeedbackCall
return task->get_future();
}
GreenClient::DeleteSimilarityImageOutcome GreenClient::deleteSimilarityImage(const DeleteSimilarityImageRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteSimilarityImageOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteSimilarityImageOutcome(DeleteSimilarityImageResult(outcome.result()));
else
return DeleteSimilarityImageOutcome(outcome.error());
}
void GreenClient::deleteSimilarityImageAsync(const DeleteSimilarityImageRequest& request, const DeleteSimilarityImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteSimilarityImage(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::DeleteSimilarityImageOutcomeCallable GreenClient::deleteSimilarityImageCallable(const DeleteSimilarityImageRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteSimilarityImageOutcome()>>(
[this, request]()
{
return this->deleteSimilarityImage(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::SearchPersonOutcome GreenClient::searchPerson(const SearchPersonRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SearchPersonOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SearchPersonOutcome(SearchPersonResult(outcome.result()));
else
return SearchPersonOutcome(outcome.error());
}
void GreenClient::searchPersonAsync(const SearchPersonRequest& request, const SearchPersonAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, searchPerson(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::SearchPersonOutcomeCallable GreenClient::searchPersonCallable(const SearchPersonRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SearchPersonOutcome()>>(
[this, request]()
{
return this->searchPerson(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::AddPersonOutcome GreenClient::addPerson(const AddPersonRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -951,3 +1023,39 @@ GreenClient::AddFacesOutcomeCallable GreenClient::addFacesCallable(const AddFace
return task->get_future();
}
GreenClient::AddSimilarityImageOutcome GreenClient::addSimilarityImage(const AddSimilarityImageRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AddSimilarityImageOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AddSimilarityImageOutcome(AddSimilarityImageResult(outcome.result()));
else
return AddSimilarityImageOutcome(outcome.error());
}
void GreenClient::addSimilarityImageAsync(const AddSimilarityImageRequest& request, const AddSimilarityImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, addSimilarityImage(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::AddSimilarityImageOutcomeCallable GreenClient::addSimilarityImageCallable(const AddSimilarityImageRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AddSimilarityImageOutcome()>>(
[this, request]()
{
return this->addSimilarityImage(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::AddFacesRequest;
AddFacesRequest::AddFacesRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
AddFacesRequest::~AddFacesRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::AddGroupsRequest;
AddGroupsRequest::AddGroupsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
AddGroupsRequest::~AddGroupsRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::AddPersonRequest;
AddPersonRequest::AddPersonRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
AddPersonRequest::~AddPersonRequest()

View File

@@ -0,0 +1,38 @@
/*
* 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/AddSimilarityImageRequest.h>
using AlibabaCloud::Green::Model::AddSimilarityImageRequest;
AddSimilarityImageRequest::AddSimilarityImageRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
AddSimilarityImageRequest::~AddSimilarityImageRequest()
{}
std::string AddSimilarityImageRequest::getClientInfo()const
{
return clientInfo_;
}
void AddSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/AddSimilarityImageResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
AddSimilarityImageResult::AddSimilarityImageResult() :
ServiceResult()
{}
AddSimilarityImageResult::AddSimilarityImageResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddSimilarityImageResult::~AddSimilarityImageResult()
{}
void AddSimilarityImageResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::DeleteFacesRequest;
DeleteFacesRequest::DeleteFacesRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
DeleteFacesRequest::~DeleteFacesRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::DeleteGroupsRequest;
DeleteGroupsRequest::DeleteGroupsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
DeleteGroupsRequest::~DeleteGroupsRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::DeletePersonRequest;
DeletePersonRequest::DeletePersonRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
DeletePersonRequest::~DeletePersonRequest()

View File

@@ -0,0 +1,38 @@
/*
* 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/DeleteSimilarityImageRequest.h>
using AlibabaCloud::Green::Model::DeleteSimilarityImageRequest;
DeleteSimilarityImageRequest::DeleteSimilarityImageRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
DeleteSimilarityImageRequest::~DeleteSimilarityImageRequest()
{}
std::string DeleteSimilarityImageRequest::getClientInfo()const
{
return clientInfo_;
}
void DeleteSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/DeleteSimilarityImageResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
DeleteSimilarityImageResult::DeleteSimilarityImageResult() :
ServiceResult()
{}
DeleteSimilarityImageResult::DeleteSimilarityImageResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteSimilarityImageResult::~DeleteSimilarityImageResult()
{}
void DeleteSimilarityImageResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::FileAsyncScanRequest;
FileAsyncScanRequest::FileAsyncScanRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
FileAsyncScanRequest::~FileAsyncScanRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::FileAsyncScanResultsRequest;
FileAsyncScanResultsRequest::FileAsyncScanResultsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
FileAsyncScanResultsRequest::~FileAsyncScanResultsRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::GetFacesRequest;
GetFacesRequest::GetFacesRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
GetFacesRequest::~GetFacesRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::GetGroupsRequest;
GetGroupsRequest::GetGroupsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
GetGroupsRequest::~GetGroupsRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::GetPersonRequest;
GetPersonRequest::GetPersonRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
GetPersonRequest::~GetPersonRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::GetPersonsRequest;
GetPersonsRequest::GetPersonsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
GetPersonsRequest::~GetPersonsRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::ImageAsyncScanRequest;
ImageAsyncScanRequest::ImageAsyncScanRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
ImageAsyncScanRequest::~ImageAsyncScanRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::ImageAsyncScanResultsRequest;
ImageAsyncScanResultsRequest::ImageAsyncScanResultsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
ImageAsyncScanResultsRequest::~ImageAsyncScanResultsRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::ImageScanFeedbackRequest;
ImageScanFeedbackRequest::ImageScanFeedbackRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
ImageScanFeedbackRequest::~ImageScanFeedbackRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::ImageSyncScanRequest;
ImageSyncScanRequest::ImageSyncScanRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
ImageSyncScanRequest::~ImageSyncScanRequest()

View File

@@ -14,34 +14,34 @@
* limitations under the License.
*/
#include <alibabacloud/green/model/SearchRequest.h>
#include <alibabacloud/green/model/SearchPersonRequest.h>
using AlibabaCloud::Green::Model::SearchRequest;
using AlibabaCloud::Green::Model::SearchPersonRequest;
SearchRequest::SearchRequest() :
RoaServiceRequest("green", "2017-08-25")
SearchPersonRequest::SearchPersonRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
SearchRequest::~SearchRequest()
SearchPersonRequest::~SearchPersonRequest()
{}
std::string SearchRequest::getRegionId()const
std::string SearchPersonRequest::getRegionId()const
{
return regionId_;
}
void SearchRequest::setRegionId(const std::string& regionId)
void SearchPersonRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string SearchRequest::getClientInfo()const
std::string SearchPersonRequest::getClientInfo()const
{
return clientInfo_;
}
void SearchRequest::setClientInfo(const std::string& clientInfo)
void SearchPersonRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/green/model/SearchResult.h>
#include <alibabacloud/green/model/SearchPersonResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
SearchResult::SearchResult() :
SearchPersonResult::SearchPersonResult() :
ServiceResult()
{}
SearchResult::SearchResult(const std::string &payload) :
SearchPersonResult::SearchPersonResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SearchResult::~SearchResult()
SearchPersonResult::~SearchPersonResult()
{}
void SearchResult::parse(const std::string &payload)
void SearchPersonResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::SetPersonRequest;
SetPersonRequest::SetPersonRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
SetPersonRequest::~SetPersonRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::TextFeedbackRequest;
TextFeedbackRequest::TextFeedbackRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
TextFeedbackRequest::~TextFeedbackRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::TextScanRequest;
TextScanRequest::TextScanRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
TextScanRequest::~TextScanRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::VideoAsyncScanRequest;
VideoAsyncScanRequest::VideoAsyncScanRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
VideoAsyncScanRequest::~VideoAsyncScanRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::VideoAsyncScanResultsRequest;
VideoAsyncScanResultsRequest::VideoAsyncScanResultsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
VideoAsyncScanResultsRequest::~VideoAsyncScanResultsRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::VideoFeedbackRequest;
VideoFeedbackRequest::VideoFeedbackRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
VideoFeedbackRequest::~VideoFeedbackRequest()

View File

@@ -0,0 +1,38 @@
/*
* 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/VideoSyncScanRequest.h>
using AlibabaCloud::Green::Model::VideoSyncScanRequest;
VideoSyncScanRequest::VideoSyncScanRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
VideoSyncScanRequest::~VideoSyncScanRequest()
{}
std::string VideoSyncScanRequest::getClientInfo()const
{
return clientInfo_;
}
void VideoSyncScanRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/VideoSyncScanResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
VideoSyncScanResult::VideoSyncScanResult() :
ServiceResult()
{}
VideoSyncScanResult::VideoSyncScanResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VideoSyncScanResult::~VideoSyncScanResult()
{}
void VideoSyncScanResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::VoiceAsyncScanRequest;
VoiceAsyncScanRequest::VoiceAsyncScanRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
VoiceAsyncScanRequest::~VoiceAsyncScanRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::VoiceAsyncScanResultsRequest;
VoiceAsyncScanResultsRequest::VoiceAsyncScanResultsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
VoiceAsyncScanResultsRequest::~VoiceAsyncScanResultsRequest()