This commit is contained in:
sdk-team
2022-05-30 13:33:11 +00:00
parent ac8fcb80f0
commit 422f236430
19 changed files with 654 additions and 3 deletions

View File

@@ -110,6 +110,8 @@
#include "model/InvalidRuleResult.h"
#include "model/ListAsrVocabRequest.h"
#include "model/ListAsrVocabResult.h"
#include "model/ListBusinessSpacesRequest.h"
#include "model/ListBusinessSpacesResult.h"
#include "model/ListHotWordsTasksRequest.h"
#include "model/ListHotWordsTasksResult.h"
#include "model/ListPrecisionTaskRequest.h"
@@ -144,6 +146,8 @@
#include "model/SyncQualityCheckResult.h"
#include "model/UpdateAsrVocabRequest.h"
#include "model/UpdateAsrVocabResult.h"
#include "model/UpdateQualityCheckDataRequest.h"
#include "model/UpdateQualityCheckDataResult.h"
#include "model/UpdateRuleRequest.h"
#include "model/UpdateRuleResult.h"
#include "model/UpdateScoreForApiRequest.h"
@@ -315,6 +319,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListAsrVocabResult> ListAsrVocabOutcome;
typedef std::future<ListAsrVocabOutcome> ListAsrVocabOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::ListAsrVocabRequest&, const ListAsrVocabOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAsrVocabAsyncHandler;
typedef Outcome<Error, Model::ListBusinessSpacesResult> ListBusinessSpacesOutcome;
typedef std::future<ListBusinessSpacesOutcome> ListBusinessSpacesOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::ListBusinessSpacesRequest&, const ListBusinessSpacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListBusinessSpacesAsyncHandler;
typedef Outcome<Error, Model::ListHotWordsTasksResult> ListHotWordsTasksOutcome;
typedef std::future<ListHotWordsTasksOutcome> ListHotWordsTasksOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::ListHotWordsTasksRequest&, const ListHotWordsTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListHotWordsTasksAsyncHandler;
@@ -366,6 +373,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateAsrVocabResult> UpdateAsrVocabOutcome;
typedef std::future<UpdateAsrVocabOutcome> UpdateAsrVocabOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::UpdateAsrVocabRequest&, const UpdateAsrVocabOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAsrVocabAsyncHandler;
typedef Outcome<Error, Model::UpdateQualityCheckDataResult> UpdateQualityCheckDataOutcome;
typedef std::future<UpdateQualityCheckDataOutcome> UpdateQualityCheckDataOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::UpdateQualityCheckDataRequest&, const UpdateQualityCheckDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateQualityCheckDataAsyncHandler;
typedef Outcome<Error, Model::UpdateRuleResult> UpdateRuleOutcome;
typedef std::future<UpdateRuleOutcome> UpdateRuleOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::UpdateRuleRequest&, const UpdateRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateRuleAsyncHandler;
@@ -548,6 +558,9 @@ namespace AlibabaCloud
ListAsrVocabOutcome listAsrVocab(const Model::ListAsrVocabRequest &request)const;
void listAsrVocabAsync(const Model::ListAsrVocabRequest& request, const ListAsrVocabAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAsrVocabOutcomeCallable listAsrVocabCallable(const Model::ListAsrVocabRequest& request) const;
ListBusinessSpacesOutcome listBusinessSpaces(const Model::ListBusinessSpacesRequest &request)const;
void listBusinessSpacesAsync(const Model::ListBusinessSpacesRequest& request, const ListBusinessSpacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListBusinessSpacesOutcomeCallable listBusinessSpacesCallable(const Model::ListBusinessSpacesRequest& request) const;
ListHotWordsTasksOutcome listHotWordsTasks(const Model::ListHotWordsTasksRequest &request)const;
void listHotWordsTasksAsync(const Model::ListHotWordsTasksRequest& request, const ListHotWordsTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListHotWordsTasksOutcomeCallable listHotWordsTasksCallable(const Model::ListHotWordsTasksRequest& request) const;
@@ -599,6 +612,9 @@ namespace AlibabaCloud
UpdateAsrVocabOutcome updateAsrVocab(const Model::UpdateAsrVocabRequest &request)const;
void updateAsrVocabAsync(const Model::UpdateAsrVocabRequest& request, const UpdateAsrVocabAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateAsrVocabOutcomeCallable updateAsrVocabCallable(const Model::UpdateAsrVocabRequest& request) const;
UpdateQualityCheckDataOutcome updateQualityCheckData(const Model::UpdateQualityCheckDataRequest &request)const;
void updateQualityCheckDataAsync(const Model::UpdateQualityCheckDataRequest& request, const UpdateQualityCheckDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateQualityCheckDataOutcomeCallable updateQualityCheckDataCallable(const Model::UpdateQualityCheckDataRequest& request) const;
UpdateRuleOutcome updateRule(const Model::UpdateRuleRequest &request)const;
void updateRuleAsync(const Model::UpdateRuleRequest& request, const UpdateRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateRuleOutcomeCallable updateRuleCallable(const Model::UpdateRuleRequest& request) const;

View File

@@ -103,6 +103,8 @@ namespace AlibabaCloud
};
std::vector<HitResultItem::Hit> hits;
std::string type;
long schemeId;
long schemeVersion;
int reviewResult;
std::string rid;
std::string name;
@@ -118,6 +120,7 @@ namespace AlibabaCloud
Agent agent;
std::string taskId;
std::string resolver;
std::vector<std::string> schemeNameList;
std::string comments;
std::string createTime;
std::string reviewTime;
@@ -127,6 +130,7 @@ namespace AlibabaCloud
std::string reviewer;
std::vector<ResultInfo::HitResultItem> hitResult;
int score;
std::vector<std::string> schemeIdList;
std::string assignmentTime;
std::string taskName;
int reviewStatus;

View File

@@ -86,6 +86,7 @@ namespace AlibabaCloud
struct KeyWord
{
std::string val;
std::string customizeCode;
int pid;
int from;
int to;

View File

@@ -0,0 +1,48 @@
/*
* 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.
*/
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_LISTBUSINESSSPACESREQUEST_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTBUSINESSSPACESREQUEST_H_
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Qualitycheck {
namespace Model {
class ALIBABACLOUD_QUALITYCHECK_EXPORT ListBusinessSpacesRequest : public RpcServiceRequest {
public:
ListBusinessSpacesRequest();
~ListBusinessSpacesRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getJsonStr() const;
void setJsonStr(const std::string &jsonStr);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
long resourceOwnerId_;
std::string jsonStr_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace Qualitycheck
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_LISTBUSINESSSPACESREQUEST_H_

View File

@@ -0,0 +1,81 @@
/*
* 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.
*/
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_LISTBUSINESSSPACESRESULT_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTBUSINESSSPACESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT ListBusinessSpacesResult : public ServiceResult
{
public:
struct DataItem
{
std::string xspaceProductCode;
std::string xspaceCommodityCode;
std::string endTime;
int currentStatus;
std::string productType;
std::string startTime;
std::string roleName;
std::string language;
std::string orderInstanceId;
long subAliUid;
std::string businessSpaceCode;
long id;
int loginUserType;
std::string businessSpaceName;
long aliUid;
};
ListBusinessSpacesResult();
explicit ListBusinessSpacesResult(const std::string &payload);
~ListBusinessSpacesResult();
int getPageSize()const;
std::string getMessage()const;
int getCurrentPage()const;
int getPageNumber()const;
std::vector<DataItem> getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
std::string message_;
int currentPage_;
int pageNumber_;
std::vector<DataItem> data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_LISTBUSINESSSPACESRESULT_H_

View File

@@ -61,13 +61,14 @@ namespace AlibabaCloud
std::string updateUserName;
std::vector<DataItem::RuleListItem> ruleList;
std::string description;
int schemeId;
long schemeId;
std::vector<DataItem::SchemeCheckTypeListItem> schemeCheckTypeList;
std::string createTime;
int templateType;
std::string createUserName;
std::string name;
int type;
long version;
std::string updateTime;
int dataType;
};

View File

@@ -0,0 +1,48 @@
/*
* 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.
*/
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATEQUALITYCHECKDATAREQUEST_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATEQUALITYCHECKDATAREQUEST_H_
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Qualitycheck {
namespace Model {
class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateQualityCheckDataRequest : public RpcServiceRequest {
public:
UpdateQualityCheckDataRequest();
~UpdateQualityCheckDataRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getJsonStr() const;
void setJsonStr(const std::string &jsonStr);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
long resourceOwnerId_;
std::string jsonStr_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace Qualitycheck
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATEQUALITYCHECKDATAREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* 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.
*/
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATEQUALITYCHECKDATARESULT_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATEQUALITYCHECKDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateQualityCheckDataResult : public ServiceResult
{
public:
UpdateQualityCheckDataResult();
explicit UpdateQualityCheckDataResult(const std::string &payload);
~UpdateQualityCheckDataResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATEQUALITYCHECKDATARESULT_H_