Export predictive dialer API.

This commit is contained in:
sdk-team
2021-04-20 10:14:55 +00:00
parent 294c94c2ec
commit f13956ad50
724 changed files with 50898 additions and 13057 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_ABORTPREDICTIVEJOBSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ABORTPREDICTIVEJOBSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AbortPredictiveJobsRequest : public RpcServiceRequest
{
public:
AbortPredictiveJobsRequest();
~AbortPredictiveJobsRequest();
bool getAll()const;
void setAll(bool all);
std::vector<std::string> getJobId()const;
void setJobId(const std::vector<std::string>& jobId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
private:
bool all_;
std::vector<std::string> jobId_;
std::string instanceId_;
std::string skillGroupId_;
std::string jobGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ABORTPREDICTIVEJOBSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPRESULT_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ABORTPREDICTIVEJOBSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ABORTPREDICTIVEJOBSRESULT_H_
#include <string>
#include <vector>
@@ -29,17 +29,18 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT RemovePhoneNumbersFromSkillGroupResult : public ServiceResult
class ALIBABACLOUD_CCC_EXPORT AbortPredictiveJobsResult : public ServiceResult
{
public:
RemovePhoneNumbersFromSkillGroupResult();
explicit RemovePhoneNumbersFromSkillGroupResult(const std::string &payload);
~RemovePhoneNumbersFromSkillGroupResult();
AbortPredictiveJobsResult();
explicit AbortPredictiveJobsResult(const std::string &payload);
~AbortPredictiveJobsResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
@@ -47,9 +48,10 @@ namespace AlibabaCloud
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPRESULT_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ABORTPREDICTIVEJOBSRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_REGISTERDEVICEREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_REGISTERDEVICEREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ADDAGENTDEVICEREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ADDAGENTDEVICEREQUEST_H_
#include <string>
#include <vector>
@@ -28,30 +28,36 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT RegisterDeviceRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT AddAgentDeviceRequest : public RpcServiceRequest
{
public:
RegisterDeviceRequest();
~RegisterDeviceRequest();
AddAgentDeviceRequest();
~AddAgentDeviceRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getDeviceId()const;
void setDeviceId(const std::string& deviceId);
std::string getPassword()const;
void setPassword(const std::string& password);
std::string getRemark()const;
void setRemark(const std::string& remark);
std::string getClientPort()const;
void setClientPort(const std::string& clientPort);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientIp()const;
void setClientIp(const std::string& clientIp);
std::string getBrowserVersion()const;
void setBrowserVersion(const std::string& browserVersion);
private:
std::string userId_;
std::string deviceId_;
std::string password_;
std::string remark_;
std::string clientPort_;
std::string accessKeyId_;
std::string instanceId_;
std::string clientIp_;
std::string browserVersion_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_REGISTERDEVICEREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ADDAGENTDEVICEREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_CCC_MODEL_ADDAGENTDEVICERESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ADDAGENTDEVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AddAgentDeviceResult : public ServiceResult
{
public:
AddAgentDeviceResult();
explicit AddAgentDeviceResult(const std::string &payload);
~AddAgentDeviceResult();
std::string getMessage()const;
long getAgentDeviceId()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
long agentDeviceId_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ADDAGENTDEVICERESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_ADDBULKPHONENUMBERSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ADDBULKPHONENUMBERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AddBulkPhoneNumbersRequest : public RpcServiceRequest
{
public:
AddBulkPhoneNumbersRequest();
~AddBulkPhoneNumbersRequest();
std::string getContactFlowId()const;
void setContactFlowId(const std::string& contactFlowId);
std::string getUsage()const;
void setUsage(const std::string& usage);
std::vector<std::string> getPhoneNumber()const;
void setPhoneNumber(const std::vector<std::string>& phoneNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::vector<std::string> getSkillGroupId()const;
void setSkillGroupId(const std::vector<std::string>& skillGroupId);
private:
std::string contactFlowId_;
std::string usage_;
std::vector<std::string> phoneNumber_;
std::string accessKeyId_;
std::string instanceId_;
std::vector<std::string> skillGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ADDBULKPHONENUMBERSREQUEST_H_

View File

@@ -0,0 +1,92 @@
/*
* 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_CCC_MODEL_ADDBULKPHONENUMBERSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ADDBULKPHONENUMBERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AddBulkPhoneNumbersResult : public ServiceResult
{
public:
struct PhoneNumber
{
struct ContactFlow
{
std::string type;
std::string contactFlowId;
std::string instanceId;
std::string contactFlowName;
std::string contactFlowDescription;
};
struct SkillGroup
{
std::string skillGroupName;
std::string skillGroupId;
};
std::string usage;
bool testOnly;
bool allowOutbound;
std::string number;
std::string instanceId;
int remainingTime;
std::vector<PhoneNumber::SkillGroup> skillGroups;
int trunks;
std::string phoneNumberId;
ContactFlow contactFlow;
std::string phoneNumberDescription;
};
AddBulkPhoneNumbersResult();
explicit AddBulkPhoneNumbersResult(const std::string &payload);
~AddBulkPhoneNumbersResult();
std::vector<std::string> getArrearagePhoneNumbers()const;
std::vector<PhoneNumber> getPhoneNumbers()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<std::string> getFailedPhoneNumbers()const;
std::vector<std::string> getUserdPhoneNumbers()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> arrearagePhoneNumbers_;
std::vector<PhoneNumber> phoneNumbers_;
std::string message_;
int httpStatusCode_;
std::vector<std::string> failedPhoneNumbers_;
std::vector<std::string> userdPhoneNumbers_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ADDBULKPHONENUMBERSRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_ADDJOBSTOPREDICTIVEJOBGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ADDJOBSTOPREDICTIVEJOBGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AddJobsToPredictiveJobGroupRequest : public RpcServiceRequest
{
public:
AddJobsToPredictiveJobGroupRequest();
~AddJobsToPredictiveJobGroupRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::vector<std::string> getJobsJson()const;
void setJobsJson(const std::vector<std::string>& jobsJson);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
private:
std::string clientToken_;
std::vector<std::string> jobsJson_;
std::string instanceId_;
std::string skillGroupId_;
std::string jobGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ADDJOBSTOPREDICTIVEJOBGROUPREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSRESULT_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ADDJOBSTOPREDICTIVEJOBGROUPRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ADDJOBSTOPREDICTIVEJOBGROUPRESULT_H_
#include <string>
#include <vector>
@@ -29,17 +29,18 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AddPhoneNumberToSkillGroupsResult : public ServiceResult
class ALIBABACLOUD_CCC_EXPORT AddJobsToPredictiveJobGroupResult : public ServiceResult
{
public:
AddPhoneNumberToSkillGroupsResult();
explicit AddPhoneNumberToSkillGroupsResult(const std::string &payload);
~AddPhoneNumberToSkillGroupsResult();
AddJobsToPredictiveJobGroupResult();
explicit AddJobsToPredictiveJobGroupResult(const std::string &payload);
~AddJobsToPredictiveJobGroupResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
@@ -47,9 +48,10 @@ namespace AlibabaCloud
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSRESULT_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ADDJOBSTOPREDICTIVEJOBGROUPRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LAUNCHAUTHENTICATIONREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LAUNCHAUTHENTICATIONREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERREQUEST_H_
#include <string>
#include <vector>
@@ -28,33 +28,33 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT LaunchAuthenticationRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT AddPhoneNumberRequest : public RpcServiceRequest
{
public:
LaunchAuthenticationRequest();
~LaunchAuthenticationRequest();
AddPhoneNumberRequest();
~AddPhoneNumberRequest();
std::string getContactFlowId()const;
void setContactFlowId(const std::string& contactFlowId);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getDeviceId()const;
void setDeviceId(const std::string& deviceId);
std::string getJobId()const;
void setJobId(const std::string& jobId);
std::string getUsage()const;
void setUsage(const std::string& usage);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string contactFlowId_;
std::string userId_;
std::string deviceId_;
std::string jobId_;
std::string usage_;
std::string phoneNumber_;
std::string accessKeyId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LAUNCHAUTHENTICATIONREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERREQUEST_H_

View File

@@ -0,0 +1,80 @@
/*
* 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_CCC_MODEL_ADDPHONENUMBERRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AddPhoneNumberResult : public ServiceResult
{
public:
struct PhoneNumber
{
struct ContactFlow
{
std::string type;
std::string contactFlowId;
std::string instanceId;
std::string contactFlowName;
std::string contactFlowDescription;
};
std::string usage;
bool testOnly;
bool allowOutbound;
std::string number;
std::string instanceId;
int remainingTime;
int trunks;
std::string phoneNumberId;
ContactFlow contactFlow;
std::string phoneNumberDescription;
};
AddPhoneNumberResult();
explicit AddPhoneNumberResult(const std::string &payload);
~AddPhoneNumberResult();
std::string getMessage()const;
int getHttpStatusCode()const;
PhoneNumber getPhoneNumber()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
PhoneNumber phoneNumber_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* 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_CCC_MODEL_ADDPHONETAGSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ADDPHONETAGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AddPhoneTagsRequest : public RpcServiceRequest
{
public:
AddPhoneTagsRequest();
~AddPhoneTagsRequest();
std::string getRegionNameProvince()const;
void setRegionNameProvince(const std::string& regionNameProvince);
int getType()const;
void setType(int type);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
int getConcurrency()const;
void setConcurrency(int concurrency);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getProvider()const;
void setProvider(const std::string& provider);
std::vector<std::string> getPhoneNumberList()const;
void setPhoneNumberList(const std::vector<std::string>& phoneNumberList);
std::string getServiceTag()const;
void setServiceTag(const std::string& serviceTag);
std::string getSipTag()const;
void setSipTag(const std::string& sipTag);
std::string getRegionNameCity()const;
void setRegionNameCity(const std::string& regionNameCity);
private:
std::string regionNameProvince_;
int type_;
std::string accessKeyId_;
int concurrency_;
std::string instanceId_;
std::string provider_;
std::vector<std::string> phoneNumberList_;
std::string serviceTag_;
std::string sipTag_;
std::string regionNameCity_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONETAGSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPRESULT_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONETAGSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ADDPHONETAGSRESULT_H_
#include <string>
#include <vector>
@@ -29,17 +29,18 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AddNumbersToSkillGroupResult : public ServiceResult
class ALIBABACLOUD_CCC_EXPORT AddPhoneTagsResult : public ServiceResult
{
public:
AddNumbersToSkillGroupResult();
explicit AddNumbersToSkillGroupResult(const std::string &payload);
~AddNumbersToSkillGroupResult();
AddPhoneTagsResult();
explicit AddPhoneTagsResult(const std::string &payload);
~AddPhoneTagsResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
@@ -47,9 +48,10 @@ namespace AlibabaCloud
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPRESULT_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONETAGSRESULT_H_

View File

@@ -1,102 +0,0 @@
/*
* 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_CCC_MODEL_ANSWERCALLRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ANSWERCALLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AnswerCallResult : public ServiceResult
{
public:
struct Data
{
struct CallContext
{
struct ChannelContext
{
std::string destination;
std::string channelState;
std::string releaseInitiator;
std::string callType;
std::string associatedData;
std::string skillGroupId;
std::string channelId;
long timestamp;
std::string releaseReason;
std::string originator;
std::string userId;
std::string userExtension;
std::string jobId;
};
std::string instanceId;
std::string jobId;
std::vector<ChannelContext> channelContexts;
};
struct UserContext
{
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string jobId;
std::string workMode;
long reserved;
};
UserContext userContext;
CallContext callContext;
};
AnswerCallResult();
explicit AnswerCallResult(const std::string &payload);
~AnswerCallResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<std::string> getParams()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::vector<std::string> params_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ANSWERCALLRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AssignJobsRequest : public RpcServiceRequest
{
public:
AssignJobsRequest();
~AssignJobsRequest();
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::vector<std::string> getJobsJson()const;
void setJobsJson(const std::vector<std::string>& jobsJson);
std::vector<std::string> getCallingNumber()const;
void setCallingNumber(const std::vector<std::string>& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getStrategyJson()const;
void setStrategyJson(const std::string& strategyJson);
std::string getScenarioId()const;
void setScenarioId(const std::string& scenarioId);
private:
std::string groupId_;
std::vector<std::string> jobsJson_;
std::vector<std::string> callingNumber_;
std::string instanceId_;
std::string strategyJson_;
std::string scenarioId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_CCC_MODEL_ASSIGNJOBSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AssignJobsResult : public ServiceResult
{
public:
AssignJobsResult();
explicit AssignJobsResult(const std::string &payload);
~AssignJobsResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
std::string getGroupId()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
std::string groupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AssignUsersRequest : public RpcServiceRequest
{
public:
AssignUsersRequest();
~AssignUsersRequest();
std::vector<std::string> getRoleId()const;
void setRoleId(const std::vector<std::string>& roleId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::vector<std::string> getUserRamId()const;
void setUserRamId(const std::vector<std::string>& userRamId);
std::vector<int> getSkillLevel()const;
void setSkillLevel(const std::vector<int>& skillLevel);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::vector<std::string> getSkillGroupId()const;
void setSkillGroupId(const std::vector<std::string>& skillGroupId);
private:
std::vector<std::string> roleId_;
std::string accessKeyId_;
std::vector<std::string> userRamId_;
std::vector<int> skillLevel_;
std::string instanceId_;
std::vector<std::string> skillGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_CCC_MODEL_ASSIGNUSERSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AssignUsersResult : public ServiceResult
{
public:
AssignUsersResult();
explicit AssignUsersResult(const std::string &payload);
~AssignUsersResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSRESULT_H_

View File

@@ -1,105 +0,0 @@
/*
* 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_CCC_MODEL_BARGEINCALLRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_BARGEINCALLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT BargeInCallResult : public ServiceResult
{
public:
struct Data
{
struct CallContext
{
struct ChannelContext
{
std::string destination;
std::string channelState;
std::string releaseInitiator;
std::string callType;
int index;
std::string associatedData;
std::string skillGroupId;
std::string channelId;
long timestamp;
std::string releaseReason;
std::string channelFlags;
std::string originator;
std::string userId;
std::string userExtension;
std::string jobId;
};
std::string instanceId;
std::string callType;
std::string jobId;
std::vector<ChannelContext> channelContexts;
};
struct UserContext
{
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string jobId;
std::string workMode;
long reserved;
};
UserContext userContext;
CallContext callContext;
};
BargeInCallResult();
explicit BargeInCallResult(const std::string &payload);
~BargeInCallResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<std::string> getParams()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::vector<std::string> params_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_BARGEINCALLRESULT_H_

View File

@@ -1,66 +0,0 @@
/*
* 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_CCC_MODEL_BLINDTRANSFERREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_BLINDTRANSFERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT BlindTransferRequest : public RpcServiceRequest
{
public:
BlindTransferRequest();
~BlindTransferRequest();
std::string getTransferee()const;
void setTransferee(const std::string& transferee);
std::string getTransferor()const;
void setTransferor(const std::string& transferor);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getDeviceId()const;
void setDeviceId(const std::string& deviceId);
int getTimeoutSeconds()const;
void setTimeoutSeconds(int timeoutSeconds);
std::string getJobId()const;
void setJobId(const std::string& jobId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string transferee_;
std::string transferor_;
std::string userId_;
std::string deviceId_;
int timeoutSeconds_;
std::string jobId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_BLINDTRANSFERREQUEST_H_

View File

@@ -1,103 +0,0 @@
/*
* 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_CCC_MODEL_BLINDTRANSFERRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_BLINDTRANSFERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT BlindTransferResult : public ServiceResult
{
public:
struct Data
{
struct CallContext
{
struct ChannelContext
{
std::string destination;
std::string channelState;
std::string releaseInitiator;
std::string callType;
std::string associatedData;
std::string channelId;
long timestamp;
std::string releaseReason;
std::string channelFlags;
std::string originator;
std::string userId;
std::string userExtension;
std::string jobId;
};
std::string instanceId;
std::string callType;
std::string jobId;
std::vector<ChannelContext> channelContexts;
};
struct UserContext
{
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string jobId;
std::string workMode;
long reserved;
};
UserContext userContext;
CallContext callContext;
};
BlindTransferResult();
explicit BlindTransferResult(const std::string &payload);
~BlindTransferResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<std::string> getParams()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::vector<std::string> params_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_BLINDTRANSFERRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_CCC_MODEL_CALLONLINEPRIVACYNUMBERREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CALLONLINEPRIVACYNUMBERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CallOnlinePrivacyNumberRequest : public RpcServiceRequest
{
public:
CallOnlinePrivacyNumberRequest();
~CallOnlinePrivacyNumberRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getTelA()const;
void setTelA(const std::string& telA);
std::string getTelB()const;
void setTelB(const std::string& telB);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string accessKeyId_;
std::string telA_;
std::string telB_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CALLONLINEPRIVACYNUMBERREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_CCC_MODEL_CALLONLINEPRIVACYNUMBERRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CALLONLINEPRIVACYNUMBERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CallOnlinePrivacyNumberResult : public ServiceResult
{
public:
struct Data
{
std::string represent;
std::string callId;
std::string dateCreated;
std::string telX;
std::string statusCode;
};
CallOnlinePrivacyNumberResult();
explicit CallOnlinePrivacyNumberResult(const std::string &payload);
~CallOnlinePrivacyNumberResult();
std::string getMessage()const;
int getHttpStatusCode()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CALLONLINEPRIVACYNUMBERRESULT_H_

View File

@@ -1,104 +0,0 @@
/*
* 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_CCC_MODEL_CANCELATTENDEDTRANSFERRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CANCELATTENDEDTRANSFERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CancelAttendedTransferResult : public ServiceResult
{
public:
struct Data
{
struct CallContext
{
struct ChannelContext
{
std::string destination;
std::string channelState;
std::string releaseInitiator;
std::string callType;
int index;
std::string associatedData;
std::string channelId;
long timestamp;
std::string releaseReason;
std::string channelFlags;
std::string originator;
std::string userId;
std::string userExtension;
std::string jobId;
};
std::string instanceId;
std::string callType;
std::string jobId;
std::vector<ChannelContext> channelContexts;
};
struct UserContext
{
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string jobId;
std::string workMode;
long reserved;
};
UserContext userContext;
CallContext callContext;
};
CancelAttendedTransferResult();
explicit CancelAttendedTransferResult(const std::string &payload);
~CancelAttendedTransferResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<std::string> getParams()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::vector<std::string> params_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CANCELATTENDEDTRANSFERRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_UNMUTECALLREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_UNMUTECALLREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_CANCELJOBSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CANCELJOBSREQUEST_H_
#include <string>
#include <vector>
@@ -28,33 +28,36 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT UnmuteCallRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT CancelJobsRequest : public RpcServiceRequest
{
public:
UnmuteCallRequest();
~UnmuteCallRequest();
CancelJobsRequest();
~CancelJobsRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getDeviceId()const;
void setDeviceId(const std::string& deviceId);
std::string getJobId()const;
void setJobId(const std::string& jobId);
bool getAll()const;
void setAll(bool all);
std::vector<std::string> getJobReferenceId()const;
void setJobReferenceId(const std::vector<std::string>& jobReferenceId);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::vector<std::string> getJobId()const;
void setJobId(const std::vector<std::string>& jobId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getChannelId()const;
void setChannelId(const std::string& channelId);
std::string getScenarioId()const;
void setScenarioId(const std::string& scenarioId);
private:
std::string userId_;
std::string deviceId_;
std::string jobId_;
bool all_;
std::vector<std::string> jobReferenceId_;
std::string groupId_;
std::vector<std::string> jobId_;
std::string instanceId_;
std::string channelId_;
std::string scenarioId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_UNMUTECALLREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_CANCELJOBSREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_CCC_MODEL_CANCELJOBSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CANCELJOBSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CancelJobsResult : public ServiceResult
{
public:
CancelJobsResult();
explicit CancelJobsResult(const std::string &payload);
~CancelJobsResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CANCELJOBSRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_MAKECALLREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_MAKECALLREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_CHECKNUMBERAVALIABLEREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CHECKNUMBERAVALIABLEREQUEST_H_
#include <string>
#include <vector>
@@ -28,36 +28,30 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT MakeCallRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT CheckNumberAvaliableRequest : public RpcServiceRequest
{
public:
MakeCallRequest();
~MakeCallRequest();
CheckNumberAvaliableRequest();
~CheckNumberAvaliableRequest();
std::string getCallee()const;
void setCallee(const std::string& callee);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getDeviceId()const;
void setDeviceId(const std::string& deviceId);
int getTimeoutSeconds()const;
void setTimeoutSeconds(int timeoutSeconds);
std::string getCaller()const;
void setCaller(const std::string& caller);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getCallee()const;
void setCallee(const std::string& callee);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string callee_;
std::string userId_;
std::string deviceId_;
int timeoutSeconds_;
std::string caller_;
std::string instanceId_;
std::string callee_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_MAKECALLREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_CHECKNUMBERAVALIABLEREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* 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_CCC_MODEL_CHECKNUMBERAVALIABLERESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CHECKNUMBERAVALIABLERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CheckNumberAvaliableResult : public ServiceResult
{
public:
struct CallerAvaliable
{
bool avaliable;
std::string reason;
};
struct CalleeAvaliable
{
bool avaliable;
std::string reason;
};
CheckNumberAvaliableResult();
explicit CheckNumberAvaliableResult(const std::string &payload);
~CheckNumberAvaliableResult();
std::string getMessage()const;
int getHttpStatusCode()const;
CallerAvaliable getCallerAvaliable()const;
std::string getCode()const;
bool getSuccess()const;
CalleeAvaliable getCalleeAvaliable()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
CallerAvaliable callerAvaliable_;
std::string code_;
bool success_;
CalleeAvaliable calleeAvaliable_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CHECKNUMBERAVALIABLERESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_COMMITCONTACTFLOWVERSIONMODIFICATIONREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_COMMITCONTACTFLOWVERSIONMODIFICATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CommitContactFlowVersionModificationRequest : public RpcServiceRequest
{
public:
CommitContactFlowVersionModificationRequest();
~CommitContactFlowVersionModificationRequest();
std::string getCanvas()const;
void setCanvas(const std::string& canvas);
std::string getContent()const;
void setContent(const std::string& content);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getContactFlowVersionId()const;
void setContactFlowVersionId(const std::string& contactFlowVersionId);
private:
std::string canvas_;
std::string content_;
std::string accessKeyId_;
std::string instanceId_;
std::string contactFlowVersionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_COMMITCONTACTFLOWVERSIONMODIFICATIONREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* 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_CCC_MODEL_COMMITCONTACTFLOWVERSIONMODIFICATIONRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_COMMITCONTACTFLOWVERSIONMODIFICATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CommitContactFlowVersionModificationResult : public ServiceResult
{
public:
struct ContactFlowVersion
{
std::string lastModified;
std::string status;
std::string lastModifiedBy;
std::string lockedBy;
std::string contactFlowVersionId;
std::string version;
std::string content;
std::string canvas;
std::string contactFlowVersionDescription;
};
CommitContactFlowVersionModificationResult();
explicit CommitContactFlowVersionModificationResult(const std::string &payload);
~CommitContactFlowVersionModificationResult();
std::string getMessage()const;
ContactFlowVersion getContactFlowVersion()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
ContactFlowVersion contactFlowVersion_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_COMMITCONTACTFLOWVERSIONMODIFICATIONRESULT_H_

View File

@@ -1,105 +0,0 @@
/*
* 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_CCC_MODEL_COMPLETEATTENDEDTRANSFERRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CompleteAttendedTransferResult : public ServiceResult
{
public:
struct Data
{
struct CallContext
{
struct ChannelContext
{
std::string destination;
std::string channelState;
std::string releaseInitiator;
std::string callType;
int index;
std::string associatedData;
std::string skillGroupId;
std::string channelId;
long timestamp;
std::string releaseReason;
std::string channelFlags;
std::string originator;
std::string userId;
std::string userExtension;
std::string jobId;
};
std::string instanceId;
std::string callType;
std::string jobId;
std::vector<ChannelContext> channelContexts;
};
struct UserContext
{
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string jobId;
std::string workMode;
long reserved;
};
UserContext userContext;
CallContext callContext;
};
CompleteAttendedTransferResult();
explicit CompleteAttendedTransferResult(const std::string &payload);
~CompleteAttendedTransferResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<std::string> getParams()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::vector<std::string> params_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateBatchJobsRequest : public RpcServiceRequest
{
public:
CreateBatchJobsRequest();
~CreateBatchJobsRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getJobFilePath()const;
void setJobFilePath(const std::string& jobFilePath);
std::vector<std::string> getCallingNumber()const;
void setCallingNumber(const std::vector<std::string>& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
bool getSubmitted()const;
void setSubmitted(bool submitted);
std::string getStrategyJson()const;
void setStrategyJson(const std::string& strategyJson);
std::string getName()const;
void setName(const std::string& name);
std::string getScenarioId()const;
void setScenarioId(const std::string& scenarioId);
private:
std::string description_;
std::string jobFilePath_;
std::vector<std::string> callingNumber_;
std::string instanceId_;
bool submitted_;
std::string strategyJson_;
std::string name_;
std::string scenarioId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSREQUEST_H_

View File

@@ -0,0 +1,93 @@
/*
* 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_CCC_MODEL_CREATEBATCHJOBSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateBatchJobsResult : public ServiceResult
{
public:
struct JobGroup
{
struct Strategy
{
struct TimeFrame
{
std::string endTime;
std::string beginTime;
};
std::vector<TimeFrame> workingTime;
bool isTemplate;
std::string repeatBy;
int minAttemptInterval;
long endTime;
std::string strategyId;
long startTime;
std::string followUpStrategy;
std::string type;
std::string strategyName;
std::string strategyDescription;
std::string customized;
int maxAttemptsPerDay;
std::string routingStrategy;
std::vector<std::string> repeatDays;
};
std::string jobGroupId;
std::string scenarioId;
std::string jobGroupName;
long creationTime;
Strategy strategy;
std::string jobFilePath;
std::string jobGroupDescription;
std::vector<std::string> callingNumbers;
};
CreateBatchJobsResult();
explicit CreateBatchJobsResult(const std::string &payload);
~CreateBatchJobsResult();
JobGroup getJobGroup()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
JobGroup jobGroup_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_CCC_MODEL_CREATECABINSTANCEREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATECABINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateCabInstanceRequest : public RpcServiceRequest
{
public:
CreateCabInstanceRequest();
~CreateCabInstanceRequest();
int getMaxConcurrentConversation()const;
void setMaxConcurrentConversation(int maxConcurrentConversation);
std::string getInstanceName()const;
void setInstanceName(const std::string& instanceName);
std::string getCallCenterInstanceId()const;
void setCallCenterInstanceId(const std::string& callCenterInstanceId);
std::string getInstanceDescription()const;
void setInstanceDescription(const std::string& instanceDescription);
private:
int maxConcurrentConversation_;
std::string instanceName_;
std::string callCenterInstanceId_;
std::string instanceDescription_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATECABINSTANCEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTDEVICESRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_LISTDEVICESRESULT_H_
#ifndef ALIBABACLOUD_CCC_MODEL_CREATECABINSTANCERESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CREATECABINSTANCERESULT_H_
#include <string>
#include <vector>
@@ -29,41 +29,41 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListDevicesResult : public ServiceResult
class ALIBABACLOUD_CCC_EXPORT CreateCabInstanceResult : public ServiceResult
{
public:
struct Device
struct Instance
{
std::string extension;
std::string instanceName;
std::string owner;
int maxConcurrentConversation;
std::string instanceId;
std::string deviceId;
std::string userId;
std::string callId;
long expires;
std::string contact;
long creationTime;
std::string instanceDescription;
std::string callCenterInstanceId;
};
ListDevicesResult();
explicit ListDevicesResult(const std::string &payload);
~ListDevicesResult();
CreateCabInstanceResult();
explicit CreateCabInstanceResult(const std::string &payload);
~CreateCabInstanceResult();
std::string getMessage()const;
Instance getInstance()const;
int getHttpStatusCode()const;
std::vector<std::string> getParams()const;
std::vector<Device> getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Instance instance_;
int httpStatusCode_;
std::vector<std::string> params_;
std::vector<Device> data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTDEVICESRESULT_H_
#endif // !ALIBABACLOUD_CCC_MODEL_CREATECABINSTANCERESULT_H_

View File

@@ -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_CCC_MODEL_CREATECONTACTFLOWREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATECONTACTFLOWREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateContactFlowRequest : public RpcServiceRequest
{
public:
CreateContactFlowRequest();
~CreateContactFlowRequest();
std::string getCanvas()const;
void setCanvas(const std::string& canvas);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getType()const;
void setType(const std::string& type);
std::string getContent()const;
void setContent(const std::string& content);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string canvas_;
std::string description_;
std::string type_;
std::string content_;
std::string accessKeyId_;
std::string instanceId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATECONTACTFLOWREQUEST_H_

View File

@@ -0,0 +1,94 @@
/*
* 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_CCC_MODEL_CREATECONTACTFLOWRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CREATECONTACTFLOWRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateContactFlowResult : public ServiceResult
{
public:
struct ContactFlow
{
struct ContactFlowVersion
{
std::string lastModified;
std::string status;
std::string lastModifiedBy;
std::string lockedBy;
std::string contactFlowVersionId;
std::string version;
std::string content;
std::string canvas;
std::string contactFlowVersionDescription;
};
struct PhoneNumber
{
std::string usage;
bool testOnly;
bool allowOutbound;
std::string number;
std::string instanceId;
int remainingTime;
int trunks;
std::string phoneNumberId;
std::string phoneNumberDescription;
};
std::vector<PhoneNumber> phoneNumbers;
std::string type;
std::string appliedVersion;
std::vector<ContactFlowVersion> versions;
std::string contactFlowId;
std::string instanceId;
std::string contactFlowName;
std::string contactFlowDescription;
};
CreateContactFlowResult();
explicit CreateContactFlowResult(const std::string &payload);
~CreateContactFlowResult();
std::string getMessage()const;
int getHttpStatusCode()const;
ContactFlow getContactFlow()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
ContactFlow contactFlow_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATECONTACTFLOWRESULT_H_

View File

@@ -0,0 +1,108 @@
/*
* 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_CCC_MODEL_CREATEFAULTREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEFAULTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateFaultRequest : public RpcServiceRequest
{
public:
CreateFaultRequest();
~CreateFaultRequest();
std::string getAgentOssFileName()const;
void setAgentOssFileName(const std::string& agentOssFileName);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getOperatingSystemVersion()const;
void setOperatingSystemVersion(const std::string& operatingSystemVersion);
long getStartTime()const;
void setStartTime(long startTime);
std::string getMicrophoneList()const;
void setMicrophoneList(const std::string& microphoneList);
std::string getClientPort()const;
void setClientPort(const std::string& clientPort);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getCustomFilePath()const;
void setCustomFilePath(const std::string& customFilePath);
std::string getClientIp()const;
void setClientIp(const std::string& clientIp);
std::string getSpeakerList()const;
void setSpeakerList(const std::string& speakerList);
long getAgentId()const;
void setAgentId(long agentId);
long getEndTime()const;
void setEndTime(long endTime);
std::string getSpeakerEquipment()const;
void setSpeakerEquipment(const std::string& speakerEquipment);
std::string getServicePort()const;
void setServicePort(const std::string& servicePort);
std::string getServiceIp()const;
void setServiceIp(const std::string& serviceIp);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAgentFilePath()const;
void setAgentFilePath(const std::string& agentFilePath);
std::string getConnectId()const;
void setConnectId(const std::string& connectId);
std::string getCustomOssFileName()const;
void setCustomOssFileName(const std::string& customOssFileName);
std::string getMicrophoneEquipment()const;
void setMicrophoneEquipment(const std::string& microphoneEquipment);
std::string getBrowserVersion()const;
void setBrowserVersion(const std::string& browserVersion);
private:
std::string agentOssFileName_;
std::string description_;
std::string operatingSystemVersion_;
long startTime_;
std::string microphoneList_;
std::string clientPort_;
std::string accessKeyId_;
std::string customFilePath_;
std::string clientIp_;
std::string speakerList_;
long agentId_;
long endTime_;
std::string speakerEquipment_;
std::string servicePort_;
std::string serviceIp_;
std::string instanceId_;
std::string agentFilePath_;
std::string connectId_;
std::string customOssFileName_;
std::string microphoneEquipment_;
std::string browserVersion_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEFAULTREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_CCC_MODEL_CREATEFAULTRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEFAULTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateFaultResult : public ServiceResult
{
public:
CreateFaultResult();
explicit CreateFaultResult(const std::string &payload);
~CreateFaultResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEFAULTRESULT_H_

View File

@@ -0,0 +1,78 @@
/*
* 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_CCC_MODEL_CREATEINSTANCEREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateInstanceRequest : public RpcServiceRequest
{
public:
CreateInstanceRequest();
~CreateInstanceRequest();
std::vector<std::string> getPhoneNumbers()const;
void setPhoneNumbers(const std::vector<std::string>& phoneNumbers);
std::vector<std::string> getUserObject()const;
void setUserObject(const std::vector<std::string>& userObject);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getDescription()const;
void setDescription(const std::string& description);
int getStorageMaxDays()const;
void setStorageMaxDays(int storageMaxDays);
std::vector<std::string> getAdminRamId()const;
void setAdminRamId(const std::vector<std::string>& adminRamId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getName()const;
void setName(const std::string& name);
int getStorageMaxSize()const;
void setStorageMaxSize(int storageMaxSize);
std::string getDirectoryId()const;
void setDirectoryId(const std::string& directoryId);
private:
std::vector<std::string> phoneNumbers_;
std::vector<std::string> userObject_;
std::string domainName_;
std::string phoneNumber_;
std::string description_;
int storageMaxDays_;
std::vector<std::string> adminRamId_;
std::string accessKeyId_;
std::string name_;
int storageMaxSize_;
std::string directoryId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEINSTANCEREQUEST_H_

View File

@@ -0,0 +1,109 @@
/*
* 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_CCC_MODEL_CREATEINSTANCERESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateInstanceResult : public ServiceResult
{
public:
struct Instance
{
struct User
{
struct Detail
{
std::string loginName;
std::string department;
std::string email;
std::string phone;
std::string displayName;
};
std::string instanceId;
std::string userId;
std::string ramId;
Detail detail;
};
struct PhoneNumber
{
std::string usage;
bool testOnly;
bool allowOutbound;
std::string number;
std::string instanceId;
int remainingTime;
int trunks;
std::string phoneNumberId;
std::string phoneNumberDescription;
};
std::string status;
std::vector<PhoneNumber> phoneNumbers;
std::string owner;
long createdTime;
std::vector<std::string> successLoginNames;
std::string instanceId;
std::string domainName;
std::string consoleUrl;
int storageMaxSize;
std::vector<User> admin;
std::vector<std::string> failLoginNames;
std::vector<std::string> successPhoneNumbers;
std::string instanceName;
int maxOnlineAgents;
std::string tenantId;
std::string directoryId;
std::string storageBucket;
std::vector<std::string> failPhoneNumbers;
std::string instanceDescription;
int storageMaxDays;
};
CreateInstanceResult();
explicit CreateInstanceResult(const std::string &payload);
~CreateInstanceResult();
std::string getMessage()const;
Instance getInstance()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Instance instance_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEINSTANCERESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEJOBGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEJOBGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateJobGroupRequest : public RpcServiceRequest
{
public:
CreateJobGroupRequest();
~CreateJobGroupRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::vector<std::string> getCallingNumber()const;
void setCallingNumber(const std::vector<std::string>& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getStrategyJson()const;
void setStrategyJson(const std::string& strategyJson);
std::string getName()const;
void setName(const std::string& name);
std::string getScenarioId()const;
void setScenarioId(const std::string& scenarioId);
private:
std::string description_;
std::vector<std::string> callingNumber_;
std::string instanceId_;
std::string strategyJson_;
std::string name_;
std::string scenarioId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEJOBGROUPREQUEST_H_

View File

@@ -0,0 +1,93 @@
/*
* 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_CCC_MODEL_CREATEJOBGROUPRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEJOBGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateJobGroupResult : public ServiceResult
{
public:
struct JobGroup
{
struct Strategy
{
struct TimeFrame
{
std::string from;
std::string to;
};
std::vector<TimeFrame> workingTime;
bool isTemplate;
std::string repeatBy;
int minAttemptInterval;
long endTime;
std::string strategyId;
long startTime;
std::string followUpStrategy;
std::string type;
std::string strategyName;
std::string strategyDescription;
std::string customized;
int maxAttemptsPerDay;
std::string routingStrategy;
std::vector<std::string> repeatDays;
};
std::string jobGroupId;
std::string scenarioId;
std::string jobGroupName;
long creationTime;
Strategy strategy;
std::string jobFilePath;
std::string jobGroupDescription;
std::vector<std::string> callingNumbers;
};
CreateJobGroupResult();
explicit CreateJobGroupResult(const std::string &payload);
~CreateJobGroupResult();
JobGroup getJobGroup()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
JobGroup jobGroup_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEJOBGROUPRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* 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_CCC_MODEL_CREATEMEDIAREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEMEDIAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateMediaRequest : public RpcServiceRequest
{
public:
CreateMediaRequest();
~CreateMediaRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getOssFilePath()const;
void setOssFilePath(const std::string& ossFilePath);
std::string getUploadResult()const;
void setUploadResult(const std::string& uploadResult);
std::string getType()const;
void setType(const std::string& type);
std::string getContent()const;
void setContent(const std::string& content);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getOssFileName()const;
void setOssFileName(const std::string& ossFileName);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getFileName()const;
void setFileName(const std::string& fileName);
std::string getName()const;
void setName(const std::string& name);
private:
std::string description_;
std::string ossFilePath_;
std::string uploadResult_;
std::string type_;
std::string content_;
std::string accessKeyId_;
std::string ossFileName_;
std::string instanceId_;
std::string fileName_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEMEDIAREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTCONFIGITEMSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_LISTCONFIGITEMSRESULT_H_
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEMEDIARESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEMEDIARESULT_H_
#include <string>
#include <vector>
@@ -29,39 +29,40 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListConfigItemsResult : public ServiceResult
class ALIBABACLOUD_CCC_EXPORT CreateMediaResult : public ServiceResult
{
public:
struct ConfigItem
struct MediaUploadParam
{
std::string objectType;
std::string instanceId;
std::string objectId;
std::string value;
std::string instance;
std::string fileName;
std::string ossFileName;
std::string id;
std::string name;
std::string ossFilePath;
};
ListConfigItemsResult();
explicit ListConfigItemsResult(const std::string &payload);
~ListConfigItemsResult();
CreateMediaResult();
explicit CreateMediaResult(const std::string &payload);
~CreateMediaResult();
MediaUploadParam getMediaUploadParam()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<std::string> getParams()const;
std::vector<ConfigItem> getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
MediaUploadParam mediaUploadParam_;
std::string message_;
int httpStatusCode_;
std::vector<std::string> params_;
std::vector<ConfigItem> data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTCONFIGITEMSRESULT_H_
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEMEDIARESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* 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_CCC_MODEL_CREATEPREDICTIVEJOBGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreatePredictiveJobGroupRequest : public RpcServiceRequest
{
public:
CreatePredictiveJobGroupRequest();
~CreatePredictiveJobGroupRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
bool getTimingSchedule()const;
void setTimingSchedule(bool timingSchedule);
std::vector<std::string> getJobsJson()const;
void setJobsJson(const std::vector<std::string>& jobsJson);
std::string getJobFilePath()const;
void setJobFilePath(const std::string& jobFilePath);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
bool getIsDraft()const;
void setIsDraft(bool isDraft);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
std::string getStrategyJson()const;
void setStrategyJson(const std::string& strategyJson);
std::string getName()const;
void setName(const std::string& name);
private:
std::string description_;
bool timingSchedule_;
std::vector<std::string> jobsJson_;
std::string jobFilePath_;
std::string instanceId_;
bool isDraft_;
std::string skillGroupId_;
std::string strategyJson_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_GETMULTICHANNELRECORDINGRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETMULTICHANNELRECORDINGRESULT_H_
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPRESULT_H_
#include <string>
#include <vector>
@@ -29,34 +29,31 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetMultiChannelRecordingResult : public ServiceResult
class ALIBABACLOUD_CCC_EXPORT CreatePredictiveJobGroupResult : public ServiceResult
{
public:
struct Data
{
std::string fileUrl;
std::string fileName;
};
GetMultiChannelRecordingResult();
explicit GetMultiChannelRecordingResult(const std::string &payload);
~GetMultiChannelRecordingResult();
CreatePredictiveJobGroupResult();
explicit CreatePredictiveJobGroupResult(const std::string &payload);
~CreatePredictiveJobGroupResult();
std::string getJobGroupId()const;
std::string getMessage()const;
int getHttpStatusCode()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string jobGroupId_;
std::string message_;
int httpStatusCode_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETMULTICHANNELRECORDINGRESULT_H_
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_CREATESCENARIOFROMTEMPLATEREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATESCENARIOFROMTEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateScenarioFromTemplateRequest : public RpcServiceRequest
{
public:
CreateScenarioFromTemplateRequest();
~CreateScenarioFromTemplateRequest();
std::string getVariables()const;
void setVariables(const std::string& variables);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getTemplateId()const;
void setTemplateId(const std::string& templateId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string variables_;
std::string description_;
std::string templateId_;
std::string instanceId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESCENARIOFROMTEMPLATEREQUEST_H_

View File

@@ -0,0 +1,113 @@
/*
* 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_CCC_MODEL_CREATESCENARIOFROMTEMPLATERESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CREATESCENARIOFROMTEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateScenarioFromTemplateResult : public ServiceResult
{
public:
struct Scenario
{
struct Strategy
{
struct TimeFrame
{
std::string endTime;
std::string beginTime;
};
std::vector<TimeFrame> workingTime;
bool isTemplate;
std::string repeatBy;
int minAttemptInterval;
long endTime;
std::string strategyId;
long startTime;
std::string followUpStrategy;
std::string type;
std::string strategyName;
std::string strategyDescription;
std::string customized;
int maxAttemptsPerDay;
std::string routingStrategy;
std::vector<std::string> repeatDays;
};
struct Survey
{
struct IntentNode
{
std::string nodeId;
std::string intentId;
};
std::string role;
std::string surveyId;
std::string beebotId;
std::string surveyName;
std::string surveyDescription;
std::vector<Survey::IntentNode> intents;
int round;
};
struct KeyValuePair
{
std::string value;
std::string key;
};
std::vector<Survey> surveys;
std::vector<KeyValuePair> variables;
bool isTemplate;
std::string type;
std::string scenarioId;
std::string scenarioDescription;
Strategy strategy;
std::string scenarioName;
};
CreateScenarioFromTemplateResult();
explicit CreateScenarioFromTemplateResult(const std::string &payload);
~CreateScenarioFromTemplateResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
Scenario getScenario()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
Scenario scenario_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESCENARIOFROMTEMPLATERESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_CREATESCENARIOREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATESCENARIOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateScenarioRequest : public RpcServiceRequest
{
public:
CreateScenarioRequest();
~CreateScenarioRequest();
std::vector<std::string> getSurveysJson()const;
void setSurveysJson(const std::vector<std::string>& surveysJson);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getType()const;
void setType(const std::string& type);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getStrategyJson()const;
void setStrategyJson(const std::string& strategyJson);
std::string getName()const;
void setName(const std::string& name);
private:
std::vector<std::string> surveysJson_;
std::string description_;
std::string type_;
std::string instanceId_;
std::string strategyJson_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESCENARIOREQUEST_H_

View File

@@ -0,0 +1,113 @@
/*
* 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_CCC_MODEL_CREATESCENARIORESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CREATESCENARIORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateScenarioResult : public ServiceResult
{
public:
struct Scenario
{
struct Strategy
{
struct TimeFrame
{
std::string endTime;
std::string beginTime;
};
std::vector<TimeFrame> workingTime;
bool isTemplate;
std::string repeatBy;
int minAttemptInterval;
long endTime;
std::string strategyId;
long startTime;
std::string followUpStrategy;
std::string type;
std::string strategyName;
std::string strategyDescription;
std::string customized;
int maxAttemptsPerDay;
std::string routingStrategy;
std::vector<std::string> repeatDays;
};
struct Survey
{
struct IntentNode
{
std::string nodeId;
std::string intentId;
};
std::string role;
std::string surveyId;
std::string beebotId;
std::string surveyName;
std::string surveyDescription;
std::vector<Survey::IntentNode> intents;
int round;
};
struct KeyValuePair
{
std::string value;
std::string key;
};
std::vector<Survey> surveys;
std::vector<KeyValuePair> variables;
bool isTemplate;
std::string type;
std::string scenarioId;
std::string scenarioDescription;
Strategy strategy;
std::string scenarioName;
};
CreateScenarioResult();
explicit CreateScenarioResult(const std::string &payload);
~CreateScenarioResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
Scenario getScenario()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
Scenario scenario_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESCENARIORESULT_H_

View File

@@ -35,19 +35,34 @@ namespace AlibabaCloud
CreateSkillGroupRequest();
~CreateSkillGroupRequest();
bool getAllowPrivateOutboundNumber()const;
void setAllowPrivateOutboundNumber(bool allowPrivateOutboundNumber);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getRoutingStrategy()const;
void setRoutingStrategy(const std::string& routingStrategy);
std::vector<std::string> getUserId()const;
void setUserId(const std::vector<std::string>& userId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::vector<int> getSkillLevel()const;
void setSkillLevel(const std::vector<int>& skillLevel);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getDisplayName()const;
void setDisplayName(const std::string& displayName);
std::vector<std::string> getOutboundPhoneNumberId()const;
void setOutboundPhoneNumberId(const std::vector<std::string>& outboundPhoneNumberId);
std::string getName()const;
void setName(const std::string& name);
private:
bool allowPrivateOutboundNumber_;
std::string description_;
std::string routingStrategy_;
std::vector<std::string> userId_;
std::string accessKeyId_;
std::vector<int> skillLevel_;
std::string instanceId_;
std::string displayName_;
std::vector<std::string> outboundPhoneNumberId_;
std::string name_;
};

View File

@@ -32,13 +32,6 @@ namespace AlibabaCloud
class ALIBABACLOUD_CCC_EXPORT CreateSkillGroupResult : public ServiceResult
{
public:
struct Data
{
std::string description;
std::string instanceId;
std::string skillGroupId;
std::string name;
};
CreateSkillGroupResult();
@@ -46,16 +39,18 @@ namespace AlibabaCloud
~CreateSkillGroupResult();
std::string getMessage()const;
int getHttpStatusCode()const;
Data getData()const;
std::string getSkillGroupId()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
Data data_;
std::string skillGroupId_;
std::string code_;
bool success_;
};
}

View File

@@ -0,0 +1,75 @@
/*
* 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_CCC_MODEL_CREATESURVEYREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATESURVEYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateSurveyRequest : public RpcServiceRequest
{
public:
CreateSurveyRequest();
~CreateSurveyRequest();
std::string getRole()const;
void setRole(const std::string& role);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getSpeechOptimizationParam()const;
void setSpeechOptimizationParam(const std::string& speechOptimizationParam);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getRound()const;
void setRound(int round);
std::string getFlowJson()const;
void setFlowJson(const std::string& flowJson);
std::string getName()const;
void setName(const std::string& name);
std::string getGlobalQuestions()const;
void setGlobalQuestions(const std::string& globalQuestions);
std::string getCorpora()const;
void setCorpora(const std::string& corpora);
std::string getScenarioId()const;
void setScenarioId(const std::string& scenarioId);
private:
std::string role_;
std::string description_;
std::string speechOptimizationParam_;
std::string instanceId_;
int round_;
std::string flowJson_;
std::string name_;
std::string globalQuestions_;
std::string corpora_;
std::string scenarioId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESURVEYREQUEST_H_

View File

@@ -0,0 +1,84 @@
/*
* 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_CCC_MODEL_CREATESURVEYRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CREATESURVEYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateSurveyResult : public ServiceResult
{
public:
struct Survey
{
struct Flow
{
std::string flowId;
bool isPublished;
std::string flowJson;
};
struct AsrCustomModel
{
int customModelStatus;
std::string corpora;
};
std::string role;
std::string description;
std::string hotWords;
AsrCustomModel asrCustomModel;
int round;
std::string speechOptimizationParam;
std::string id;
std::string globalQuestions;
Flow flow;
std::string scenarioUuid;
std::string name;
};
CreateSurveyResult();
explicit CreateSurveyResult(const std::string &payload);
~CreateSurveyResult();
Survey getSurvey()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Survey survey_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESURVEYRESULT_H_

View File

@@ -35,34 +35,37 @@ namespace AlibabaCloud
CreateUserRequest();
~CreateUserRequest();
std::string getPrivateOutboundNumberId()const;
void setPrivateOutboundNumberId(const std::string& privateOutboundNumberId);
std::string getLoginName()const;
void setLoginName(const std::string& loginName);
std::string getRoleId()const;
void setRoleId(const std::string& roleId);
std::string getMobile()const;
void setMobile(const std::string& mobile);
std::string getWorkMode()const;
void setWorkMode(const std::string& workMode);
std::vector<std::string> getRoleId()const;
void setRoleId(const std::vector<std::string>& roleId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::vector<int> getSkillLevel()const;
void setSkillLevel(const std::vector<int>& skillLevel);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getPhone()const;
void setPhone(const std::string& phone);
std::string getDisplayName()const;
void setDisplayName(const std::string& displayName);
bool getResetPassword()const;
void setResetPassword(bool resetPassword);
std::string getSkillLevelList()const;
void setSkillLevelList(const std::string& skillLevelList);
std::vector<std::string> getSkillGroupId()const;
void setSkillGroupId(const std::vector<std::string>& skillGroupId);
std::string getEmail()const;
void setEmail(const std::string& email);
private:
std::string privateOutboundNumberId_;
std::string loginName_;
std::string roleId_;
std::string mobile_;
std::string workMode_;
std::vector<std::string> roleId_;
std::string accessKeyId_;
std::vector<int> skillLevel_;
std::string instanceId_;
std::string phone_;
std::string displayName_;
bool resetPassword_;
std::string skillLevelList_;
std::vector<std::string> skillGroupId_;
std::string email_;
};

View File

@@ -32,35 +32,25 @@ namespace AlibabaCloud
class ALIBABACLOUD_CCC_EXPORT CreateUserResult : public ServiceResult
{
public:
struct Data
{
std::string extension;
std::string loginName;
std::string email;
std::string userId;
std::string displayName;
std::string mobile;
std::string workMode;
};
CreateUserResult();
explicit CreateUserResult(const std::string &payload);
~CreateUserResult();
std::string getMessage()const;
std::string getUserId()const;
int getHttpStatusCode()const;
std::vector<std::string> getParams()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string userId_;
int httpStatusCode_;
std::vector<std::string> params_;
Data data_;
std::string code_;
bool success_;
};
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEVOICEAPPRAISEREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEVOICEAPPRAISEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateVoiceAppraiseRequest : public RpcServiceRequest
{
public:
CreateVoiceAppraiseRequest();
~CreateVoiceAppraiseRequest();
bool getIsAppraise()const;
void setIsAppraise(bool isAppraise);
std::string getContent()const;
void setContent(const std::string& content);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getContactFlowVersionId()const;
void setContactFlowVersionId(const std::string& contactFlowVersionId);
private:
bool isAppraise_;
std::string content_;
std::string accessKeyId_;
std::string instanceId_;
std::string contactFlowVersionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEVOICEAPPRAISEREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_CCC_MODEL_CREATEVOICEAPPRAISERESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEVOICEAPPRAISERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreateVoiceAppraiseResult : public ServiceResult
{
public:
CreateVoiceAppraiseResult();
explicit CreateVoiceAppraiseResult(const std::string &payload);
~CreateVoiceAppraiseResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEVOICEAPPRAISERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* 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_CCC_MODEL_DELETEINSTANCEREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DELETEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DeleteInstanceRequest : public RpcServiceRequest
{
public:
DeleteInstanceRequest();
~DeleteInstanceRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string accessKeyId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DELETEINSTANCEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_REGISTERDEVICERESULT_H_
#define ALIBABACLOUD_CCC_MODEL_REGISTERDEVICERESULT_H_
#ifndef ALIBABACLOUD_CCC_MODEL_DELETEINSTANCERESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DELETEINSTANCERESULT_H_
#include <string>
#include <vector>
@@ -29,29 +29,29 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT RegisterDeviceResult : public ServiceResult
class ALIBABACLOUD_CCC_EXPORT DeleteInstanceResult : public ServiceResult
{
public:
RegisterDeviceResult();
explicit RegisterDeviceResult(const std::string &payload);
~RegisterDeviceResult();
DeleteInstanceResult();
explicit DeleteInstanceResult(const std::string &payload);
~DeleteInstanceResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<std::string> getParams()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::vector<std::string> params_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_REGISTERDEVICERESULT_H_
#endif // !ALIBABACLOUD_CCC_MODEL_DELETEINSTANCERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* 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_CCC_MODEL_DELETEJOBGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DELETEJOBGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DeleteJobGroupRequest : public RpcServiceRequest
{
public:
DeleteJobGroupRequest();
~DeleteJobGroupRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
private:
std::string instanceId_;
std::string jobGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DELETEJOBGROUPREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_CCC_MODEL_DELETEJOBGROUPRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DELETEJOBGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DeleteJobGroupResult : public ServiceResult
{
public:
DeleteJobGroupResult();
explicit DeleteJobGroupResult(const std::string &payload);
~DeleteJobGroupResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DELETEJOBGROUPRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* 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_CCC_MODEL_DELETEMEDIAREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DELETEMEDIAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DeleteMediaRequest : public RpcServiceRequest
{
public:
DeleteMediaRequest();
~DeleteMediaRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string name_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DELETEMEDIAREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_CCC_MODEL_DELETEMEDIARESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DELETEMEDIARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DeleteMediaResult : public ServiceResult
{
public:
DeleteMediaResult();
explicit DeleteMediaResult(const std::string &payload);
~DeleteMediaResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DELETEMEDIARESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* 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_CCC_MODEL_DELETEPHONETAGSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DELETEPHONETAGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DeletePhoneTagsRequest : public RpcServiceRequest
{
public:
DeletePhoneTagsRequest();
~DeletePhoneTagsRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::vector<std::string> getPhoneNumberList()const;
void setPhoneNumberList(const std::vector<std::string>& phoneNumberList);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::vector<std::string> phoneNumberList_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DELETEPHONETAGSREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_CCC_MODEL_DELETEPHONETAGSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DELETEPHONETAGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DeletePhoneTagsResult : public ServiceResult
{
public:
DeletePhoneTagsResult();
explicit DeletePhoneTagsResult(const std::string &payload);
~DeletePhoneTagsResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DELETEPHONETAGSRESULT_H_

View File

@@ -39,13 +39,13 @@ namespace AlibabaCloud
void setInstanceId(const std::string& instanceId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
bool getForce()const;
void setForce(bool force);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string skillGroupId_;
bool force_;
std::string accessKeyId_;
};
}

View File

@@ -40,6 +40,7 @@ namespace AlibabaCloud
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
@@ -47,6 +48,7 @@ namespace AlibabaCloud
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_SIGNOUTGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_SIGNOUTGROUPREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_DELETESURVEYREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DELETESURVEYREQUEST_H_
#include <string>
#include <vector>
@@ -28,27 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT SignOutGroupRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT DeleteSurveyRequest : public RpcServiceRequest
{
public:
SignOutGroupRequest();
~SignOutGroupRequest();
DeleteSurveyRequest();
~DeleteSurveyRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getDeviceId()const;
void setDeviceId(const std::string& deviceId);
std::string getSurveyId()const;
void setSurveyId(const std::string& surveyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getScenarioId()const;
void setScenarioId(const std::string& scenarioId);
private:
std::string userId_;
std::string deviceId_;
std::string surveyId_;
std::string instanceId_;
std::string scenarioId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_SIGNOUTGROUPREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_DELETESURVEYREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_CCC_MODEL_DELETESURVEYRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DELETESURVEYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DeleteSurveyResult : public ServiceResult
{
public:
DeleteSurveyResult();
explicit DeleteSurveyResult(const std::string &payload);
~DeleteSurveyResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DELETESURVEYRESULT_H_

View File

@@ -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_CCC_MODEL_DIALEXREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DIALEXREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DialExRequest : public RpcServiceRequest
{
public:
DialExRequest();
~DialExRequest();
std::string getCallee()const;
void setCallee(const std::string& callee);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRoutPoint()const;
void setRoutPoint(const std::string& routPoint);
std::string getCaller()const;
void setCaller(const std::string& caller);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getProvider()const;
void setProvider(const std::string& provider);
int getAnswerMode()const;
void setAnswerMode(int answerMode);
private:
std::string callee_;
std::string accessKeyId_;
std::string routPoint_;
std::string caller_;
std::string instanceId_;
std::string provider_;
int answerMode_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DIALEXREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_DIALEXRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DIALEXRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DialExResult : public ServiceResult
{
public:
DialExResult();
explicit DialExResult(const std::string &payload);
~DialExResult();
std::string getStatusDesc()const;
std::string getTaskId()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
std::string getStatusCode()const;
bool getSuccess()const;
std::string getTimeStamp()const;
protected:
void parse(const std::string &payload);
private:
std::string statusDesc_;
std::string taskId_;
std::string message_;
int httpStatusCode_;
std::string code_;
std::string statusCode_;
bool success_;
std::string timeStamp_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DIALEXRESULT_H_

View File

@@ -0,0 +1,78 @@
/*
* 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_CCC_MODEL_DIALOGUEREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DIALOGUEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DialogueRequest : public RpcServiceRequest
{
public:
DialogueRequest();
~DialogueRequest();
std::string getCallId()const;
void setCallId(const std::string& callId);
std::string getCalledNumber()const;
void setCalledNumber(const std::string& calledNumber);
long getInstanceOwnerId()const;
void setInstanceOwnerId(long instanceOwnerId);
std::string getCallType()const;
void setCallType(const std::string& callType);
std::string getScenarioId()const;
void setScenarioId(const std::string& scenarioId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
std::string getUtterance()const;
void setUtterance(const std::string& utterance);
std::string getActionParams()const;
void setActionParams(const std::string& actionParams);
std::string getCallingNumber()const;
void setCallingNumber(const std::string& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getActionKey()const;
void setActionKey(const std::string& actionKey);
private:
std::string callId_;
std::string calledNumber_;
long instanceOwnerId_;
std::string callType_;
std::string scenarioId_;
std::string taskId_;
std::string utterance_;
std::string actionParams_;
std::string callingNumber_;
std::string instanceId_;
std::string actionKey_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DIALOGUEREQUEST_H_

View File

@@ -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_CCC_MODEL_DIALOGUERESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DIALOGUERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DialogueResult : public ServiceResult
{
public:
struct Feedback
{
std::string action;
bool interruptible;
std::string content;
std::string actionParams;
};
DialogueResult();
explicit DialogueResult(const std::string &payload);
~DialogueResult();
std::string getMessage()const;
Feedback getFeedback()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Feedback feedback_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DIALOGUERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* 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_CCC_MODEL_DISABLETRUNKPROVIDERSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DISABLETRUNKPROVIDERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DisableTrunkProvidersRequest : public RpcServiceRequest
{
public:
DisableTrunkProvidersRequest();
~DisableTrunkProvidersRequest();
std::vector<std::string> getProviderName()const;
void setProviderName(const std::vector<std::string>& providerName);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::vector<std::string> providerName_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DISABLETRUNKPROVIDERSREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_CCC_MODEL_DISABLETRUNKPROVIDERSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DISABLETRUNKPROVIDERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DisableTrunkProvidersResult : public ServiceResult
{
public:
DisableTrunkProvidersResult();
explicit DisableTrunkProvidersResult(const std::string &payload);
~DisableTrunkProvidersResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DISABLETRUNKPROVIDERSRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_DOWNLOADALLTYPERECORDINGREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADALLTYPERECORDINGREQUEST_H_
#include <string>
#include <vector>
@@ -28,30 +28,30 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CompleteAttendedTransferRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT DownloadAllTypeRecordingRequest : public RpcServiceRequest
{
public:
CompleteAttendedTransferRequest();
~CompleteAttendedTransferRequest();
DownloadAllTypeRecordingRequest();
~DownloadAllTypeRecordingRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getDeviceId()const;
void setDeviceId(const std::string& deviceId);
std::string getJobId()const;
void setJobId(const std::string& jobId);
std::string getContactId()const;
void setContactId(const std::string& contactId);
std::string getChannel()const;
void setChannel(const std::string& channel);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string userId_;
std::string deviceId_;
std::string jobId_;
std::string contactId_;
std::string channel_;
std::string accessKeyId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADALLTYPERECORDINGREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* 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_CCC_MODEL_DOWNLOADALLTYPERECORDINGRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADALLTYPERECORDINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DownloadAllTypeRecordingResult : public ServiceResult
{
public:
struct MediaDownloadParam
{
std::string fileName;
std::string signatureUrl;
};
DownloadAllTypeRecordingResult();
explicit DownloadAllTypeRecordingResult(const std::string &payload);
~DownloadAllTypeRecordingResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<MediaDownloadParam> getMediaDownloadParamList()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::vector<MediaDownloadParam> mediaDownloadParamList_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADALLTYPERECORDINGRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* 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_CCC_MODEL_DOWNLOADCABRECORDINGREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADCABRECORDINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DownloadCabRecordingRequest : public RpcServiceRequest
{
public:
DownloadCabRecordingRequest();
~DownloadCabRecordingRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
std::string instanceId_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADCABRECORDINGREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* 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_CCC_MODEL_DOWNLOADCABRECORDINGRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADCABRECORDINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DownloadCabRecordingResult : public ServiceResult
{
public:
struct MediaDownloadParam
{
std::string fileName;
std::string signatureUrl;
};
DownloadCabRecordingResult();
explicit DownloadCabRecordingResult(const std::string &payload);
~DownloadCabRecordingResult();
MediaDownloadParam getMediaDownloadParam()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
MediaDownloadParam mediaDownloadParam_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADCABRECORDINGRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* 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_CCC_MODEL_DOWNLOADORIGINALSTATISTICSREPORTREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADORIGINALSTATISTICSREPORTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DownloadOriginalStatisticsReportRequest : public RpcServiceRequest
{
public:
DownloadOriginalStatisticsReportRequest();
~DownloadOriginalStatisticsReportRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
private:
std::string instanceId_;
std::string jobGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADORIGINALSTATISTICSREPORTREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_DOWNLOADORIGINALSTATISTICSREPORTRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADORIGINALSTATISTICSREPORTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DownloadOriginalStatisticsReportResult : public ServiceResult
{
public:
struct DownloadParams
{
std::string signatureUrl;
};
DownloadOriginalStatisticsReportResult();
explicit DownloadOriginalStatisticsReportResult(const std::string &payload);
~DownloadOriginalStatisticsReportResult();
DownloadParams getDownloadParams()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
DownloadParams downloadParams_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADORIGINALSTATISTICSREPORTRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_CCC_MODEL_DOWNLOADRECORDINGREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADRECORDINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DownloadRecordingRequest : public RpcServiceRequest
{
public:
DownloadRecordingRequest();
~DownloadRecordingRequest();
std::string getChannel()const;
void setChannel(const std::string& channel);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getFileName()const;
void setFileName(const std::string& fileName);
private:
std::string channel_;
std::string accessKeyId_;
std::string instanceId_;
std::string fileName_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADRECORDINGREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* 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_CCC_MODEL_DOWNLOADRECORDINGRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADRECORDINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DownloadRecordingResult : public ServiceResult
{
public:
struct MediaDownloadParam
{
std::string fileName;
std::string signatureUrl;
};
DownloadRecordingResult();
explicit DownloadRecordingResult(const std::string &payload);
~DownloadRecordingResult();
MediaDownloadParam getMediaDownloadParam()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
MediaDownloadParam mediaDownloadParam_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADRECORDINGRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* 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_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DownloadUnreachableContactsRequest : public RpcServiceRequest
{
public:
DownloadUnreachableContactsRequest();
~DownloadUnreachableContactsRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
private:
std::string instanceId_;
std::string jobGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DownloadUnreachableContactsResult : public ServiceResult
{
public:
struct DownloadParams
{
std::string signatureUrl;
};
DownloadUnreachableContactsResult();
explicit DownloadUnreachableContactsResult(const std::string &payload);
~DownloadUnreachableContactsResult();
DownloadParams getDownloadParams()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
DownloadParams downloadParams_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_FINDUSERSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_FINDUSERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT FindUsersRequest : public RpcServiceRequest
{
public:
FindUsersRequest();
~FindUsersRequest();
std::string getCriteria()const;
void setCriteria(const std::string& criteria);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string criteria_;
int pageNumber_;
std::string accessKeyId_;
std::string instanceId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_FINDUSERSREQUEST_H_

View File

@@ -0,0 +1,104 @@
/*
* 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_CCC_MODEL_FINDUSERSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_FINDUSERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT FindUsersResult : public ServiceResult
{
public:
struct Users
{
struct User
{
struct Detail
{
std::string loginName;
std::string department;
std::string email;
std::string phone;
std::string displayName;
};
struct Role
{
std::string roleName;
std::string instanceId;
std::string roleDescription;
std::string roleId;
};
struct SkillLevel
{
struct Skill
{
std::string skillGroupName;
std::string instanceId;
std::string skillGroupId;
std::string skillGroupDescription;
};
Skill skill;
std::string skillLevelId;
int level;
};
std::vector<User::SkillLevel> skillLevels;
std::string privateOutboundNumberId;
std::string instanceId;
std::string userId;
std::string ramId;
std::vector<User::Role> roles;
Detail detail;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<User> list;
};
FindUsersResult();
explicit FindUsersResult(const std::string &payload);
~FindUsersResult();
std::string getMessage()const;
int getHttpStatusCode()const;
Users getUsers()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
Users users_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_FINDUSERSRESULT_H_

View File

@@ -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_CCC_MODEL_GENERATEAGENTSTATISTICREPORTREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GENERATEAGENTSTATISTICREPORTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GenerateAgentStatisticReportRequest : public RpcServiceRequest
{
public:
GenerateAgentStatisticReportRequest();
~GenerateAgentStatisticReportRequest();
std::string getAgentId()const;
void setAgentId(const std::string& agentId);
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string agentId_;
std::string startDate_;
int pageNumber_;
std::string accessKeyId_;
std::string instanceId_;
std::string endDate_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GENERATEAGENTSTATISTICREPORTREQUEST_H_

View File

@@ -0,0 +1,144 @@
/*
* 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_CCC_MODEL_GENERATEAGENTSTATISTICREPORTRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GENERATEAGENTSTATISTICREPORTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GenerateAgentStatisticReportResult : public ServiceResult
{
public:
struct DataList
{
struct GenerateAgentStatistic
{
struct Inbound
{
long totalWorkTime;
long totalHoldTime;
long averageHoldTime;
long satisfactionSurveysOffered;
long callsOffered;
long maxRingTime;
float satisfactionIndex;
long callsHandled;
long satisfactionSurveysResponded;
long totalRingTime;
float handleRate;
long totalTalkTime;
long averageRingTime;
long maxTalkTime;
long averageWorkTime;
long maxWorkTime;
long averageTalkTime;
long maxHoldTime;
};
struct Outbound
{
long totalDialingTime;
long totalWorkTime;
long totalHoldTime;
long averageHoldTime;
long satisfactionSurveysOffered;
float satisfactionIndex;
long satisfactionSurveysResponded;
long averageDialingTime;
long callsAnswered;
long totalTalkTime;
long callsDialed;
long totalDialingTime1;
long maxDialingTime;
long maxTalkTime;
long averageWorkTime;
long maxWorkTime;
long averageTalkTime;
long maxHoldTime;
float answerRate;
};
struct Overall
{
long totalCalls;
long totalWorkTime;
long totalHoldTime;
long averageHoldTime;
long satisfactionSurveysOffered;
float satisfactionIndex;
long satisfactionSurveysResponded;
long totalTalkTime;
long maxTalkTime;
long averageWorkTime;
long maxWorkTime;
long averageTalkTime;
long maxHoldTime;
};
long totalReadyTime;
Overall overall;
std::string loginName;
std::string skillGroupIds;
long totalBreakTime;
std::string instanceId;
std::string recordDate;
Inbound inbound;
Outbound outbound;
long averageReadyTime;
std::string skillGroupNames;
long totalLoggedInTime;
std::string agentId;
std::string agentName;
long maxReadyTime;
float occupancyRate;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<GenerateAgentStatistic> list;
};
GenerateAgentStatisticReportResult();
explicit GenerateAgentStatisticReportResult(const std::string &payload);
~GenerateAgentStatisticReportResult();
DataList getDataList()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
DataList dataList_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GENERATEAGENTSTATISTICREPORTRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTSKILLLEVELSOFUSERREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LISTSKILLLEVELSOFUSERREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_GETAGENTDATAREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETAGENTDATAREQUEST_H_
#include <string>
#include <vector>
@@ -28,36 +28,39 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListSkillLevelsOfUserRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT GetAgentDataRequest : public RpcServiceRequest
{
public:
ListSkillLevelsOfUserRequest();
~ListSkillLevelsOfUserRequest();
GetAgentDataRequest();
~GetAgentDataRequest();
std::string getStartDay()const;
void setStartDay(const std::string& startDay);
std::string getUserId()const;
void setUserId(const std::string& userId);
bool getIsMember()const;
void setIsMember(bool isMember);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getSearchPattern()const;
void setSearchPattern(const std::string& searchPattern);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getEndDay()const;
void setEndDay(const std::string& endDay);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string startDay_;
std::string userId_;
bool isMember_;
int pageNumber_;
std::string searchPattern_;
std::string accessKeyId_;
std::string instanceId_;
std::string endDay_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLLEVELSOFUSERREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_GETAGENTDATAREQUEST_H_

View File

@@ -0,0 +1,144 @@
/*
* 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_CCC_MODEL_GETAGENTDATARESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETAGENTDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetAgentDataResult : public ServiceResult
{
public:
struct DataList
{
struct GenerateAgentStatistic
{
struct Inbound
{
long totalWorkTime;
long totalHoldTime;
long averageHoldTime;
long satisfactionSurveysOffered;
long callsOffered;
long maxRingTime;
float satisfactionIndex;
long callsHandled;
long satisfactionSurveysResponded;
long totalRingTime;
float handleRate;
long totalTalkTime;
long averageRingTime;
long maxTalkTime;
long averageWorkTime;
long maxWorkTime;
long averageTalkTime;
long maxHoldTime;
};
struct Outbound
{
long totalDialingTime;
long totalWorkTime;
long totalHoldTime;
long averageHoldTime;
long satisfactionSurveysOffered;
float satisfactionIndex;
long satisfactionSurveysResponded;
long averageDialingTime;
long callsAnswered;
long totalTalkTime;
long callsDialed;
long totalDialingTime1;
long maxDialingTime;
long maxTalkTime;
long averageWorkTime;
long maxWorkTime;
long averageTalkTime;
long maxHoldTime;
float answerRate;
};
struct Overall
{
long totalCalls;
long totalWorkTime;
long totalHoldTime;
long averageHoldTime;
long satisfactionSurveysOffered;
float satisfactionIndex;
long satisfactionSurveysResponded;
long totalTalkTime;
long maxTalkTime;
long averageWorkTime;
long maxWorkTime;
long averageTalkTime;
long maxHoldTime;
};
long totalReadyTime;
Overall overall;
std::string loginName;
std::string skillGroupIds;
long totalBreakTime;
std::string instanceId;
std::string recordDate;
Inbound inbound;
Outbound outbound;
long averageReadyTime;
std::string skillGroupNames;
long totalLoggedInTime;
std::string agentId;
std::string agentName;
long maxReadyTime;
float occupancyRate;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<GenerateAgentStatistic> list;
};
GetAgentDataResult();
explicit GetAgentDataResult(const std::string &payload);
~GetAgentDataResult();
DataList getDataList()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
DataList dataList_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETAGENTDATARESULT_H_

View File

@@ -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_CCC_MODEL_GETCALLMEASURESUMMARYREPORTREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETCALLMEASURESUMMARYREPORTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetCallMeasureSummaryReportRequest : public RpcServiceRequest
{
public:
GetCallMeasureSummaryReportRequest();
~GetCallMeasureSummaryReportRequest();
std::string getIntervalType()const;
void setIntervalType(const std::string& intervalType);
int getYear()const;
void setYear(int year);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
int getMonth()const;
void setMonth(int month);
int getPageSize()const;
void setPageSize(int pageSize);
int getDay()const;
void setDay(int day);
private:
std::string intervalType_;
int year_;
int pageNumber_;
std::string accessKeyId_;
int month_;
int pageSize_;
int day_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETCALLMEASURESUMMARYREPORTREQUEST_H_

View File

@@ -0,0 +1,89 @@
/*
* 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_CCC_MODEL_GETCALLMEASURESUMMARYREPORTRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETCALLMEASURESUMMARYREPORTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetCallMeasureSummaryReportResult : public ServiceResult
{
public:
struct SummaryReport
{
long inboundCount;
int month;
long inboundDurationByMinute;
long outboundDurationByMinute;
int year;
long outboundCount;
int day;
};
struct NumberReports
{
struct NumberReport
{
long inboundCount;
int month;
long inboundDurationByMinute;
long outboundDurationByMinute;
std::string number;
int year;
long outboundCount;
int day;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<NumberReport> list;
};
GetCallMeasureSummaryReportResult();
explicit GetCallMeasureSummaryReportResult(const std::string &payload);
~GetCallMeasureSummaryReportResult();
NumberReports getNumberReports()const;
SummaryReport getSummaryReport()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
NumberReports numberReports_;
SummaryReport summaryReport_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETCALLMEASURESUMMARYREPORTRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTCONFIGITEMSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LISTCONFIGITEMSREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONFIGREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETCONFIGREQUEST_H_
#include <string>
#include <vector>
@@ -28,22 +28,28 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListConfigItemsRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT GetConfigRequest : public RpcServiceRequest
{
public:
ListConfigItemsRequest();
~ListConfigItemsRequest();
GetConfigRequest();
~GetConfigRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
std::string getObjectType()const;
void setObjectType(const std::string& objectType);
std::string getObjectId()const;
void setObjectId(const std::string& objectId);
private:
std::string accessKeyId_;
std::string instanceId_;
std::string name_;
std::string objectType_;
std::string objectId_;
@@ -51,4 +57,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTCONFIGITEMSREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONFIGREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_GETMONORECORDINGRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETMONORECORDINGRESULT_H_
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONFIGRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETCONFIGRESULT_H_
#include <string>
#include <vector>
@@ -29,34 +29,36 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetMonoRecordingResult : public ServiceResult
class ALIBABACLOUD_CCC_EXPORT GetConfigResult : public ServiceResult
{
public:
struct Data
struct ConfigItem
{
std::string fileUrl;
std::string fileName;
std::string value;
std::string name;
};
GetMonoRecordingResult();
explicit GetMonoRecordingResult(const std::string &payload);
~GetMonoRecordingResult();
GetConfigResult();
explicit GetConfigResult(const std::string &payload);
~GetConfigResult();
std::string getMessage()const;
int getHttpStatusCode()const;
Data getData()const;
ConfigItem getConfigItem()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
Data data_;
ConfigItem configItem_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETMONORECORDINGRESULT_H_
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONFIGRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDREQUEST_H_
#include <string>
#include <vector>
@@ -28,27 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT RemovePhoneNumbersFromSkillGroupRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT GetContactInfoByOutboundTaskIdRequest : public RpcServiceRequest
{
public:
RemovePhoneNumbersFromSkillGroupRequest();
~RemovePhoneNumbersFromSkillGroupRequest();
GetContactInfoByOutboundTaskIdRequest();
~GetContactInfoByOutboundTaskIdRequest();
std::string getNumberList()const;
void setNumberList(const std::string& numberList);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getOutboundTaskId()const;
void setOutboundTaskId(const std::string& outboundTaskId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
private:
std::string numberList_;
std::string instanceId_;
std::string outboundTaskId_;
std::string skillGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDREQUEST_H_

View File

@@ -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_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetContactInfoByOutboundTaskIdResult : public ServiceResult
{
public:
struct ContactIdentity
{
std::string jobGroupId;
std::string userPhone;
std::string caller;
std::string contactReferrnceId;
};
GetContactInfoByOutboundTaskIdResult();
explicit GetContactInfoByOutboundTaskIdResult(const std::string &payload);
~GetContactInfoByOutboundTaskIdResult();
std::string getMessage()const;
ContactIdentity getContactIdentity()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
ContactIdentity contactIdentity_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONDETAILBYCONTACTIDREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONDETAILBYCONTACTIDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetConversationDetailByContactIdRequest : public RpcServiceRequest
{
public:
GetConversationDetailByContactIdRequest();
~GetConversationDetailByContactIdRequest();
std::string getContactId()const;
void setContactId(const std::string& contactId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string contactId_;
int pageNumber_;
std::string accessKeyId_;
std::string instanceId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONDETAILBYCONTACTIDREQUEST_H_

Some files were not shown because too many files have changed in this diff Show More