Add AddSecretBlacklist and DeleteSecretBlacklist.
This commit is contained in:
@@ -23,6 +23,8 @@ set(dyplsapi_public_header
|
||||
set(dyplsapi_public_header_model
|
||||
include/alibabacloud/dyplsapi/model/AddAxnTrackNoRequest.h
|
||||
include/alibabacloud/dyplsapi/model/AddAxnTrackNoResult.h
|
||||
include/alibabacloud/dyplsapi/model/AddSecretBlacklistRequest.h
|
||||
include/alibabacloud/dyplsapi/model/AddSecretBlacklistResult.h
|
||||
include/alibabacloud/dyplsapi/model/BindAxbRequest.h
|
||||
include/alibabacloud/dyplsapi/model/BindAxbResult.h
|
||||
include/alibabacloud/dyplsapi/model/BindAxgRequest.h
|
||||
@@ -35,6 +37,12 @@ set(dyplsapi_public_header_model
|
||||
include/alibabacloud/dyplsapi/model/BuySecretNoResult.h
|
||||
include/alibabacloud/dyplsapi/model/CreateAxgGroupRequest.h
|
||||
include/alibabacloud/dyplsapi/model/CreateAxgGroupResult.h
|
||||
include/alibabacloud/dyplsapi/model/DeleteSecretBlacklistRequest.h
|
||||
include/alibabacloud/dyplsapi/model/DeleteSecretBlacklistResult.h
|
||||
include/alibabacloud/dyplsapi/model/GetSecretAsrDetailRequest.h
|
||||
include/alibabacloud/dyplsapi/model/GetSecretAsrDetailResult.h
|
||||
include/alibabacloud/dyplsapi/model/LockSecretNoRequest.h
|
||||
include/alibabacloud/dyplsapi/model/LockSecretNoResult.h
|
||||
include/alibabacloud/dyplsapi/model/OperateAxgGroupRequest.h
|
||||
include/alibabacloud/dyplsapi/model/OperateAxgGroupResult.h
|
||||
include/alibabacloud/dyplsapi/model/OperateBlackNoRequest.h
|
||||
@@ -55,6 +63,8 @@ set(dyplsapi_public_header_model
|
||||
include/alibabacloud/dyplsapi/model/ReleaseSecretNoResult.h
|
||||
include/alibabacloud/dyplsapi/model/UnbindSubscriptionRequest.h
|
||||
include/alibabacloud/dyplsapi/model/UnbindSubscriptionResult.h
|
||||
include/alibabacloud/dyplsapi/model/UnlockSecretNoRequest.h
|
||||
include/alibabacloud/dyplsapi/model/UnlockSecretNoResult.h
|
||||
include/alibabacloud/dyplsapi/model/UpdateSubscriptionRequest.h
|
||||
include/alibabacloud/dyplsapi/model/UpdateSubscriptionResult.h )
|
||||
|
||||
@@ -62,6 +72,8 @@ set(dyplsapi_src
|
||||
src/DyplsapiClient.cc
|
||||
src/model/AddAxnTrackNoRequest.cc
|
||||
src/model/AddAxnTrackNoResult.cc
|
||||
src/model/AddSecretBlacklistRequest.cc
|
||||
src/model/AddSecretBlacklistResult.cc
|
||||
src/model/BindAxbRequest.cc
|
||||
src/model/BindAxbResult.cc
|
||||
src/model/BindAxgRequest.cc
|
||||
@@ -74,6 +86,12 @@ set(dyplsapi_src
|
||||
src/model/BuySecretNoResult.cc
|
||||
src/model/CreateAxgGroupRequest.cc
|
||||
src/model/CreateAxgGroupResult.cc
|
||||
src/model/DeleteSecretBlacklistRequest.cc
|
||||
src/model/DeleteSecretBlacklistResult.cc
|
||||
src/model/GetSecretAsrDetailRequest.cc
|
||||
src/model/GetSecretAsrDetailResult.cc
|
||||
src/model/LockSecretNoRequest.cc
|
||||
src/model/LockSecretNoResult.cc
|
||||
src/model/OperateAxgGroupRequest.cc
|
||||
src/model/OperateAxgGroupResult.cc
|
||||
src/model/OperateBlackNoRequest.cc
|
||||
@@ -94,6 +112,8 @@ set(dyplsapi_src
|
||||
src/model/ReleaseSecretNoResult.cc
|
||||
src/model/UnbindSubscriptionRequest.cc
|
||||
src/model/UnbindSubscriptionResult.cc
|
||||
src/model/UnlockSecretNoRequest.cc
|
||||
src/model/UnlockSecretNoResult.cc
|
||||
src/model/UpdateSubscriptionRequest.cc
|
||||
src/model/UpdateSubscriptionResult.cc )
|
||||
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include "DyplsapiExport.h"
|
||||
#include "model/AddAxnTrackNoRequest.h"
|
||||
#include "model/AddAxnTrackNoResult.h"
|
||||
#include "model/AddSecretBlacklistRequest.h"
|
||||
#include "model/AddSecretBlacklistResult.h"
|
||||
#include "model/BindAxbRequest.h"
|
||||
#include "model/BindAxbResult.h"
|
||||
#include "model/BindAxgRequest.h"
|
||||
@@ -36,6 +38,12 @@
|
||||
#include "model/BuySecretNoResult.h"
|
||||
#include "model/CreateAxgGroupRequest.h"
|
||||
#include "model/CreateAxgGroupResult.h"
|
||||
#include "model/DeleteSecretBlacklistRequest.h"
|
||||
#include "model/DeleteSecretBlacklistResult.h"
|
||||
#include "model/GetSecretAsrDetailRequest.h"
|
||||
#include "model/GetSecretAsrDetailResult.h"
|
||||
#include "model/LockSecretNoRequest.h"
|
||||
#include "model/LockSecretNoResult.h"
|
||||
#include "model/OperateAxgGroupRequest.h"
|
||||
#include "model/OperateAxgGroupResult.h"
|
||||
#include "model/OperateBlackNoRequest.h"
|
||||
@@ -56,6 +64,8 @@
|
||||
#include "model/ReleaseSecretNoResult.h"
|
||||
#include "model/UnbindSubscriptionRequest.h"
|
||||
#include "model/UnbindSubscriptionResult.h"
|
||||
#include "model/UnlockSecretNoRequest.h"
|
||||
#include "model/UnlockSecretNoResult.h"
|
||||
#include "model/UpdateSubscriptionRequest.h"
|
||||
#include "model/UpdateSubscriptionResult.h"
|
||||
|
||||
@@ -70,6 +80,9 @@ namespace AlibabaCloud
|
||||
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::AddSecretBlacklistResult> AddSecretBlacklistOutcome;
|
||||
typedef std::future<AddSecretBlacklistOutcome> AddSecretBlacklistOutcomeCallable;
|
||||
typedef std::function<void(const DyplsapiClient*, const Model::AddSecretBlacklistRequest&, const AddSecretBlacklistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddSecretBlacklistAsyncHandler;
|
||||
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;
|
||||
@@ -88,6 +101,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateAxgGroupResult> CreateAxgGroupOutcome;
|
||||
typedef std::future<CreateAxgGroupOutcome> CreateAxgGroupOutcomeCallable;
|
||||
typedef std::function<void(const DyplsapiClient*, const Model::CreateAxgGroupRequest&, const CreateAxgGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAxgGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSecretBlacklistResult> DeleteSecretBlacklistOutcome;
|
||||
typedef std::future<DeleteSecretBlacklistOutcome> DeleteSecretBlacklistOutcomeCallable;
|
||||
typedef std::function<void(const DyplsapiClient*, const Model::DeleteSecretBlacklistRequest&, const DeleteSecretBlacklistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSecretBlacklistAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSecretAsrDetailResult> GetSecretAsrDetailOutcome;
|
||||
typedef std::future<GetSecretAsrDetailOutcome> GetSecretAsrDetailOutcomeCallable;
|
||||
typedef std::function<void(const DyplsapiClient*, const Model::GetSecretAsrDetailRequest&, const GetSecretAsrDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSecretAsrDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::LockSecretNoResult> LockSecretNoOutcome;
|
||||
typedef std::future<LockSecretNoOutcome> LockSecretNoOutcomeCallable;
|
||||
typedef std::function<void(const DyplsapiClient*, const Model::LockSecretNoRequest&, const LockSecretNoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LockSecretNoAsyncHandler;
|
||||
typedef Outcome<Error, Model::OperateAxgGroupResult> OperateAxgGroupOutcome;
|
||||
typedef std::future<OperateAxgGroupOutcome> OperateAxgGroupOutcomeCallable;
|
||||
typedef std::function<void(const DyplsapiClient*, const Model::OperateAxgGroupRequest&, const OperateAxgGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OperateAxgGroupAsyncHandler;
|
||||
@@ -118,6 +140,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UnbindSubscriptionResult> UnbindSubscriptionOutcome;
|
||||
typedef std::future<UnbindSubscriptionOutcome> UnbindSubscriptionOutcomeCallable;
|
||||
typedef std::function<void(const DyplsapiClient*, const Model::UnbindSubscriptionRequest&, const UnbindSubscriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindSubscriptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnlockSecretNoResult> UnlockSecretNoOutcome;
|
||||
typedef std::future<UnlockSecretNoOutcome> UnlockSecretNoOutcomeCallable;
|
||||
typedef std::function<void(const DyplsapiClient*, const Model::UnlockSecretNoRequest&, const UnlockSecretNoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnlockSecretNoAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateSubscriptionResult> UpdateSubscriptionOutcome;
|
||||
typedef std::future<UpdateSubscriptionOutcome> UpdateSubscriptionOutcomeCallable;
|
||||
typedef std::function<void(const DyplsapiClient*, const Model::UpdateSubscriptionRequest&, const UpdateSubscriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSubscriptionAsyncHandler;
|
||||
@@ -129,6 +154,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
AddSecretBlacklistOutcome addSecretBlacklist(const Model::AddSecretBlacklistRequest &request)const;
|
||||
void addSecretBlacklistAsync(const Model::AddSecretBlacklistRequest& request, const AddSecretBlacklistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddSecretBlacklistOutcomeCallable addSecretBlacklistCallable(const Model::AddSecretBlacklistRequest& 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;
|
||||
@@ -147,6 +175,15 @@ namespace AlibabaCloud
|
||||
CreateAxgGroupOutcome createAxgGroup(const Model::CreateAxgGroupRequest &request)const;
|
||||
void createAxgGroupAsync(const Model::CreateAxgGroupRequest& request, const CreateAxgGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAxgGroupOutcomeCallable createAxgGroupCallable(const Model::CreateAxgGroupRequest& request) const;
|
||||
DeleteSecretBlacklistOutcome deleteSecretBlacklist(const Model::DeleteSecretBlacklistRequest &request)const;
|
||||
void deleteSecretBlacklistAsync(const Model::DeleteSecretBlacklistRequest& request, const DeleteSecretBlacklistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSecretBlacklistOutcomeCallable deleteSecretBlacklistCallable(const Model::DeleteSecretBlacklistRequest& request) const;
|
||||
GetSecretAsrDetailOutcome getSecretAsrDetail(const Model::GetSecretAsrDetailRequest &request)const;
|
||||
void getSecretAsrDetailAsync(const Model::GetSecretAsrDetailRequest& request, const GetSecretAsrDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSecretAsrDetailOutcomeCallable getSecretAsrDetailCallable(const Model::GetSecretAsrDetailRequest& request) const;
|
||||
LockSecretNoOutcome lockSecretNo(const Model::LockSecretNoRequest &request)const;
|
||||
void lockSecretNoAsync(const Model::LockSecretNoRequest& request, const LockSecretNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
LockSecretNoOutcomeCallable lockSecretNoCallable(const Model::LockSecretNoRequest& request) const;
|
||||
OperateAxgGroupOutcome operateAxgGroup(const Model::OperateAxgGroupRequest &request)const;
|
||||
void operateAxgGroupAsync(const Model::OperateAxgGroupRequest& request, const OperateAxgGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OperateAxgGroupOutcomeCallable operateAxgGroupCallable(const Model::OperateAxgGroupRequest& request) const;
|
||||
@@ -177,6 +214,9 @@ namespace AlibabaCloud
|
||||
UnbindSubscriptionOutcome unbindSubscription(const Model::UnbindSubscriptionRequest &request)const;
|
||||
void unbindSubscriptionAsync(const Model::UnbindSubscriptionRequest& request, const UnbindSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnbindSubscriptionOutcomeCallable unbindSubscriptionCallable(const Model::UnbindSubscriptionRequest& request) const;
|
||||
UnlockSecretNoOutcome unlockSecretNo(const Model::UnlockSecretNoRequest &request)const;
|
||||
void unlockSecretNoAsync(const Model::UnlockSecretNoRequest& request, const UnlockSecretNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnlockSecretNoOutcomeCallable unlockSecretNoCallable(const Model::UnlockSecretNoRequest& request) const;
|
||||
UpdateSubscriptionOutcome updateSubscription(const Model::UpdateSubscriptionRequest &request)const;
|
||||
void updateSubscriptionAsync(const Model::UpdateSubscriptionRequest& request, const UpdateSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateSubscriptionOutcomeCallable updateSubscriptionCallable(const Model::UpdateSubscriptionRequest& 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_ADDSECRETBLACKLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DYPLSAPI_MODEL_ADDSECRETBLACKLISTREQUEST_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 AddSecretBlacklistRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddSecretBlacklistRequest();
|
||||
~AddSecretBlacklistRequest();
|
||||
|
||||
std::string getBlackType()const;
|
||||
void setBlackType(const std::string& blackType);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPoolKey()const;
|
||||
void setPoolKey(const std::string& poolKey);
|
||||
std::string getBlackNo()const;
|
||||
void setBlackNo(const std::string& blackNo);
|
||||
|
||||
private:
|
||||
std::string blackType_;
|
||||
long resourceOwnerId_;
|
||||
std::string remark_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string poolKey_;
|
||||
std::string blackNo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_ADDSECRETBLACKLISTREQUEST_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_ADDSECRETBLACKLISTRESULT_H_
|
||||
#define ALIBABACLOUD_DYPLSAPI_MODEL_ADDSECRETBLACKLISTRESULT_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 AddSecretBlacklistResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddSecretBlacklistResult();
|
||||
explicit AddSecretBlacklistResult(const std::string &payload);
|
||||
~AddSecretBlacklistResult();
|
||||
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_ADDSECRETBLACKLISTRESULT_H_
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setPhoneNoX(const std::string& phoneNoX);
|
||||
std::string getRingConfig()const;
|
||||
void setRingConfig(const std::string& ringConfig);
|
||||
bool getASRStatus()const;
|
||||
void setASRStatus(bool aSRStatus);
|
||||
std::string getPhoneNoB()const;
|
||||
void setPhoneNoB(const std::string& phoneNoB);
|
||||
std::string getPhoneNoA()const;
|
||||
@@ -65,6 +67,8 @@ namespace AlibabaCloud
|
||||
void setIsRecordingEnabled(bool isRecordingEnabled);
|
||||
std::string getOutId()const;
|
||||
void setOutId(const std::string& outId);
|
||||
std::string getASRModelId()const;
|
||||
void setASRModelId(const std::string& aSRModelId);
|
||||
std::string getCallRestrict()const;
|
||||
void setCallRestrict(const std::string& callRestrict);
|
||||
|
||||
@@ -74,6 +78,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string phoneNoX_;
|
||||
std::string ringConfig_;
|
||||
bool aSRStatus_;
|
||||
std::string phoneNoB_;
|
||||
std::string phoneNoA_;
|
||||
std::string expectCity_;
|
||||
@@ -84,6 +89,7 @@ namespace AlibabaCloud
|
||||
std::string expiration_;
|
||||
bool isRecordingEnabled_;
|
||||
std::string outId_;
|
||||
std::string aSRModelId_;
|
||||
std::string callRestrict_;
|
||||
|
||||
};
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setPhoneNoX(const std::string& phoneNoX);
|
||||
std::string getRingConfig()const;
|
||||
void setRingConfig(const std::string& ringConfig);
|
||||
bool getASRStatus()const;
|
||||
void setASRStatus(bool aSRStatus);
|
||||
std::string getPhoneNoB()const;
|
||||
void setPhoneNoB(const std::string& phoneNoB);
|
||||
std::string getPhoneNoA()const;
|
||||
@@ -67,6 +69,8 @@ namespace AlibabaCloud
|
||||
void setIsRecordingEnabled(bool isRecordingEnabled);
|
||||
std::string getOutId()const;
|
||||
void setOutId(const std::string& outId);
|
||||
std::string getASRModelId()const;
|
||||
void setASRModelId(const std::string& aSRModelId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -74,6 +78,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string phoneNoX_;
|
||||
std::string ringConfig_;
|
||||
bool aSRStatus_;
|
||||
std::string phoneNoB_;
|
||||
std::string phoneNoA_;
|
||||
std::string expectCity_;
|
||||
@@ -85,6 +90,7 @@ namespace AlibabaCloud
|
||||
std::string expiration_;
|
||||
bool isRecordingEnabled_;
|
||||
std::string outId_;
|
||||
std::string aSRModelId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -47,6 +47,8 @@ namespace AlibabaCloud
|
||||
void setPhoneNoX(const std::string& phoneNoX);
|
||||
std::string getRingConfig()const;
|
||||
void setRingConfig(const std::string& ringConfig);
|
||||
bool getASRStatus()const;
|
||||
void setASRStatus(bool aSRStatus);
|
||||
std::string getPhoneNoB()const;
|
||||
void setPhoneNoB(const std::string& phoneNoB);
|
||||
std::string getPhoneNoA()const;
|
||||
@@ -67,6 +69,8 @@ namespace AlibabaCloud
|
||||
void setIsRecordingEnabled(bool isRecordingEnabled);
|
||||
std::string getOutId()const;
|
||||
void setOutId(const std::string& outId);
|
||||
std::string getASRModelId()const;
|
||||
void setASRModelId(const std::string& aSRModelId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -75,6 +79,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string phoneNoX_;
|
||||
std::string ringConfig_;
|
||||
bool aSRStatus_;
|
||||
std::string phoneNoB_;
|
||||
std::string phoneNoA_;
|
||||
std::string expectCity_;
|
||||
@@ -85,6 +90,7 @@ namespace AlibabaCloud
|
||||
std::string expiration_;
|
||||
bool isRecordingEnabled_;
|
||||
std::string outId_;
|
||||
std::string aSRModelId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setPhoneNoX(const std::string& phoneNoX);
|
||||
std::string getRingConfig()const;
|
||||
void setRingConfig(const std::string& ringConfig);
|
||||
bool getASRStatus()const;
|
||||
void setASRStatus(bool aSRStatus);
|
||||
std::string getPhoneNoB()const;
|
||||
void setPhoneNoB(const std::string& phoneNoB);
|
||||
std::string getPhoneNoA()const;
|
||||
@@ -67,6 +69,8 @@ namespace AlibabaCloud
|
||||
void setOutId(const std::string& outId);
|
||||
std::string getNoType()const;
|
||||
void setNoType(const std::string& noType);
|
||||
std::string getASRModelId()const;
|
||||
void setASRModelId(const std::string& aSRModelId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -74,6 +78,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string phoneNoX_;
|
||||
std::string ringConfig_;
|
||||
bool aSRStatus_;
|
||||
std::string phoneNoB_;
|
||||
std::string phoneNoA_;
|
||||
std::string expectCity_;
|
||||
@@ -85,6 +90,7 @@ namespace AlibabaCloud
|
||||
bool isRecordingEnabled_;
|
||||
std::string outId_;
|
||||
std::string noType_;
|
||||
std::string aSRModelId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_DELETESECRETBLACKLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DYPLSAPI_MODEL_DELETESECRETBLACKLISTREQUEST_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 DeleteSecretBlacklistRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteSecretBlacklistRequest();
|
||||
~DeleteSecretBlacklistRequest();
|
||||
|
||||
std::string getBlackType()const;
|
||||
void setBlackType(const std::string& blackType);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPoolKey()const;
|
||||
void setPoolKey(const std::string& poolKey);
|
||||
std::string getBlackNo()const;
|
||||
void setBlackNo(const std::string& blackNo);
|
||||
|
||||
private:
|
||||
std::string blackType_;
|
||||
long resourceOwnerId_;
|
||||
std::string remark_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string poolKey_;
|
||||
std::string blackNo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_DELETESECRETBLACKLISTREQUEST_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_DELETESECRETBLACKLISTRESULT_H_
|
||||
#define ALIBABACLOUD_DYPLSAPI_MODEL_DELETESECRETBLACKLISTRESULT_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 DeleteSecretBlacklistResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteSecretBlacklistResult();
|
||||
explicit DeleteSecretBlacklistResult(const std::string &payload);
|
||||
~DeleteSecretBlacklistResult();
|
||||
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_DELETESECRETBLACKLISTRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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_GETSECRETASRDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_DYPLSAPI_MODEL_GETSECRETASRDETAILREQUEST_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 GetSecretAsrDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetSecretAsrDetailRequest();
|
||||
~GetSecretAsrDetailRequest();
|
||||
|
||||
std::string getCallId()const;
|
||||
void setCallId(const std::string& callId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCallTime()const;
|
||||
void setCallTime(const std::string& callTime);
|
||||
std::string getPoolKey()const;
|
||||
void setPoolKey(const std::string& poolKey);
|
||||
|
||||
private:
|
||||
std::string callId_;
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string callTime_;
|
||||
std::string poolKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_GETSECRETASRDETAILREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_GETSECRETASRDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_DYPLSAPI_MODEL_GETSECRETASRDETAILRESULT_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 GetSecretAsrDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetSecretAsrDetailResult();
|
||||
explicit GetSecretAsrDetailResult(const std::string &payload);
|
||||
~GetSecretAsrDetailResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_GETSECRETASRDETAILRESULT_H_
|
||||
@@ -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_LOCKSECRETNOREQUEST_H_
|
||||
#define ALIBABACLOUD_DYPLSAPI_MODEL_LOCKSECRETNOREQUEST_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 LockSecretNoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
LockSecretNoRequest();
|
||||
~LockSecretNoRequest();
|
||||
|
||||
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 getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPoolKey()const;
|
||||
void setPoolKey(const std::string& poolKey);
|
||||
std::string getSecretNo()const;
|
||||
void setSecretNo(const std::string& secretNo);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string poolKey_;
|
||||
std::string secretNo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_LOCKSECRETNOREQUEST_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_LOCKSECRETNORESULT_H_
|
||||
#define ALIBABACLOUD_DYPLSAPI_MODEL_LOCKSECRETNORESULT_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 LockSecretNoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
LockSecretNoResult();
|
||||
explicit LockSecretNoResult(const std::string &payload);
|
||||
~LockSecretNoResult();
|
||||
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_LOCKSECRETNORESULT_H_
|
||||
@@ -34,17 +34,19 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct SecretBindDetailDTO
|
||||
{
|
||||
std::string extension;
|
||||
long status;
|
||||
std::string callRestrict;
|
||||
std::string gmtCreate;
|
||||
bool aSRStatus;
|
||||
std::string phoneNoX;
|
||||
std::string expireDate;
|
||||
std::string subsId;
|
||||
long groupId;
|
||||
std::string extension;
|
||||
std::string callRestrict;
|
||||
std::string gmtCreate;
|
||||
std::string aSRModelId;
|
||||
bool needRecord;
|
||||
std::string phoneNoB;
|
||||
std::string subsId;
|
||||
std::string phoneNoA;
|
||||
long groupId;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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_UNLOCKSECRETNOREQUEST_H_
|
||||
#define ALIBABACLOUD_DYPLSAPI_MODEL_UNLOCKSECRETNOREQUEST_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 UnlockSecretNoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnlockSecretNoRequest();
|
||||
~UnlockSecretNoRequest();
|
||||
|
||||
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 getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPoolKey()const;
|
||||
void setPoolKey(const std::string& poolKey);
|
||||
std::string getSecretNo()const;
|
||||
void setSecretNo(const std::string& secretNo);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string poolKey_;
|
||||
std::string secretNo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UNLOCKSECRETNOREQUEST_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_UNLOCKSECRETNORESULT_H_
|
||||
#define ALIBABACLOUD_DYPLSAPI_MODEL_UNLOCKSECRETNORESULT_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 UnlockSecretNoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UnlockSecretNoResult();
|
||||
explicit UnlockSecretNoResult(const std::string &payload);
|
||||
~UnlockSecretNoResult();
|
||||
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_UNLOCKSECRETNORESULT_H_
|
||||
@@ -49,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setPhoneNoX(const std::string& phoneNoX);
|
||||
std::string getRingConfig()const;
|
||||
void setRingConfig(const std::string& ringConfig);
|
||||
bool getASRStatus()const;
|
||||
void setASRStatus(bool aSRStatus);
|
||||
std::string getPhoneNoB()const;
|
||||
void setPhoneNoB(const std::string& phoneNoB);
|
||||
std::string getPhoneNoA()const;
|
||||
@@ -69,6 +71,8 @@ namespace AlibabaCloud
|
||||
void setIsRecordingEnabled(bool isRecordingEnabled);
|
||||
std::string getOperateType()const;
|
||||
void setOperateType(const std::string& operateType);
|
||||
std::string getASRModelId()const;
|
||||
void setASRModelId(const std::string& aSRModelId);
|
||||
std::string getCallRestrict()const;
|
||||
void setCallRestrict(const std::string& callRestrict);
|
||||
|
||||
@@ -80,6 +84,7 @@ namespace AlibabaCloud
|
||||
std::string subsId_;
|
||||
std::string phoneNoX_;
|
||||
std::string ringConfig_;
|
||||
bool aSRStatus_;
|
||||
std::string phoneNoB_;
|
||||
std::string phoneNoA_;
|
||||
std::string resourceOwnerAccount_;
|
||||
@@ -90,6 +95,7 @@ namespace AlibabaCloud
|
||||
std::string outId_;
|
||||
bool isRecordingEnabled_;
|
||||
std::string operateType_;
|
||||
std::string aSRModelId_;
|
||||
std::string callRestrict_;
|
||||
|
||||
};
|
||||
|
||||
@@ -87,6 +87,42 @@ DyplsapiClient::AddAxnTrackNoOutcomeCallable DyplsapiClient::addAxnTrackNoCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::AddSecretBlacklistOutcome DyplsapiClient::addSecretBlacklist(const AddSecretBlacklistRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddSecretBlacklistOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddSecretBlacklistOutcome(AddSecretBlacklistResult(outcome.result()));
|
||||
else
|
||||
return AddSecretBlacklistOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyplsapiClient::addSecretBlacklistAsync(const AddSecretBlacklistRequest& request, const AddSecretBlacklistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addSecretBlacklist(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyplsapiClient::AddSecretBlacklistOutcomeCallable DyplsapiClient::addSecretBlacklistCallable(const AddSecretBlacklistRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddSecretBlacklistOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addSecretBlacklist(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::BindAxbOutcome DyplsapiClient::bindAxb(const BindAxbRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -303,6 +339,114 @@ DyplsapiClient::CreateAxgGroupOutcomeCallable DyplsapiClient::createAxgGroupCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::DeleteSecretBlacklistOutcome DyplsapiClient::deleteSecretBlacklist(const DeleteSecretBlacklistRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteSecretBlacklistOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteSecretBlacklistOutcome(DeleteSecretBlacklistResult(outcome.result()));
|
||||
else
|
||||
return DeleteSecretBlacklistOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyplsapiClient::deleteSecretBlacklistAsync(const DeleteSecretBlacklistRequest& request, const DeleteSecretBlacklistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteSecretBlacklist(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyplsapiClient::DeleteSecretBlacklistOutcomeCallable DyplsapiClient::deleteSecretBlacklistCallable(const DeleteSecretBlacklistRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteSecretBlacklistOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteSecretBlacklist(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::GetSecretAsrDetailOutcome DyplsapiClient::getSecretAsrDetail(const GetSecretAsrDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetSecretAsrDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetSecretAsrDetailOutcome(GetSecretAsrDetailResult(outcome.result()));
|
||||
else
|
||||
return GetSecretAsrDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyplsapiClient::getSecretAsrDetailAsync(const GetSecretAsrDetailRequest& request, const GetSecretAsrDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getSecretAsrDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyplsapiClient::GetSecretAsrDetailOutcomeCallable DyplsapiClient::getSecretAsrDetailCallable(const GetSecretAsrDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetSecretAsrDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getSecretAsrDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::LockSecretNoOutcome DyplsapiClient::lockSecretNo(const LockSecretNoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return LockSecretNoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return LockSecretNoOutcome(LockSecretNoResult(outcome.result()));
|
||||
else
|
||||
return LockSecretNoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyplsapiClient::lockSecretNoAsync(const LockSecretNoRequest& request, const LockSecretNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, lockSecretNo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyplsapiClient::LockSecretNoOutcomeCallable DyplsapiClient::lockSecretNoCallable(const LockSecretNoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<LockSecretNoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->lockSecretNo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::OperateAxgGroupOutcome DyplsapiClient::operateAxgGroup(const OperateAxgGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -663,6 +807,42 @@ DyplsapiClient::UnbindSubscriptionOutcomeCallable DyplsapiClient::unbindSubscrip
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::UnlockSecretNoOutcome DyplsapiClient::unlockSecretNo(const UnlockSecretNoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UnlockSecretNoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UnlockSecretNoOutcome(UnlockSecretNoResult(outcome.result()));
|
||||
else
|
||||
return UnlockSecretNoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyplsapiClient::unlockSecretNoAsync(const UnlockSecretNoRequest& request, const UnlockSecretNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, unlockSecretNo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyplsapiClient::UnlockSecretNoOutcomeCallable DyplsapiClient::unlockSecretNoCallable(const UnlockSecretNoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UnlockSecretNoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->unlockSecretNo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::UpdateSubscriptionOutcome DyplsapiClient::updateSubscription(const UpdateSubscriptionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
117
dyplsapi/src/model/AddSecretBlacklistRequest.cc
Normal file
117
dyplsapi/src/model/AddSecretBlacklistRequest.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/AddSecretBlacklistRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyplsapi::Model::AddSecretBlacklistRequest;
|
||||
|
||||
AddSecretBlacklistRequest::AddSecretBlacklistRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "AddSecretBlacklist")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddSecretBlacklistRequest::~AddSecretBlacklistRequest()
|
||||
{}
|
||||
|
||||
std::string AddSecretBlacklistRequest::getBlackType()const
|
||||
{
|
||||
return blackType_;
|
||||
}
|
||||
|
||||
void AddSecretBlacklistRequest::setBlackType(const std::string& blackType)
|
||||
{
|
||||
blackType_ = blackType;
|
||||
setParameter("BlackType", blackType);
|
||||
}
|
||||
|
||||
long AddSecretBlacklistRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AddSecretBlacklistRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddSecretBlacklistRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void AddSecretBlacklistRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string AddSecretBlacklistRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddSecretBlacklistRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddSecretBlacklistRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddSecretBlacklistRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AddSecretBlacklistRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddSecretBlacklistRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddSecretBlacklistRequest::getPoolKey()const
|
||||
{
|
||||
return poolKey_;
|
||||
}
|
||||
|
||||
void AddSecretBlacklistRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string AddSecretBlacklistRequest::getBlackNo()const
|
||||
{
|
||||
return blackNo_;
|
||||
}
|
||||
|
||||
void AddSecretBlacklistRequest::setBlackNo(const std::string& blackNo)
|
||||
{
|
||||
blackNo_ = blackNo;
|
||||
setParameter("BlackNo", blackNo);
|
||||
}
|
||||
|
||||
58
dyplsapi/src/model/AddSecretBlacklistResult.cc
Normal file
58
dyplsapi/src/model/AddSecretBlacklistResult.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/AddSecretBlacklistResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyplsapi;
|
||||
using namespace AlibabaCloud::Dyplsapi::Model;
|
||||
|
||||
AddSecretBlacklistResult::AddSecretBlacklistResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddSecretBlacklistResult::AddSecretBlacklistResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddSecretBlacklistResult::~AddSecretBlacklistResult()
|
||||
{}
|
||||
|
||||
void AddSecretBlacklistResult::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 AddSecretBlacklistResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string AddSecretBlacklistResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -82,6 +82,17 @@ void BindAxbRequest::setRingConfig(const std::string& ringConfig)
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
bool BindAxbRequest::getASRStatus()const
|
||||
{
|
||||
return aSRStatus_;
|
||||
}
|
||||
|
||||
void BindAxbRequest::setASRStatus(bool aSRStatus)
|
||||
{
|
||||
aSRStatus_ = aSRStatus;
|
||||
setParameter("ASRStatus", aSRStatus ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getPhoneNoB()const
|
||||
{
|
||||
return phoneNoB_;
|
||||
@@ -192,6 +203,17 @@ void BindAxbRequest::setOutId(const std::string& outId)
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getASRModelId()const
|
||||
{
|
||||
return aSRModelId_;
|
||||
}
|
||||
|
||||
void BindAxbRequest::setASRModelId(const std::string& aSRModelId)
|
||||
{
|
||||
aSRModelId_ = aSRModelId;
|
||||
setParameter("ASRModelId", aSRModelId);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getCallRestrict()const
|
||||
{
|
||||
return callRestrict_;
|
||||
|
||||
@@ -82,6 +82,17 @@ void BindAxgRequest::setRingConfig(const std::string& ringConfig)
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
bool BindAxgRequest::getASRStatus()const
|
||||
{
|
||||
return aSRStatus_;
|
||||
}
|
||||
|
||||
void BindAxgRequest::setASRStatus(bool aSRStatus)
|
||||
{
|
||||
aSRStatus_ = aSRStatus;
|
||||
setParameter("ASRStatus", aSRStatus ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getPhoneNoB()const
|
||||
{
|
||||
return phoneNoB_;
|
||||
@@ -203,3 +214,14 @@ void BindAxgRequest::setOutId(const std::string& outId)
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getASRModelId()const
|
||||
{
|
||||
return aSRModelId_;
|
||||
}
|
||||
|
||||
void BindAxgRequest::setASRModelId(const std::string& aSRModelId)
|
||||
{
|
||||
aSRModelId_ = aSRModelId;
|
||||
setParameter("ASRModelId", aSRModelId);
|
||||
}
|
||||
|
||||
|
||||
@@ -93,6 +93,17 @@ void BindAxnExtensionRequest::setRingConfig(const std::string& ringConfig)
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
bool BindAxnExtensionRequest::getASRStatus()const
|
||||
{
|
||||
return aSRStatus_;
|
||||
}
|
||||
|
||||
void BindAxnExtensionRequest::setASRStatus(bool aSRStatus)
|
||||
{
|
||||
aSRStatus_ = aSRStatus;
|
||||
setParameter("ASRStatus", aSRStatus ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getPhoneNoB()const
|
||||
{
|
||||
return phoneNoB_;
|
||||
@@ -203,3 +214,14 @@ void BindAxnExtensionRequest::setOutId(const std::string& outId)
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getASRModelId()const
|
||||
{
|
||||
return aSRModelId_;
|
||||
}
|
||||
|
||||
void BindAxnExtensionRequest::setASRModelId(const std::string& aSRModelId)
|
||||
{
|
||||
aSRModelId_ = aSRModelId;
|
||||
setParameter("ASRModelId", aSRModelId);
|
||||
}
|
||||
|
||||
|
||||
@@ -82,6 +82,17 @@ void BindAxnRequest::setRingConfig(const std::string& ringConfig)
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
bool BindAxnRequest::getASRStatus()const
|
||||
{
|
||||
return aSRStatus_;
|
||||
}
|
||||
|
||||
void BindAxnRequest::setASRStatus(bool aSRStatus)
|
||||
{
|
||||
aSRStatus_ = aSRStatus;
|
||||
setParameter("ASRStatus", aSRStatus ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getPhoneNoB()const
|
||||
{
|
||||
return phoneNoB_;
|
||||
@@ -203,3 +214,14 @@ void BindAxnRequest::setNoType(const std::string& noType)
|
||||
setParameter("NoType", noType);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getASRModelId()const
|
||||
{
|
||||
return aSRModelId_;
|
||||
}
|
||||
|
||||
void BindAxnRequest::setASRModelId(const std::string& aSRModelId)
|
||||
{
|
||||
aSRModelId_ = aSRModelId;
|
||||
setParameter("ASRModelId", aSRModelId);
|
||||
}
|
||||
|
||||
|
||||
117
dyplsapi/src/model/DeleteSecretBlacklistRequest.cc
Normal file
117
dyplsapi/src/model/DeleteSecretBlacklistRequest.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/DeleteSecretBlacklistRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyplsapi::Model::DeleteSecretBlacklistRequest;
|
||||
|
||||
DeleteSecretBlacklistRequest::DeleteSecretBlacklistRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "DeleteSecretBlacklist")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteSecretBlacklistRequest::~DeleteSecretBlacklistRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteSecretBlacklistRequest::getBlackType()const
|
||||
{
|
||||
return blackType_;
|
||||
}
|
||||
|
||||
void DeleteSecretBlacklistRequest::setBlackType(const std::string& blackType)
|
||||
{
|
||||
blackType_ = blackType;
|
||||
setParameter("BlackType", blackType);
|
||||
}
|
||||
|
||||
long DeleteSecretBlacklistRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteSecretBlacklistRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteSecretBlacklistRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void DeleteSecretBlacklistRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string DeleteSecretBlacklistRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteSecretBlacklistRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteSecretBlacklistRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteSecretBlacklistRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long DeleteSecretBlacklistRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteSecretBlacklistRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteSecretBlacklistRequest::getPoolKey()const
|
||||
{
|
||||
return poolKey_;
|
||||
}
|
||||
|
||||
void DeleteSecretBlacklistRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string DeleteSecretBlacklistRequest::getBlackNo()const
|
||||
{
|
||||
return blackNo_;
|
||||
}
|
||||
|
||||
void DeleteSecretBlacklistRequest::setBlackNo(const std::string& blackNo)
|
||||
{
|
||||
blackNo_ = blackNo;
|
||||
setParameter("BlackNo", blackNo);
|
||||
}
|
||||
|
||||
58
dyplsapi/src/model/DeleteSecretBlacklistResult.cc
Normal file
58
dyplsapi/src/model/DeleteSecretBlacklistResult.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/DeleteSecretBlacklistResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyplsapi;
|
||||
using namespace AlibabaCloud::Dyplsapi::Model;
|
||||
|
||||
DeleteSecretBlacklistResult::DeleteSecretBlacklistResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteSecretBlacklistResult::DeleteSecretBlacklistResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteSecretBlacklistResult::~DeleteSecretBlacklistResult()
|
||||
{}
|
||||
|
||||
void DeleteSecretBlacklistResult::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 DeleteSecretBlacklistResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DeleteSecretBlacklistResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
106
dyplsapi/src/model/GetSecretAsrDetailRequest.cc
Normal file
106
dyplsapi/src/model/GetSecretAsrDetailRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/GetSecretAsrDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyplsapi::Model::GetSecretAsrDetailRequest;
|
||||
|
||||
GetSecretAsrDetailRequest::GetSecretAsrDetailRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "GetSecretAsrDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetSecretAsrDetailRequest::~GetSecretAsrDetailRequest()
|
||||
{}
|
||||
|
||||
std::string GetSecretAsrDetailRequest::getCallId()const
|
||||
{
|
||||
return callId_;
|
||||
}
|
||||
|
||||
void GetSecretAsrDetailRequest::setCallId(const std::string& callId)
|
||||
{
|
||||
callId_ = callId;
|
||||
setParameter("CallId", callId);
|
||||
}
|
||||
|
||||
long GetSecretAsrDetailRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void GetSecretAsrDetailRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string GetSecretAsrDetailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetSecretAsrDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetSecretAsrDetailRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void GetSecretAsrDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long GetSecretAsrDetailRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetSecretAsrDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetSecretAsrDetailRequest::getCallTime()const
|
||||
{
|
||||
return callTime_;
|
||||
}
|
||||
|
||||
void GetSecretAsrDetailRequest::setCallTime(const std::string& callTime)
|
||||
{
|
||||
callTime_ = callTime;
|
||||
setParameter("CallTime", callTime);
|
||||
}
|
||||
|
||||
std::string GetSecretAsrDetailRequest::getPoolKey()const
|
||||
{
|
||||
return poolKey_;
|
||||
}
|
||||
|
||||
void GetSecretAsrDetailRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
65
dyplsapi/src/model/GetSecretAsrDetailResult.cc
Normal file
65
dyplsapi/src/model/GetSecretAsrDetailResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* 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/GetSecretAsrDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyplsapi;
|
||||
using namespace AlibabaCloud::Dyplsapi::Model;
|
||||
|
||||
GetSecretAsrDetailResult::GetSecretAsrDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetSecretAsrDetailResult::GetSecretAsrDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetSecretAsrDetailResult::~GetSecretAsrDetailResult()
|
||||
{}
|
||||
|
||||
void GetSecretAsrDetailResult::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();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetSecretAsrDetailResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetSecretAsrDetailResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetSecretAsrDetailResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
95
dyplsapi/src/model/LockSecretNoRequest.cc
Normal file
95
dyplsapi/src/model/LockSecretNoRequest.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/LockSecretNoRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyplsapi::Model::LockSecretNoRequest;
|
||||
|
||||
LockSecretNoRequest::LockSecretNoRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "LockSecretNo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
LockSecretNoRequest::~LockSecretNoRequest()
|
||||
{}
|
||||
|
||||
long LockSecretNoRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void LockSecretNoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string LockSecretNoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void LockSecretNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long LockSecretNoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void LockSecretNoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string LockSecretNoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void LockSecretNoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string LockSecretNoRequest::getPoolKey()const
|
||||
{
|
||||
return poolKey_;
|
||||
}
|
||||
|
||||
void LockSecretNoRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string LockSecretNoRequest::getSecretNo()const
|
||||
{
|
||||
return secretNo_;
|
||||
}
|
||||
|
||||
void LockSecretNoRequest::setSecretNo(const std::string& secretNo)
|
||||
{
|
||||
secretNo_ = secretNo;
|
||||
setParameter("SecretNo", secretNo);
|
||||
}
|
||||
|
||||
58
dyplsapi/src/model/LockSecretNoResult.cc
Normal file
58
dyplsapi/src/model/LockSecretNoResult.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/LockSecretNoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyplsapi;
|
||||
using namespace AlibabaCloud::Dyplsapi::Model;
|
||||
|
||||
LockSecretNoResult::LockSecretNoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
LockSecretNoResult::LockSecretNoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
LockSecretNoResult::~LockSecretNoResult()
|
||||
{}
|
||||
|
||||
void LockSecretNoResult::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 LockSecretNoResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string LockSecretNoResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -62,6 +62,10 @@ void QuerySubscriptionDetailResult::parse(const std::string &payload)
|
||||
secretBindDetailDTO_.callRestrict = secretBindDetailDTONode["CallRestrict"].asString();
|
||||
if(!secretBindDetailDTONode["Status"].isNull())
|
||||
secretBindDetailDTO_.status = std::stol(secretBindDetailDTONode["Status"].asString());
|
||||
if(!secretBindDetailDTONode["ASRStatus"].isNull())
|
||||
secretBindDetailDTO_.aSRStatus = secretBindDetailDTONode["ASRStatus"].asString() == "true";
|
||||
if(!secretBindDetailDTONode["ASRModelId"].isNull())
|
||||
secretBindDetailDTO_.aSRModelId = secretBindDetailDTONode["ASRModelId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
|
||||
95
dyplsapi/src/model/UnlockSecretNoRequest.cc
Normal file
95
dyplsapi/src/model/UnlockSecretNoRequest.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/UnlockSecretNoRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyplsapi::Model::UnlockSecretNoRequest;
|
||||
|
||||
UnlockSecretNoRequest::UnlockSecretNoRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "UnlockSecretNo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UnlockSecretNoRequest::~UnlockSecretNoRequest()
|
||||
{}
|
||||
|
||||
long UnlockSecretNoRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void UnlockSecretNoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UnlockSecretNoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UnlockSecretNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long UnlockSecretNoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UnlockSecretNoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UnlockSecretNoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UnlockSecretNoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string UnlockSecretNoRequest::getPoolKey()const
|
||||
{
|
||||
return poolKey_;
|
||||
}
|
||||
|
||||
void UnlockSecretNoRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string UnlockSecretNoRequest::getSecretNo()const
|
||||
{
|
||||
return secretNo_;
|
||||
}
|
||||
|
||||
void UnlockSecretNoRequest::setSecretNo(const std::string& secretNo)
|
||||
{
|
||||
secretNo_ = secretNo;
|
||||
setParameter("SecretNo", secretNo);
|
||||
}
|
||||
|
||||
58
dyplsapi/src/model/UnlockSecretNoResult.cc
Normal file
58
dyplsapi/src/model/UnlockSecretNoResult.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/UnlockSecretNoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyplsapi;
|
||||
using namespace AlibabaCloud::Dyplsapi::Model;
|
||||
|
||||
UnlockSecretNoResult::UnlockSecretNoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UnlockSecretNoResult::UnlockSecretNoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UnlockSecretNoResult::~UnlockSecretNoResult()
|
||||
{}
|
||||
|
||||
void UnlockSecretNoResult::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 UnlockSecretNoResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string UnlockSecretNoResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -104,6 +104,17 @@ void UpdateSubscriptionRequest::setRingConfig(const std::string& ringConfig)
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
bool UpdateSubscriptionRequest::getASRStatus()const
|
||||
{
|
||||
return aSRStatus_;
|
||||
}
|
||||
|
||||
void UpdateSubscriptionRequest::setASRStatus(bool aSRStatus)
|
||||
{
|
||||
aSRStatus_ = aSRStatus;
|
||||
setParameter("ASRStatus", aSRStatus ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getPhoneNoB()const
|
||||
{
|
||||
return phoneNoB_;
|
||||
@@ -214,6 +225,17 @@ void UpdateSubscriptionRequest::setOperateType(const std::string& operateType)
|
||||
setParameter("OperateType", operateType);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getASRModelId()const
|
||||
{
|
||||
return aSRModelId_;
|
||||
}
|
||||
|
||||
void UpdateSubscriptionRequest::setASRModelId(const std::string& aSRModelId)
|
||||
{
|
||||
aSRModelId_ = aSRModelId;
|
||||
setParameter("ASRModelId", aSRModelId);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getCallRestrict()const
|
||||
{
|
||||
return callRestrict_;
|
||||
|
||||
Reference in New Issue
Block a user