ccc

package
v0.0.0-...-66ec9f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddPhoneNumberRequest

type AddPhoneNumberRequest struct {
	*requests.RpcRequest
	InstanceId    string `position:"Query" name:"InstanceId"`
	PhoneNumber   string `position:"Query" name:"PhoneNumber"`
	Usage         string `position:"Query" name:"Usage"`
	ContactFlowId string `position:"Query" name:"ContactFlowId"`
}

AddPhoneNumberRequest is the request struct for api AddPhoneNumber

func CreateAddPhoneNumberRequest

func CreateAddPhoneNumberRequest() (request *AddPhoneNumberRequest)

CreateAddPhoneNumberRequest creates a request to invoke AddPhoneNumber API

type AddPhoneNumberResponse

type AddPhoneNumberResponse struct {
	*responses.BaseResponse
	RequestId      string      `json:"RequestId" xml:"RequestId"`
	Success        bool        `json:"Success" xml:"Success"`
	Code           string      `json:"Code" xml:"Code"`
	Message        string      `json:"Message" xml:"Message"`
	HttpStatusCode int         `json:"HttpStatusCode" xml:"HttpStatusCode"`
	PhoneNumber    PhoneNumber `json:"PhoneNumber" xml:"PhoneNumber"`
}

AddPhoneNumberResponse is the response struct for api AddPhoneNumber

func CreateAddPhoneNumberResponse

func CreateAddPhoneNumberResponse() (response *AddPhoneNumberResponse)

CreateAddPhoneNumberResponse creates a response to parse from AddPhoneNumber response

type Agents

type Agents struct {
	CallDetailAgent []CallDetailAgent `json:"CallDetailAgent" xml:"CallDetailAgent"`
}

Agents is a nested struct in ccc response

type AssignUsersRequest

type AssignUsersRequest struct {
	*requests.RpcRequest
	InstanceId   string    `position:"Query" name:"InstanceId"`
	UserRamId    *[]string `position:"Query" name:"UserRamId"  type:"Repeated"`
	RoleId       *[]string `position:"Query" name:"RoleId"  type:"Repeated"`
	SkillGroupId *[]string `position:"Query" name:"SkillGroupId"  type:"Repeated"`
	SkillLevel   *[]string `position:"Query" name:"SkillLevel"  type:"Repeated"`
}

AssignUsersRequest is the request struct for api AssignUsers

func CreateAssignUsersRequest

func CreateAssignUsersRequest() (request *AssignUsersRequest)

CreateAssignUsersRequest creates a request to invoke AssignUsers API

type AssignUsersResponse

type AssignUsersResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
	Code           string `json:"Code" xml:"Code"`
	Message        string `json:"Message" xml:"Message"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
}

AssignUsersResponse is the response struct for api AssignUsers

func CreateAssignUsersResponse

func CreateAssignUsersResponse() (response *AssignUsersResponse)

CreateAssignUsersResponse creates a response to parse from AssignUsers response

type CallDetailAgent

type CallDetailAgent struct {
	ContactId      string `json:"ContactId" xml:"ContactId"`
	AgentId        string `json:"AgentId" xml:"AgentId"`
	AgentName      string `json:"AgentName" xml:"AgentName"`
	SkillGroupName string `json:"SkillGroupName" xml:"SkillGroupName"`
	QueueTime      int    `json:"QueueTime" xml:"QueueTime"`
	RingTime       int    `json:"RingTime" xml:"RingTime"`
	StartTime      int    `json:"StartTime" xml:"StartTime"`
	TalkTime       int    `json:"TalkTime" xml:"TalkTime"`
	HoldTime       int    `json:"HoldTime" xml:"HoldTime"`
	WorkTime       int    `json:"WorkTime" xml:"WorkTime"`
}

CallDetailAgent is a nested struct in ccc response

type CallDetailRecord

type CallDetailRecord struct {
	ContactId          string                            `json:"ContactId" xml:"ContactId"`
	StartTime          int                               `json:"StartTime" xml:"StartTime"`
	Duration           int                               `json:"Duration" xml:"Duration"`
	Satisfaction       int                               `json:"Satisfaction" xml:"Satisfaction"`
	ContactType        string                            `json:"ContactType" xml:"ContactType"`
	ContactDisposition string                            `json:"ContactDisposition" xml:"ContactDisposition"`
	CallingNumber      string                            `json:"CallingNumber" xml:"CallingNumber"`
	CalledNumber       string                            `json:"CalledNumber" xml:"CalledNumber"`
	AgentNames         string                            `json:"AgentNames" xml:"AgentNames"`
	SkillGroupNames    string                            `json:"SkillGroupNames" xml:"SkillGroupNames"`
	InstanceId         string                            `json:"InstanceId" xml:"InstanceId"`
	ExtraAttr          string                            `json:"ExtraAttr" xml:"ExtraAttr"`
	Agents             Agents                            `json:"Agents" xml:"Agents"`
	Recordings         RecordingsInListCallDetailRecords `json:"Recordings" xml:"Recordings"`
}

CallDetailRecord is a nested struct in ccc response

type CallDetailRecords

type CallDetailRecords struct {
	TotalCount int                         `json:"TotalCount" xml:"TotalCount"`
	PageNumber int                         `json:"PageNumber" xml:"PageNumber"`
	PageSize   int                         `json:"PageSize" xml:"PageSize"`
	List       ListInListCallDetailRecords `json:"List" xml:"List"`
}

CallDetailRecords is a nested struct in ccc response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://help.aliyun.com/document_detail/66217.html

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://help.aliyun.com/document_detail/66223.html

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://help.aliyun.com/document_detail/66222.html

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair attention: rsa key pair auth is only Japan regions available

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://help.aliyun.com/document_detail/66222.html

func (*Client) AddPhoneNumber

func (client *Client) AddPhoneNumber(request *AddPhoneNumberRequest) (response *AddPhoneNumberResponse, err error)

AddPhoneNumber invokes the ccc.AddPhoneNumber API synchronously api document: https://help.aliyun.com/api/ccc/addphonenumber.html

func (*Client) AddPhoneNumberWithCallback

func (client *Client) AddPhoneNumberWithCallback(request *AddPhoneNumberRequest, callback func(response *AddPhoneNumberResponse, err error)) <-chan int

AddPhoneNumberWithCallback invokes the ccc.AddPhoneNumber API asynchronously api document: https://help.aliyun.com/api/ccc/addphonenumber.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) AddPhoneNumberWithChan

func (client *Client) AddPhoneNumberWithChan(request *AddPhoneNumberRequest) (<-chan *AddPhoneNumberResponse, <-chan error)

AddPhoneNumberWithChan invokes the ccc.AddPhoneNumber API asynchronously api document: https://help.aliyun.com/api/ccc/addphonenumber.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) AssignUsers

func (client *Client) AssignUsers(request *AssignUsersRequest) (response *AssignUsersResponse, err error)

AssignUsers invokes the ccc.AssignUsers API synchronously api document: https://help.aliyun.com/api/ccc/assignusers.html

func (*Client) AssignUsersWithCallback

func (client *Client) AssignUsersWithCallback(request *AssignUsersRequest, callback func(response *AssignUsersResponse, err error)) <-chan int

AssignUsersWithCallback invokes the ccc.AssignUsers API asynchronously api document: https://help.aliyun.com/api/ccc/assignusers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) AssignUsersWithChan

func (client *Client) AssignUsersWithChan(request *AssignUsersRequest) (<-chan *AssignUsersResponse, <-chan error)

AssignUsersWithChan invokes the ccc.AssignUsers API asynchronously api document: https://help.aliyun.com/api/ccc/assignusers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateSkillGroup

func (client *Client) CreateSkillGroup(request *CreateSkillGroupRequest) (response *CreateSkillGroupResponse, err error)

CreateSkillGroup invokes the ccc.CreateSkillGroup API synchronously api document: https://help.aliyun.com/api/ccc/createskillgroup.html

func (*Client) CreateSkillGroupWithCallback

func (client *Client) CreateSkillGroupWithCallback(request *CreateSkillGroupRequest, callback func(response *CreateSkillGroupResponse, err error)) <-chan int

CreateSkillGroupWithCallback invokes the ccc.CreateSkillGroup API asynchronously api document: https://help.aliyun.com/api/ccc/createskillgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateSkillGroupWithChan

func (client *Client) CreateSkillGroupWithChan(request *CreateSkillGroupRequest) (<-chan *CreateSkillGroupResponse, <-chan error)

CreateSkillGroupWithChan invokes the ccc.CreateSkillGroup API asynchronously api document: https://help.aliyun.com/api/ccc/createskillgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateUser

func (client *Client) CreateUser(request *CreateUserRequest) (response *CreateUserResponse, err error)

CreateUser invokes the ccc.CreateUser API synchronously api document: https://help.aliyun.com/api/ccc/createuser.html

func (*Client) CreateUserWithCallback

func (client *Client) CreateUserWithCallback(request *CreateUserRequest, callback func(response *CreateUserResponse, err error)) <-chan int

CreateUserWithCallback invokes the ccc.CreateUser API asynchronously api document: https://help.aliyun.com/api/ccc/createuser.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateUserWithChan

func (client *Client) CreateUserWithChan(request *CreateUserRequest) (<-chan *CreateUserResponse, <-chan error)

CreateUserWithChan invokes the ccc.CreateUser API asynchronously api document: https://help.aliyun.com/api/ccc/createuser.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteSkillGroup

func (client *Client) DeleteSkillGroup(request *DeleteSkillGroupRequest) (response *DeleteSkillGroupResponse, err error)

DeleteSkillGroup invokes the ccc.DeleteSkillGroup API synchronously api document: https://help.aliyun.com/api/ccc/deleteskillgroup.html

func (*Client) DeleteSkillGroupWithCallback

func (client *Client) DeleteSkillGroupWithCallback(request *DeleteSkillGroupRequest, callback func(response *DeleteSkillGroupResponse, err error)) <-chan int

DeleteSkillGroupWithCallback invokes the ccc.DeleteSkillGroup API asynchronously api document: https://help.aliyun.com/api/ccc/deleteskillgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteSkillGroupWithChan

func (client *Client) DeleteSkillGroupWithChan(request *DeleteSkillGroupRequest) (<-chan *DeleteSkillGroupResponse, <-chan error)

DeleteSkillGroupWithChan invokes the ccc.DeleteSkillGroup API asynchronously api document: https://help.aliyun.com/api/ccc/deleteskillgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DownloadRecording

func (client *Client) DownloadRecording(request *DownloadRecordingRequest) (response *DownloadRecordingResponse, err error)

DownloadRecording invokes the ccc.DownloadRecording API synchronously api document: https://help.aliyun.com/api/ccc/downloadrecording.html

func (*Client) DownloadRecordingWithCallback

func (client *Client) DownloadRecordingWithCallback(request *DownloadRecordingRequest, callback func(response *DownloadRecordingResponse, err error)) <-chan int

DownloadRecordingWithCallback invokes the ccc.DownloadRecording API asynchronously api document: https://help.aliyun.com/api/ccc/downloadrecording.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DownloadRecordingWithChan

func (client *Client) DownloadRecordingWithChan(request *DownloadRecordingRequest) (<-chan *DownloadRecordingResponse, <-chan error)

DownloadRecordingWithChan invokes the ccc.DownloadRecording API asynchronously api document: https://help.aliyun.com/api/ccc/downloadrecording.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetConfig

func (client *Client) GetConfig(request *GetConfigRequest) (response *GetConfigResponse, err error)

GetConfig invokes the ccc.GetConfig API synchronously api document: https://help.aliyun.com/api/ccc/getconfig.html

func (*Client) GetConfigWithCallback

func (client *Client) GetConfigWithCallback(request *GetConfigRequest, callback func(response *GetConfigResponse, err error)) <-chan int

GetConfigWithCallback invokes the ccc.GetConfig API asynchronously api document: https://help.aliyun.com/api/ccc/getconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetConfigWithChan

func (client *Client) GetConfigWithChan(request *GetConfigRequest) (<-chan *GetConfigResponse, <-chan error)

GetConfigWithChan invokes the ccc.GetConfig API asynchronously api document: https://help.aliyun.com/api/ccc/getconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetServiceExtensions

func (client *Client) GetServiceExtensions(request *GetServiceExtensionsRequest) (response *GetServiceExtensionsResponse, err error)

GetServiceExtensions invokes the ccc.GetServiceExtensions API synchronously api document: https://help.aliyun.com/api/ccc/getserviceextensions.html

func (*Client) GetServiceExtensionsWithCallback

func (client *Client) GetServiceExtensionsWithCallback(request *GetServiceExtensionsRequest, callback func(response *GetServiceExtensionsResponse, err error)) <-chan int

GetServiceExtensionsWithCallback invokes the ccc.GetServiceExtensions API asynchronously api document: https://help.aliyun.com/api/ccc/getserviceextensions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetServiceExtensionsWithChan

func (client *Client) GetServiceExtensionsWithChan(request *GetServiceExtensionsRequest) (<-chan *GetServiceExtensionsResponse, <-chan error)

GetServiceExtensionsWithChan invokes the ccc.GetServiceExtensions API asynchronously api document: https://help.aliyun.com/api/ccc/getserviceextensions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetUser

func (client *Client) GetUser(request *GetUserRequest) (response *GetUserResponse, err error)

GetUser invokes the ccc.GetUser API synchronously api document: https://help.aliyun.com/api/ccc/getuser.html

func (*Client) GetUserWithCallback

func (client *Client) GetUserWithCallback(request *GetUserRequest, callback func(response *GetUserResponse, err error)) <-chan int

GetUserWithCallback invokes the ccc.GetUser API asynchronously api document: https://help.aliyun.com/api/ccc/getuser.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetUserWithChan

func (client *Client) GetUserWithChan(request *GetUserRequest) (<-chan *GetUserResponse, <-chan error)

GetUserWithChan invokes the ccc.GetUser API asynchronously api document: https://help.aliyun.com/api/ccc/getuser.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListCallDetailRecords

func (client *Client) ListCallDetailRecords(request *ListCallDetailRecordsRequest) (response *ListCallDetailRecordsResponse, err error)

ListCallDetailRecords invokes the ccc.ListCallDetailRecords API synchronously api document: https://help.aliyun.com/api/ccc/listcalldetailrecords.html

func (*Client) ListCallDetailRecordsWithCallback

func (client *Client) ListCallDetailRecordsWithCallback(request *ListCallDetailRecordsRequest, callback func(response *ListCallDetailRecordsResponse, err error)) <-chan int

ListCallDetailRecordsWithCallback invokes the ccc.ListCallDetailRecords API asynchronously api document: https://help.aliyun.com/api/ccc/listcalldetailrecords.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListCallDetailRecordsWithChan

func (client *Client) ListCallDetailRecordsWithChan(request *ListCallDetailRecordsRequest) (<-chan *ListCallDetailRecordsResponse, <-chan error)

ListCallDetailRecordsWithChan invokes the ccc.ListCallDetailRecords API asynchronously api document: https://help.aliyun.com/api/ccc/listcalldetailrecords.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListContactFlows

func (client *Client) ListContactFlows(request *ListContactFlowsRequest) (response *ListContactFlowsResponse, err error)

ListContactFlows invokes the ccc.ListContactFlows API synchronously api document: https://help.aliyun.com/api/ccc/listcontactflows.html

func (*Client) ListContactFlowsWithCallback

func (client *Client) ListContactFlowsWithCallback(request *ListContactFlowsRequest, callback func(response *ListContactFlowsResponse, err error)) <-chan int

ListContactFlowsWithCallback invokes the ccc.ListContactFlows API asynchronously api document: https://help.aliyun.com/api/ccc/listcontactflows.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListContactFlowsWithChan

func (client *Client) ListContactFlowsWithChan(request *ListContactFlowsRequest) (<-chan *ListContactFlowsResponse, <-chan error)

ListContactFlowsWithChan invokes the ccc.ListContactFlows API asynchronously api document: https://help.aliyun.com/api/ccc/listcontactflows.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListPhoneNumbers

func (client *Client) ListPhoneNumbers(request *ListPhoneNumbersRequest) (response *ListPhoneNumbersResponse, err error)

ListPhoneNumbers invokes the ccc.ListPhoneNumbers API synchronously api document: https://help.aliyun.com/api/ccc/listphonenumbers.html

func (*Client) ListPhoneNumbersWithCallback

func (client *Client) ListPhoneNumbersWithCallback(request *ListPhoneNumbersRequest, callback func(response *ListPhoneNumbersResponse, err error)) <-chan int

ListPhoneNumbersWithCallback invokes the ccc.ListPhoneNumbers API asynchronously api document: https://help.aliyun.com/api/ccc/listphonenumbers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListPhoneNumbersWithChan

func (client *Client) ListPhoneNumbersWithChan(request *ListPhoneNumbersRequest) (<-chan *ListPhoneNumbersResponse, <-chan error)

ListPhoneNumbersWithChan invokes the ccc.ListPhoneNumbers API asynchronously api document: https://help.aliyun.com/api/ccc/listphonenumbers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListRecordings

func (client *Client) ListRecordings(request *ListRecordingsRequest) (response *ListRecordingsResponse, err error)

ListRecordings invokes the ccc.ListRecordings API synchronously api document: https://help.aliyun.com/api/ccc/listrecordings.html

func (*Client) ListRecordingsByContactId

func (client *Client) ListRecordingsByContactId(request *ListRecordingsByContactIdRequest) (response *ListRecordingsByContactIdResponse, err error)

ListRecordingsByContactId invokes the ccc.ListRecordingsByContactId API synchronously api document: https://help.aliyun.com/api/ccc/listrecordingsbycontactid.html

func (*Client) ListRecordingsByContactIdWithCallback

func (client *Client) ListRecordingsByContactIdWithCallback(request *ListRecordingsByContactIdRequest, callback func(response *ListRecordingsByContactIdResponse, err error)) <-chan int

ListRecordingsByContactIdWithCallback invokes the ccc.ListRecordingsByContactId API asynchronously api document: https://help.aliyun.com/api/ccc/listrecordingsbycontactid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListRecordingsByContactIdWithChan

func (client *Client) ListRecordingsByContactIdWithChan(request *ListRecordingsByContactIdRequest) (<-chan *ListRecordingsByContactIdResponse, <-chan error)

ListRecordingsByContactIdWithChan invokes the ccc.ListRecordingsByContactId API asynchronously api document: https://help.aliyun.com/api/ccc/listrecordingsbycontactid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListRecordingsWithCallback

func (client *Client) ListRecordingsWithCallback(request *ListRecordingsRequest, callback func(response *ListRecordingsResponse, err error)) <-chan int

ListRecordingsWithCallback invokes the ccc.ListRecordings API asynchronously api document: https://help.aliyun.com/api/ccc/listrecordings.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListRecordingsWithChan

func (client *Client) ListRecordingsWithChan(request *ListRecordingsRequest) (<-chan *ListRecordingsResponse, <-chan error)

ListRecordingsWithChan invokes the ccc.ListRecordings API asynchronously api document: https://help.aliyun.com/api/ccc/listrecordings.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListRoles

func (client *Client) ListRoles(request *ListRolesRequest) (response *ListRolesResponse, err error)

ListRoles invokes the ccc.ListRoles API synchronously api document: https://help.aliyun.com/api/ccc/listroles.html

func (*Client) ListRolesWithCallback

func (client *Client) ListRolesWithCallback(request *ListRolesRequest, callback func(response *ListRolesResponse, err error)) <-chan int

ListRolesWithCallback invokes the ccc.ListRoles API asynchronously api document: https://help.aliyun.com/api/ccc/listroles.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListRolesWithChan

func (client *Client) ListRolesWithChan(request *ListRolesRequest) (<-chan *ListRolesResponse, <-chan error)

ListRolesWithChan invokes the ccc.ListRoles API asynchronously api document: https://help.aliyun.com/api/ccc/listroles.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListSkillGroups

func (client *Client) ListSkillGroups(request *ListSkillGroupsRequest) (response *ListSkillGroupsResponse, err error)

ListSkillGroups invokes the ccc.ListSkillGroups API synchronously api document: https://help.aliyun.com/api/ccc/listskillgroups.html

func (*Client) ListSkillGroupsOfUser

func (client *Client) ListSkillGroupsOfUser(request *ListSkillGroupsOfUserRequest) (response *ListSkillGroupsOfUserResponse, err error)

ListSkillGroupsOfUser invokes the ccc.ListSkillGroupsOfUser API synchronously api document: https://help.aliyun.com/api/ccc/listskillgroupsofuser.html

func (*Client) ListSkillGroupsOfUserWithCallback

func (client *Client) ListSkillGroupsOfUserWithCallback(request *ListSkillGroupsOfUserRequest, callback func(response *ListSkillGroupsOfUserResponse, err error)) <-chan int

ListSkillGroupsOfUserWithCallback invokes the ccc.ListSkillGroupsOfUser API asynchronously api document: https://help.aliyun.com/api/ccc/listskillgroupsofuser.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListSkillGroupsOfUserWithChan

func (client *Client) ListSkillGroupsOfUserWithChan(request *ListSkillGroupsOfUserRequest) (<-chan *ListSkillGroupsOfUserResponse, <-chan error)

ListSkillGroupsOfUserWithChan invokes the ccc.ListSkillGroupsOfUser API asynchronously api document: https://help.aliyun.com/api/ccc/listskillgroupsofuser.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListSkillGroupsWithCallback

func (client *Client) ListSkillGroupsWithCallback(request *ListSkillGroupsRequest, callback func(response *ListSkillGroupsResponse, err error)) <-chan int

ListSkillGroupsWithCallback invokes the ccc.ListSkillGroups API asynchronously api document: https://help.aliyun.com/api/ccc/listskillgroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListSkillGroupsWithChan

func (client *Client) ListSkillGroupsWithChan(request *ListSkillGroupsRequest) (<-chan *ListSkillGroupsResponse, <-chan error)

ListSkillGroupsWithChan invokes the ccc.ListSkillGroups API asynchronously api document: https://help.aliyun.com/api/ccc/listskillgroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListUsers

func (client *Client) ListUsers(request *ListUsersRequest) (response *ListUsersResponse, err error)

ListUsers invokes the ccc.ListUsers API synchronously api document: https://help.aliyun.com/api/ccc/listusers.html

func (*Client) ListUsersOfSkillGroup

func (client *Client) ListUsersOfSkillGroup(request *ListUsersOfSkillGroupRequest) (response *ListUsersOfSkillGroupResponse, err error)

ListUsersOfSkillGroup invokes the ccc.ListUsersOfSkillGroup API synchronously api document: https://help.aliyun.com/api/ccc/listusersofskillgroup.html

func (*Client) ListUsersOfSkillGroupWithCallback

func (client *Client) ListUsersOfSkillGroupWithCallback(request *ListUsersOfSkillGroupRequest, callback func(response *ListUsersOfSkillGroupResponse, err error)) <-chan int

ListUsersOfSkillGroupWithCallback invokes the ccc.ListUsersOfSkillGroup API asynchronously api document: https://help.aliyun.com/api/ccc/listusersofskillgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListUsersOfSkillGroupWithChan

func (client *Client) ListUsersOfSkillGroupWithChan(request *ListUsersOfSkillGroupRequest) (<-chan *ListUsersOfSkillGroupResponse, <-chan error)

ListUsersOfSkillGroupWithChan invokes the ccc.ListUsersOfSkillGroup API asynchronously api document: https://help.aliyun.com/api/ccc/listusersofskillgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListUsersWithCallback

func (client *Client) ListUsersWithCallback(request *ListUsersRequest, callback func(response *ListUsersResponse, err error)) <-chan int

ListUsersWithCallback invokes the ccc.ListUsers API asynchronously api document: https://help.aliyun.com/api/ccc/listusers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListUsersWithChan

func (client *Client) ListUsersWithChan(request *ListUsersRequest) (<-chan *ListUsersResponse, <-chan error)

ListUsersWithChan invokes the ccc.ListUsers API asynchronously api document: https://help.aliyun.com/api/ccc/listusers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyPhoneNumber

func (client *Client) ModifyPhoneNumber(request *ModifyPhoneNumberRequest) (response *ModifyPhoneNumberResponse, err error)

ModifyPhoneNumber invokes the ccc.ModifyPhoneNumber API synchronously api document: https://help.aliyun.com/api/ccc/modifyphonenumber.html

func (*Client) ModifyPhoneNumberWithCallback

func (client *Client) ModifyPhoneNumberWithCallback(request *ModifyPhoneNumberRequest, callback func(response *ModifyPhoneNumberResponse, err error)) <-chan int

ModifyPhoneNumberWithCallback invokes the ccc.ModifyPhoneNumber API asynchronously api document: https://help.aliyun.com/api/ccc/modifyphonenumber.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyPhoneNumberWithChan

func (client *Client) ModifyPhoneNumberWithChan(request *ModifyPhoneNumberRequest) (<-chan *ModifyPhoneNumberResponse, <-chan error)

ModifyPhoneNumberWithChan invokes the ccc.ModifyPhoneNumber API asynchronously api document: https://help.aliyun.com/api/ccc/modifyphonenumber.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifySkillGroup

func (client *Client) ModifySkillGroup(request *ModifySkillGroupRequest) (response *ModifySkillGroupResponse, err error)

ModifySkillGroup invokes the ccc.ModifySkillGroup API synchronously api document: https://help.aliyun.com/api/ccc/modifyskillgroup.html

func (*Client) ModifySkillGroupWithCallback

func (client *Client) ModifySkillGroupWithCallback(request *ModifySkillGroupRequest, callback func(response *ModifySkillGroupResponse, err error)) <-chan int

ModifySkillGroupWithCallback invokes the ccc.ModifySkillGroup API asynchronously api document: https://help.aliyun.com/api/ccc/modifyskillgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifySkillGroupWithChan

func (client *Client) ModifySkillGroupWithChan(request *ModifySkillGroupRequest) (<-chan *ModifySkillGroupResponse, <-chan error)

ModifySkillGroupWithChan invokes the ccc.ModifySkillGroup API asynchronously api document: https://help.aliyun.com/api/ccc/modifyskillgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyUser

func (client *Client) ModifyUser(request *ModifyUserRequest) (response *ModifyUserResponse, err error)

ModifyUser invokes the ccc.ModifyUser API synchronously api document: https://help.aliyun.com/api/ccc/modifyuser.html

func (*Client) ModifyUserWithCallback

func (client *Client) ModifyUserWithCallback(request *ModifyUserRequest, callback func(response *ModifyUserResponse, err error)) <-chan int

ModifyUserWithCallback invokes the ccc.ModifyUser API asynchronously api document: https://help.aliyun.com/api/ccc/modifyuser.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyUserWithChan

func (client *Client) ModifyUserWithChan(request *ModifyUserRequest) (<-chan *ModifyUserResponse, <-chan error)

ModifyUserWithChan invokes the ccc.ModifyUser API asynchronously api document: https://help.aliyun.com/api/ccc/modifyuser.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RefreshToken

func (client *Client) RefreshToken(request *RefreshTokenRequest) (response *RefreshTokenResponse, err error)

RefreshToken invokes the ccc.RefreshToken API synchronously api document: https://help.aliyun.com/api/ccc/refreshtoken.html

func (*Client) RefreshTokenWithCallback

func (client *Client) RefreshTokenWithCallback(request *RefreshTokenRequest, callback func(response *RefreshTokenResponse, err error)) <-chan int

RefreshTokenWithCallback invokes the ccc.RefreshToken API asynchronously api document: https://help.aliyun.com/api/ccc/refreshtoken.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RefreshTokenWithChan

func (client *Client) RefreshTokenWithChan(request *RefreshTokenRequest) (<-chan *RefreshTokenResponse, <-chan error)

RefreshTokenWithChan invokes the ccc.RefreshToken API asynchronously api document: https://help.aliyun.com/api/ccc/refreshtoken.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RemovePhoneNumber

func (client *Client) RemovePhoneNumber(request *RemovePhoneNumberRequest) (response *RemovePhoneNumberResponse, err error)

RemovePhoneNumber invokes the ccc.RemovePhoneNumber API synchronously api document: https://help.aliyun.com/api/ccc/removephonenumber.html

func (*Client) RemovePhoneNumberWithCallback

func (client *Client) RemovePhoneNumberWithCallback(request *RemovePhoneNumberRequest, callback func(response *RemovePhoneNumberResponse, err error)) <-chan int

RemovePhoneNumberWithCallback invokes the ccc.RemovePhoneNumber API asynchronously api document: https://help.aliyun.com/api/ccc/removephonenumber.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RemovePhoneNumberWithChan

func (client *Client) RemovePhoneNumberWithChan(request *RemovePhoneNumberRequest) (<-chan *RemovePhoneNumberResponse, <-chan error)

RemovePhoneNumberWithChan invokes the ccc.RemovePhoneNumber API asynchronously api document: https://help.aliyun.com/api/ccc/removephonenumber.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RemoveUsers

func (client *Client) RemoveUsers(request *RemoveUsersRequest) (response *RemoveUsersResponse, err error)

RemoveUsers invokes the ccc.RemoveUsers API synchronously api document: https://help.aliyun.com/api/ccc/removeusers.html

func (*Client) RemoveUsersWithCallback

func (client *Client) RemoveUsersWithCallback(request *RemoveUsersRequest, callback func(response *RemoveUsersResponse, err error)) <-chan int

RemoveUsersWithCallback invokes the ccc.RemoveUsers API asynchronously api document: https://help.aliyun.com/api/ccc/removeusers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RemoveUsersWithChan

func (client *Client) RemoveUsersWithChan(request *RemoveUsersRequest) (<-chan *RemoveUsersResponse, <-chan error)

RemoveUsersWithChan invokes the ccc.RemoveUsers API asynchronously api document: https://help.aliyun.com/api/ccc/removeusers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RequestLoginInfo

func (client *Client) RequestLoginInfo(request *RequestLoginInfoRequest) (response *RequestLoginInfoResponse, err error)

RequestLoginInfo invokes the ccc.RequestLoginInfo API synchronously api document: https://help.aliyun.com/api/ccc/requestlogininfo.html

func (*Client) RequestLoginInfoWithCallback

func (client *Client) RequestLoginInfoWithCallback(request *RequestLoginInfoRequest, callback func(response *RequestLoginInfoResponse, err error)) <-chan int

RequestLoginInfoWithCallback invokes the ccc.RequestLoginInfo API asynchronously api document: https://help.aliyun.com/api/ccc/requestlogininfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RequestLoginInfoWithChan

func (client *Client) RequestLoginInfoWithChan(request *RequestLoginInfoRequest) (<-chan *RequestLoginInfoResponse, <-chan error)

RequestLoginInfoWithChan invokes the ccc.RequestLoginInfo API asynchronously api document: https://help.aliyun.com/api/ccc/requestlogininfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type ConfigItem

type ConfigItem struct {
	Name  string `json:"Name" xml:"Name"`
	Value string `json:"Value" xml:"Value"`
}

ConfigItem is a nested struct in ccc response

type ContactFlow

type ContactFlow struct {
	ContactFlowDescription string                         `json:"ContactFlowDescription" xml:"ContactFlowDescription"`
	ContactFlowName        string                         `json:"ContactFlowName" xml:"ContactFlowName"`
	ContactFlowId          string                         `json:"ContactFlowId" xml:"ContactFlowId"`
	Type                   string                         `json:"Type" xml:"Type"`
	AppliedVersion         string                         `json:"AppliedVersion" xml:"AppliedVersion"`
	InstanceId             string                         `json:"InstanceId" xml:"InstanceId"`
	PhoneNumbers           PhoneNumbersInListContactFlows `json:"PhoneNumbers" xml:"PhoneNumbers"`
	Versions               Versions                       `json:"Versions" xml:"Versions"`
}

ContactFlow is a nested struct in ccc response

type ContactFlowVersion

type ContactFlowVersion struct {
	ContactFlowVersionId          string `json:"ContactFlowVersionId" xml:"ContactFlowVersionId"`
	Version                       string `json:"Version" xml:"Version"`
	ContactFlowVersionDescription string `json:"ContactFlowVersionDescription" xml:"ContactFlowVersionDescription"`
	LastModified                  string `json:"LastModified" xml:"LastModified"`
	LastModifiedBy                string `json:"LastModifiedBy" xml:"LastModifiedBy"`
	LockedBy                      string `json:"LockedBy" xml:"LockedBy"`
	Status                        string `json:"Status" xml:"Status"`
}

ContactFlowVersion is a nested struct in ccc response

type ContactFlows

type ContactFlows struct {
	ContactFlow []ContactFlow `json:"ContactFlow" xml:"ContactFlow"`
}

ContactFlows is a nested struct in ccc response

type CreateSkillGroupRequest

type CreateSkillGroupRequest struct {
	*requests.RpcRequest
	InstanceId            string    `position:"Query" name:"InstanceId"`
	Name                  string    `position:"Query" name:"Name"`
	Description           string    `position:"Query" name:"Description"`
	OutboundPhoneNumberId *[]string `position:"Query" name:"OutboundPhoneNumberId"  type:"Repeated"`
	UserId                *[]string `position:"Query" name:"UserId"  type:"Repeated"`
	SkillLevel            *[]string `position:"Query" name:"SkillLevel"  type:"Repeated"`
}

CreateSkillGroupRequest is the request struct for api CreateSkillGroup

func CreateCreateSkillGroupRequest

func CreateCreateSkillGroupRequest() (request *CreateSkillGroupRequest)

CreateCreateSkillGroupRequest creates a request to invoke CreateSkillGroup API

type CreateSkillGroupResponse

type CreateSkillGroupResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
	Code           string `json:"Code" xml:"Code"`
	Message        string `json:"Message" xml:"Message"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	SkillGroupId   string `json:"SkillGroupId" xml:"SkillGroupId"`
}

CreateSkillGroupResponse is the response struct for api CreateSkillGroup

func CreateCreateSkillGroupResponse

func CreateCreateSkillGroupResponse() (response *CreateSkillGroupResponse)

CreateCreateSkillGroupResponse creates a response to parse from CreateSkillGroup response

type CreateUserRequest

type CreateUserRequest struct {
	*requests.RpcRequest
	InstanceId   string    `position:"Query" name:"InstanceId"`
	LoginName    string    `position:"Query" name:"LoginName"`
	DisplayName  string    `position:"Query" name:"DisplayName"`
	Phone        string    `position:"Query" name:"Phone"`
	Email        string    `position:"Query" name:"Email"`
	RoleId       *[]string `position:"Query" name:"RoleId"  type:"Repeated"`
	SkillGroupId *[]string `position:"Query" name:"SkillGroupId"  type:"Repeated"`
	SkillLevel   *[]string `position:"Query" name:"SkillLevel"  type:"Repeated"`
}

CreateUserRequest is the request struct for api CreateUser

func CreateCreateUserRequest

func CreateCreateUserRequest() (request *CreateUserRequest)

CreateCreateUserRequest creates a request to invoke CreateUser API

type CreateUserResponse

type CreateUserResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
	Code           string `json:"Code" xml:"Code"`
	Message        string `json:"Message" xml:"Message"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	UserId         string `json:"UserId" xml:"UserId"`
}

CreateUserResponse is the response struct for api CreateUser

func CreateCreateUserResponse

func CreateCreateUserResponse() (response *CreateUserResponse)

CreateCreateUserResponse creates a response to parse from CreateUser response

type DeleteSkillGroupRequest

type DeleteSkillGroupRequest struct {
	*requests.RpcRequest
	InstanceId   string `position:"Query" name:"InstanceId"`
	SkillGroupId string `position:"Query" name:"SkillGroupId"`
}

DeleteSkillGroupRequest is the request struct for api DeleteSkillGroup

func CreateDeleteSkillGroupRequest

func CreateDeleteSkillGroupRequest() (request *DeleteSkillGroupRequest)

CreateDeleteSkillGroupRequest creates a request to invoke DeleteSkillGroup API

type DeleteSkillGroupResponse

type DeleteSkillGroupResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
	Code           string `json:"Code" xml:"Code"`
	Message        string `json:"Message" xml:"Message"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
}

DeleteSkillGroupResponse is the response struct for api DeleteSkillGroup

func CreateDeleteSkillGroupResponse

func CreateDeleteSkillGroupResponse() (response *DeleteSkillGroupResponse)

CreateDeleteSkillGroupResponse creates a response to parse from DeleteSkillGroup response

type Detail

type Detail struct {
	Email       string `json:"Email" xml:"Email"`
	DisplayName string `json:"DisplayName" xml:"DisplayName"`
	Department  string `json:"Department" xml:"Department"`
	Phone       string `json:"Phone" xml:"Phone"`
	LoginName   string `json:"LoginName" xml:"LoginName"`
}

Detail is a nested struct in ccc response

type DownloadRecordingRequest

type DownloadRecordingRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
	FileName   string `position:"Query" name:"FileName"`
	Channel    string `position:"Query" name:"Channel"`
}

DownloadRecordingRequest is the request struct for api DownloadRecording

func CreateDownloadRecordingRequest

func CreateDownloadRecordingRequest() (request *DownloadRecordingRequest)

CreateDownloadRecordingRequest creates a request to invoke DownloadRecording API

type DownloadRecordingResponse

type DownloadRecordingResponse struct {
	*responses.BaseResponse
	RequestId          string             `json:"RequestId" xml:"RequestId"`
	Success            bool               `json:"Success" xml:"Success"`
	Code               string             `json:"Code" xml:"Code"`
	Message            string             `json:"Message" xml:"Message"`
	HttpStatusCode     int                `json:"HttpStatusCode" xml:"HttpStatusCode"`
	MediaDownloadParam MediaDownloadParam `json:"MediaDownloadParam" xml:"MediaDownloadParam"`
}

DownloadRecordingResponse is the response struct for api DownloadRecording

func CreateDownloadRecordingResponse

func CreateDownloadRecordingResponse() (response *DownloadRecordingResponse)

CreateDownloadRecordingResponse creates a response to parse from DownloadRecording response

type GetConfigRequest

type GetConfigRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
	Name       string `position:"Query" name:"Name"`
	ObjectId   string `position:"Query" name:"ObjectId"`
	ObjectType string `position:"Query" name:"ObjectType"`
}

GetConfigRequest is the request struct for api GetConfig

func CreateGetConfigRequest

func CreateGetConfigRequest() (request *GetConfigRequest)

CreateGetConfigRequest creates a request to invoke GetConfig API

type GetConfigResponse

type GetConfigResponse struct {
	*responses.BaseResponse
	RequestId      string     `json:"RequestId" xml:"RequestId"`
	Success        bool       `json:"Success" xml:"Success"`
	Code           string     `json:"Code" xml:"Code"`
	Message        string     `json:"Message" xml:"Message"`
	HttpStatusCode int        `json:"HttpStatusCode" xml:"HttpStatusCode"`
	ConfigItem     ConfigItem `json:"ConfigItem" xml:"ConfigItem"`
}

GetConfigResponse is the response struct for api GetConfig

func CreateGetConfigResponse

func CreateGetConfigResponse() (response *GetConfigResponse)

CreateGetConfigResponse creates a response to parse from GetConfig response

type GetServiceExtensionsRequest

type GetServiceExtensionsRequest struct {
	*requests.RpcRequest
	InstanceId  string `position:"Query" name:"InstanceId"`
	ServiceType string `position:"Query" name:"ServiceType"`
}

GetServiceExtensionsRequest is the request struct for api GetServiceExtensions

func CreateGetServiceExtensionsRequest

func CreateGetServiceExtensionsRequest() (request *GetServiceExtensionsRequest)

CreateGetServiceExtensionsRequest creates a request to invoke GetServiceExtensions API

type GetServiceExtensionsResponse

type GetServiceExtensionsResponse struct {
	*responses.BaseResponse
	RequestId         string            `json:"RequestId" xml:"RequestId"`
	Success           bool              `json:"Success" xml:"Success"`
	Code              string            `json:"Code" xml:"Code"`
	Message           string            `json:"Message" xml:"Message"`
	HttpStatusCode    int               `json:"HttpStatusCode" xml:"HttpStatusCode"`
	ServiceExtensions ServiceExtensions `json:"ServiceExtensions" xml:"ServiceExtensions"`
}

GetServiceExtensionsResponse is the response struct for api GetServiceExtensions

func CreateGetServiceExtensionsResponse

func CreateGetServiceExtensionsResponse() (response *GetServiceExtensionsResponse)

CreateGetServiceExtensionsResponse creates a response to parse from GetServiceExtensions response

type GetUserRequest

type GetUserRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
	UserId     string `position:"Query" name:"UserId"`
}

GetUserRequest is the request struct for api GetUser

func CreateGetUserRequest

func CreateGetUserRequest() (request *GetUserRequest)

CreateGetUserRequest creates a request to invoke GetUser API

type GetUserResponse

type GetUserResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
	Code           string `json:"Code" xml:"Code"`
	Message        string `json:"Message" xml:"Message"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	User           User   `json:"User" xml:"User"`
}

GetUserResponse is the response struct for api GetUser

func CreateGetUserResponse

func CreateGetUserResponse() (response *GetUserResponse)

CreateGetUserResponse creates a response to parse from GetUser response

type ListCallDetailRecordsRequest

type ListCallDetailRecordsRequest struct {
	*requests.RpcRequest
	InstanceId         string           `position:"Query" name:"InstanceId"`
	PhoneNumber        string           `position:"Query" name:"PhoneNumber"`
	StartTime          requests.Integer `position:"Query" name:"StartTime"`
	StopTime           requests.Integer `position:"Query" name:"StopTime"`
	Criteria           string           `position:"Query" name:"Criteria"`
	ContactType        string           `position:"Query" name:"ContactType"`
	ContactDisposition string           `position:"Query" name:"ContactDisposition"`
	WithRecording      requests.Boolean `position:"Query" name:"WithRecording"`
	PageNumber         requests.Integer `position:"Query" name:"PageNumber"`
	PageSize           requests.Integer `position:"Query" name:"PageSize"`
}

ListCallDetailRecordsRequest is the request struct for api ListCallDetailRecords

func CreateListCallDetailRecordsRequest

func CreateListCallDetailRecordsRequest() (request *ListCallDetailRecordsRequest)

CreateListCallDetailRecordsRequest creates a request to invoke ListCallDetailRecords API

type ListCallDetailRecordsResponse

type ListCallDetailRecordsResponse struct {
	*responses.BaseResponse
	RequestId         string            `json:"RequestId" xml:"RequestId"`
	Success           bool              `json:"Success" xml:"Success"`
	Code              string            `json:"Code" xml:"Code"`
	Message           string            `json:"Message" xml:"Message"`
	HttpStatusCode    int               `json:"HttpStatusCode" xml:"HttpStatusCode"`
	CallDetailRecords CallDetailRecords `json:"CallDetailRecords" xml:"CallDetailRecords"`
}

ListCallDetailRecordsResponse is the response struct for api ListCallDetailRecords

func CreateListCallDetailRecordsResponse

func CreateListCallDetailRecordsResponse() (response *ListCallDetailRecordsResponse)

CreateListCallDetailRecordsResponse creates a response to parse from ListCallDetailRecords response

type ListContactFlowsRequest

type ListContactFlowsRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
}

ListContactFlowsRequest is the request struct for api ListContactFlows

func CreateListContactFlowsRequest

func CreateListContactFlowsRequest() (request *ListContactFlowsRequest)

CreateListContactFlowsRequest creates a request to invoke ListContactFlows API

type ListContactFlowsResponse

type ListContactFlowsResponse struct {
	*responses.BaseResponse
	RequestId      string       `json:"RequestId" xml:"RequestId"`
	Success        bool         `json:"Success" xml:"Success"`
	Code           string       `json:"Code" xml:"Code"`
	Message        string       `json:"Message" xml:"Message"`
	HttpStatusCode int          `json:"HttpStatusCode" xml:"HttpStatusCode"`
	ContactFlows   ContactFlows `json:"ContactFlows" xml:"ContactFlows"`
}

ListContactFlowsResponse is the response struct for api ListContactFlows

func CreateListContactFlowsResponse

func CreateListContactFlowsResponse() (response *ListContactFlowsResponse)

CreateListContactFlowsResponse creates a response to parse from ListContactFlows response

type ListInListCallDetailRecords

type ListInListCallDetailRecords struct {
	CallDetailRecord []CallDetailRecord `json:"CallDetailRecord" xml:"CallDetailRecord"`
}

ListInListCallDetailRecords is a nested struct in ccc response

type ListInListRecordings

type ListInListRecordings struct {
	Recording []Recording `json:"Recording" xml:"Recording"`
}

ListInListRecordings is a nested struct in ccc response

type ListInListUsers

type ListInListUsers struct {
	User []User `json:"User" xml:"User"`
}

ListInListUsers is a nested struct in ccc response

type ListInListUsersOfSkillGroup

type ListInListUsersOfSkillGroup struct {
	User []User `json:"User" xml:"User"`
}

ListInListUsersOfSkillGroup is a nested struct in ccc response

type ListPhoneNumbersRequest

type ListPhoneNumbersRequest struct {
	*requests.RpcRequest
	InstanceId   string           `position:"Query" name:"InstanceId"`
	OutboundOnly requests.Boolean `position:"Query" name:"OutboundOnly"`
}

ListPhoneNumbersRequest is the request struct for api ListPhoneNumbers

func CreateListPhoneNumbersRequest

func CreateListPhoneNumbersRequest() (request *ListPhoneNumbersRequest)

CreateListPhoneNumbersRequest creates a request to invoke ListPhoneNumbers API

type ListPhoneNumbersResponse

type ListPhoneNumbersResponse struct {
	*responses.BaseResponse
	RequestId      string                         `json:"RequestId" xml:"RequestId"`
	Success        bool                           `json:"Success" xml:"Success"`
	Code           string                         `json:"Code" xml:"Code"`
	Message        string                         `json:"Message" xml:"Message"`
	HttpStatusCode int                            `json:"HttpStatusCode" xml:"HttpStatusCode"`
	PhoneNumbers   PhoneNumbersInListPhoneNumbers `json:"PhoneNumbers" xml:"PhoneNumbers"`
}

ListPhoneNumbersResponse is the response struct for api ListPhoneNumbers

func CreateListPhoneNumbersResponse

func CreateListPhoneNumbersResponse() (response *ListPhoneNumbersResponse)

CreateListPhoneNumbersResponse creates a response to parse from ListPhoneNumbers response

type ListRecordingsByContactIdRequest

type ListRecordingsByContactIdRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
	ContactId  string `position:"Query" name:"ContactId"`
}

ListRecordingsByContactIdRequest is the request struct for api ListRecordingsByContactId

func CreateListRecordingsByContactIdRequest

func CreateListRecordingsByContactIdRequest() (request *ListRecordingsByContactIdRequest)

CreateListRecordingsByContactIdRequest creates a request to invoke ListRecordingsByContactId API

type ListRecordingsByContactIdResponse

type ListRecordingsByContactIdResponse struct {
	*responses.BaseResponse
	RequestId      string                                `json:"RequestId" xml:"RequestId"`
	Success        bool                                  `json:"Success" xml:"Success"`
	Code           string                                `json:"Code" xml:"Code"`
	Message        string                                `json:"Message" xml:"Message"`
	HttpStatusCode int                                   `json:"HttpStatusCode" xml:"HttpStatusCode"`
	Recordings     RecordingsInListRecordingsByContactId `json:"Recordings" xml:"Recordings"`
}

ListRecordingsByContactIdResponse is the response struct for api ListRecordingsByContactId

func CreateListRecordingsByContactIdResponse

func CreateListRecordingsByContactIdResponse() (response *ListRecordingsByContactIdResponse)

CreateListRecordingsByContactIdResponse creates a response to parse from ListRecordingsByContactId response

type ListRecordingsRequest

type ListRecordingsRequest struct {
	*requests.RpcRequest
	InstanceId  string           `position:"Query" name:"InstanceId"`
	StartTime   requests.Integer `position:"Query" name:"StartTime"`
	StopTime    requests.Integer `position:"Query" name:"StopTime"`
	PhoneNumber string           `position:"Query" name:"PhoneNumber"`
	AgentId     string           `position:"Query" name:"AgentId"`
	Criteria    string           `position:"Query" name:"Criteria"`
	PageNumber  requests.Integer `position:"Query" name:"PageNumber"`
	PageSize    requests.Integer `position:"Query" name:"PageSize"`
}

ListRecordingsRequest is the request struct for api ListRecordings

func CreateListRecordingsRequest

func CreateListRecordingsRequest() (request *ListRecordingsRequest)

CreateListRecordingsRequest creates a request to invoke ListRecordings API

type ListRecordingsResponse

type ListRecordingsResponse struct {
	*responses.BaseResponse
	RequestId      string     `json:"RequestId" xml:"RequestId"`
	Success        bool       `json:"Success" xml:"Success"`
	Code           string     `json:"Code" xml:"Code"`
	Message        string     `json:"Message" xml:"Message"`
	HttpStatusCode int        `json:"HttpStatusCode" xml:"HttpStatusCode"`
	Recordings     Recordings `json:"Recordings" xml:"Recordings"`
}

ListRecordingsResponse is the response struct for api ListRecordings

func CreateListRecordingsResponse

func CreateListRecordingsResponse() (response *ListRecordingsResponse)

CreateListRecordingsResponse creates a response to parse from ListRecordings response

type ListRolesRequest

type ListRolesRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
}

ListRolesRequest is the request struct for api ListRoles

func CreateListRolesRequest

func CreateListRolesRequest() (request *ListRolesRequest)

CreateListRolesRequest creates a request to invoke ListRoles API

type ListRolesResponse

type ListRolesResponse struct {
	*responses.BaseResponse
	RequestId      string           `json:"RequestId" xml:"RequestId"`
	Success        bool             `json:"Success" xml:"Success"`
	Code           string           `json:"Code" xml:"Code"`
	Message        string           `json:"Message" xml:"Message"`
	HttpStatusCode int              `json:"HttpStatusCode" xml:"HttpStatusCode"`
	Roles          RolesInListRoles `json:"Roles" xml:"Roles"`
}

ListRolesResponse is the response struct for api ListRoles

func CreateListRolesResponse

func CreateListRolesResponse() (response *ListRolesResponse)

CreateListRolesResponse creates a response to parse from ListRoles response

type ListSkillGroupsOfUserRequest

type ListSkillGroupsOfUserRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
	UserId     string `position:"Query" name:"UserId"`
}

ListSkillGroupsOfUserRequest is the request struct for api ListSkillGroupsOfUser

func CreateListSkillGroupsOfUserRequest

func CreateListSkillGroupsOfUserRequest() (request *ListSkillGroupsOfUserRequest)

CreateListSkillGroupsOfUserRequest creates a request to invoke ListSkillGroupsOfUser API

type ListSkillGroupsOfUserResponse

type ListSkillGroupsOfUserResponse struct {
	*responses.BaseResponse
	RequestId      string                             `json:"RequestId" xml:"RequestId"`
	Success        bool                               `json:"Success" xml:"Success"`
	Code           string                             `json:"Code" xml:"Code"`
	Message        string                             `json:"Message" xml:"Message"`
	HttpStatusCode int                                `json:"HttpStatusCode" xml:"HttpStatusCode"`
	SkillLevels    SkillLevelsInListSkillGroupsOfUser `json:"SkillLevels" xml:"SkillLevels"`
}

ListSkillGroupsOfUserResponse is the response struct for api ListSkillGroupsOfUser

func CreateListSkillGroupsOfUserResponse

func CreateListSkillGroupsOfUserResponse() (response *ListSkillGroupsOfUserResponse)

CreateListSkillGroupsOfUserResponse creates a response to parse from ListSkillGroupsOfUser response

type ListSkillGroupsRequest

type ListSkillGroupsRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
}

ListSkillGroupsRequest is the request struct for api ListSkillGroups

func CreateListSkillGroupsRequest

func CreateListSkillGroupsRequest() (request *ListSkillGroupsRequest)

CreateListSkillGroupsRequest creates a request to invoke ListSkillGroups API

type ListSkillGroupsResponse

type ListSkillGroupsResponse struct {
	*responses.BaseResponse
	RequestId      string      `json:"RequestId" xml:"RequestId"`
	Success        bool        `json:"Success" xml:"Success"`
	Code           string      `json:"Code" xml:"Code"`
	Message        string      `json:"Message" xml:"Message"`
	HttpStatusCode int         `json:"HttpStatusCode" xml:"HttpStatusCode"`
	SkillGroups    SkillGroups `json:"SkillGroups" xml:"SkillGroups"`
}

ListSkillGroupsResponse is the response struct for api ListSkillGroups

func CreateListSkillGroupsResponse

func CreateListSkillGroupsResponse() (response *ListSkillGroupsResponse)

CreateListSkillGroupsResponse creates a response to parse from ListSkillGroups response

type ListUsersOfSkillGroupRequest

type ListUsersOfSkillGroupRequest struct {
	*requests.RpcRequest
	InstanceId   string           `position:"Query" name:"InstanceId"`
	SkillGroupId string           `position:"Query" name:"SkillGroupId"`
	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
	PageSize     requests.Integer `position:"Query" name:"PageSize"`
}

ListUsersOfSkillGroupRequest is the request struct for api ListUsersOfSkillGroup

func CreateListUsersOfSkillGroupRequest

func CreateListUsersOfSkillGroupRequest() (request *ListUsersOfSkillGroupRequest)

CreateListUsersOfSkillGroupRequest creates a request to invoke ListUsersOfSkillGroup API

type ListUsersOfSkillGroupResponse

type ListUsersOfSkillGroupResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
	Code           string `json:"Code" xml:"Code"`
	Message        string `json:"Message" xml:"Message"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	Users          Users  `json:"Users" xml:"Users"`
}

ListUsersOfSkillGroupResponse is the response struct for api ListUsersOfSkillGroup

func CreateListUsersOfSkillGroupResponse

func CreateListUsersOfSkillGroupResponse() (response *ListUsersOfSkillGroupResponse)

CreateListUsersOfSkillGroupResponse creates a response to parse from ListUsersOfSkillGroup response

type ListUsersRequest

type ListUsersRequest struct {
	*requests.RpcRequest
	InstanceId string           `position:"Query" name:"InstanceId"`
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
}

ListUsersRequest is the request struct for api ListUsers

func CreateListUsersRequest

func CreateListUsersRequest() (request *ListUsersRequest)

CreateListUsersRequest creates a request to invoke ListUsers API

type ListUsersResponse

type ListUsersResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
	Code           string `json:"Code" xml:"Code"`
	Message        string `json:"Message" xml:"Message"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	Users          Users  `json:"Users" xml:"Users"`
}

ListUsersResponse is the response struct for api ListUsers

func CreateListUsersResponse

func CreateListUsersResponse() (response *ListUsersResponse)

CreateListUsersResponse creates a response to parse from ListUsers response

type LoginInfo

type LoginInfo struct {
	UserName       string `json:"UserName" xml:"UserName"`
	DisplayName    string `json:"DisplayName" xml:"DisplayName"`
	PhoneNumber    string `json:"PhoneNumber" xml:"PhoneNumber"`
	Region         string `json:"Region" xml:"Region"`
	WebRtcUrl      string `json:"WebRtcUrl" xml:"WebRtcUrl"`
	AgentServerUrl string `json:"AgentServerUrl" xml:"AgentServerUrl"`
	Extension      string `json:"Extension" xml:"Extension"`
	TenantId       string `json:"TenantId" xml:"TenantId"`
	Signature      string `json:"Signature" xml:"Signature"`
	SignData       string `json:"SignData" xml:"SignData"`
}

LoginInfo is a nested struct in ccc response

type MediaDownloadParam

type MediaDownloadParam struct {
	SignatureUrl string `json:"SignatureUrl" xml:"SignatureUrl"`
	FileName     string `json:"FileName" xml:"FileName"`
}

MediaDownloadParam is a nested struct in ccc response

type ModifyPhoneNumberRequest

type ModifyPhoneNumberRequest struct {
	*requests.RpcRequest
	InstanceId    string `position:"Query" name:"InstanceId"`
	PhoneNumberId string `position:"Query" name:"PhoneNumberId"`
	Usage         string `position:"Query" name:"Usage"`
	ContactFlowId string `position:"Query" name:"ContactFlowId"`
}

ModifyPhoneNumberRequest is the request struct for api ModifyPhoneNumber

func CreateModifyPhoneNumberRequest

func CreateModifyPhoneNumberRequest() (request *ModifyPhoneNumberRequest)

CreateModifyPhoneNumberRequest creates a request to invoke ModifyPhoneNumber API

type ModifyPhoneNumberResponse

type ModifyPhoneNumberResponse struct {
	*responses.BaseResponse
	RequestId      string      `json:"RequestId" xml:"RequestId"`
	Success        bool        `json:"Success" xml:"Success"`
	Code           string      `json:"Code" xml:"Code"`
	Message        string      `json:"Message" xml:"Message"`
	HttpStatusCode int         `json:"HttpStatusCode" xml:"HttpStatusCode"`
	PhoneNumber    PhoneNumber `json:"PhoneNumber" xml:"PhoneNumber"`
}

ModifyPhoneNumberResponse is the response struct for api ModifyPhoneNumber

func CreateModifyPhoneNumberResponse

func CreateModifyPhoneNumberResponse() (response *ModifyPhoneNumberResponse)

CreateModifyPhoneNumberResponse creates a response to parse from ModifyPhoneNumber response

type ModifySkillGroupRequest

type ModifySkillGroupRequest struct {
	*requests.RpcRequest
	InstanceId            string    `position:"Query" name:"InstanceId"`
	SkillGroupId          string    `position:"Query" name:"SkillGroupId"`
	Name                  string    `position:"Query" name:"Name"`
	Description           string    `position:"Query" name:"Description"`
	OutboundPhoneNumberId *[]string `position:"Query" name:"OutboundPhoneNumberId"  type:"Repeated"`
	UserId                *[]string `position:"Query" name:"UserId"  type:"Repeated"`
	SkillLevel            *[]string `position:"Query" name:"SkillLevel"  type:"Repeated"`
}

ModifySkillGroupRequest is the request struct for api ModifySkillGroup

func CreateModifySkillGroupRequest

func CreateModifySkillGroupRequest() (request *ModifySkillGroupRequest)

CreateModifySkillGroupRequest creates a request to invoke ModifySkillGroup API

type ModifySkillGroupResponse

type ModifySkillGroupResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
	Code           string `json:"Code" xml:"Code"`
	Message        string `json:"Message" xml:"Message"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
}

ModifySkillGroupResponse is the response struct for api ModifySkillGroup

func CreateModifySkillGroupResponse

func CreateModifySkillGroupResponse() (response *ModifySkillGroupResponse)

CreateModifySkillGroupResponse creates a response to parse from ModifySkillGroup response

type ModifyUserRequest

type ModifyUserRequest struct {
	*requests.RpcRequest
	InstanceId   string    `position:"Query" name:"InstanceId"`
	UserId       string    `position:"Query" name:"UserId"`
	DisplayName  string    `position:"Query" name:"DisplayName"`
	Phone        string    `position:"Query" name:"Phone"`
	Email        string    `position:"Query" name:"Email"`
	RoleId       *[]string `position:"Query" name:"RoleId"  type:"Repeated"`
	SkillGroupId *[]string `position:"Query" name:"SkillGroupId"  type:"Repeated"`
	SkillLevel   *[]string `position:"Query" name:"SkillLevel"  type:"Repeated"`
}

ModifyUserRequest is the request struct for api ModifyUser

func CreateModifyUserRequest

func CreateModifyUserRequest() (request *ModifyUserRequest)

CreateModifyUserRequest creates a request to invoke ModifyUser API

type ModifyUserResponse

type ModifyUserResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
	Code           string `json:"Code" xml:"Code"`
	Message        string `json:"Message" xml:"Message"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
}

ModifyUserResponse is the response struct for api ModifyUser

func CreateModifyUserResponse

func CreateModifyUserResponse() (response *ModifyUserResponse)

CreateModifyUserResponse creates a response to parse from ModifyUser response

type OutboundPhoneNumbersInListSkillGroups

type OutboundPhoneNumbersInListSkillGroups struct {
	PhoneNumber []PhoneNumber `json:"PhoneNumber" xml:"PhoneNumber"`
}

OutboundPhoneNumbersInListSkillGroups is a nested struct in ccc response

type OutboundPhoneNumbersInListSkillGroupsOfUser

type OutboundPhoneNumbersInListSkillGroupsOfUser struct {
	PhoneNumber []PhoneNumber `json:"PhoneNumber" xml:"PhoneNumber"`
}

OutboundPhoneNumbersInListSkillGroupsOfUser is a nested struct in ccc response

type PhoneNumber

type PhoneNumber struct {
	PhoneNumberId          string      `json:"PhoneNumberId" xml:"PhoneNumberId"`
	RemainingTime          int         `json:"RemainingTime" xml:"RemainingTime"`
	Trunks                 int         `json:"Trunks" xml:"Trunks"`
	AllowOutbound          bool        `json:"AllowOutbound" xml:"AllowOutbound"`
	TestOnly               bool        `json:"TestOnly" xml:"TestOnly"`
	PhoneNumberDescription string      `json:"PhoneNumberDescription" xml:"PhoneNumberDescription"`
	Usage                  string      `json:"Usage" xml:"Usage"`
	InstanceId             string      `json:"InstanceId" xml:"InstanceId"`
	Number                 string      `json:"Number" xml:"Number"`
	ContactFlow            ContactFlow `json:"ContactFlow" xml:"ContactFlow"`
}

PhoneNumber is a nested struct in ccc response

type PhoneNumbersInListContactFlows

type PhoneNumbersInListContactFlows struct {
	PhoneNumber []PhoneNumber `json:"PhoneNumber" xml:"PhoneNumber"`
}

PhoneNumbersInListContactFlows is a nested struct in ccc response

type PhoneNumbersInListPhoneNumbers

type PhoneNumbersInListPhoneNumbers struct {
	PhoneNumber []PhoneNumber `json:"PhoneNumber" xml:"PhoneNumber"`
}

PhoneNumbersInListPhoneNumbers is a nested struct in ccc response

type Privilege

type Privilege struct {
	PrivilegeId          string `json:"PrivilegeId" xml:"PrivilegeId"`
	PrivilegeName        string `json:"PrivilegeName" xml:"PrivilegeName"`
	PrivilegeDescription string `json:"PrivilegeDescription" xml:"PrivilegeDescription"`
}

Privilege is a nested struct in ccc response

type Privileges

type Privileges struct {
	Privilege []Privilege `json:"Privilege" xml:"Privilege"`
}

Privileges is a nested struct in ccc response

type Recording

type Recording struct {
	AgentId         string `json:"AgentId" xml:"AgentId"`
	Duration        int    `json:"Duration" xml:"Duration"`
	CallingNumber   string `json:"CallingNumber" xml:"CallingNumber"`
	ContactType     string `json:"ContactType" xml:"ContactType"`
	FilePath        string `json:"FilePath" xml:"FilePath"`
	FileDescription string `json:"FileDescription" xml:"FileDescription"`
	Channel         string `json:"Channel" xml:"Channel"`
	StartTime       int    `json:"StartTime" xml:"StartTime"`
	CalledNumber    string `json:"CalledNumber" xml:"CalledNumber"`
	ContactId       string `json:"ContactId" xml:"ContactId"`
	FileName        string `json:"FileName" xml:"FileName"`
	InstanceId      string `json:"InstanceId" xml:"InstanceId"`
	AgentName       string `json:"AgentName" xml:"AgentName"`
}

Recording is a nested struct in ccc response

type Recordings

type Recordings struct {
	PageNumber int                  `json:"PageNumber" xml:"PageNumber"`
	PageSize   int                  `json:"PageSize" xml:"PageSize"`
	TotalCount int                  `json:"TotalCount" xml:"TotalCount"`
	List       ListInListRecordings `json:"List" xml:"List"`
}

Recordings is a nested struct in ccc response

type RecordingsInListCallDetailRecords

type RecordingsInListCallDetailRecords struct {
	Recording []Recording `json:"Recording" xml:"Recording"`
}

RecordingsInListCallDetailRecords is a nested struct in ccc response

type RecordingsInListRecordingsByContactId

type RecordingsInListRecordingsByContactId struct {
	Recording []Recording `json:"Recording" xml:"Recording"`
}

RecordingsInListRecordingsByContactId is a nested struct in ccc response

type RefreshTokenRequest

type RefreshTokenRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
}

RefreshTokenRequest is the request struct for api RefreshToken

func CreateRefreshTokenRequest

func CreateRefreshTokenRequest() (request *RefreshTokenRequest)

CreateRefreshTokenRequest creates a request to invoke RefreshToken API

type RefreshTokenResponse

type RefreshTokenResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
	Code           string `json:"Code" xml:"Code"`
	Message        string `json:"Message" xml:"Message"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	Token          Token  `json:"Token" xml:"Token"`
}

RefreshTokenResponse is the response struct for api RefreshToken

func CreateRefreshTokenResponse

func CreateRefreshTokenResponse() (response *RefreshTokenResponse)

CreateRefreshTokenResponse creates a response to parse from RefreshToken response

type RemovePhoneNumberRequest

type RemovePhoneNumberRequest struct {
	*requests.RpcRequest
	InstanceId    string `position:"Query" name:"InstanceId"`
	PhoneNumberId string `position:"Query" name:"PhoneNumberId"`
}

RemovePhoneNumberRequest is the request struct for api RemovePhoneNumber

func CreateRemovePhoneNumberRequest

func CreateRemovePhoneNumberRequest() (request *RemovePhoneNumberRequest)

CreateRemovePhoneNumberRequest creates a request to invoke RemovePhoneNumber API

type RemovePhoneNumberResponse

type RemovePhoneNumberResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
	Code           string `json:"Code" xml:"Code"`
	Message        string `json:"Message" xml:"Message"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
}

RemovePhoneNumberResponse is the response struct for api RemovePhoneNumber

func CreateRemovePhoneNumberResponse

func CreateRemovePhoneNumberResponse() (response *RemovePhoneNumberResponse)

CreateRemovePhoneNumberResponse creates a response to parse from RemovePhoneNumber response

type RemoveUsersRequest

type RemoveUsersRequest struct {
	*requests.RpcRequest
	InstanceId string    `position:"Query" name:"InstanceId"`
	UserId     *[]string `position:"Query" name:"UserId"  type:"Repeated"`
}

RemoveUsersRequest is the request struct for api RemoveUsers

func CreateRemoveUsersRequest

func CreateRemoveUsersRequest() (request *RemoveUsersRequest)

CreateRemoveUsersRequest creates a request to invoke RemoveUsers API

type RemoveUsersResponse

type RemoveUsersResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
	Code           string `json:"Code" xml:"Code"`
	Message        string `json:"Message" xml:"Message"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
}

RemoveUsersResponse is the response struct for api RemoveUsers

func CreateRemoveUsersResponse

func CreateRemoveUsersResponse() (response *RemoveUsersResponse)

CreateRemoveUsersResponse creates a response to parse from RemoveUsers response

type RequestLoginInfoRequest

type RequestLoginInfoRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
}

RequestLoginInfoRequest is the request struct for api RequestLoginInfo

func CreateRequestLoginInfoRequest

func CreateRequestLoginInfoRequest() (request *RequestLoginInfoRequest)

CreateRequestLoginInfoRequest creates a request to invoke RequestLoginInfo API

type RequestLoginInfoResponse

type RequestLoginInfoResponse struct {
	*responses.BaseResponse
	RequestId      string    `json:"RequestId" xml:"RequestId"`
	Success        bool      `json:"Success" xml:"Success"`
	Code           string    `json:"Code" xml:"Code"`
	Message        string    `json:"Message" xml:"Message"`
	HttpStatusCode int       `json:"HttpStatusCode" xml:"HttpStatusCode"`
	LoginInfo      LoginInfo `json:"LoginInfo" xml:"LoginInfo"`
}

RequestLoginInfoResponse is the response struct for api RequestLoginInfo

func CreateRequestLoginInfoResponse

func CreateRequestLoginInfoResponse() (response *RequestLoginInfoResponse)

CreateRequestLoginInfoResponse creates a response to parse from RequestLoginInfo response

type Role

type Role struct {
	RoleId          string     `json:"RoleId" xml:"RoleId"`
	RoleDescription string     `json:"RoleDescription" xml:"RoleDescription"`
	RoleName        string     `json:"RoleName" xml:"RoleName"`
	UserCount       int        `json:"UserCount" xml:"UserCount"`
	InstanceId      string     `json:"InstanceId" xml:"InstanceId"`
	Privileges      Privileges `json:"Privileges" xml:"Privileges"`
}

Role is a nested struct in ccc response

type RolesInGetUser

type RolesInGetUser struct {
	Role []Role `json:"Role" xml:"Role"`
}

RolesInGetUser is a nested struct in ccc response

type RolesInListRoles

type RolesInListRoles struct {
	Role []Role `json:"Role" xml:"Role"`
}

RolesInListRoles is a nested struct in ccc response

type RolesInListUsers

type RolesInListUsers struct {
	Role []Role `json:"Role" xml:"Role"`
}

RolesInListUsers is a nested struct in ccc response

type RolesInListUsersOfSkillGroup

type RolesInListUsersOfSkillGroup struct {
	Role []Role `json:"Role" xml:"Role"`
}

RolesInListUsersOfSkillGroup is a nested struct in ccc response

type ServiceExtension

type ServiceExtension struct {
	Name   string `json:"Name" xml:"Name"`
	Number string `json:"Number" xml:"Number"`
}

ServiceExtension is a nested struct in ccc response

type ServiceExtensions

type ServiceExtensions struct {
	ServiceExtension []ServiceExtension `json:"ServiceExtension" xml:"ServiceExtension"`
}

ServiceExtensions is a nested struct in ccc response

type Skill

type Skill struct {
	SkillGroupName        string                                      `json:"SkillGroupName" xml:"SkillGroupName"`
	InstanceId            string                                      `json:"InstanceId" xml:"InstanceId"`
	SkillGroupDescription string                                      `json:"SkillGroupDescription" xml:"SkillGroupDescription"`
	SkillGroupId          string                                      `json:"SkillGroupId" xml:"SkillGroupId"`
	OutboundPhoneNumbers  OutboundPhoneNumbersInListSkillGroupsOfUser `json:"OutboundPhoneNumbers" xml:"OutboundPhoneNumbers"`
}

Skill is a nested struct in ccc response

type SkillGroup

type SkillGroup struct {
	SkillGroupId          string                                `json:"SkillGroupId" xml:"SkillGroupId"`
	InstanceId            string                                `json:"InstanceId" xml:"InstanceId"`
	SkillGroupName        string                                `json:"SkillGroupName" xml:"SkillGroupName"`
	AccSkillGroupName     string                                `json:"AccSkillGroupName" xml:"AccSkillGroupName"`
	AccQueueName          string                                `json:"AccQueueName" xml:"AccQueueName"`
	SkillGroupDescription string                                `json:"SkillGroupDescription" xml:"SkillGroupDescription"`
	UserCount             int                                   `json:"UserCount" xml:"UserCount"`
	OutboundPhoneNumbers  OutboundPhoneNumbersInListSkillGroups `json:"OutboundPhoneNumbers" xml:"OutboundPhoneNumbers"`
}

SkillGroup is a nested struct in ccc response

type SkillGroups

type SkillGroups struct {
	SkillGroup []SkillGroup `json:"SkillGroup" xml:"SkillGroup"`
}

SkillGroups is a nested struct in ccc response

type SkillLevel

type SkillLevel struct {
	SkillLevelId string `json:"SkillLevelId" xml:"SkillLevelId"`
	Level        int    `json:"Level" xml:"Level"`
	Skill        Skill  `json:"Skill" xml:"Skill"`
}

SkillLevel is a nested struct in ccc response

type SkillLevelsInGetUser

type SkillLevelsInGetUser struct {
	SkillLevel []SkillLevel `json:"SkillLevel" xml:"SkillLevel"`
}

SkillLevelsInGetUser is a nested struct in ccc response

type SkillLevelsInListSkillGroupsOfUser

type SkillLevelsInListSkillGroupsOfUser struct {
	SkillLevel []SkillLevel `json:"SkillLevel" xml:"SkillLevel"`
}

SkillLevelsInListSkillGroupsOfUser is a nested struct in ccc response

type SkillLevelsInListUsers

type SkillLevelsInListUsers struct {
	SkillLevel []SkillLevel `json:"SkillLevel" xml:"SkillLevel"`
}

SkillLevelsInListUsers is a nested struct in ccc response

type SkillLevelsInListUsersOfSkillGroup

type SkillLevelsInListUsersOfSkillGroup struct {
	SkillLevel []SkillLevel `json:"SkillLevel" xml:"SkillLevel"`
}

SkillLevelsInListUsersOfSkillGroup is a nested struct in ccc response

type Token

type Token struct {
	Signature string `json:"Signature" xml:"Signature"`
	SignData  string `json:"SignData" xml:"SignData"`
}

Token is a nested struct in ccc response

type User

type User struct {
	UserId      string                       `json:"UserId" xml:"UserId"`
	RamId       string                       `json:"RamId" xml:"RamId"`
	Primary     bool                         `json:"Primary" xml:"Primary"`
	InstanceId  string                       `json:"InstanceId" xml:"InstanceId"`
	Detail      Detail                       `json:"Detail" xml:"Detail"`
	SkillLevels SkillLevelsInGetUser         `json:"SkillLevels" xml:"SkillLevels"`
	Roles       RolesInListUsersOfSkillGroup `json:"Roles" xml:"Roles"`
}

User is a nested struct in ccc response

type Users

type Users struct {
	PageNumber int                         `json:"PageNumber" xml:"PageNumber"`
	PageSize   int                         `json:"PageSize" xml:"PageSize"`
	TotalCount int                         `json:"TotalCount" xml:"TotalCount"`
	List       ListInListUsersOfSkillGroup `json:"List" xml:"List"`
}

Users is a nested struct in ccc response

type Versions

type Versions struct {
	ContactFlowVersion []ContactFlowVersion `json:"ContactFlowVersion" xml:"ContactFlowVersion"`
}

Versions is a nested struct in ccc response

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL