Add API ReportVoipProblems.

This commit is contained in:
sdk-team
2019-11-20 10:45:49 +08:00
parent b0c5f8414d
commit 99ae87ba10
13 changed files with 688 additions and 4 deletions

View File

@@ -60,6 +60,10 @@
#include "model/QueryRobotTaskListResult.h"
#include "model/QueryRobotv2AllListRequest.h"
#include "model/QueryRobotv2AllListResult.h"
#include "model/QueryVoipNumberBindInfosRequest.h"
#include "model/QueryVoipNumberBindInfosResult.h"
#include "model/ReportVoipProblemsRequest.h"
#include "model/ReportVoipProblemsResult.h"
#include "model/SingleCallByTtsRequest.h"
#include "model/SingleCallByTtsResult.h"
#include "model/SingleCallByVoiceRequest.h"
@@ -146,6 +150,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryRobotv2AllListResult> QueryRobotv2AllListOutcome;
typedef std::future<QueryRobotv2AllListOutcome> QueryRobotv2AllListOutcomeCallable;
typedef std::function<void(const DyvmsapiClient*, const Model::QueryRobotv2AllListRequest&, const QueryRobotv2AllListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRobotv2AllListAsyncHandler;
typedef Outcome<Error, Model::QueryVoipNumberBindInfosResult> QueryVoipNumberBindInfosOutcome;
typedef std::future<QueryVoipNumberBindInfosOutcome> QueryVoipNumberBindInfosOutcomeCallable;
typedef std::function<void(const DyvmsapiClient*, const Model::QueryVoipNumberBindInfosRequest&, const QueryVoipNumberBindInfosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryVoipNumberBindInfosAsyncHandler;
typedef Outcome<Error, Model::ReportVoipProblemsResult> ReportVoipProblemsOutcome;
typedef std::future<ReportVoipProblemsOutcome> ReportVoipProblemsOutcomeCallable;
typedef std::function<void(const DyvmsapiClient*, const Model::ReportVoipProblemsRequest&, const ReportVoipProblemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReportVoipProblemsAsyncHandler;
typedef Outcome<Error, Model::SingleCallByTtsResult> SingleCallByTtsOutcome;
typedef std::future<SingleCallByTtsOutcome> SingleCallByTtsOutcomeCallable;
typedef std::function<void(const DyvmsapiClient*, const Model::SingleCallByTtsRequest&, const SingleCallByTtsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SingleCallByTtsAsyncHandler;
@@ -238,6 +248,12 @@ namespace AlibabaCloud
QueryRobotv2AllListOutcome queryRobotv2AllList(const Model::QueryRobotv2AllListRequest &request)const;
void queryRobotv2AllListAsync(const Model::QueryRobotv2AllListRequest& request, const QueryRobotv2AllListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryRobotv2AllListOutcomeCallable queryRobotv2AllListCallable(const Model::QueryRobotv2AllListRequest& request) const;
QueryVoipNumberBindInfosOutcome queryVoipNumberBindInfos(const Model::QueryVoipNumberBindInfosRequest &request)const;
void queryVoipNumberBindInfosAsync(const Model::QueryVoipNumberBindInfosRequest& request, const QueryVoipNumberBindInfosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryVoipNumberBindInfosOutcomeCallable queryVoipNumberBindInfosCallable(const Model::QueryVoipNumberBindInfosRequest& request) const;
ReportVoipProblemsOutcome reportVoipProblems(const Model::ReportVoipProblemsRequest &request)const;
void reportVoipProblemsAsync(const Model::ReportVoipProblemsRequest& request, const ReportVoipProblemsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReportVoipProblemsOutcomeCallable reportVoipProblemsCallable(const Model::ReportVoipProblemsRequest& request) const;
SingleCallByTtsOutcome singleCallByTts(const Model::SingleCallByTtsRequest &request)const;
void singleCallByTtsAsync(const Model::SingleCallByTtsRequest& request, const SingleCallByTtsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SingleCallByTtsOutcomeCallable singleCallByTtsCallable(const Model::SingleCallByTtsRequest& request) const;

View File

@@ -0,0 +1,63 @@
/*
* 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_DYVMSAPI_MODEL_QUERYVOIPNUMBERBINDINFOSREQUEST_H_
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYVOIPNUMBERBINDINFOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
namespace AlibabaCloud
{
namespace Dyvmsapi
{
namespace Model
{
class ALIBABACLOUD_DYVMSAPI_EXPORT QueryVoipNumberBindInfosRequest : public RpcServiceRequest
{
public:
QueryVoipNumberBindInfosRequest();
~QueryVoipNumberBindInfosRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getVoipId()const;
void setVoipId(const std::string& voipId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string phoneNumber_;
long ownerId_;
std::string accessKeyId_;
std::string voipId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYVOIPNUMBERBINDINFOSREQUEST_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_DYVMSAPI_MODEL_QUERYVOIPNUMBERBINDINFOSRESULT_H_
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYVOIPNUMBERBINDINFOSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
namespace AlibabaCloud
{
namespace Dyvmsapi
{
namespace Model
{
class ALIBABACLOUD_DYVMSAPI_EXPORT QueryVoipNumberBindInfosResult : public ServiceResult
{
public:
QueryVoipNumberBindInfosResult();
explicit QueryVoipNumberBindInfosResult(const std::string &payload);
~QueryVoipNumberBindInfosResult();
std::string getMessage()const;
std::string getModule()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string module_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYVOIPNUMBERBINDINFOSRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* 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_DYVMSAPI_MODEL_REPORTVOIPPROBLEMSREQUEST_H_
#define ALIBABACLOUD_DYVMSAPI_MODEL_REPORTVOIPPROBLEMSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
namespace AlibabaCloud
{
namespace Dyvmsapi
{
namespace Model
{
class ALIBABACLOUD_DYVMSAPI_EXPORT ReportVoipProblemsRequest : public RpcServiceRequest
{
public:
ReportVoipProblemsRequest();
~ReportVoipProblemsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getTitle()const;
void setTitle(const std::string& title);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getVoipId()const;
void setVoipId(const std::string& voipId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getChannelId()const;
void setChannelId(const std::string& channelId);
std::string getDesc()const;
void setDesc(const std::string& desc);
private:
long resourceOwnerId_;
std::string title_;
std::string accessKeyId_;
std::string voipId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string channelId_;
std::string desc_;
};
}
}
}
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_REPORTVOIPPROBLEMSREQUEST_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_DYVMSAPI_MODEL_REPORTVOIPPROBLEMSRESULT_H_
#define ALIBABACLOUD_DYVMSAPI_MODEL_REPORTVOIPPROBLEMSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
namespace AlibabaCloud
{
namespace Dyvmsapi
{
namespace Model
{
class ALIBABACLOUD_DYVMSAPI_EXPORT ReportVoipProblemsResult : public ServiceResult
{
public:
ReportVoipProblemsResult();
explicit ReportVoipProblemsResult(const std::string &payload);
~ReportVoipProblemsResult();
std::string getMessage()const;
std::string getModule()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string module_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_REPORTVOIPPROBLEMSRESULT_H_