Add QueryPhoneNoAByTrackNo and AddAxnTrackNo.

This commit is contained in:
sdk-team
2020-02-28 21:44:08 +08:00
parent 14fa5fe61a
commit f90c2115c9
30 changed files with 882 additions and 181 deletions

View File

@@ -22,6 +22,8 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "DyplsapiExport.h"
#include "model/AddAxnTrackNoRequest.h"
#include "model/AddAxnTrackNoResult.h"
#include "model/BindAxbRequest.h"
#include "model/BindAxbResult.h"
#include "model/BindAxgRequest.h"
@@ -40,6 +42,8 @@
#include "model/OperateBlackNoResult.h"
#include "model/QueryCallStatusRequest.h"
#include "model/QueryCallStatusResult.h"
#include "model/QueryPhoneNoAByTrackNoRequest.h"
#include "model/QueryPhoneNoAByTrackNoResult.h"
#include "model/QueryRecordFileDownloadUrlRequest.h"
#include "model/QueryRecordFileDownloadUrlResult.h"
#include "model/QuerySecretNoRemainRequest.h"
@@ -63,6 +67,9 @@ namespace AlibabaCloud
class ALIBABACLOUD_DYPLSAPI_EXPORT DyplsapiClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AddAxnTrackNoResult> AddAxnTrackNoOutcome;
typedef std::future<AddAxnTrackNoOutcome> AddAxnTrackNoOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::AddAxnTrackNoRequest&, const AddAxnTrackNoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddAxnTrackNoAsyncHandler;
typedef Outcome<Error, Model::BindAxbResult> BindAxbOutcome;
typedef std::future<BindAxbOutcome> BindAxbOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::BindAxbRequest&, const BindAxbOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindAxbAsyncHandler;
@@ -90,6 +97,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryCallStatusResult> QueryCallStatusOutcome;
typedef std::future<QueryCallStatusOutcome> QueryCallStatusOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::QueryCallStatusRequest&, const QueryCallStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCallStatusAsyncHandler;
typedef Outcome<Error, Model::QueryPhoneNoAByTrackNoResult> QueryPhoneNoAByTrackNoOutcome;
typedef std::future<QueryPhoneNoAByTrackNoOutcome> QueryPhoneNoAByTrackNoOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::QueryPhoneNoAByTrackNoRequest&, const QueryPhoneNoAByTrackNoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryPhoneNoAByTrackNoAsyncHandler;
typedef Outcome<Error, Model::QueryRecordFileDownloadUrlResult> QueryRecordFileDownloadUrlOutcome;
typedef std::future<QueryRecordFileDownloadUrlOutcome> QueryRecordFileDownloadUrlOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::QueryRecordFileDownloadUrlRequest&, const QueryRecordFileDownloadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRecordFileDownloadUrlAsyncHandler;
@@ -116,6 +126,9 @@ namespace AlibabaCloud
DyplsapiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
DyplsapiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~DyplsapiClient();
AddAxnTrackNoOutcome addAxnTrackNo(const Model::AddAxnTrackNoRequest &request)const;
void addAxnTrackNoAsync(const Model::AddAxnTrackNoRequest& request, const AddAxnTrackNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddAxnTrackNoOutcomeCallable addAxnTrackNoCallable(const Model::AddAxnTrackNoRequest& request) const;
BindAxbOutcome bindAxb(const Model::BindAxbRequest &request)const;
void bindAxbAsync(const Model::BindAxbRequest& request, const BindAxbAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BindAxbOutcomeCallable bindAxbCallable(const Model::BindAxbRequest& request) const;
@@ -143,6 +156,9 @@ namespace AlibabaCloud
QueryCallStatusOutcome queryCallStatus(const Model::QueryCallStatusRequest &request)const;
void queryCallStatusAsync(const Model::QueryCallStatusRequest& request, const QueryCallStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCallStatusOutcomeCallable queryCallStatusCallable(const Model::QueryCallStatusRequest& request) const;
QueryPhoneNoAByTrackNoOutcome queryPhoneNoAByTrackNo(const Model::QueryPhoneNoAByTrackNoRequest &request)const;
void queryPhoneNoAByTrackNoAsync(const Model::QueryPhoneNoAByTrackNoRequest& request, const QueryPhoneNoAByTrackNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryPhoneNoAByTrackNoOutcomeCallable queryPhoneNoAByTrackNoCallable(const Model::QueryPhoneNoAByTrackNoRequest& request) const;
QueryRecordFileDownloadUrlOutcome queryRecordFileDownloadUrl(const Model::QueryRecordFileDownloadUrlRequest &request)const;
void queryRecordFileDownloadUrlAsync(const Model::QueryRecordFileDownloadUrlRequest& request, const QueryRecordFileDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryRecordFileDownloadUrlOutcomeCallable queryRecordFileDownloadUrlCallable(const Model::QueryRecordFileDownloadUrlRequest& request) const;

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_DYPLSAPI_MODEL_ADDAXNTRACKNOREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_ADDAXNTRACKNOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT AddAxnTrackNoRequest : public RpcServiceRequest
{
public:
AddAxnTrackNoRequest();
~AddAxnTrackNoRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSubsId()const;
void setSubsId(const std::string& subsId);
std::string getPhoneNoX()const;
void setPhoneNoX(const std::string& phoneNoX);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTrackNo()const;
void setTrackNo(const std::string& trackNo);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string subsId_;
std::string phoneNoX_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string trackNo_;
std::string poolKey_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_ADDAXNTRACKNOREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_DYPLSAPI_MODEL_ADDAXNTRACKNORESULT_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_ADDAXNTRACKNORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT AddAxnTrackNoResult : public ServiceResult
{
public:
AddAxnTrackNoResult();
explicit AddAxnTrackNoResult(const std::string &payload);
~AddAxnTrackNoResult();
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_ADDAXNTRACKNORESULT_H_

View File

@@ -65,6 +65,8 @@ namespace AlibabaCloud
void setIsRecordingEnabled(bool isRecordingEnabled);
std::string getOutId()const;
void setOutId(const std::string& outId);
std::string getCallRestrict()const;
void setCallRestrict(const std::string& callRestrict);
private:
long resourceOwnerId_;
@@ -82,6 +84,7 @@ namespace AlibabaCloud
std::string expiration_;
bool isRecordingEnabled_;
std::string outId_;
std::string callRestrict_;
};
}

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_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNOREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT QueryPhoneNoAByTrackNoRequest : public RpcServiceRequest
{
public:
QueryPhoneNoAByTrackNoRequest();
~QueryPhoneNoAByTrackNoRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTrackNo()const;
void setTrackNo(const std::string& trackNo);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPhoneNoX()const;
void setPhoneNoX(const std::string& phoneNoX);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string trackNo_;
std::string accessKeyId_;
std::string phoneNoX_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNOREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* 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_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNORESULT_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT QueryPhoneNoAByTrackNoResult : public ServiceResult
{
public:
struct PhoneNoAInfo
{
std::string phoneNoX;
std::string phoneNoA;
};
QueryPhoneNoAByTrackNoResult();
explicit QueryPhoneNoAByTrackNoResult(const std::string &payload);
~QueryPhoneNoAByTrackNoResult();
std::string getMessage()const;
std::vector<PhoneNoAInfo> getModule()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<PhoneNoAInfo> module_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNORESULT_H_