fixed #51
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
#include "model/AddRtcAccountResult.h"
|
||||
#include "model/BatchRobotSmartCallRequest.h"
|
||||
#include "model/BatchRobotSmartCallResult.h"
|
||||
#include "model/BindNumberAndVoipIdRequest.h"
|
||||
#include "model/BindNumberAndVoipIdResult.h"
|
||||
#include "model/CancelCallRequest.h"
|
||||
#include "model/CancelCallResult.h"
|
||||
#include "model/CancelOrderRobotTaskRequest.h"
|
||||
@@ -70,6 +72,8 @@
|
||||
#include "model/StartRobotTaskResult.h"
|
||||
#include "model/StopRobotTaskRequest.h"
|
||||
#include "model/StopRobotTaskResult.h"
|
||||
#include "model/UnbindNumberAndVoipIdRequest.h"
|
||||
#include "model/UnbindNumberAndVoipIdResult.h"
|
||||
#include "model/UploadRobotTaskCalledFileRequest.h"
|
||||
#include "model/UploadRobotTaskCalledFileResult.h"
|
||||
#include "model/VoipAddAccountRequest.h"
|
||||
@@ -91,6 +95,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::BatchRobotSmartCallResult> BatchRobotSmartCallOutcome;
|
||||
typedef std::future<BatchRobotSmartCallOutcome> BatchRobotSmartCallOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::BatchRobotSmartCallRequest&, const BatchRobotSmartCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchRobotSmartCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::BindNumberAndVoipIdResult> BindNumberAndVoipIdOutcome;
|
||||
typedef std::future<BindNumberAndVoipIdOutcome> BindNumberAndVoipIdOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::BindNumberAndVoipIdRequest&, const BindNumberAndVoipIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindNumberAndVoipIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelCallResult> CancelCallOutcome;
|
||||
typedef std::future<CancelCallOutcome> CancelCallOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::CancelCallRequest&, const CancelCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelCallAsyncHandler;
|
||||
@@ -157,6 +164,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::StopRobotTaskResult> StopRobotTaskOutcome;
|
||||
typedef std::future<StopRobotTaskOutcome> StopRobotTaskOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::StopRobotTaskRequest&, const StopRobotTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopRobotTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnbindNumberAndVoipIdResult> UnbindNumberAndVoipIdOutcome;
|
||||
typedef std::future<UnbindNumberAndVoipIdOutcome> UnbindNumberAndVoipIdOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::UnbindNumberAndVoipIdRequest&, const UnbindNumberAndVoipIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindNumberAndVoipIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::UploadRobotTaskCalledFileResult> UploadRobotTaskCalledFileOutcome;
|
||||
typedef std::future<UploadRobotTaskCalledFileOutcome> UploadRobotTaskCalledFileOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::UploadRobotTaskCalledFileRequest&, const UploadRobotTaskCalledFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UploadRobotTaskCalledFileAsyncHandler;
|
||||
@@ -177,6 +187,9 @@ namespace AlibabaCloud
|
||||
BatchRobotSmartCallOutcome batchRobotSmartCall(const Model::BatchRobotSmartCallRequest &request)const;
|
||||
void batchRobotSmartCallAsync(const Model::BatchRobotSmartCallRequest& request, const BatchRobotSmartCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchRobotSmartCallOutcomeCallable batchRobotSmartCallCallable(const Model::BatchRobotSmartCallRequest& request) const;
|
||||
BindNumberAndVoipIdOutcome bindNumberAndVoipId(const Model::BindNumberAndVoipIdRequest &request)const;
|
||||
void bindNumberAndVoipIdAsync(const Model::BindNumberAndVoipIdRequest& request, const BindNumberAndVoipIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BindNumberAndVoipIdOutcomeCallable bindNumberAndVoipIdCallable(const Model::BindNumberAndVoipIdRequest& request) const;
|
||||
CancelCallOutcome cancelCall(const Model::CancelCallRequest &request)const;
|
||||
void cancelCallAsync(const Model::CancelCallRequest& request, const CancelCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelCallOutcomeCallable cancelCallCallable(const Model::CancelCallRequest& request) const;
|
||||
@@ -243,6 +256,9 @@ namespace AlibabaCloud
|
||||
StopRobotTaskOutcome stopRobotTask(const Model::StopRobotTaskRequest &request)const;
|
||||
void stopRobotTaskAsync(const Model::StopRobotTaskRequest& request, const StopRobotTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopRobotTaskOutcomeCallable stopRobotTaskCallable(const Model::StopRobotTaskRequest& request) const;
|
||||
UnbindNumberAndVoipIdOutcome unbindNumberAndVoipId(const Model::UnbindNumberAndVoipIdRequest &request)const;
|
||||
void unbindNumberAndVoipIdAsync(const Model::UnbindNumberAndVoipIdRequest& request, const UnbindNumberAndVoipIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnbindNumberAndVoipIdOutcomeCallable unbindNumberAndVoipIdCallable(const Model::UnbindNumberAndVoipIdRequest& request) const;
|
||||
UploadRobotTaskCalledFileOutcome uploadRobotTaskCalledFile(const Model::UploadRobotTaskCalledFileRequest &request)const;
|
||||
void uploadRobotTaskCalledFileAsync(const Model::UploadRobotTaskCalledFileRequest& request, const UploadRobotTaskCalledFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UploadRobotTaskCalledFileOutcomeCallable uploadRobotTaskCalledFileCallable(const Model::UploadRobotTaskCalledFileRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_BINDNUMBERANDVOIPIDREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_BINDNUMBERANDVOIPIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dyvmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYVMSAPI_EXPORT BindNumberAndVoipIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BindNumberAndVoipIdRequest();
|
||||
~BindNumberAndVoipIdRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getVoipId()const;
|
||||
void setVoipId(const std::string& voipId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string phoneNumber_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string voipId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_BINDNUMBERANDVOIPIDREQUEST_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_DYVMSAPI_MODEL_BINDNUMBERANDVOIPIDRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_BINDNUMBERANDVOIPIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dyvmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYVMSAPI_EXPORT BindNumberAndVoipIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BindNumberAndVoipIdResult();
|
||||
explicit BindNumberAndVoipIdResult(const std::string &payload);
|
||||
~BindNumberAndVoipIdResult();
|
||||
std::string getMessage()const;
|
||||
std::string getModule()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string module_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_BINDNUMBERANDVOIPIDRESULT_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_DYVMSAPI_MODEL_UNBINDNUMBERANDVOIPIDREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_UNBINDNUMBERANDVOIPIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dyvmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYVMSAPI_EXPORT UnbindNumberAndVoipIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnbindNumberAndVoipIdRequest();
|
||||
~UnbindNumberAndVoipIdRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getVoipId()const;
|
||||
void setVoipId(const std::string& voipId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string phoneNumber_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string voipId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_UNBINDNUMBERANDVOIPIDREQUEST_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_DYVMSAPI_MODEL_UNBINDNUMBERANDVOIPIDRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_UNBINDNUMBERANDVOIPIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dyvmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYVMSAPI_EXPORT UnbindNumberAndVoipIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UnbindNumberAndVoipIdResult();
|
||||
explicit UnbindNumberAndVoipIdResult(const std::string &payload);
|
||||
~UnbindNumberAndVoipIdResult();
|
||||
std::string getMessage()const;
|
||||
std::string getModule()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string module_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_UNBINDNUMBERANDVOIPIDRESULT_H_
|
||||
Reference in New Issue
Block a user