Add new interface.

This commit is contained in:
sdk-team
2022-01-05 08:20:15 +00:00
parent 5f19402565
commit fae23e0d83
831 changed files with 25770 additions and 43727 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETJOBGROUPREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetJobGroupRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT AbortCampaignRequest : public RpcServiceRequest
{
public:
GetJobGroupRequest();
~GetJobGroupRequest();
AbortCampaignRequest();
~AbortCampaignRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
std::string getCampaignId()const;
void setCampaignId(const std::string& campaignId);
private:
std::string instanceId_;
std::string jobGroupId_;
std::string campaignId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBGROUPREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNREQUEST_H_

View File

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

View File

@@ -1,60 +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_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

@@ -1,63 +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_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

@@ -1,92 +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_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

@@ -1,60 +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_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_LISTTRUNKSOFSKILLGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LISTTRUNKSOFSKILLGROUPREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPREQUEST_H_
#include <string>
#include <vector>
@@ -28,27 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListTrunksOfSkillGroupRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT AddNumbersToSkillGroupRequest : public RpcServiceRequest
{
public:
ListTrunksOfSkillGroupRequest();
~ListTrunksOfSkillGroupRequest();
AddNumbersToSkillGroupRequest();
~AddNumbersToSkillGroupRequest();
std::string getNumberList()const;
void setNumberList(const std::string& numberList);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string numberList_;
std::string instanceId_;
std::string skillGroupId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTTRUNKSOFSKILLGROUPREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPREQUEST_H_

View File

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

View File

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

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPRESULT_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERRESULT_H_
#include <string>
#include <vector>
@@ -29,31 +29,29 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreatePredictiveJobGroupResult : public ServiceResult
class ALIBABACLOUD_CCC_EXPORT AddPersonalNumbersToUserResult : public ServiceResult
{
public:
CreatePredictiveJobGroupResult();
explicit CreatePredictiveJobGroupResult(const std::string &payload);
~CreatePredictiveJobGroupResult();
std::string getJobGroupId()const;
AddPersonalNumbersToUserResult();
explicit AddPersonalNumbersToUserResult(const std::string &payload);
~AddPersonalNumbersToUserResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<std::string> 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_;
std::vector<std::string> data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPRESULT_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERRESULT_H_

View File

@@ -1,80 +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_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

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTTRANSFERABLESKILLGROUPSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LISTTRANSFERABLESKILLGROUPSREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListTransferableSkillGroupsRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT AddPhoneNumberToSkillGroupsRequest : public RpcServiceRequest
{
public:
ListTransferableSkillGroupsRequest();
~ListTransferableSkillGroupsRequest();
AddPhoneNumberToSkillGroupsRequest();
~AddPhoneNumberToSkillGroupsRequest();
std::string getNumber()const;
void setNumber(const std::string& number);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSkillGroupIdList()const;
void setSkillGroupIdList(const std::string& skillGroupIdList);
private:
std::string number_;
std::string instanceId_;
std::string accessKeyId_;
std::string skillGroupIdList_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTTRANSFERABLESKILLGROUPSREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSREQUEST_H_

View File

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

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSREQUEST_H_
#include <string>
#include <vector>
@@ -28,33 +28,33 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AddPhoneNumberRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT AddPhoneNumbersRequest : public RpcServiceRequest
{
public:
AddPhoneNumberRequest();
~AddPhoneNumberRequest();
AddPhoneNumbersRequest();
~AddPhoneNumbersRequest();
std::string getContactFlowId()const;
void setContactFlowId(const std::string& contactFlowId);
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 getNumberGroupId()const;
void setNumberGroupId(const std::string& numberGroupId);
std::string getNumberList()const;
void setNumberList(const std::string& numberList);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string contactFlowId_;
std::string usage_;
std::string phoneNumber_;
std::string accessKeyId_;
std::string numberGroupId_;
std::string numberList_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_DELETEPHONETAGSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DELETEPHONETAGSRESULT_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSRESULT_H_
#include <string>
#include <vector>
@@ -29,29 +29,29 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DeletePhoneTagsResult : public ServiceResult
class ALIBABACLOUD_CCC_EXPORT AddPhoneNumbersResult : public ServiceResult
{
public:
DeletePhoneTagsResult();
explicit DeletePhoneTagsResult(const std::string &payload);
~DeletePhoneTagsResult();
AddPhoneNumbersResult();
explicit AddPhoneNumbersResult(const std::string &payload);
~AddPhoneNumbersResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<std::string> getData()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> data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DELETEPHONETAGSRESULT_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSRESULT_H_

View File

@@ -1,75 +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_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_DOWNLOADCABRECORDINGREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADCABRECORDINGREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DownloadCabRecordingRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT AddSkillGroupsToUserRequest : public RpcServiceRequest
{
public:
DownloadCabRecordingRequest();
~DownloadCabRecordingRequest();
AddSkillGroupsToUserRequest();
~AddSkillGroupsToUserRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
std::string getSkillLevelList()const;
void setSkillLevelList(const std::string& skillLevelList);
private:
std::string userId_;
std::string instanceId_;
std::string taskId_;
std::string skillLevelList_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADCABRECORDINGREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_RESUMEPREDICTIVEJOBSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_RESUMEPREDICTIVEJOBSRESULT_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERRESULT_H_
#include <string>
#include <vector>
@@ -29,29 +29,29 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ResumePredictiveJobsResult : public ServiceResult
class ALIBABACLOUD_CCC_EXPORT AddSkillGroupsToUserResult : public ServiceResult
{
public:
ResumePredictiveJobsResult();
explicit ResumePredictiveJobsResult(const std::string &payload);
~ResumePredictiveJobsResult();
AddSkillGroupsToUserResult();
explicit AddSkillGroupsToUserResult(const std::string &payload);
~AddSkillGroupsToUserResult();
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_RESUMEPREDICTIVEJOBSRESULT_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_GETPREDICTIVEJOBGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETPREDICTIVEJOBGROUPREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPREQUEST_H_
#include <string>
#include <vector>
@@ -28,27 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetPredictiveJobGroupRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT AddUsersToSkillGroupRequest : public RpcServiceRequest
{
public:
GetPredictiveJobGroupRequest();
~GetPredictiveJobGroupRequest();
AddUsersToSkillGroupRequest();
~AddUsersToSkillGroupRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getUserSkillLevelList()const;
void setUserSkillLevelList(const std::string& userSkillLevelList);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
private:
std::string instanceId_;
std::string userSkillLevelList_;
std::string skillGroupId_;
std::string jobGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETPREDICTIVEJOBGROUPREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONETAGSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ADDPHONETAGSRESULT_H_
#ifndef ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPRESULT_H_
#include <string>
#include <vector>
@@ -29,18 +29,17 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AddPhoneTagsResult : public ServiceResult
class ALIBABACLOUD_CCC_EXPORT AddUsersToSkillGroupResult : public ServiceResult
{
public:
AddPhoneTagsResult();
explicit AddPhoneTagsResult(const std::string &payload);
~AddPhoneTagsResult();
AddUsersToSkillGroupResult();
explicit AddUsersToSkillGroupResult(const std::string &payload);
~AddUsersToSkillGroupResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
@@ -48,10 +47,9 @@ namespace AlibabaCloud
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONETAGSRESULT_H_
#endif // !ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPRESULT_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_ANSWERCALLREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ANSWERCALLREQUEST_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 AnswerCallRequest : public RpcServiceRequest
{
public:
AnswerCallRequest();
~AnswerCallRequest();
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 getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string userId_;
std::string deviceId_;
std::string jobId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ANSWERCALLREQUEST_H_

View File

@@ -0,0 +1,103 @@
/*
* 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 skillGroupId;
std::string associatedData;
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 deviceId;
std::string breakCode;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string workMode;
std::string jobId;
long reserved;
};
UserContext userContext;
long contextId;
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

@@ -1,63 +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_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

@@ -35,26 +35,23 @@ namespace AlibabaCloud
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 getRamIdList()const;
void setRamIdList(const std::string& ramIdList);
std::string getRoleId()const;
void setRoleId(const std::string& roleId);
std::string getWorkMode()const;
void setWorkMode(const std::string& workMode);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::vector<std::string> getSkillGroupId()const;
void setSkillGroupId(const std::vector<std::string>& skillGroupId);
std::string getSkillLevelList()const;
void setSkillLevelList(const std::string& skillLevelList);
private:
std::vector<std::string> roleId_;
std::string accessKeyId_;
std::vector<std::string> userRamId_;
std::vector<int> skillLevel_;
std::string ramIdList_;
std::string roleId_;
std::string workMode_;
std::string instanceId_;
std::vector<std::string> skillGroupId_;
std::string skillLevelList_;
};
}

View File

@@ -39,16 +39,20 @@ namespace AlibabaCloud
~AssignUsersResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getData()const;
std::string getSync()const;
std::string getWorkflowId()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string data_;
std::string sync_;
std::string workflowId_;
std::string code_;
bool success_;
};
}

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_BARGEINCALLREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_BARGEINCALLREQUEST_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 BargeInCallRequest : public RpcServiceRequest
{
public:
BargeInCallRequest();
~BargeInCallRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getDeviceId()const;
void setDeviceId(const std::string& deviceId);
std::string getBargedUserId()const;
void setBargedUserId(const std::string& bargedUserId);
std::string getJobId()const;
void setJobId(const std::string& jobId);
int getTimeoutSeconds()const;
void setTimeoutSeconds(int timeoutSeconds);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string userId_;
std::string deviceId_;
std::string bargedUserId_;
std::string jobId_;
int timeoutSeconds_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_BARGEINCALLREQUEST_H_

View File

@@ -0,0 +1,105 @@
/*
* 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 skillGroupId;
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 deviceId;
std::string breakCode;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string workMode;
std::string jobId;
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

@@ -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_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

@@ -0,0 +1,103 @@
/*
* 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 deviceId;
std::string breakCode;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string workMode;
std::string jobId;
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_CANCELATTENDEDTRANSFERREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CANCELATTENDEDTRANSFERREQUEST_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 CancelAttendedTransferRequest : public RpcServiceRequest
{
public:
CancelAttendedTransferRequest();
~CancelAttendedTransferRequest();
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 getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string userId_;
std::string deviceId_;
std::string jobId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CANCELATTENDEDTRANSFERREQUEST_H_

View File

@@ -0,0 +1,105 @@
/*
* 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 deviceId;
std::string breakCode;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string workMode;
std::string jobId;
long reserved;
};
UserContext userContext;
long contextId;
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

@@ -1,63 +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_CANCELJOBSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CANCELJOBSREQUEST_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 CancelJobsRequest : public RpcServiceRequest
{
public:
CancelJobsRequest();
~CancelJobsRequest();
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 getScenarioId()const;
void setScenarioId(const std::string& scenarioId);
private:
bool all_;
std::vector<std::string> jobReferenceId_;
std::string groupId_;
std::vector<std::string> jobId_;
std::string instanceId_;
std::string scenarioId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CANCELJOBSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LAUNCHAPPRAISEREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LAUNCHAPPRAISEREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_CHANGEWORKMODEREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CHANGEWORKMODEREQUEST_H_
#include <string>
#include <vector>
@@ -28,27 +28,30 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT LaunchAppraiseRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT ChangeWorkModeRequest : public RpcServiceRequest
{
public:
LaunchAppraiseRequest();
~LaunchAppraiseRequest();
ChangeWorkModeRequest();
~ChangeWorkModeRequest();
std::string getAcid()const;
void setAcid(const std::string& acid);
std::string getWorkMode()const;
void setWorkMode(const std::string& workMode);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getDeviceId()const;
void setDeviceId(const std::string& deviceId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string acid_;
std::string workMode_;
std::string userId_;
std::string deviceId_;
std::string instanceId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LAUNCHAPPRAISEREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_CHANGEWORKMODEREQUEST_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_CHANGEWORKMODERESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CHANGEWORKMODERESULT_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 ChangeWorkModeResult : public ServiceResult
{
public:
struct Data
{
std::string extension;
std::string userState;
std::string instanceId;
std::string deviceId;
std::string userId;
std::string breakCode;
bool outboundScenario;
std::string workMode;
std::string jobId;
std::vector<std::string> signedSkillGroupIdList;
};
ChangeWorkModeResult();
explicit ChangeWorkModeResult(const std::string &payload);
~ChangeWorkModeResult();
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_CHANGEWORKMODERESULT_H_

View File

@@ -1,71 +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_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,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_COACHCALLREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_COACHCALLREQUEST_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 CoachCallRequest : public RpcServiceRequest
{
public:
CoachCallRequest();
~CoachCallRequest();
std::string getCoachedUserId()const;
void setCoachedUserId(const std::string& coachedUserId);
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);
int getTimeoutSeconds()const;
void setTimeoutSeconds(int timeoutSeconds);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string coachedUserId_;
std::string userId_;
std::string deviceId_;
std::string jobId_;
int timeoutSeconds_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_COACHCALLREQUEST_H_

View File

@@ -0,0 +1,107 @@
/*
* 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_COACHCALLRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_COACHCALLRESULT_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 CoachCallResult : 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 skillGroupId;
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 deviceId;
std::string breakCode;
bool outboundScenario;
std::string uri;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string deviceState;
std::string userId;
long heartbeat;
std::string workMode;
std::string jobId;
long reserved;
};
UserContext userContext;
CallContext callContext;
};
CoachCallResult();
explicit CoachCallResult(const std::string &payload);
~CoachCallResult();
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_COACHCALLRESULT_H_

View File

@@ -1,60 +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_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

@@ -1,71 +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_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

@@ -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_COMPLETEATTENDEDTRANSFERREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERREQUEST_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 CompleteAttendedTransferRequest : public RpcServiceRequest
{
public:
CompleteAttendedTransferRequest();
~CompleteAttendedTransferRequest();
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 getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string userId_;
std::string deviceId_;
std::string jobId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERREQUEST_H_

View File

@@ -0,0 +1,106 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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 skillGroupId;
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 deviceId;
std::string breakCode;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string workMode;
std::string jobId;
long reserved;
};
UserContext userContext;
long contextId;
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

@@ -1,69 +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_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

@@ -1,93 +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_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

@@ -1,57 +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_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

@@ -0,0 +1,90 @@
/*
* 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_CREATECAMPAIGNREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNREQUEST_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 CreateCampaignRequest : public RpcServiceRequest
{
public:
CreateCampaignRequest();
~CreateCampaignRequest();
std::string getQueueId()const;
void setQueueId(const std::string& queueId);
std::string getContactFlowId()const;
void setContactFlowId(const std::string& contactFlowId);
bool getSimulation()const;
void setSimulation(bool simulation);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
long getMaxAttemptCount()const;
void setMaxAttemptCount(long maxAttemptCount);
std::string getStrategyParameters()const;
void setStrategyParameters(const std::string& strategyParameters);
std::string getCaseFileKey()const;
void setCaseFileKey(const std::string& caseFileKey);
long getMinAttemptInterval()const;
void setMinAttemptInterval(long minAttemptInterval);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSimulationParameters()const;
void setSimulationParameters(const std::string& simulationParameters);
std::string getName()const;
void setName(const std::string& name);
std::string getStrategyType()const;
void setStrategyType(const std::string& strategyType);
std::string getCaseList()const;
void setCaseList(const std::string& caseList);
std::string getCallableTime()const;
void setCallableTime(const std::string& callableTime);
private:
std::string queueId_;
std::string contactFlowId_;
bool simulation_;
std::string endTime_;
std::string startTime_;
long maxAttemptCount_;
std::string strategyParameters_;
std::string caseFileKey_;
long minAttemptInterval_;
std::string instanceId_;
std::string simulationParameters_;
std::string name_;
std::string strategyType_;
std::string caseList_;
std::string callableTime_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LAUNCHAPPRAISERESULT_H_
#define ALIBABACLOUD_CCC_MODEL_LAUNCHAPPRAISERESULT_H_
#ifndef ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNRESULT_H_
#include <string>
#include <vector>
@@ -29,29 +29,29 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT LaunchAppraiseResult : public ServiceResult
class ALIBABACLOUD_CCC_EXPORT CreateCampaignResult : public ServiceResult
{
public:
LaunchAppraiseResult();
explicit LaunchAppraiseResult(const std::string &payload);
~LaunchAppraiseResult();
CreateCampaignResult();
explicit CreateCampaignResult(const std::string &payload);
~CreateCampaignResult();
std::string getMessage()const;
int getHttpStatusCode()const;
long getHttpStatusCode()const;
std::string getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
long httpStatusCode_;
std::string data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LAUNCHAPPRAISERESULT_H_
#endif // !ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNRESULT_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_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

@@ -1,94 +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_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

@@ -1,108 +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_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

@@ -35,41 +35,23 @@ namespace AlibabaCloud
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 getAdminRamIdList()const;
void setAdminRamIdList(const std::string& adminRamIdList);
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 getNumberList()const;
void setNumberList(const std::string& numberList);
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 adminRamIdList_;
std::string domainName_;
std::string phoneNumber_;
std::string description_;
int storageMaxDays_;
std::vector<std::string> adminRamId_;
std::string accessKeyId_;
std::string numberList_;
std::string name_;
int storageMaxSize_;
std::string directoryId_;
};
}

View File

@@ -32,75 +32,25 @@ namespace AlibabaCloud
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::vector<std::string> getParams()const;
std::string 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::string data_;
std::string code_;
bool success_;
};
}

View File

@@ -1,63 +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_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

@@ -1,93 +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_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

@@ -1,75 +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_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

@@ -1,75 +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_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::string getJobFilePath()const;
void setJobFilePath(const std::string& jobFilePath);
std::vector<std::string> getJobsJson()const;
void setJobsJson(const std::vector<std::string>& jobsJson);
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);
int getRatio()const;
void setRatio(int ratio);
private:
std::string description_;
bool timingSchedule_;
std::string jobFilePath_;
std::vector<std::string> jobsJson_;
std::string instanceId_;
bool isDraft_;
std::string skillGroupId_;
std::string strategyJson_;
std::string name_;
int ratio_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPREQUEST_H_

View File

@@ -1,60 +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_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

@@ -1,113 +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_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

@@ -1,63 +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_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

@@ -1,113 +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_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,34 +35,19 @@ 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::vector<std::string> getOutboundPhoneNumberId()const;
void setOutboundPhoneNumberId(const std::vector<std::string>& outboundPhoneNumberId);
std::string getDisplayName()const;
void setDisplayName(const std::string& displayName);
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::vector<std::string> outboundPhoneNumberId_;
std::string displayName_;
std::string name_;
};

View File

@@ -32,6 +32,13 @@ 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();
@@ -39,18 +46,16 @@ namespace AlibabaCloud
~CreateSkillGroupResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getSkillGroupId()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string skillGroupId_;
Data data_;
std::string code_;
bool success_;
};
}

View File

@@ -1,75 +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_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

@@ -1,84 +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_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,37 +35,34 @@ 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::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 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::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);
std::vector<std::string> getSkillGroupId()const;
void setSkillGroupId(const std::vector<std::string>& skillGroupId);
bool getResetPassword()const;
void setResetPassword(bool resetPassword);
std::string getSkillLevelList()const;
void setSkillLevelList(const std::string& skillLevelList);
std::string getEmail()const;
void setEmail(const std::string& email);
private:
std::string privateOutboundNumberId_;
std::string loginName_;
std::vector<std::string> roleId_;
std::string accessKeyId_;
std::vector<int> skillLevel_;
std::string roleId_;
std::string mobile_;
std::string workMode_;
std::string instanceId_;
std::string phone_;
std::string displayName_;
std::vector<std::string> skillGroupId_;
bool resetPassword_;
std::string skillLevelList_;
std::string email_;
};

View File

@@ -32,25 +32,35 @@ 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

@@ -1,60 +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_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

@@ -1,57 +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_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

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

View File

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

View File

@@ -1,57 +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_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

@@ -1,65 +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_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

@@ -1,78 +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_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

@@ -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_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

@@ -1,51 +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_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

@@ -1,57 +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_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

@@ -1,57 +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_DOWNLOADALLTYPERECORDINGREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADALLTYPERECORDINGREQUEST_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 DownloadAllTypeRecordingRequest : public RpcServiceRequest
{
public:
DownloadAllTypeRecordingRequest();
~DownloadAllTypeRecordingRequest();
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 contactId_;
std::string channel_;
std::string accessKeyId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADALLTYPERECORDINGREQUEST_H_

View File

@@ -1,64 +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_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

@@ -1,64 +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_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

@@ -1,63 +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_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

@@ -1,63 +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_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

@@ -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_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

@@ -1,144 +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_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_GETJOBFILEUPLOADURLREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETJOBFILEUPLOADURLREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_GETCALLDETAILRECORDREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETCALLDETAILRECORDREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetJobFileUploadUrlRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT GetCallDetailRecordRequest : public RpcServiceRequest
{
public:
GetJobFileUploadUrlRequest();
~GetJobFileUploadUrlRequest();
GetCallDetailRecordRequest();
~GetCallDetailRecordRequest();
std::string getContactId()const;
void setContactId(const std::string& contactId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getFileName()const;
void setFileName(const std::string& fileName);
private:
std::string contactId_;
std::string instanceId_;
std::string fileName_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBFILEUPLOADURLREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_GETCALLDETAILRECORDREQUEST_H_

View File

@@ -0,0 +1,131 @@
/*
* 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_GETCALLDETAILRECORDRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETCALLDETAILRECORDRESULT_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 GetCallDetailRecordResult : public ServiceResult
{
public:
struct Data
{
struct AgentEventsItem
{
struct EventSequenceItem
{
long eventTime;
std::string event;
};
std::vector<AgentEventsItem::EventSequenceItem> eventSequence;
std::string agentName;
std::string agentId;
std::string skillGroupId;
};
struct IvrEventsItem
{
struct EventSequenceItem2
{
long eventTime;
std::string event;
};
std::string flowId;
std::vector<IvrEventsItem::EventSequenceItem2> eventSequence1;
};
struct QueueEventsItem
{
struct EventSequenceItem4
{
long eventTime;
std::string event;
};
std::string flowId;
std::vector<QueueEventsItem::EventSequenceItem4> eventSequence3;
std::string queueId;
std::string queueName;
int queueType;
};
struct CustomerEventsItem
{
struct EventSequenceItem6
{
long eventTime;
std::string event;
};
std::vector<CustomerEventsItem::EventSequenceItem6> eventSequence5;
std::string customerId;
};
std::vector<AgentEventsItem> agentEvents;
std::string calledNumber;
std::string contactType;
std::string contactDisposition;
int satisfaction;
std::string contactId;
std::string callingNumber;
bool recordingReady;
std::vector<CustomerEventsItem> customerEvents;
std::string skillGroupNames;
bool satisfactionSurveyOffered;
long establishedTime;
std::string skillGroupIds;
std::string releaseInitiator;
std::string instanceId;
long startTime;
std::string earlyMediaState;
long callDuration;
std::vector<QueueEventsItem> queueEvents;
std::string calleeLocation;
long releaseTime;
std::string satisfactionSurveyChannel;
std::string agentIds;
std::string callerLocation;
std::string agentNames;
std::vector<IvrEventsItem> ivrEvents;
};
GetCallDetailRecordResult();
explicit GetCallDetailRecordResult(const std::string &payload);
~GetCallDetailRecordResult();
std::string getMessage()const;
int getHttpStatusCode()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETCALLDETAILRECORDRESULT_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_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

@@ -1,89 +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_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_GETSCENARIOREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETSCENARIOREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetScenarioRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT GetCampaignRequest : public RpcServiceRequest
{
public:
GetScenarioRequest();
~GetScenarioRequest();
GetCampaignRequest();
~GetCampaignRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getScenarioId()const;
void setScenarioId(const std::string& scenarioId);
std::string getCampaignId()const;
void setCampaignId(const std::string& campaignId);
private:
std::string instanceId_;
std::string scenarioId_;
std::string campaignId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETSCENARIOREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* 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_GETCAMPAIGNRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNRESULT_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 GetCampaignResult : public ServiceResult
{
public:
struct Data
{
long casesAborted;
long casesUncompleted;
long maxAttemptCount;
long minAttemptInterval;
std::string strategyType;
long casesConnected;
long planedStartTime;
std::string simulationParameters;
std::string queueId;
long totalCases;
std::string name;
long actualStartTime;
std::string strategyParameters;
bool simulation;
std::string campaignId;
std::string state;
long actualEndTime;
long planedEndTime;
std::string queueName;
};
GetCampaignResult();
explicit GetCampaignResult(const std::string &payload);
~GetCampaignResult();
long getHttpStatusCode()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
long httpStatusCode_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNRESULT_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_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

@@ -1,74 +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_GETCONVERSATIONDETAILBYCONTACTIDRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONDETAILBYCONTACTIDRESULT_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 GetConversationDetailByContactIdResult : public ServiceResult
{
public:
struct DataList
{
struct QualityCheckPhrase
{
std::string role;
std::string words;
long begin;
long end;
std::string identity;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<QualityCheckPhrase> list;
};
GetConversationDetailByContactIdResult();
explicit GetConversationDetailByContactIdResult(const std::string &payload);
~GetConversationDetailByContactIdResult();
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_GETCONVERSATIONDETAILBYCONTACTIDRESULT_H_

View File

@@ -1,72 +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_GETCONVERSATIONLISTRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONLISTRESULT_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 GetConversationListResult : public ServiceResult
{
public:
struct ConversationDetail
{
struct SummaryItem
{
std::string category;
std::string content;
std::string summaryName;
};
std::string script;
std::vector<ConversationDetail::SummaryItem> summary;
long timestamp;
std::string speaker;
};
GetConversationListResult();
explicit GetConversationListResult(const std::string &payload);
~GetConversationListResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<ConversationDetail> getConversations()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::vector<ConversationDetail> conversations_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONLISTRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTAGENTDEVICESREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LISTAGENTDEVICESREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_GETHISTORICALCALLERREPORTREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETHISTORICALCALLERREPORTREQUEST_H_
#include <string>
#include <vector>
@@ -28,33 +28,30 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListAgentDevicesRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT GetHistoricalCallerReportRequest : public RpcServiceRequest
{
public:
ListAgentDevicesRequest();
~ListAgentDevicesRequest();
GetHistoricalCallerReportRequest();
~GetHistoricalCallerReportRequest();
std::string getRamIds()const;
void setRamIds(const std::string& ramIds);
long getStartTime()const;
void setStartTime(long startTime);
long getStopTime()const;
void setStopTime(long stopTime);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
long getStartTime()const;
void setStartTime(long startTime);
std::string getCallingNumber()const;
void setCallingNumber(const std::string& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string ramIds_;
long startTime_;
long stopTime_;
std::string accessKeyId_;
long startTime_;
std::string callingNumber_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTAGENTDEVICESREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_GETHISTORICALCALLERREPORTREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_PUBLISHPREDICTIVEJOBGROUPRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_PUBLISHPREDICTIVEJOBGROUPRESULT_H_
#ifndef ALIBABACLOUD_CCC_MODEL_GETHISTORICALCALLERREPORTRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETHISTORICALCALLERREPORTRESULT_H_
#include <string>
#include <vector>
@@ -29,29 +29,34 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PublishPredictiveJobGroupResult : public ServiceResult
class ALIBABACLOUD_CCC_EXPORT GetHistoricalCallerReportResult : public ServiceResult
{
public:
struct Data
{
long lastCallingTime;
long totalCalls;
};
PublishPredictiveJobGroupResult();
explicit PublishPredictiveJobGroupResult(const std::string &payload);
~PublishPredictiveJobGroupResult();
GetHistoricalCallerReportResult();
explicit GetHistoricalCallerReportResult(const std::string &payload);
~GetHistoricalCallerReportResult();
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_PUBLISHPREDICTIVEJOBGROUPRESULT_H_
#endif // !ALIBABACLOUD_CCC_MODEL_GETHISTORICALCALLERREPORTRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSREQUEST_H_
#ifndef ALIBABACLOUD_CCC_MODEL_GETHISTORICALINSTANCEREPORTREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETHISTORICALINSTANCEREPORTREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DownloadUnreachableContactsRequest : public RpcServiceRequest
class ALIBABACLOUD_CCC_EXPORT GetHistoricalInstanceReportRequest : public RpcServiceRequest
{
public:
DownloadUnreachableContactsRequest();
~DownloadUnreachableContactsRequest();
GetHistoricalInstanceReportRequest();
~GetHistoricalInstanceReportRequest();
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
private:
long endTime_;
long startTime_;
std::string instanceId_;
std::string jobGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSREQUEST_H_
#endif // !ALIBABACLOUD_CCC_MODEL_GETHISTORICALINSTANCEREPORTREQUEST_H_

View File

@@ -0,0 +1,172 @@
/*
* 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_GETHISTORICALINSTANCEREPORTRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETHISTORICALINSTANCEREPORTRESULT_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 GetHistoricalInstanceReportResult : public ServiceResult
{
public:
struct Data
{
struct Inbound
{
float serviceLevel20;
long totalWorkTime;
long totalHoldTime;
long callsRinged;
long maxAbandonedInIVRTime;
long callsOffered;
float satisfactionIndex;
long callsHold;
long totalRingTime;
float handleRate;
float averageAbandonedInQueueTime;
long totalTalkTime;
float averageWaitTime;
long totalAbandonedInRingTime;
long callsQueuingOverflow;
long totalAbandonTime;
long callsQueuingFailed;
long callsBlindTransferred;
long maxAbandonedInQueueTime;
long satisfactionSurveysOffered;
long callsAbandonedInRing;
long callsAttendedTransferred;
float averageRingTime;
float abandonRate;
long callsIVRException;
long callsAbandonedInQueue;
float averageHoldTime;
long callsAbandoned;
long maxRingTime;
long maxAbandonedInRingTime;
long totalAbandonedInIVRTime;
long callsForwardToOutsideNumber;
long callsQueued;
long maxTalkTime;
float averageAbandonedInIVRTime;
float satisfactionRate;
long callsQueuingTimeout;
float averageTalkTime;
long maxHoldTime;
long callsAbandonedInIVR;
long callsAbandonedInVoiceNavigator;
long callsVoicemail;
long callsHandled;
long maxWaitTime;
long satisfactionSurveysResponded;
long maxAbandonTime;
long totalWaitTime;
float averageAbandonTime;
float averageAbandonedInRingTime;
float averageWorkTime;
long totalAbandonedInQueueTime;
long maxWorkTime;
};
struct Outbound
{
long totalDialingTime;
long totalWorkTime;
long totalHoldTime;
long callsRinged;
float averageHoldTime;
long maxRingTime;
float satisfactionIndex;
int callsHold;
long totalRingTime;
float averageDialingTime;
long callsAnswered;
long callsDialed;
long totalTalkTime;
long maxDialingTime;
long maxTalkTime;
float satisfactionRate;
float answerRate;
long maxHoldTime;
float averageTalkTime;
long callsBlindTransferred;
long satisfactionSurveysOffered;
long satisfactionSurveysResponded;
long callsAttendedTransferred;
float averageRingTime;
float averageWorkTime;
long maxWorkTime;
};
struct Overall
{
long totalReadyTime;
long totalBreakTime;
long totalCalls;
long totalWorkTime;
long totalHoldTime;
long satisfactionSurveysOffered;
float averageHoldTime;
float satisfactionIndex;
float averageBreakTime;
long satisfactionSurveysResponded;
long totalTalkTime;
float averageReadyTime;
long totalLoggedInTime;
long maxTalkTime;
float satisfactionRate;
float averageWorkTime;
long maxReadyTime;
long maxWorkTime;
long maxBreakTime;
float occupancyRate;
long maxHoldTime;
float averageTalkTime;
};
Outbound outbound;
Overall overall;
Inbound inbound;
};
GetHistoricalInstanceReportResult();
explicit GetHistoricalInstanceReportResult(const std::string &payload);
~GetHistoricalInstanceReportResult();
std::string getMessage()const;
int getHttpStatusCode()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETHISTORICALINSTANCEREPORTRESULT_H_

View File

@@ -37,12 +37,9 @@ namespace AlibabaCloud
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string accessKeyId_;
};
}

View File

@@ -32,51 +32,52 @@ namespace AlibabaCloud
class ALIBABACLOUD_CCC_EXPORT GetInstanceResult : public ServiceResult
{
public:
struct Instance
struct Data
{
struct User
{
struct Detail
{
std::string loginName;
std::string department;
std::string email;
std::string phone;
std::string displayName;
};
std::string extension;
std::string loginName;
std::string roleName;
std::string email;
std::string instanceId;
std::string userId;
std::string ramId;
Detail detail;
std::string displayName;
std::string mobile;
std::string roleId;
std::string workMode;
};
struct PhoneNumber
{
struct SkillGroup
{
std::string description;
int phoneNumberCount;
std::string instanceId;
int userCount;
std::string displayName;
std::string skillGroupId;
std::string name;
};
bool active;
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 contactFlowId;
std::string userId;
std::vector<PhoneNumber::SkillGroup> skillGroups;
std::string city;
std::string province;
};
std::string status;
std::vector<PhoneNumber> phoneNumbers;
std::string owner;
long createdTime;
std::string instanceId;
std::string domainName;
std::vector<User> adminList;
std::string description;
std::string consoleUrl;
int storageMaxSize;
std::vector<User> admin;
std::string instanceName;
int maxOnlineAgents;
std::string tenantId;
std::string directoryId;
std::string storageBucket;
std::string instanceDescription;
int storageMaxDays;
std::string domainName;
std::string aliyunUid;
std::vector<PhoneNumber> numberList;
std::string id;
std::string name;
};
@@ -84,19 +85,19 @@ namespace AlibabaCloud
explicit GetInstanceResult(const std::string &payload);
~GetInstanceResult();
std::string getMessage()const;
Instance getInstance()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_;
Instance instance_;
int httpStatusCode_;
std::vector<std::string> params_;
Data data_;
std::string code_;
bool success_;
};
}

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_GETINSTANCESUMMARYREPORTBYINTERVALREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETINSTANCESUMMARYREPORTBYINTERVALREQUEST_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 GetInstanceSummaryReportByIntervalRequest : public RpcServiceRequest
{
public:
GetInstanceSummaryReportByIntervalRequest();
~GetInstanceSummaryReportByIntervalRequest();
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
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);
std::string getInterval()const;
void setInterval(const std::string& interval);
private:
std::string endTime_;
std::string startTime_;
int pageNumber_;
std::string accessKeyId_;
std::string instanceId_;
int pageSize_;
std::string interval_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETINSTANCESUMMARYREPORTBYINTERVALREQUEST_H_

View File

@@ -1,136 +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_GETINSTANCESUMMARYREPORTBYINTERVALRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETINSTANCESUMMARYREPORTBYINTERVALRESULT_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 GetInstanceSummaryReportByIntervalResult : public ServiceResult
{
public:
struct InstanceTimeIntervalReport
{
struct InstanceSummaryReport
{
struct Overall
{
long totalReadyTime;
long totalBreakTime;
long totalCalls;
long totalWorkTime;
long satisfactionSurveysOffered;
float satisfactionIndex;
long satisfactionSurveysResponded;
long totalTalkTime;
long averageReadyTime;
long totalLoggedInTime;
long maxTalkTime;
long averageWorkTime;
long maxReadyTime;
long maxWorkTime;
float occupancyRate;
long averageTalkTime;
};
struct Inbound
{
float serviceLevel20;
long callsAbandonedInQueue;
long totalWorkTime;
long callsIncomingLine;
long satisfactionSurveysOffered;
long maxRingTime;
long callsOffered;
float satisfactionIndex;
long callsIncomingQueue;
long callsHandled;
long callsIncomingIVR;
long maxWaitTime;
long totalRingTime;
long satisfactionSurveysResponded;
float handleRate;
long averageRingTime;
long averageWaitTime;
long totalTalkTime;
long totalWaitTime;
std::string maxTalkTime;
long averageWorkTime;
long maxWorkTime;
long averageTalkTime;
long callsAbandonedInIVR;
};
struct Outbound
{
long totalDialingTime;
long totalWorkTime;
long satisfactionSurveysOffered;
float satisfactionIndex;
long satisfactionSurveysResponded;
long averageDialingTime;
long callsAnswered;
long totalTalkTime;
long callsDialed;
long maxDialingTime;
long maxTalkTime;
long averageWorkTime;
long maxWorkTime;
float answerRate;
long averageTalkTime;
};
Overall overall;
Outbound outbound;
std::string instanceId;
Inbound inbound;
std::string timestamp;
};
std::string instanceId;
std::vector<InstanceSummaryReport> intervalList;
};
GetInstanceSummaryReportByIntervalResult();
explicit GetInstanceSummaryReportByIntervalResult(const std::string &payload);
~GetInstanceSummaryReportByIntervalResult();
InstanceTimeIntervalReport getInstanceTimeIntervalReport()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
InstanceTimeIntervalReport instanceTimeIntervalReport_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETINSTANCESUMMARYREPORTBYINTERVALRESULT_H_

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