Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2c8cadba25 | ||
|
|
f90c2115c9 |
@@ -1,3 +1,9 @@
|
||||
2020-03-03 Version: 1.36.296
|
||||
- Supported secretmanager for kms.
|
||||
|
||||
2020-02-28 Version: 1.36.295
|
||||
- Add QueryPhoneNoAByTrackNo and AddAxnTrackNo.
|
||||
|
||||
2020-02-28 Version: 1.36.294
|
||||
- Supported secretmanager for kms.
|
||||
|
||||
|
||||
@@ -21,6 +21,8 @@ set(dyplsapi_public_header
|
||||
include/alibabacloud/dyplsapi/DyplsapiExport.h )
|
||||
|
||||
set(dyplsapi_public_header_model
|
||||
include/alibabacloud/dyplsapi/model/AddAxnTrackNoRequest.h
|
||||
include/alibabacloud/dyplsapi/model/AddAxnTrackNoResult.h
|
||||
include/alibabacloud/dyplsapi/model/BindAxbRequest.h
|
||||
include/alibabacloud/dyplsapi/model/BindAxbResult.h
|
||||
include/alibabacloud/dyplsapi/model/BindAxgRequest.h
|
||||
@@ -39,6 +41,8 @@ set(dyplsapi_public_header_model
|
||||
include/alibabacloud/dyplsapi/model/OperateBlackNoResult.h
|
||||
include/alibabacloud/dyplsapi/model/QueryCallStatusRequest.h
|
||||
include/alibabacloud/dyplsapi/model/QueryCallStatusResult.h
|
||||
include/alibabacloud/dyplsapi/model/QueryPhoneNoAByTrackNoRequest.h
|
||||
include/alibabacloud/dyplsapi/model/QueryPhoneNoAByTrackNoResult.h
|
||||
include/alibabacloud/dyplsapi/model/QueryRecordFileDownloadUrlRequest.h
|
||||
include/alibabacloud/dyplsapi/model/QueryRecordFileDownloadUrlResult.h
|
||||
include/alibabacloud/dyplsapi/model/QuerySecretNoRemainRequest.h
|
||||
@@ -56,6 +60,8 @@ set(dyplsapi_public_header_model
|
||||
|
||||
set(dyplsapi_src
|
||||
src/DyplsapiClient.cc
|
||||
src/model/AddAxnTrackNoRequest.cc
|
||||
src/model/AddAxnTrackNoResult.cc
|
||||
src/model/BindAxbRequest.cc
|
||||
src/model/BindAxbResult.cc
|
||||
src/model/BindAxgRequest.cc
|
||||
@@ -74,6 +80,8 @@ set(dyplsapi_src
|
||||
src/model/OperateBlackNoResult.cc
|
||||
src/model/QueryCallStatusRequest.cc
|
||||
src/model/QueryCallStatusResult.cc
|
||||
src/model/QueryPhoneNoAByTrackNoRequest.cc
|
||||
src/model/QueryPhoneNoAByTrackNoResult.cc
|
||||
src/model/QueryRecordFileDownloadUrlRequest.cc
|
||||
src/model/QueryRecordFileDownloadUrlResult.cc
|
||||
src/model/QuerySecretNoRemainRequest.cc
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -51,6 +51,42 @@ DyplsapiClient::DyplsapiClient(const std::string & accessKeyId, const std::strin
|
||||
DyplsapiClient::~DyplsapiClient()
|
||||
{}
|
||||
|
||||
DyplsapiClient::AddAxnTrackNoOutcome DyplsapiClient::addAxnTrackNo(const AddAxnTrackNoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddAxnTrackNoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddAxnTrackNoOutcome(AddAxnTrackNoResult(outcome.result()));
|
||||
else
|
||||
return AddAxnTrackNoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyplsapiClient::addAxnTrackNoAsync(const AddAxnTrackNoRequest& request, const AddAxnTrackNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addAxnTrackNo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyplsapiClient::AddAxnTrackNoOutcomeCallable DyplsapiClient::addAxnTrackNoCallable(const AddAxnTrackNoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddAxnTrackNoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addAxnTrackNo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::BindAxbOutcome DyplsapiClient::bindAxb(const BindAxbRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,6 +411,42 @@ DyplsapiClient::QueryCallStatusOutcomeCallable DyplsapiClient::queryCallStatusCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::QueryPhoneNoAByTrackNoOutcome DyplsapiClient::queryPhoneNoAByTrackNo(const QueryPhoneNoAByTrackNoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryPhoneNoAByTrackNoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryPhoneNoAByTrackNoOutcome(QueryPhoneNoAByTrackNoResult(outcome.result()));
|
||||
else
|
||||
return QueryPhoneNoAByTrackNoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyplsapiClient::queryPhoneNoAByTrackNoAsync(const QueryPhoneNoAByTrackNoRequest& request, const QueryPhoneNoAByTrackNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryPhoneNoAByTrackNo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyplsapiClient::QueryPhoneNoAByTrackNoOutcomeCallable DyplsapiClient::queryPhoneNoAByTrackNoCallable(const QueryPhoneNoAByTrackNoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryPhoneNoAByTrackNoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryPhoneNoAByTrackNo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::QueryRecordFileDownloadUrlOutcome DyplsapiClient::queryRecordFileDownloadUrl(const QueryRecordFileDownloadUrlRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
117
dyplsapi/src/model/AddAxnTrackNoRequest.cc
Normal file
117
dyplsapi/src/model/AddAxnTrackNoRequest.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/dyplsapi/model/AddAxnTrackNoRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyplsapi::Model::AddAxnTrackNoRequest;
|
||||
|
||||
AddAxnTrackNoRequest::AddAxnTrackNoRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "AddAxnTrackNo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
AddAxnTrackNoRequest::~AddAxnTrackNoRequest()
|
||||
{}
|
||||
|
||||
long AddAxnTrackNoRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoRequest::getSubsId()const
|
||||
{
|
||||
return subsId_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setSubsId(const std::string& subsId)
|
||||
{
|
||||
subsId_ = subsId;
|
||||
setParameter("SubsId", subsId);
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoRequest::getPhoneNoX()const
|
||||
{
|
||||
return phoneNoX_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AddAxnTrackNoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoRequest::getTrackNo()const
|
||||
{
|
||||
return trackNo_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setTrackNo(const std::string& trackNo)
|
||||
{
|
||||
trackNo_ = trackNo;
|
||||
setParameter("TrackNo", trackNo);
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoRequest::getPoolKey()const
|
||||
{
|
||||
return poolKey_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
58
dyplsapi/src/model/AddAxnTrackNoResult.cc
Normal file
58
dyplsapi/src/model/AddAxnTrackNoResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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/dyplsapi/model/AddAxnTrackNoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyplsapi;
|
||||
using namespace AlibabaCloud::Dyplsapi::Model;
|
||||
|
||||
AddAxnTrackNoResult::AddAxnTrackNoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddAxnTrackNoResult::AddAxnTrackNoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddAxnTrackNoResult::~AddAxnTrackNoResult()
|
||||
{}
|
||||
|
||||
void AddAxnTrackNoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::BindAxbRequest;
|
||||
BindAxbRequest::BindAxbRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxb")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
BindAxbRequest::~BindAxbRequest()
|
||||
@@ -35,7 +35,7 @@ long BindAxbRequest::getResourceOwnerId()const
|
||||
void BindAxbRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int BindAxbRequest::getCallDisplayType()const
|
||||
@@ -46,7 +46,7 @@ int BindAxbRequest::getCallDisplayType()const
|
||||
void BindAxbRequest::setCallDisplayType(int callDisplayType)
|
||||
{
|
||||
callDisplayType_ = callDisplayType;
|
||||
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
setParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string BindAxbRequest::getAccessKeyId()const
|
||||
void BindAxbRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getPhoneNoX()const
|
||||
@@ -68,7 +68,7 @@ std::string BindAxbRequest::getPhoneNoX()const
|
||||
void BindAxbRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setCoreParameter("PhoneNoX", phoneNoX);
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getRingConfig()const
|
||||
@@ -79,7 +79,7 @@ std::string BindAxbRequest::getRingConfig()const
|
||||
void BindAxbRequest::setRingConfig(const std::string& ringConfig)
|
||||
{
|
||||
ringConfig_ = ringConfig;
|
||||
setCoreParameter("RingConfig", ringConfig);
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getPhoneNoB()const
|
||||
@@ -90,7 +90,7 @@ std::string BindAxbRequest::getPhoneNoB()const
|
||||
void BindAxbRequest::setPhoneNoB(const std::string& phoneNoB)
|
||||
{
|
||||
phoneNoB_ = phoneNoB;
|
||||
setCoreParameter("PhoneNoB", phoneNoB);
|
||||
setParameter("PhoneNoB", phoneNoB);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getPhoneNoA()const
|
||||
@@ -101,7 +101,7 @@ std::string BindAxbRequest::getPhoneNoA()const
|
||||
void BindAxbRequest::setPhoneNoA(const std::string& phoneNoA)
|
||||
{
|
||||
phoneNoA_ = phoneNoA;
|
||||
setCoreParameter("PhoneNoA", phoneNoA);
|
||||
setParameter("PhoneNoA", phoneNoA);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getExpectCity()const
|
||||
@@ -112,7 +112,7 @@ std::string BindAxbRequest::getExpectCity()const
|
||||
void BindAxbRequest::setExpectCity(const std::string& expectCity)
|
||||
{
|
||||
expectCity_ = expectCity;
|
||||
setCoreParameter("ExpectCity", expectCity);
|
||||
setParameter("ExpectCity", expectCity);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getResourceOwnerAccount()const
|
||||
@@ -123,7 +123,7 @@ std::string BindAxbRequest::getResourceOwnerAccount()const
|
||||
void BindAxbRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long BindAxbRequest::getOwnerId()const
|
||||
@@ -134,7 +134,7 @@ long BindAxbRequest::getOwnerId()const
|
||||
void BindAxbRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getOutOrderId()const
|
||||
@@ -145,7 +145,7 @@ std::string BindAxbRequest::getOutOrderId()const
|
||||
void BindAxbRequest::setOutOrderId(const std::string& outOrderId)
|
||||
{
|
||||
outOrderId_ = outOrderId;
|
||||
setCoreParameter("OutOrderId", outOrderId);
|
||||
setParameter("OutOrderId", outOrderId);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getPoolKey()const
|
||||
@@ -156,7 +156,7 @@ std::string BindAxbRequest::getPoolKey()const
|
||||
void BindAxbRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getExpiration()const
|
||||
@@ -167,7 +167,7 @@ std::string BindAxbRequest::getExpiration()const
|
||||
void BindAxbRequest::setExpiration(const std::string& expiration)
|
||||
{
|
||||
expiration_ = expiration;
|
||||
setCoreParameter("Expiration", expiration);
|
||||
setParameter("Expiration", expiration);
|
||||
}
|
||||
|
||||
bool BindAxbRequest::getIsRecordingEnabled()const
|
||||
@@ -178,7 +178,7 @@ bool BindAxbRequest::getIsRecordingEnabled()const
|
||||
void BindAxbRequest::setIsRecordingEnabled(bool isRecordingEnabled)
|
||||
{
|
||||
isRecordingEnabled_ = isRecordingEnabled;
|
||||
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getOutId()const
|
||||
@@ -189,6 +189,17 @@ std::string BindAxbRequest::getOutId()const
|
||||
void BindAxbRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getCallRestrict()const
|
||||
{
|
||||
return callRestrict_;
|
||||
}
|
||||
|
||||
void BindAxbRequest::setCallRestrict(const std::string& callRestrict)
|
||||
{
|
||||
callRestrict_ = callRestrict;
|
||||
setParameter("CallRestrict", callRestrict);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::BindAxgRequest;
|
||||
BindAxgRequest::BindAxgRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxg")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
BindAxgRequest::~BindAxgRequest()
|
||||
@@ -35,7 +35,7 @@ long BindAxgRequest::getResourceOwnerId()const
|
||||
void BindAxgRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int BindAxgRequest::getCallDisplayType()const
|
||||
@@ -46,7 +46,7 @@ int BindAxgRequest::getCallDisplayType()const
|
||||
void BindAxgRequest::setCallDisplayType(int callDisplayType)
|
||||
{
|
||||
callDisplayType_ = callDisplayType;
|
||||
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
setParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string BindAxgRequest::getAccessKeyId()const
|
||||
void BindAxgRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getPhoneNoX()const
|
||||
@@ -68,7 +68,7 @@ std::string BindAxgRequest::getPhoneNoX()const
|
||||
void BindAxgRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setCoreParameter("PhoneNoX", phoneNoX);
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getRingConfig()const
|
||||
@@ -79,7 +79,7 @@ std::string BindAxgRequest::getRingConfig()const
|
||||
void BindAxgRequest::setRingConfig(const std::string& ringConfig)
|
||||
{
|
||||
ringConfig_ = ringConfig;
|
||||
setCoreParameter("RingConfig", ringConfig);
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getPhoneNoB()const
|
||||
@@ -90,7 +90,7 @@ std::string BindAxgRequest::getPhoneNoB()const
|
||||
void BindAxgRequest::setPhoneNoB(const std::string& phoneNoB)
|
||||
{
|
||||
phoneNoB_ = phoneNoB;
|
||||
setCoreParameter("PhoneNoB", phoneNoB);
|
||||
setParameter("PhoneNoB", phoneNoB);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getPhoneNoA()const
|
||||
@@ -101,7 +101,7 @@ std::string BindAxgRequest::getPhoneNoA()const
|
||||
void BindAxgRequest::setPhoneNoA(const std::string& phoneNoA)
|
||||
{
|
||||
phoneNoA_ = phoneNoA;
|
||||
setCoreParameter("PhoneNoA", phoneNoA);
|
||||
setParameter("PhoneNoA", phoneNoA);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getExpectCity()const
|
||||
@@ -112,7 +112,7 @@ std::string BindAxgRequest::getExpectCity()const
|
||||
void BindAxgRequest::setExpectCity(const std::string& expectCity)
|
||||
{
|
||||
expectCity_ = expectCity;
|
||||
setCoreParameter("ExpectCity", expectCity);
|
||||
setParameter("ExpectCity", expectCity);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getResourceOwnerAccount()const
|
||||
@@ -123,7 +123,7 @@ std::string BindAxgRequest::getResourceOwnerAccount()const
|
||||
void BindAxgRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getGroupId()const
|
||||
@@ -134,7 +134,7 @@ std::string BindAxgRequest::getGroupId()const
|
||||
void BindAxgRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", groupId);
|
||||
setParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
long BindAxgRequest::getOwnerId()const
|
||||
@@ -145,7 +145,7 @@ long BindAxgRequest::getOwnerId()const
|
||||
void BindAxgRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getOutOrderId()const
|
||||
@@ -156,7 +156,7 @@ std::string BindAxgRequest::getOutOrderId()const
|
||||
void BindAxgRequest::setOutOrderId(const std::string& outOrderId)
|
||||
{
|
||||
outOrderId_ = outOrderId;
|
||||
setCoreParameter("OutOrderId", outOrderId);
|
||||
setParameter("OutOrderId", outOrderId);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getPoolKey()const
|
||||
@@ -167,7 +167,7 @@ std::string BindAxgRequest::getPoolKey()const
|
||||
void BindAxgRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getExpiration()const
|
||||
@@ -178,7 +178,7 @@ std::string BindAxgRequest::getExpiration()const
|
||||
void BindAxgRequest::setExpiration(const std::string& expiration)
|
||||
{
|
||||
expiration_ = expiration;
|
||||
setCoreParameter("Expiration", expiration);
|
||||
setParameter("Expiration", expiration);
|
||||
}
|
||||
|
||||
bool BindAxgRequest::getIsRecordingEnabled()const
|
||||
@@ -189,7 +189,7 @@ bool BindAxgRequest::getIsRecordingEnabled()const
|
||||
void BindAxgRequest::setIsRecordingEnabled(bool isRecordingEnabled)
|
||||
{
|
||||
isRecordingEnabled_ = isRecordingEnabled;
|
||||
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getOutId()const
|
||||
@@ -200,6 +200,6 @@ std::string BindAxgRequest::getOutId()const
|
||||
void BindAxgRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::BindAxnExtensionRequest;
|
||||
BindAxnExtensionRequest::BindAxnExtensionRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxnExtension")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
BindAxnExtensionRequest::~BindAxnExtensionRequest()
|
||||
@@ -35,7 +35,7 @@ long BindAxnExtensionRequest::getResourceOwnerId()const
|
||||
void BindAxnExtensionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getExtension()const
|
||||
@@ -46,7 +46,7 @@ std::string BindAxnExtensionRequest::getExtension()const
|
||||
void BindAxnExtensionRequest::setExtension(const std::string& extension)
|
||||
{
|
||||
extension_ = extension;
|
||||
setCoreParameter("Extension", extension);
|
||||
setParameter("Extension", extension);
|
||||
}
|
||||
|
||||
int BindAxnExtensionRequest::getCallDisplayType()const
|
||||
@@ -57,7 +57,7 @@ int BindAxnExtensionRequest::getCallDisplayType()const
|
||||
void BindAxnExtensionRequest::setCallDisplayType(int callDisplayType)
|
||||
{
|
||||
callDisplayType_ = callDisplayType;
|
||||
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
setParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string BindAxnExtensionRequest::getAccessKeyId()const
|
||||
void BindAxnExtensionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getPhoneNoX()const
|
||||
@@ -79,7 +79,7 @@ std::string BindAxnExtensionRequest::getPhoneNoX()const
|
||||
void BindAxnExtensionRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setCoreParameter("PhoneNoX", phoneNoX);
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getRingConfig()const
|
||||
@@ -90,7 +90,7 @@ std::string BindAxnExtensionRequest::getRingConfig()const
|
||||
void BindAxnExtensionRequest::setRingConfig(const std::string& ringConfig)
|
||||
{
|
||||
ringConfig_ = ringConfig;
|
||||
setCoreParameter("RingConfig", ringConfig);
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getPhoneNoB()const
|
||||
@@ -101,7 +101,7 @@ std::string BindAxnExtensionRequest::getPhoneNoB()const
|
||||
void BindAxnExtensionRequest::setPhoneNoB(const std::string& phoneNoB)
|
||||
{
|
||||
phoneNoB_ = phoneNoB;
|
||||
setCoreParameter("PhoneNoB", phoneNoB);
|
||||
setParameter("PhoneNoB", phoneNoB);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getPhoneNoA()const
|
||||
@@ -112,7 +112,7 @@ std::string BindAxnExtensionRequest::getPhoneNoA()const
|
||||
void BindAxnExtensionRequest::setPhoneNoA(const std::string& phoneNoA)
|
||||
{
|
||||
phoneNoA_ = phoneNoA;
|
||||
setCoreParameter("PhoneNoA", phoneNoA);
|
||||
setParameter("PhoneNoA", phoneNoA);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getExpectCity()const
|
||||
@@ -123,7 +123,7 @@ std::string BindAxnExtensionRequest::getExpectCity()const
|
||||
void BindAxnExtensionRequest::setExpectCity(const std::string& expectCity)
|
||||
{
|
||||
expectCity_ = expectCity;
|
||||
setCoreParameter("ExpectCity", expectCity);
|
||||
setParameter("ExpectCity", expectCity);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getResourceOwnerAccount()const
|
||||
@@ -134,7 +134,7 @@ std::string BindAxnExtensionRequest::getResourceOwnerAccount()const
|
||||
void BindAxnExtensionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long BindAxnExtensionRequest::getOwnerId()const
|
||||
@@ -145,7 +145,7 @@ long BindAxnExtensionRequest::getOwnerId()const
|
||||
void BindAxnExtensionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getOutOrderId()const
|
||||
@@ -156,7 +156,7 @@ std::string BindAxnExtensionRequest::getOutOrderId()const
|
||||
void BindAxnExtensionRequest::setOutOrderId(const std::string& outOrderId)
|
||||
{
|
||||
outOrderId_ = outOrderId;
|
||||
setCoreParameter("OutOrderId", outOrderId);
|
||||
setParameter("OutOrderId", outOrderId);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getPoolKey()const
|
||||
@@ -167,7 +167,7 @@ std::string BindAxnExtensionRequest::getPoolKey()const
|
||||
void BindAxnExtensionRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getExpiration()const
|
||||
@@ -178,7 +178,7 @@ std::string BindAxnExtensionRequest::getExpiration()const
|
||||
void BindAxnExtensionRequest::setExpiration(const std::string& expiration)
|
||||
{
|
||||
expiration_ = expiration;
|
||||
setCoreParameter("Expiration", expiration);
|
||||
setParameter("Expiration", expiration);
|
||||
}
|
||||
|
||||
bool BindAxnExtensionRequest::getIsRecordingEnabled()const
|
||||
@@ -189,7 +189,7 @@ bool BindAxnExtensionRequest::getIsRecordingEnabled()const
|
||||
void BindAxnExtensionRequest::setIsRecordingEnabled(bool isRecordingEnabled)
|
||||
{
|
||||
isRecordingEnabled_ = isRecordingEnabled;
|
||||
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getOutId()const
|
||||
@@ -200,6 +200,6 @@ std::string BindAxnExtensionRequest::getOutId()const
|
||||
void BindAxnExtensionRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::BindAxnRequest;
|
||||
BindAxnRequest::BindAxnRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxn")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
BindAxnRequest::~BindAxnRequest()
|
||||
@@ -35,7 +35,7 @@ long BindAxnRequest::getResourceOwnerId()const
|
||||
void BindAxnRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int BindAxnRequest::getCallDisplayType()const
|
||||
@@ -46,7 +46,7 @@ int BindAxnRequest::getCallDisplayType()const
|
||||
void BindAxnRequest::setCallDisplayType(int callDisplayType)
|
||||
{
|
||||
callDisplayType_ = callDisplayType;
|
||||
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
setParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string BindAxnRequest::getAccessKeyId()const
|
||||
void BindAxnRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getPhoneNoX()const
|
||||
@@ -68,7 +68,7 @@ std::string BindAxnRequest::getPhoneNoX()const
|
||||
void BindAxnRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setCoreParameter("PhoneNoX", phoneNoX);
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getRingConfig()const
|
||||
@@ -79,7 +79,7 @@ std::string BindAxnRequest::getRingConfig()const
|
||||
void BindAxnRequest::setRingConfig(const std::string& ringConfig)
|
||||
{
|
||||
ringConfig_ = ringConfig;
|
||||
setCoreParameter("RingConfig", ringConfig);
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getPhoneNoB()const
|
||||
@@ -90,7 +90,7 @@ std::string BindAxnRequest::getPhoneNoB()const
|
||||
void BindAxnRequest::setPhoneNoB(const std::string& phoneNoB)
|
||||
{
|
||||
phoneNoB_ = phoneNoB;
|
||||
setCoreParameter("PhoneNoB", phoneNoB);
|
||||
setParameter("PhoneNoB", phoneNoB);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getPhoneNoA()const
|
||||
@@ -101,7 +101,7 @@ std::string BindAxnRequest::getPhoneNoA()const
|
||||
void BindAxnRequest::setPhoneNoA(const std::string& phoneNoA)
|
||||
{
|
||||
phoneNoA_ = phoneNoA;
|
||||
setCoreParameter("PhoneNoA", phoneNoA);
|
||||
setParameter("PhoneNoA", phoneNoA);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getExpectCity()const
|
||||
@@ -112,7 +112,7 @@ std::string BindAxnRequest::getExpectCity()const
|
||||
void BindAxnRequest::setExpectCity(const std::string& expectCity)
|
||||
{
|
||||
expectCity_ = expectCity;
|
||||
setCoreParameter("ExpectCity", expectCity);
|
||||
setParameter("ExpectCity", expectCity);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getResourceOwnerAccount()const
|
||||
@@ -123,7 +123,7 @@ std::string BindAxnRequest::getResourceOwnerAccount()const
|
||||
void BindAxnRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long BindAxnRequest::getOwnerId()const
|
||||
@@ -134,7 +134,7 @@ long BindAxnRequest::getOwnerId()const
|
||||
void BindAxnRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getOutOrderId()const
|
||||
@@ -145,7 +145,7 @@ std::string BindAxnRequest::getOutOrderId()const
|
||||
void BindAxnRequest::setOutOrderId(const std::string& outOrderId)
|
||||
{
|
||||
outOrderId_ = outOrderId;
|
||||
setCoreParameter("OutOrderId", outOrderId);
|
||||
setParameter("OutOrderId", outOrderId);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getPoolKey()const
|
||||
@@ -156,7 +156,7 @@ std::string BindAxnRequest::getPoolKey()const
|
||||
void BindAxnRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getExpiration()const
|
||||
@@ -167,7 +167,7 @@ std::string BindAxnRequest::getExpiration()const
|
||||
void BindAxnRequest::setExpiration(const std::string& expiration)
|
||||
{
|
||||
expiration_ = expiration;
|
||||
setCoreParameter("Expiration", expiration);
|
||||
setParameter("Expiration", expiration);
|
||||
}
|
||||
|
||||
bool BindAxnRequest::getIsRecordingEnabled()const
|
||||
@@ -178,7 +178,7 @@ bool BindAxnRequest::getIsRecordingEnabled()const
|
||||
void BindAxnRequest::setIsRecordingEnabled(bool isRecordingEnabled)
|
||||
{
|
||||
isRecordingEnabled_ = isRecordingEnabled;
|
||||
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getOutId()const
|
||||
@@ -189,7 +189,7 @@ std::string BindAxnRequest::getOutId()const
|
||||
void BindAxnRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getNoType()const
|
||||
@@ -200,6 +200,6 @@ std::string BindAxnRequest::getNoType()const
|
||||
void BindAxnRequest::setNoType(const std::string& noType)
|
||||
{
|
||||
noType_ = noType;
|
||||
setCoreParameter("NoType", noType);
|
||||
setParameter("NoType", noType);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::BuySecretNoRequest;
|
||||
BuySecretNoRequest::BuySecretNoRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "BuySecretNo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
BuySecretNoRequest::~BuySecretNoRequest()
|
||||
@@ -35,7 +35,7 @@ long BuySecretNoRequest::getSpecId()const
|
||||
void BuySecretNoRequest::setSpecId(long specId)
|
||||
{
|
||||
specId_ = specId;
|
||||
setCoreParameter("SpecId", std::to_string(specId));
|
||||
setParameter("SpecId", std::to_string(specId));
|
||||
}
|
||||
|
||||
long BuySecretNoRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long BuySecretNoRequest::getResourceOwnerId()const
|
||||
void BuySecretNoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string BuySecretNoRequest::getCity()const
|
||||
@@ -57,7 +57,7 @@ std::string BuySecretNoRequest::getCity()const
|
||||
void BuySecretNoRequest::setCity(const std::string& city)
|
||||
{
|
||||
city_ = city;
|
||||
setCoreParameter("City", city);
|
||||
setParameter("City", city);
|
||||
}
|
||||
|
||||
std::string BuySecretNoRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string BuySecretNoRequest::getAccessKeyId()const
|
||||
void BuySecretNoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BuySecretNoRequest::getSecretNo()const
|
||||
@@ -79,7 +79,7 @@ std::string BuySecretNoRequest::getSecretNo()const
|
||||
void BuySecretNoRequest::setSecretNo(const std::string& secretNo)
|
||||
{
|
||||
secretNo_ = secretNo;
|
||||
setCoreParameter("SecretNo", secretNo);
|
||||
setParameter("SecretNo", secretNo);
|
||||
}
|
||||
|
||||
std::string BuySecretNoRequest::getResourceOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string BuySecretNoRequest::getResourceOwnerAccount()const
|
||||
void BuySecretNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
bool BuySecretNoRequest::getDisplayPool()const
|
||||
@@ -101,7 +101,7 @@ bool BuySecretNoRequest::getDisplayPool()const
|
||||
void BuySecretNoRequest::setDisplayPool(bool displayPool)
|
||||
{
|
||||
displayPool_ = displayPool;
|
||||
setCoreParameter("DisplayPool", displayPool ? "true" : "false");
|
||||
setParameter("DisplayPool", displayPool ? "true" : "false");
|
||||
}
|
||||
|
||||
long BuySecretNoRequest::getOwnerId()const
|
||||
@@ -112,7 +112,7 @@ long BuySecretNoRequest::getOwnerId()const
|
||||
void BuySecretNoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BuySecretNoRequest::getPoolKey()const
|
||||
@@ -123,6 +123,6 @@ std::string BuySecretNoRequest::getPoolKey()const
|
||||
void BuySecretNoRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::CreateAxgGroupRequest;
|
||||
CreateAxgGroupRequest::CreateAxgGroupRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "CreateAxgGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
CreateAxgGroupRequest::~CreateAxgGroupRequest()
|
||||
@@ -35,7 +35,7 @@ long CreateAxgGroupRequest::getResourceOwnerId()const
|
||||
void CreateAxgGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateAxgGroupRequest::getNumbers()const
|
||||
@@ -46,7 +46,7 @@ std::string CreateAxgGroupRequest::getNumbers()const
|
||||
void CreateAxgGroupRequest::setNumbers(const std::string& numbers)
|
||||
{
|
||||
numbers_ = numbers;
|
||||
setCoreParameter("Numbers", numbers);
|
||||
setParameter("Numbers", numbers);
|
||||
}
|
||||
|
||||
std::string CreateAxgGroupRequest::getRemark()const
|
||||
@@ -57,7 +57,7 @@ std::string CreateAxgGroupRequest::getRemark()const
|
||||
void CreateAxgGroupRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
setParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string CreateAxgGroupRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string CreateAxgGroupRequest::getAccessKeyId()const
|
||||
void CreateAxgGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateAxgGroupRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string CreateAxgGroupRequest::getResourceOwnerAccount()const
|
||||
void CreateAxgGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CreateAxgGroupRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long CreateAxgGroupRequest::getOwnerId()const
|
||||
void CreateAxgGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateAxgGroupRequest::getPoolKey()const
|
||||
@@ -101,7 +101,7 @@ std::string CreateAxgGroupRequest::getPoolKey()const
|
||||
void CreateAxgGroupRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string CreateAxgGroupRequest::getName()const
|
||||
@@ -112,6 +112,6 @@ std::string CreateAxgGroupRequest::getName()const
|
||||
void CreateAxgGroupRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::OperateAxgGroupRequest;
|
||||
OperateAxgGroupRequest::OperateAxgGroupRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "OperateAxgGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
OperateAxgGroupRequest::~OperateAxgGroupRequest()
|
||||
@@ -35,7 +35,7 @@ long OperateAxgGroupRequest::getResourceOwnerId()const
|
||||
void OperateAxgGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string OperateAxgGroupRequest::getNumbers()const
|
||||
@@ -46,7 +46,7 @@ std::string OperateAxgGroupRequest::getNumbers()const
|
||||
void OperateAxgGroupRequest::setNumbers(const std::string& numbers)
|
||||
{
|
||||
numbers_ = numbers;
|
||||
setCoreParameter("Numbers", numbers);
|
||||
setParameter("Numbers", numbers);
|
||||
}
|
||||
|
||||
std::string OperateAxgGroupRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string OperateAxgGroupRequest::getAccessKeyId()const
|
||||
void OperateAxgGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string OperateAxgGroupRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string OperateAxgGroupRequest::getResourceOwnerAccount()const
|
||||
void OperateAxgGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long OperateAxgGroupRequest::getGroupId()const
|
||||
@@ -79,7 +79,7 @@ long OperateAxgGroupRequest::getGroupId()const
|
||||
void OperateAxgGroupRequest::setGroupId(long groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", std::to_string(groupId));
|
||||
setParameter("GroupId", std::to_string(groupId));
|
||||
}
|
||||
|
||||
long OperateAxgGroupRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long OperateAxgGroupRequest::getOwnerId()const
|
||||
void OperateAxgGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string OperateAxgGroupRequest::getPoolKey()const
|
||||
@@ -101,7 +101,7 @@ std::string OperateAxgGroupRequest::getPoolKey()const
|
||||
void OperateAxgGroupRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string OperateAxgGroupRequest::getOperateType()const
|
||||
@@ -112,6 +112,6 @@ std::string OperateAxgGroupRequest::getOperateType()const
|
||||
void OperateAxgGroupRequest::setOperateType(const std::string& operateType)
|
||||
{
|
||||
operateType_ = operateType;
|
||||
setCoreParameter("OperateType", operateType);
|
||||
setParameter("OperateType", operateType);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::OperateBlackNoRequest;
|
||||
OperateBlackNoRequest::OperateBlackNoRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "OperateBlackNo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
OperateBlackNoRequest::~OperateBlackNoRequest()
|
||||
@@ -35,7 +35,7 @@ long OperateBlackNoRequest::getResourceOwnerId()const
|
||||
void OperateBlackNoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string OperateBlackNoRequest::getTips()const
|
||||
@@ -46,7 +46,7 @@ std::string OperateBlackNoRequest::getTips()const
|
||||
void OperateBlackNoRequest::setTips(const std::string& tips)
|
||||
{
|
||||
tips_ = tips;
|
||||
setCoreParameter("Tips", tips);
|
||||
setParameter("Tips", tips);
|
||||
}
|
||||
|
||||
std::string OperateBlackNoRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string OperateBlackNoRequest::getAccessKeyId()const
|
||||
void OperateBlackNoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string OperateBlackNoRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string OperateBlackNoRequest::getResourceOwnerAccount()const
|
||||
void OperateBlackNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long OperateBlackNoRequest::getOwnerId()const
|
||||
@@ -79,7 +79,7 @@ long OperateBlackNoRequest::getOwnerId()const
|
||||
void OperateBlackNoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string OperateBlackNoRequest::getPoolKey()const
|
||||
@@ -90,7 +90,7 @@ std::string OperateBlackNoRequest::getPoolKey()const
|
||||
void OperateBlackNoRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string OperateBlackNoRequest::getBlackNo()const
|
||||
@@ -101,7 +101,7 @@ std::string OperateBlackNoRequest::getBlackNo()const
|
||||
void OperateBlackNoRequest::setBlackNo(const std::string& blackNo)
|
||||
{
|
||||
blackNo_ = blackNo;
|
||||
setCoreParameter("BlackNo", blackNo);
|
||||
setParameter("BlackNo", blackNo);
|
||||
}
|
||||
|
||||
std::string OperateBlackNoRequest::getOperateType()const
|
||||
@@ -112,6 +112,6 @@ std::string OperateBlackNoRequest::getOperateType()const
|
||||
void OperateBlackNoRequest::setOperateType(const std::string& operateType)
|
||||
{
|
||||
operateType_ = operateType;
|
||||
setCoreParameter("OperateType", operateType);
|
||||
setParameter("OperateType", operateType);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::QueryCallStatusRequest;
|
||||
QueryCallStatusRequest::QueryCallStatusRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "QueryCallStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
QueryCallStatusRequest::~QueryCallStatusRequest()
|
||||
@@ -35,7 +35,7 @@ long QueryCallStatusRequest::getResourceOwnerId()const
|
||||
void QueryCallStatusRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryCallStatusRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string QueryCallStatusRequest::getAccessKeyId()const
|
||||
void QueryCallStatusRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryCallStatusRequest::getSubsId()const
|
||||
@@ -57,7 +57,7 @@ std::string QueryCallStatusRequest::getSubsId()const
|
||||
void QueryCallStatusRequest::setSubsId(const std::string& subsId)
|
||||
{
|
||||
subsId_ = subsId;
|
||||
setCoreParameter("SubsId", subsId);
|
||||
setParameter("SubsId", subsId);
|
||||
}
|
||||
|
||||
std::string QueryCallStatusRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string QueryCallStatusRequest::getResourceOwnerAccount()const
|
||||
void QueryCallStatusRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryCallStatusRequest::getCallNo()const
|
||||
@@ -79,7 +79,7 @@ std::string QueryCallStatusRequest::getCallNo()const
|
||||
void QueryCallStatusRequest::setCallNo(const std::string& callNo)
|
||||
{
|
||||
callNo_ = callNo;
|
||||
setCoreParameter("CallNo", callNo);
|
||||
setParameter("CallNo", callNo);
|
||||
}
|
||||
|
||||
long QueryCallStatusRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long QueryCallStatusRequest::getOwnerId()const
|
||||
void QueryCallStatusRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryCallStatusRequest::getPoolKey()const
|
||||
@@ -101,6 +101,6 @@ std::string QueryCallStatusRequest::getPoolKey()const
|
||||
void QueryCallStatusRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
|
||||
95
dyplsapi/src/model/QueryPhoneNoAByTrackNoRequest.cc
Normal file
95
dyplsapi/src/model/QueryPhoneNoAByTrackNoRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/dyplsapi/model/QueryPhoneNoAByTrackNoRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyplsapi::Model::QueryPhoneNoAByTrackNoRequest;
|
||||
|
||||
QueryPhoneNoAByTrackNoRequest::QueryPhoneNoAByTrackNoRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "QueryPhoneNoAByTrackNo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
QueryPhoneNoAByTrackNoRequest::~QueryPhoneNoAByTrackNoRequest()
|
||||
{}
|
||||
|
||||
long QueryPhoneNoAByTrackNoRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryPhoneNoAByTrackNoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryPhoneNoAByTrackNoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryPhoneNoAByTrackNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryPhoneNoAByTrackNoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryPhoneNoAByTrackNoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryPhoneNoAByTrackNoRequest::getTrackNo()const
|
||||
{
|
||||
return trackNo_;
|
||||
}
|
||||
|
||||
void QueryPhoneNoAByTrackNoRequest::setTrackNo(const std::string& trackNo)
|
||||
{
|
||||
trackNo_ = trackNo;
|
||||
setParameter("TrackNo", trackNo);
|
||||
}
|
||||
|
||||
std::string QueryPhoneNoAByTrackNoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryPhoneNoAByTrackNoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryPhoneNoAByTrackNoRequest::getPhoneNoX()const
|
||||
{
|
||||
return phoneNoX_;
|
||||
}
|
||||
|
||||
void QueryPhoneNoAByTrackNoRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
73
dyplsapi/src/model/QueryPhoneNoAByTrackNoResult.cc
Normal file
73
dyplsapi/src/model/QueryPhoneNoAByTrackNoResult.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/dyplsapi/model/QueryPhoneNoAByTrackNoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyplsapi;
|
||||
using namespace AlibabaCloud::Dyplsapi::Model;
|
||||
|
||||
QueryPhoneNoAByTrackNoResult::QueryPhoneNoAByTrackNoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryPhoneNoAByTrackNoResult::QueryPhoneNoAByTrackNoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryPhoneNoAByTrackNoResult::~QueryPhoneNoAByTrackNoResult()
|
||||
{}
|
||||
|
||||
void QueryPhoneNoAByTrackNoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allModuleNode = value["Module"]["phoneNoAInfo"];
|
||||
for (auto valueModulephoneNoAInfo : allModuleNode)
|
||||
{
|
||||
PhoneNoAInfo moduleObject;
|
||||
if(!valueModulephoneNoAInfo["PhoneNoA"].isNull())
|
||||
moduleObject.phoneNoA = valueModulephoneNoAInfo["PhoneNoA"].asString();
|
||||
if(!valueModulephoneNoAInfo["PhoneNoX"].isNull())
|
||||
moduleObject.phoneNoX = valueModulephoneNoAInfo["PhoneNoX"].asString();
|
||||
module_.push_back(moduleObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryPhoneNoAByTrackNoResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<QueryPhoneNoAByTrackNoResult::PhoneNoAInfo> QueryPhoneNoAByTrackNoResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
std::string QueryPhoneNoAByTrackNoResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::QueryRecordFileDownloadUrlRequest;
|
||||
QueryRecordFileDownloadUrlRequest::QueryRecordFileDownloadUrlRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "QueryRecordFileDownloadUrl")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
QueryRecordFileDownloadUrlRequest::~QueryRecordFileDownloadUrlRequest()
|
||||
@@ -35,7 +35,7 @@ std::string QueryRecordFileDownloadUrlRequest::getCallId()const
|
||||
void QueryRecordFileDownloadUrlRequest::setCallId(const std::string& callId)
|
||||
{
|
||||
callId_ = callId;
|
||||
setCoreParameter("CallId", callId);
|
||||
setParameter("CallId", callId);
|
||||
}
|
||||
|
||||
long QueryRecordFileDownloadUrlRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long QueryRecordFileDownloadUrlRequest::getResourceOwnerId()const
|
||||
void QueryRecordFileDownloadUrlRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryRecordFileDownloadUrlRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string QueryRecordFileDownloadUrlRequest::getAccessKeyId()const
|
||||
void QueryRecordFileDownloadUrlRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryRecordFileDownloadUrlRequest::getProductType()const
|
||||
@@ -68,7 +68,7 @@ std::string QueryRecordFileDownloadUrlRequest::getProductType()const
|
||||
void QueryRecordFileDownloadUrlRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setCoreParameter("ProductType", productType);
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string QueryRecordFileDownloadUrlRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string QueryRecordFileDownloadUrlRequest::getResourceOwnerAccount()const
|
||||
void QueryRecordFileDownloadUrlRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryRecordFileDownloadUrlRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long QueryRecordFileDownloadUrlRequest::getOwnerId()const
|
||||
void QueryRecordFileDownloadUrlRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryRecordFileDownloadUrlRequest::getCallTime()const
|
||||
@@ -101,7 +101,7 @@ std::string QueryRecordFileDownloadUrlRequest::getCallTime()const
|
||||
void QueryRecordFileDownloadUrlRequest::setCallTime(const std::string& callTime)
|
||||
{
|
||||
callTime_ = callTime;
|
||||
setCoreParameter("CallTime", callTime);
|
||||
setParameter("CallTime", callTime);
|
||||
}
|
||||
|
||||
std::string QueryRecordFileDownloadUrlRequest::getPoolKey()const
|
||||
@@ -112,6 +112,6 @@ std::string QueryRecordFileDownloadUrlRequest::getPoolKey()const
|
||||
void QueryRecordFileDownloadUrlRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::QuerySecretNoRemainRequest;
|
||||
QuerySecretNoRemainRequest::QuerySecretNoRemainRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySecretNoRemain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
QuerySecretNoRemainRequest::~QuerySecretNoRemainRequest()
|
||||
@@ -35,7 +35,7 @@ long QuerySecretNoRemainRequest::getSpecId()const
|
||||
void QuerySecretNoRemainRequest::setSpecId(long specId)
|
||||
{
|
||||
specId_ = specId;
|
||||
setCoreParameter("SpecId", std::to_string(specId));
|
||||
setParameter("SpecId", std::to_string(specId));
|
||||
}
|
||||
|
||||
long QuerySecretNoRemainRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long QuerySecretNoRemainRequest::getResourceOwnerId()const
|
||||
void QuerySecretNoRemainRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QuerySecretNoRemainRequest::getCity()const
|
||||
@@ -57,7 +57,7 @@ std::string QuerySecretNoRemainRequest::getCity()const
|
||||
void QuerySecretNoRemainRequest::setCity(const std::string& city)
|
||||
{
|
||||
city_ = city;
|
||||
setCoreParameter("City", city);
|
||||
setParameter("City", city);
|
||||
}
|
||||
|
||||
std::string QuerySecretNoRemainRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string QuerySecretNoRemainRequest::getAccessKeyId()const
|
||||
void QuerySecretNoRemainRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QuerySecretNoRemainRequest::getSecretNo()const
|
||||
@@ -79,7 +79,7 @@ std::string QuerySecretNoRemainRequest::getSecretNo()const
|
||||
void QuerySecretNoRemainRequest::setSecretNo(const std::string& secretNo)
|
||||
{
|
||||
secretNo_ = secretNo;
|
||||
setCoreParameter("SecretNo", secretNo);
|
||||
setParameter("SecretNo", secretNo);
|
||||
}
|
||||
|
||||
std::string QuerySecretNoRemainRequest::getResourceOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string QuerySecretNoRemainRequest::getResourceOwnerAccount()const
|
||||
void QuerySecretNoRemainRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QuerySecretNoRemainRequest::getOwnerId()const
|
||||
@@ -101,6 +101,6 @@ long QuerySecretNoRemainRequest::getOwnerId()const
|
||||
void QuerySecretNoRemainRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::QuerySubsIdRequest;
|
||||
QuerySubsIdRequest::QuerySubsIdRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySubsId")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
QuerySubsIdRequest::~QuerySubsIdRequest()
|
||||
@@ -35,7 +35,7 @@ long QuerySubsIdRequest::getResourceOwnerId()const
|
||||
void QuerySubsIdRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QuerySubsIdRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string QuerySubsIdRequest::getResourceOwnerAccount()const
|
||||
void QuerySubsIdRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QuerySubsIdRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long QuerySubsIdRequest::getOwnerId()const
|
||||
void QuerySubsIdRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QuerySubsIdRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string QuerySubsIdRequest::getAccessKeyId()const
|
||||
void QuerySubsIdRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QuerySubsIdRequest::getPoolKey()const
|
||||
@@ -79,7 +79,7 @@ std::string QuerySubsIdRequest::getPoolKey()const
|
||||
void QuerySubsIdRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string QuerySubsIdRequest::getPhoneNoX()const
|
||||
@@ -90,6 +90,6 @@ std::string QuerySubsIdRequest::getPhoneNoX()const
|
||||
void QuerySubsIdRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setCoreParameter("PhoneNoX", phoneNoX);
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::QuerySubscriptionDetailRequest;
|
||||
QuerySubscriptionDetailRequest::QuerySubscriptionDetailRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySubscriptionDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
QuerySubscriptionDetailRequest::~QuerySubscriptionDetailRequest()
|
||||
@@ -35,7 +35,7 @@ long QuerySubscriptionDetailRequest::getResourceOwnerId()const
|
||||
void QuerySubscriptionDetailRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QuerySubscriptionDetailRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string QuerySubscriptionDetailRequest::getAccessKeyId()const
|
||||
void QuerySubscriptionDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QuerySubscriptionDetailRequest::getProductType()const
|
||||
@@ -57,7 +57,7 @@ std::string QuerySubscriptionDetailRequest::getProductType()const
|
||||
void QuerySubscriptionDetailRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setCoreParameter("ProductType", productType);
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string QuerySubscriptionDetailRequest::getSubsId()const
|
||||
@@ -68,7 +68,7 @@ std::string QuerySubscriptionDetailRequest::getSubsId()const
|
||||
void QuerySubscriptionDetailRequest::setSubsId(const std::string& subsId)
|
||||
{
|
||||
subsId_ = subsId;
|
||||
setCoreParameter("SubsId", subsId);
|
||||
setParameter("SubsId", subsId);
|
||||
}
|
||||
|
||||
std::string QuerySubscriptionDetailRequest::getPhoneNoX()const
|
||||
@@ -79,7 +79,7 @@ std::string QuerySubscriptionDetailRequest::getPhoneNoX()const
|
||||
void QuerySubscriptionDetailRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setCoreParameter("PhoneNoX", phoneNoX);
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
std::string QuerySubscriptionDetailRequest::getResourceOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string QuerySubscriptionDetailRequest::getResourceOwnerAccount()const
|
||||
void QuerySubscriptionDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QuerySubscriptionDetailRequest::getOwnerId()const
|
||||
@@ -101,7 +101,7 @@ long QuerySubscriptionDetailRequest::getOwnerId()const
|
||||
void QuerySubscriptionDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QuerySubscriptionDetailRequest::getPoolKey()const
|
||||
@@ -112,6 +112,6 @@ std::string QuerySubscriptionDetailRequest::getPoolKey()const
|
||||
void QuerySubscriptionDetailRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::ReleaseSecretNoRequest;
|
||||
ReleaseSecretNoRequest::ReleaseSecretNoRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "ReleaseSecretNo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
ReleaseSecretNoRequest::~ReleaseSecretNoRequest()
|
||||
@@ -35,7 +35,7 @@ long ReleaseSecretNoRequest::getResourceOwnerId()const
|
||||
void ReleaseSecretNoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ReleaseSecretNoRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string ReleaseSecretNoRequest::getResourceOwnerAccount()const
|
||||
void ReleaseSecretNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ReleaseSecretNoRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long ReleaseSecretNoRequest::getOwnerId()const
|
||||
void ReleaseSecretNoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ReleaseSecretNoRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string ReleaseSecretNoRequest::getAccessKeyId()const
|
||||
void ReleaseSecretNoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ReleaseSecretNoRequest::getPoolKey()const
|
||||
@@ -79,7 +79,7 @@ std::string ReleaseSecretNoRequest::getPoolKey()const
|
||||
void ReleaseSecretNoRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string ReleaseSecretNoRequest::getSecretNo()const
|
||||
@@ -90,6 +90,6 @@ std::string ReleaseSecretNoRequest::getSecretNo()const
|
||||
void ReleaseSecretNoRequest::setSecretNo(const std::string& secretNo)
|
||||
{
|
||||
secretNo_ = secretNo;
|
||||
setCoreParameter("SecretNo", secretNo);
|
||||
setParameter("SecretNo", secretNo);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::UnbindSubscriptionRequest;
|
||||
UnbindSubscriptionRequest::UnbindSubscriptionRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "UnbindSubscription")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
UnbindSubscriptionRequest::~UnbindSubscriptionRequest()
|
||||
@@ -35,7 +35,7 @@ long UnbindSubscriptionRequest::getResourceOwnerId()const
|
||||
void UnbindSubscriptionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UnbindSubscriptionRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string UnbindSubscriptionRequest::getAccessKeyId()const
|
||||
void UnbindSubscriptionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string UnbindSubscriptionRequest::getProductType()const
|
||||
@@ -57,7 +57,7 @@ std::string UnbindSubscriptionRequest::getProductType()const
|
||||
void UnbindSubscriptionRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setCoreParameter("ProductType", productType);
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string UnbindSubscriptionRequest::getSubsId()const
|
||||
@@ -68,7 +68,7 @@ std::string UnbindSubscriptionRequest::getSubsId()const
|
||||
void UnbindSubscriptionRequest::setSubsId(const std::string& subsId)
|
||||
{
|
||||
subsId_ = subsId;
|
||||
setCoreParameter("SubsId", subsId);
|
||||
setParameter("SubsId", subsId);
|
||||
}
|
||||
|
||||
std::string UnbindSubscriptionRequest::getSecretNo()const
|
||||
@@ -79,7 +79,7 @@ std::string UnbindSubscriptionRequest::getSecretNo()const
|
||||
void UnbindSubscriptionRequest::setSecretNo(const std::string& secretNo)
|
||||
{
|
||||
secretNo_ = secretNo;
|
||||
setCoreParameter("SecretNo", secretNo);
|
||||
setParameter("SecretNo", secretNo);
|
||||
}
|
||||
|
||||
std::string UnbindSubscriptionRequest::getResourceOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string UnbindSubscriptionRequest::getResourceOwnerAccount()const
|
||||
void UnbindSubscriptionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long UnbindSubscriptionRequest::getOwnerId()const
|
||||
@@ -101,7 +101,7 @@ long UnbindSubscriptionRequest::getOwnerId()const
|
||||
void UnbindSubscriptionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UnbindSubscriptionRequest::getPoolKey()const
|
||||
@@ -112,6 +112,6 @@ std::string UnbindSubscriptionRequest::getPoolKey()const
|
||||
void UnbindSubscriptionRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::UpdateSubscriptionRequest;
|
||||
UpdateSubscriptionRequest::UpdateSubscriptionRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "UpdateSubscription")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
UpdateSubscriptionRequest::~UpdateSubscriptionRequest()
|
||||
@@ -35,7 +35,7 @@ long UpdateSubscriptionRequest::getResourceOwnerId()const
|
||||
void UpdateSubscriptionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int UpdateSubscriptionRequest::getCallDisplayType()const
|
||||
@@ -46,7 +46,7 @@ int UpdateSubscriptionRequest::getCallDisplayType()const
|
||||
void UpdateSubscriptionRequest::setCallDisplayType(int callDisplayType)
|
||||
{
|
||||
callDisplayType_ = callDisplayType;
|
||||
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
setParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string UpdateSubscriptionRequest::getAccessKeyId()const
|
||||
void UpdateSubscriptionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getProductType()const
|
||||
@@ -68,7 +68,7 @@ std::string UpdateSubscriptionRequest::getProductType()const
|
||||
void UpdateSubscriptionRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setCoreParameter("ProductType", productType);
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getSubsId()const
|
||||
@@ -79,7 +79,7 @@ std::string UpdateSubscriptionRequest::getSubsId()const
|
||||
void UpdateSubscriptionRequest::setSubsId(const std::string& subsId)
|
||||
{
|
||||
subsId_ = subsId;
|
||||
setCoreParameter("SubsId", subsId);
|
||||
setParameter("SubsId", subsId);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getPhoneNoX()const
|
||||
@@ -90,7 +90,7 @@ std::string UpdateSubscriptionRequest::getPhoneNoX()const
|
||||
void UpdateSubscriptionRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setCoreParameter("PhoneNoX", phoneNoX);
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getRingConfig()const
|
||||
@@ -101,7 +101,7 @@ std::string UpdateSubscriptionRequest::getRingConfig()const
|
||||
void UpdateSubscriptionRequest::setRingConfig(const std::string& ringConfig)
|
||||
{
|
||||
ringConfig_ = ringConfig;
|
||||
setCoreParameter("RingConfig", ringConfig);
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getPhoneNoB()const
|
||||
@@ -112,7 +112,7 @@ std::string UpdateSubscriptionRequest::getPhoneNoB()const
|
||||
void UpdateSubscriptionRequest::setPhoneNoB(const std::string& phoneNoB)
|
||||
{
|
||||
phoneNoB_ = phoneNoB;
|
||||
setCoreParameter("PhoneNoB", phoneNoB);
|
||||
setParameter("PhoneNoB", phoneNoB);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getPhoneNoA()const
|
||||
@@ -123,7 +123,7 @@ std::string UpdateSubscriptionRequest::getPhoneNoA()const
|
||||
void UpdateSubscriptionRequest::setPhoneNoA(const std::string& phoneNoA)
|
||||
{
|
||||
phoneNoA_ = phoneNoA;
|
||||
setCoreParameter("PhoneNoA", phoneNoA);
|
||||
setParameter("PhoneNoA", phoneNoA);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getResourceOwnerAccount()const
|
||||
@@ -134,7 +134,7 @@ std::string UpdateSubscriptionRequest::getResourceOwnerAccount()const
|
||||
void UpdateSubscriptionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getGroupId()const
|
||||
@@ -145,7 +145,7 @@ std::string UpdateSubscriptionRequest::getGroupId()const
|
||||
void UpdateSubscriptionRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", groupId);
|
||||
setParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
long UpdateSubscriptionRequest::getOwnerId()const
|
||||
@@ -156,7 +156,7 @@ long UpdateSubscriptionRequest::getOwnerId()const
|
||||
void UpdateSubscriptionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getPoolKey()const
|
||||
@@ -167,7 +167,7 @@ std::string UpdateSubscriptionRequest::getPoolKey()const
|
||||
void UpdateSubscriptionRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getExpiration()const
|
||||
@@ -178,7 +178,7 @@ std::string UpdateSubscriptionRequest::getExpiration()const
|
||||
void UpdateSubscriptionRequest::setExpiration(const std::string& expiration)
|
||||
{
|
||||
expiration_ = expiration;
|
||||
setCoreParameter("Expiration", expiration);
|
||||
setParameter("Expiration", expiration);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getOutId()const
|
||||
@@ -189,7 +189,7 @@ std::string UpdateSubscriptionRequest::getOutId()const
|
||||
void UpdateSubscriptionRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
bool UpdateSubscriptionRequest::getIsRecordingEnabled()const
|
||||
@@ -200,7 +200,7 @@ bool UpdateSubscriptionRequest::getIsRecordingEnabled()const
|
||||
void UpdateSubscriptionRequest::setIsRecordingEnabled(bool isRecordingEnabled)
|
||||
{
|
||||
isRecordingEnabled_ = isRecordingEnabled;
|
||||
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getOperateType()const
|
||||
@@ -211,7 +211,7 @@ std::string UpdateSubscriptionRequest::getOperateType()const
|
||||
void UpdateSubscriptionRequest::setOperateType(const std::string& operateType)
|
||||
{
|
||||
operateType_ = operateType;
|
||||
setCoreParameter("OperateType", operateType);
|
||||
setParameter("OperateType", operateType);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getCallRestrict()const
|
||||
@@ -222,6 +222,6 @@ std::string UpdateSubscriptionRequest::getCallRestrict()const
|
||||
void UpdateSubscriptionRequest::setCallRestrict(const std::string& callRestrict)
|
||||
{
|
||||
callRestrict_ = callRestrict;
|
||||
setCoreParameter("CallRestrict", callRestrict);
|
||||
setParameter("CallRestrict", callRestrict);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user