client

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendCallGroupRequest

type BackendCallGroupRequest struct {
	// The called numbers. You can specify up to 50,000 phone numbers.
	CalledNumber []*string `json:"CalledNumber,omitempty" xml:"CalledNumber,omitempty" type:"Repeated"`
	// The calling number.
	//
	// If you do not specify this parameter, the system uses a local random number as the display number. If you use a dedicated number for outbound calls, you must specify the purchased number. You can specify only one number. You can log on to the VMS console and choose Number Management to view the purchased phone numbers.
	//
	// example:
	//
	// 852****1111
	CallerIdNumber *string `json:"CallerIdNumber,omitempty" xml:"CallerIdNumber,omitempty"`
	// The ISO2 country code.
	//
	// example:
	//
	// HK
	CountryId *string `json:"CountryId,omitempty" xml:"CountryId,omitempty"`
	// The ID reserved for the caller. This ID is returned to the caller in a receipt message.
	//
	// The value must be of the STRING type and 1 to 15 bytes in length.
	//
	// example:
	//
	// 22596****
	OutId   *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of times the audio file is played. Valid values: 1 to 3.
	//
	// example:
	//
	// 1
	PlayTimes            *int64  `json:"PlayTimes,omitempty" xml:"PlayTimes,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The delivery type. Valid values: 1 and 2.
	//
	// 1: The audio file is delivered immediately.
	//
	// 2: The audio file is delivered at a scheduled time. If you specify SendType as 2, you must specify TimingStart.
	//
	// example:
	//
	// 2
	SendType *int64 `json:"SendType,omitempty" xml:"SendType,omitempty"`
	// The playback speed. Valid values: -500 to 500.
	//
	// You must specify this parameter when the audio type is text-to-speech (TTS). You do not need to specify this parameter when you use recordings.
	//
	// example:
	//
	// 0
	Speed *int64 `json:"Speed,omitempty" xml:"Speed,omitempty"`
	// The task name.
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
	// The time when the audio file is scheduled to be delivered.
	//
	// example:
	//
	// 2022-05-01T08:00:00+08:00
	TimingStart *string `json:"TimingStart,omitempty" xml:"TimingStart,omitempty"`
	// The voice template ID of the audio file.
	//
	// You can log on to the VMS console and choose Voice Call Template > Audio File to view the template ID.
	//
	// You must specify either TtsCode or VoiceCode. You can specify TtsCode to use the audio file as the call content. Alternatively, you can specify VoiceCode to use preset text as the call content.
	//
	// example:
	//
	// 100001
	TtsCode *string `json:"TtsCode,omitempty" xml:"TtsCode,omitempty"`
	// The TTS template ID.
	//
	// You can log on to the VMS console and choose Voice Call Template > TTS Template to view the template ID.
	//
	// You must specify either TtsCode or VoiceCode. You can specify TtsCode to use the audio file as the call content. Alternatively, you can specify VoiceCode to use preset text as the call content.
	//
	// example:
	//
	// 200001
	VoiceCode *string `json:"VoiceCode,omitempty" xml:"VoiceCode,omitempty"`
	// The playback volume of the audio file. Valid values: 0 to 100. Default value: 100.
	//
	// example:
	//
	// 100
	Volume *int64 `json:"Volume,omitempty" xml:"Volume,omitempty"`
}

func (BackendCallGroupRequest) GoString

func (s BackendCallGroupRequest) GoString() string

func (*BackendCallGroupRequest) SetCalledNumber

func (s *BackendCallGroupRequest) SetCalledNumber(v []*string) *BackendCallGroupRequest

func (*BackendCallGroupRequest) SetCallerIdNumber

func (s *BackendCallGroupRequest) SetCallerIdNumber(v string) *BackendCallGroupRequest

func (*BackendCallGroupRequest) SetCountryId

func (*BackendCallGroupRequest) SetOutId

func (*BackendCallGroupRequest) SetOwnerId

func (*BackendCallGroupRequest) SetPlayTimes

func (*BackendCallGroupRequest) SetResourceOwnerAccount

func (s *BackendCallGroupRequest) SetResourceOwnerAccount(v string) *BackendCallGroupRequest

func (*BackendCallGroupRequest) SetResourceOwnerId

func (s *BackendCallGroupRequest) SetResourceOwnerId(v int64) *BackendCallGroupRequest

func (*BackendCallGroupRequest) SetSendType

func (*BackendCallGroupRequest) SetSpeed

func (*BackendCallGroupRequest) SetTaskName

func (*BackendCallGroupRequest) SetTimingStart

func (*BackendCallGroupRequest) SetTtsCode

func (*BackendCallGroupRequest) SetVoiceCode

func (*BackendCallGroupRequest) SetVolume

func (BackendCallGroupRequest) String

func (s BackendCallGroupRequest) String() string

type BackendCallGroupResponse

type BackendCallGroupResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *BackendCallGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (BackendCallGroupResponse) GoString

func (s BackendCallGroupResponse) GoString() string

func (*BackendCallGroupResponse) SetBody

func (*BackendCallGroupResponse) SetHeaders

func (*BackendCallGroupResponse) SetStatusCode

func (BackendCallGroupResponse) String

func (s BackendCallGroupResponse) String() string

type BackendCallGroupResponseBody

type BackendCallGroupResponseBody struct {
	// The response code.
	//
	// The value OK indicates that the request was successful. Other values indicate that the request failed. For more information, see Error codes.
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// E50FFA85-0B79-4421-A7BD-00B0A271966F
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The task ID. You can use this ID to query the details of the task.
	//
	// example:
	//
	// 550e8400-e29b-41d4-a716-446655440000
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (BackendCallGroupResponseBody) GoString

func (s BackendCallGroupResponseBody) GoString() string

func (*BackendCallGroupResponseBody) SetCode

func (*BackendCallGroupResponseBody) SetMessage

func (*BackendCallGroupResponseBody) SetRequestId

func (*BackendCallGroupResponseBody) SetTaskId

func (BackendCallGroupResponseBody) String

type BackendCallGroupShrinkRequest

type BackendCallGroupShrinkRequest struct {
	// The called numbers. You can specify up to 50,000 phone numbers.
	CalledNumberShrink *string `json:"CalledNumber,omitempty" xml:"CalledNumber,omitempty"`
	// The calling number.
	//
	// If you do not specify this parameter, the system uses a local random number as the display number. If you use a dedicated number for outbound calls, you must specify the purchased number. You can specify only one number. You can log on to the VMS console and choose Number Management to view the purchased phone numbers.
	//
	// example:
	//
	// 852****1111
	CallerIdNumber *string `json:"CallerIdNumber,omitempty" xml:"CallerIdNumber,omitempty"`
	// The ISO2 country code.
	//
	// example:
	//
	// HK
	CountryId *string `json:"CountryId,omitempty" xml:"CountryId,omitempty"`
	// The ID reserved for the caller. This ID is returned to the caller in a receipt message.
	//
	// The value must be of the STRING type and 1 to 15 bytes in length.
	//
	// example:
	//
	// 22596****
	OutId   *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of times the audio file is played. Valid values: 1 to 3.
	//
	// example:
	//
	// 1
	PlayTimes            *int64  `json:"PlayTimes,omitempty" xml:"PlayTimes,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The delivery type. Valid values: 1 and 2.
	//
	// 1: The audio file is delivered immediately.
	//
	// 2: The audio file is delivered at a scheduled time. If you specify SendType as 2, you must specify TimingStart.
	//
	// example:
	//
	// 2
	SendType *int64 `json:"SendType,omitempty" xml:"SendType,omitempty"`
	// The playback speed. Valid values: -500 to 500.
	//
	// You must specify this parameter when the audio type is text-to-speech (TTS). You do not need to specify this parameter when you use recordings.
	//
	// example:
	//
	// 0
	Speed *int64 `json:"Speed,omitempty" xml:"Speed,omitempty"`
	// The task name.
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
	// The time when the audio file is scheduled to be delivered.
	//
	// example:
	//
	// 2022-05-01T08:00:00+08:00
	TimingStart *string `json:"TimingStart,omitempty" xml:"TimingStart,omitempty"`
	// The voice template ID of the audio file.
	//
	// You can log on to the VMS console and choose Voice Call Template > Audio File to view the template ID.
	//
	// You must specify either TtsCode or VoiceCode. You can specify TtsCode to use the audio file as the call content. Alternatively, you can specify VoiceCode to use preset text as the call content.
	//
	// example:
	//
	// 100001
	TtsCode *string `json:"TtsCode,omitempty" xml:"TtsCode,omitempty"`
	// The TTS template ID.
	//
	// You can log on to the VMS console and choose Voice Call Template > TTS Template to view the template ID.
	//
	// You must specify either TtsCode or VoiceCode. You can specify TtsCode to use the audio file as the call content. Alternatively, you can specify VoiceCode to use preset text as the call content.
	//
	// example:
	//
	// 200001
	VoiceCode *string `json:"VoiceCode,omitempty" xml:"VoiceCode,omitempty"`
	// The playback volume of the audio file. Valid values: 0 to 100. Default value: 100.
	//
	// example:
	//
	// 100
	Volume *int64 `json:"Volume,omitempty" xml:"Volume,omitempty"`
}

func (BackendCallGroupShrinkRequest) GoString

func (*BackendCallGroupShrinkRequest) SetCalledNumberShrink

func (*BackendCallGroupShrinkRequest) SetCallerIdNumber

func (*BackendCallGroupShrinkRequest) SetCountryId

func (*BackendCallGroupShrinkRequest) SetOutId

func (*BackendCallGroupShrinkRequest) SetOwnerId

func (*BackendCallGroupShrinkRequest) SetPlayTimes

func (*BackendCallGroupShrinkRequest) SetResourceOwnerAccount

func (*BackendCallGroupShrinkRequest) SetResourceOwnerId

func (*BackendCallGroupShrinkRequest) SetSendType

func (*BackendCallGroupShrinkRequest) SetSpeed

func (*BackendCallGroupShrinkRequest) SetTaskName

func (*BackendCallGroupShrinkRequest) SetTimingStart

func (*BackendCallGroupShrinkRequest) SetTtsCode

func (*BackendCallGroupShrinkRequest) SetVoiceCode

func (*BackendCallGroupShrinkRequest) SetVolume

func (BackendCallGroupShrinkRequest) String

type BackendCallSignalRequest

type BackendCallSignalRequest struct {
	// The phone number that receives the voice notification.
	//
	// You must add the country code to the beginning of the phone number. Example: 85200\\*\\*\\*\\*00.
	//
	// example:
	//
	// 852****0000
	CalledNumber *string `json:"CalledNumber,omitempty" xml:"CalledNumber,omitempty"`
	// The calling number.
	//
	// If you do not specify this parameter, the system uses a local random number as the display number. If you use a dedicated number for outbound calls, you must specify the purchased number. You can specify only one number. You can log on to the VMS console and choose Number Management to view the purchased phone numbers.
	//
	// example:
	//
	// 852****0000
	CallerIdNumber *string `json:"CallerIdNumber,omitempty" xml:"CallerIdNumber,omitempty"`
	// The ISO2 country code.
	//
	// example:
	//
	// HK
	CountryId *string `json:"CountryId,omitempty" xml:"CountryId,omitempty"`
	// The ID reserved for the caller. This ID is returned to the caller in a receipt message.
	//
	// The value must be of the STRING type and 1 to 15 bytes in length.
	//
	// example:
	//
	// 22522****
	OutId   *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of times the voice notification is played back in a call. Valid values: 1 to 3. Default value: 3.
	//
	// example:
	//
	// 2
	PlayTimes            *int64  `json:"PlayTimes,omitempty" xml:"PlayTimes,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The playback speed. Valid values: -500 to 500.
	//
	// example:
	//
	// 0
	Speed *int64 `json:"Speed,omitempty" xml:"Speed,omitempty"`
	// The ID of the approved voice verification code template.
	//
	// You can log on to the VMS console and choose Voice Call Template to view the template ID.
	//
	// example:
	//
	// 1001
	TtsCode *string `json:"TtsCode,omitempty" xml:"TtsCode,omitempty"`
	// The variables in the template, in the JSON format.
	//
	// example:
	//
	// {"code":"1234"}
	TtsParam *string `json:"TtsParam,omitempty" xml:"TtsParam,omitempty"`
	// The playback volume of the voice notification. Valid values: 0 to 100. Default value: 100.
	//
	// example:
	//
	// 100
	Volume *int64 `json:"Volume,omitempty" xml:"Volume,omitempty"`
}

func (BackendCallSignalRequest) GoString

func (s BackendCallSignalRequest) GoString() string

func (*BackendCallSignalRequest) SetCalledNumber

func (*BackendCallSignalRequest) SetCallerIdNumber

func (s *BackendCallSignalRequest) SetCallerIdNumber(v string) *BackendCallSignalRequest

func (*BackendCallSignalRequest) SetCountryId

func (*BackendCallSignalRequest) SetOutId

func (*BackendCallSignalRequest) SetOwnerId

func (*BackendCallSignalRequest) SetPlayTimes

func (*BackendCallSignalRequest) SetResourceOwnerAccount

func (s *BackendCallSignalRequest) SetResourceOwnerAccount(v string) *BackendCallSignalRequest

func (*BackendCallSignalRequest) SetResourceOwnerId

func (s *BackendCallSignalRequest) SetResourceOwnerId(v int64) *BackendCallSignalRequest

func (*BackendCallSignalRequest) SetSpeed

func (*BackendCallSignalRequest) SetTtsCode

func (*BackendCallSignalRequest) SetTtsParam

func (*BackendCallSignalRequest) SetVolume

func (BackendCallSignalRequest) String

func (s BackendCallSignalRequest) String() string

type BackendCallSignalResponse

type BackendCallSignalResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *BackendCallSignalResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (BackendCallSignalResponse) GoString

func (s BackendCallSignalResponse) GoString() string

func (*BackendCallSignalResponse) SetBody

func (*BackendCallSignalResponse) SetHeaders

func (*BackendCallSignalResponse) SetStatusCode

func (BackendCallSignalResponse) String

func (s BackendCallSignalResponse) String() string

type BackendCallSignalResponseBody

type BackendCallSignalResponseBody struct {
	// The unique receipt ID for the call. You can use this ID to query the details of a single call.
	//
	// example:
	//
	// 550e8400-e29b-41d4-a716-446655440000
	CallId *string `json:"CallId,omitempty" xml:"CallId,omitempty"`
	// The response code.
	//
	// The value OK indicates that the request was successful. Other values indicate that the request failed. For more information, see Error codes.
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// D9CB3933-9FE3-4870-BA8E-2BEE91B69D23
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (BackendCallSignalResponseBody) GoString

func (*BackendCallSignalResponseBody) SetCallId

func (*BackendCallSignalResponseBody) SetCode

func (*BackendCallSignalResponseBody) SetMessage

func (*BackendCallSignalResponseBody) SetRequestId

func (BackendCallSignalResponseBody) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) BackendCallGroup

func (client *Client) BackendCallGroup(request *BackendCallGroupRequest) (_result *BackendCallGroupResponse, _err error)

Summary:

Initiates a voice group call to multiple phone numbers. The content of the group call is that of approved templates. You can log on to the VMS console and choose Voice Call Template to view the template ID. This feature enqueues the phone numbers to be called. The time when the phone numbers are called is uncertain.

@param request - BackendCallGroupRequest

@return BackendCallGroupResponse

func (*Client) BackendCallGroupWithOptions

func (client *Client) BackendCallGroupWithOptions(tmpReq *BackendCallGroupRequest, runtime *util.RuntimeOptions) (_result *BackendCallGroupResponse, _err error)

Summary:

Initiates a voice group call to multiple phone numbers. The content of the group call is that of approved templates. You can log on to the VMS console and choose Voice Call Template to view the template ID. This feature enqueues the phone numbers to be called. The time when the phone numbers are called is uncertain.

@param tmpReq - BackendCallGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return BackendCallGroupResponse

func (*Client) BackendCallSignal

func (client *Client) BackendCallSignal(request *BackendCallSignalRequest) (_result *BackendCallSignalResponse, _err error)

Summary:

Sends a voice verification code and voice notification with variables to a phone number.

@param request - BackendCallSignalRequest

@return BackendCallSignalResponse

func (*Client) BackendCallSignalWithOptions

func (client *Client) BackendCallSignalWithOptions(request *BackendCallSignalRequest, runtime *util.RuntimeOptions) (_result *BackendCallSignalResponse, _err error)

Summary:

Sends a voice verification code and voice notification with variables to a phone number.

@param request - BackendCallSignalRequest

@param runtime - runtime options for this request RuntimeOptions

@return BackendCallSignalResponse

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GroupCall added in v2.1.0

func (client *Client) GroupCall(request *GroupCallRequest) (_result *GroupCallResponse, _err error)

Summary:

向指定号码发送语音验证码和带参数变量的语音通知,支持语音文件模板或文本转语音模板

@param request - GroupCallRequest

@return GroupCallResponse

func (*Client) GroupCallWithOptions added in v2.1.0

func (client *Client) GroupCallWithOptions(tmpReq *GroupCallRequest, runtime *util.RuntimeOptions) (_result *GroupCallResponse, _err error)

Summary:

向指定号码发送语音验证码和带参数变量的语音通知,支持语音文件模板或文本转语音模板

@param tmpReq - GroupCallRequest

@param runtime - runtime options for this request RuntimeOptions

@return GroupCallResponse

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) SignalCall added in v2.1.0

func (client *Client) SignalCall(request *SignalCallRequest) (_result *SignalCallResponse, _err error)

Summary:

向指定号码发送语音验证码和带参数变量的语音通知,支持语音文件模板或文本转语音模板

@param request - SignalCallRequest

@return SignalCallResponse

func (*Client) SignalCallWithOptions added in v2.1.0

func (client *Client) SignalCallWithOptions(request *SignalCallRequest, runtime *util.RuntimeOptions) (_result *SignalCallResponse, _err error)

Summary:

向指定号码发送语音验证码和带参数变量的语音通知,支持语音文件模板或文本转语音模板

@param request - SignalCallRequest

@param runtime - runtime options for this request RuntimeOptions

@return SignalCallResponse

func (*Client) VoiceGroupCall added in v2.2.0

func (client *Client) VoiceGroupCall(request *VoiceGroupCallRequest) (_result *VoiceGroupCallResponse, _err error)

Summary:

国际语音api-语音群呼

@param request - VoiceGroupCallRequest

@return VoiceGroupCallResponse

func (*Client) VoiceGroupCallWithOptions added in v2.2.0

func (client *Client) VoiceGroupCallWithOptions(tmpReq *VoiceGroupCallRequest, runtime *util.RuntimeOptions) (_result *VoiceGroupCallResponse, _err error)

Summary:

国际语音api-语音群呼

@param tmpReq - VoiceGroupCallRequest

@param runtime - runtime options for this request RuntimeOptions

@return VoiceGroupCallResponse

func (*Client) VoiceSingleCall added in v2.2.0

func (client *Client) VoiceSingleCall(request *VoiceSingleCallRequest) (_result *VoiceSingleCallResponse, _err error)

Summary:

国际语音api-语音单呼

@param request - VoiceSingleCallRequest

@return VoiceSingleCallResponse

func (*Client) VoiceSingleCallWithOptions added in v2.2.0

func (client *Client) VoiceSingleCallWithOptions(request *VoiceSingleCallRequest, runtime *util.RuntimeOptions) (_result *VoiceSingleCallResponse, _err error)

Summary:

国际语音api-语音单呼

@param request - VoiceSingleCallRequest

@param runtime - runtime options for this request RuntimeOptions

@return VoiceSingleCallResponse

type GroupCallRequest added in v2.1.0

type GroupCallRequest struct {
	// 被叫号码。上限为5万个。
	CalledNumber []*string `json:"CalledNumber,omitempty" xml:"CalledNumber,omitempty" type:"Repeated"`
	// 主叫号码。  若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。
	//
	// example:
	//
	// 852****1111
	CallerIdNumber *string `json:"CallerIdNumber,omitempty" xml:"CallerIdNumber,omitempty"`
	// 国家/地区二字码,ISO2。
	//
	// example:
	//
	// HK
	CountryId *string `json:"CountryId,omitempty" xml:"CountryId,omitempty"`
	// 预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。  字符串类型,长度为1~15个字节。
	//
	// example:
	//
	// 示例值示例值
	OutId   *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 语音文件的播放次数。取值范围:1~3。
	//
	// example:
	//
	// 1
	PlayTimes            *int64  `json:"PlayTimes,omitempty" xml:"PlayTimes,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 发送类型:取值[1,2]。  1: 立即开始发送任务,不等待。  2: 定时开始发送任务。如果传该类型,TimingStart为必选字段。
	//
	// example:
	//
	// 3
	SendType *int64 `json:"SendType,omitempty" xml:"SendType,omitempty"`
	// example:
	//
	// s****************D
	Signature *string `json:"Signature,omitempty" xml:"Signature,omitempty"`
	// example:
	//
	// l*********y
	SignatureNonce *string `json:"SignatureNonce,omitempty" xml:"SignatureNonce,omitempty"`
	// 语速控制,取值范围:-500~500。  音频类型为TTS时必传。录音文件可不传。
	//
	// example:
	//
	// 94
	Speed *int64 `json:"Speed,omitempty" xml:"Speed,omitempty"`
	// 任务名称。
	//
	// example:
	//
	// 群呼任务
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
	// example:
	//
	// 20**-**-******10Z
	Timestamp *string `json:"Timestamp,omitempty" xml:"Timestamp,omitempty"`
	// 2022-05-01T08:00:00+08:00
	//
	// example:
	//
	// 定时发送的时间。
	TimingStart *string `json:"TimingStart,omitempty" xml:"TimingStart,omitempty"`
	// 文本转语音的模板ID。  您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板ID。  此参数与VoiceCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。
	//
	// example:
	//
	// 1****01
	TtsCode *string `json:"TtsCode,omitempty" xml:"TtsCode,omitempty"`
	// 模板中的变量参数,JSON格式。
	//
	// example:
	//
	// {"code":"1234"}
	TtsParam *string `json:"TtsParam,omitempty" xml:"TtsParam,omitempty"`
	// 语音文件的模板ID。  您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。  此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。
	//
	// example:
	//
	// 2*****01
	VoiceCode *string `json:"VoiceCode,omitempty" xml:"VoiceCode,omitempty"`
	// 语音文件播放的音量。取值范围:0~100,默认取值100。
	//
	// example:
	//
	// 11
	Volume *int64 `json:"Volume,omitempty" xml:"Volume,omitempty"`
}

func (GroupCallRequest) GoString added in v2.1.0

func (s GroupCallRequest) GoString() string

func (*GroupCallRequest) SetCalledNumber added in v2.1.0

func (s *GroupCallRequest) SetCalledNumber(v []*string) *GroupCallRequest

func (*GroupCallRequest) SetCallerIdNumber added in v2.1.0

func (s *GroupCallRequest) SetCallerIdNumber(v string) *GroupCallRequest

func (*GroupCallRequest) SetCountryId added in v2.1.0

func (s *GroupCallRequest) SetCountryId(v string) *GroupCallRequest

func (*GroupCallRequest) SetOutId added in v2.1.0

func (s *GroupCallRequest) SetOutId(v string) *GroupCallRequest

func (*GroupCallRequest) SetOwnerId added in v2.1.0

func (s *GroupCallRequest) SetOwnerId(v int64) *GroupCallRequest

func (*GroupCallRequest) SetPlayTimes added in v2.1.0

func (s *GroupCallRequest) SetPlayTimes(v int64) *GroupCallRequest

func (*GroupCallRequest) SetResourceOwnerAccount added in v2.1.0

func (s *GroupCallRequest) SetResourceOwnerAccount(v string) *GroupCallRequest

func (*GroupCallRequest) SetResourceOwnerId added in v2.1.0

func (s *GroupCallRequest) SetResourceOwnerId(v int64) *GroupCallRequest

func (*GroupCallRequest) SetSendType added in v2.1.0

func (s *GroupCallRequest) SetSendType(v int64) *GroupCallRequest

func (*GroupCallRequest) SetSignature added in v2.1.0

func (s *GroupCallRequest) SetSignature(v string) *GroupCallRequest

func (*GroupCallRequest) SetSignatureNonce added in v2.1.0

func (s *GroupCallRequest) SetSignatureNonce(v string) *GroupCallRequest

func (*GroupCallRequest) SetSpeed added in v2.1.0

func (s *GroupCallRequest) SetSpeed(v int64) *GroupCallRequest

func (*GroupCallRequest) SetTaskName added in v2.1.0

func (s *GroupCallRequest) SetTaskName(v string) *GroupCallRequest

func (*GroupCallRequest) SetTimestamp added in v2.1.0

func (s *GroupCallRequest) SetTimestamp(v string) *GroupCallRequest

func (*GroupCallRequest) SetTimingStart added in v2.1.0

func (s *GroupCallRequest) SetTimingStart(v string) *GroupCallRequest

func (*GroupCallRequest) SetTtsCode added in v2.1.0

func (s *GroupCallRequest) SetTtsCode(v string) *GroupCallRequest

func (*GroupCallRequest) SetTtsParam added in v2.1.0

func (s *GroupCallRequest) SetTtsParam(v string) *GroupCallRequest

func (*GroupCallRequest) SetVoiceCode added in v2.1.0

func (s *GroupCallRequest) SetVoiceCode(v string) *GroupCallRequest

func (*GroupCallRequest) SetVolume added in v2.1.0

func (s *GroupCallRequest) SetVolume(v int64) *GroupCallRequest

func (GroupCallRequest) String added in v2.1.0

func (s GroupCallRequest) String() string

type GroupCallResponse added in v2.1.0

type GroupCallResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GroupCallResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GroupCallResponse) GoString added in v2.1.0

func (s GroupCallResponse) GoString() string

func (*GroupCallResponse) SetBody added in v2.1.0

func (*GroupCallResponse) SetHeaders added in v2.1.0

func (s *GroupCallResponse) SetHeaders(v map[string]*string) *GroupCallResponse

func (*GroupCallResponse) SetStatusCode added in v2.1.0

func (s *GroupCallResponse) SetStatusCode(v int32) *GroupCallResponse

func (GroupCallResponse) String added in v2.1.0

func (s GroupCallResponse) String() string

type GroupCallResponseBody added in v2.1.0

type GroupCallResponseBody struct {
	// example:
	//
	// ""
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// 请求状态码。  返回OK代表请求成功。 其他错误码,请参见API错误码。
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// 返回信息描述
	//
	// example:
	//
	// OK
	Message *string                     `json:"Message,omitempty" xml:"Message,omitempty"`
	Model   *GroupCallResponseBodyModel `json:"Model,omitempty" xml:"Model,omitempty" type:"Struct"`
	// 请求ID
	//
	// example:
	//
	// E50F****-****-****-****-********966F
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GroupCallResponseBody) GoString added in v2.1.0

func (s GroupCallResponseBody) GoString() string

func (*GroupCallResponseBody) SetAccessDeniedDetail added in v2.1.0

func (s *GroupCallResponseBody) SetAccessDeniedDetail(v string) *GroupCallResponseBody

func (*GroupCallResponseBody) SetCode added in v2.1.0

func (*GroupCallResponseBody) SetMessage added in v2.1.0

func (*GroupCallResponseBody) SetModel added in v2.1.0

func (*GroupCallResponseBody) SetRequestId added in v2.1.0

func (GroupCallResponseBody) String added in v2.1.0

func (s GroupCallResponseBody) String() string

type GroupCallResponseBodyModel added in v2.1.0

type GroupCallResponseBodyModel struct {
	// 任务ID,可以通过此ID查询任务的详情。
	//
	// example:
	//
	// 550E****-****-****-****-********00A0
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (GroupCallResponseBodyModel) GoString added in v2.1.0

func (s GroupCallResponseBodyModel) GoString() string

func (*GroupCallResponseBodyModel) SetTaskId added in v2.1.0

func (GroupCallResponseBodyModel) String added in v2.1.0

type GroupCallShrinkRequest added in v2.1.0

type GroupCallShrinkRequest struct {
	// 被叫号码。上限为5万个。
	CalledNumberShrink *string `json:"CalledNumber,omitempty" xml:"CalledNumber,omitempty"`
	// 主叫号码。  若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。
	//
	// example:
	//
	// 852****1111
	CallerIdNumber *string `json:"CallerIdNumber,omitempty" xml:"CallerIdNumber,omitempty"`
	// 国家/地区二字码,ISO2。
	//
	// example:
	//
	// HK
	CountryId *string `json:"CountryId,omitempty" xml:"CountryId,omitempty"`
	// 预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。  字符串类型,长度为1~15个字节。
	//
	// example:
	//
	// 示例值示例值
	OutId   *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 语音文件的播放次数。取值范围:1~3。
	//
	// example:
	//
	// 1
	PlayTimes            *int64  `json:"PlayTimes,omitempty" xml:"PlayTimes,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 发送类型:取值[1,2]。  1: 立即开始发送任务,不等待。  2: 定时开始发送任务。如果传该类型,TimingStart为必选字段。
	//
	// example:
	//
	// 3
	SendType *int64 `json:"SendType,omitempty" xml:"SendType,omitempty"`
	// example:
	//
	// s****************D
	Signature *string `json:"Signature,omitempty" xml:"Signature,omitempty"`
	// example:
	//
	// l*********y
	SignatureNonce *string `json:"SignatureNonce,omitempty" xml:"SignatureNonce,omitempty"`
	// 语速控制,取值范围:-500~500。  音频类型为TTS时必传。录音文件可不传。
	//
	// example:
	//
	// 94
	Speed *int64 `json:"Speed,omitempty" xml:"Speed,omitempty"`
	// 任务名称。
	//
	// example:
	//
	// 群呼任务
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
	// example:
	//
	// 20**-**-******10Z
	Timestamp *string `json:"Timestamp,omitempty" xml:"Timestamp,omitempty"`
	// 2022-05-01T08:00:00+08:00
	//
	// example:
	//
	// 定时发送的时间。
	TimingStart *string `json:"TimingStart,omitempty" xml:"TimingStart,omitempty"`
	// 文本转语音的模板ID。  您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板ID。  此参数与VoiceCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。
	//
	// example:
	//
	// 1****01
	TtsCode *string `json:"TtsCode,omitempty" xml:"TtsCode,omitempty"`
	// 模板中的变量参数,JSON格式。
	//
	// example:
	//
	// {"code":"1234"}
	TtsParam *string `json:"TtsParam,omitempty" xml:"TtsParam,omitempty"`
	// 语音文件的模板ID。  您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。  此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。
	//
	// example:
	//
	// 2*****01
	VoiceCode *string `json:"VoiceCode,omitempty" xml:"VoiceCode,omitempty"`
	// 语音文件播放的音量。取值范围:0~100,默认取值100。
	//
	// example:
	//
	// 11
	Volume *int64 `json:"Volume,omitempty" xml:"Volume,omitempty"`
}

func (GroupCallShrinkRequest) GoString added in v2.1.0

func (s GroupCallShrinkRequest) GoString() string

func (*GroupCallShrinkRequest) SetCalledNumberShrink added in v2.1.0

func (s *GroupCallShrinkRequest) SetCalledNumberShrink(v string) *GroupCallShrinkRequest

func (*GroupCallShrinkRequest) SetCallerIdNumber added in v2.1.0

func (s *GroupCallShrinkRequest) SetCallerIdNumber(v string) *GroupCallShrinkRequest

func (*GroupCallShrinkRequest) SetCountryId added in v2.1.0

func (*GroupCallShrinkRequest) SetOutId added in v2.1.0

func (*GroupCallShrinkRequest) SetOwnerId added in v2.1.0

func (*GroupCallShrinkRequest) SetPlayTimes added in v2.1.0

func (*GroupCallShrinkRequest) SetResourceOwnerAccount added in v2.1.0

func (s *GroupCallShrinkRequest) SetResourceOwnerAccount(v string) *GroupCallShrinkRequest

func (*GroupCallShrinkRequest) SetResourceOwnerId added in v2.1.0

func (s *GroupCallShrinkRequest) SetResourceOwnerId(v int64) *GroupCallShrinkRequest

func (*GroupCallShrinkRequest) SetSendType added in v2.1.0

func (*GroupCallShrinkRequest) SetSignature added in v2.1.0

func (*GroupCallShrinkRequest) SetSignatureNonce added in v2.1.0

func (s *GroupCallShrinkRequest) SetSignatureNonce(v string) *GroupCallShrinkRequest

func (*GroupCallShrinkRequest) SetSpeed added in v2.1.0

func (*GroupCallShrinkRequest) SetTaskName added in v2.1.0

func (*GroupCallShrinkRequest) SetTimestamp added in v2.1.0

func (*GroupCallShrinkRequest) SetTimingStart added in v2.1.0

func (*GroupCallShrinkRequest) SetTtsCode added in v2.1.0

func (*GroupCallShrinkRequest) SetTtsParam added in v2.1.0

func (*GroupCallShrinkRequest) SetVoiceCode added in v2.1.0

func (*GroupCallShrinkRequest) SetVolume added in v2.1.0

func (GroupCallShrinkRequest) String added in v2.1.0

func (s GroupCallShrinkRequest) String() string

type SignalCallRequest added in v2.1.0

type SignalCallRequest struct {
	// 接收语音通知的手机号码。  号码格式:国际码+号码: 示例:85200****00。
	//
	// example:
	//
	// 852****0000
	CalledNumber *string `json:"CalledNumber,omitempty" xml:"CalledNumber,omitempty"`
	// 主叫号码。  若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。
	//
	// example:
	//
	// 852****0001
	CallerIdNumber *string `json:"CallerIdNumber,omitempty" xml:"CallerIdNumber,omitempty"`
	// 国家/地区二字码,ISO2。
	//
	// example:
	//
	// HK
	CountryId *string `json:"CountryId,omitempty" xml:"CountryId,omitempty"`
	// 预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。  字符串类型,长度为1~15个字节。
	//
	// example:
	//
	// 22522****
	OutId   *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 一通电话内语音通知内容的播放次数。取值范围:1~3,默认取值3。
	//
	// example:
	//
	// 2
	PlayTimes            *int64  `json:"PlayTimes,omitempty" xml:"PlayTimes,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 发送类型:取值[1,2]。  1: 立即开始发送任务,不等待。  2: 定时开始发送任务。如果传该类型,TimingStart为必选字段。
	//
	// example:
	//
	// 1
	SendType *int64 `json:"SendType,omitempty" xml:"SendType,omitempty"`
	// example:
	//
	// 9****************D
	Signature *string `json:"Signature,omitempty" xml:"Signature,omitempty"`
	// example:
	//
	// l*********y
	SignatureNonce *string `json:"SignatureNonce,omitempty" xml:"SignatureNonce,omitempty"`
	// 语速控制。取值范围为:-500~500。
	//
	// example:
	//
	// 0
	Speed *int64 `json:"Speed,omitempty" xml:"Speed,omitempty"`
	// 任务名称。
	//
	// example:
	//
	// 单呼任务名
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
	// example:
	//
	// 20**-**-**T**%3A25%3A10Z
	Timestamp *string `json:"Timestamp,omitempty" xml:"Timestamp,omitempty"`
	// 定时发送的时间。
	//
	// example:
	//
	// 2022-05-01T08:00:00+08:00
	TimingStart *string `json:"TimingStart,omitempty" xml:"TimingStart,omitempty"`
	// 文本转语音模板的语音ID。  您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板ID。  此参数与VoiceCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。
	//
	// example:
	//
	// 1001
	TtsCode *string `json:"TtsCode,omitempty" xml:"TtsCode,omitempty"`
	// 模板中的变量参数,JSON格式。
	//
	// example:
	//
	// {"code":"1234"}
	TtsParam *string `json:"TtsParam,omitempty" xml:"TtsParam,omitempty"`
	// 语音文件的模板ID。  您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。  此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。
	//
	// example:
	//
	// 1002
	VoiceCode *string `json:"VoiceCode,omitempty" xml:"VoiceCode,omitempty"`
	// 语音通知的播放音量。取值范围:0~100,默认取值100。
	//
	// example:
	//
	// 100
	Volume *int64 `json:"Volume,omitempty" xml:"Volume,omitempty"`
}

func (SignalCallRequest) GoString added in v2.1.0

func (s SignalCallRequest) GoString() string

func (*SignalCallRequest) SetCalledNumber added in v2.1.0

func (s *SignalCallRequest) SetCalledNumber(v string) *SignalCallRequest

func (*SignalCallRequest) SetCallerIdNumber added in v2.1.0

func (s *SignalCallRequest) SetCallerIdNumber(v string) *SignalCallRequest

func (*SignalCallRequest) SetCountryId added in v2.1.0

func (s *SignalCallRequest) SetCountryId(v string) *SignalCallRequest

func (*SignalCallRequest) SetOutId added in v2.1.0

func (s *SignalCallRequest) SetOutId(v string) *SignalCallRequest

func (*SignalCallRequest) SetOwnerId added in v2.1.0

func (s *SignalCallRequest) SetOwnerId(v int64) *SignalCallRequest

func (*SignalCallRequest) SetPlayTimes added in v2.1.0

func (s *SignalCallRequest) SetPlayTimes(v int64) *SignalCallRequest

func (*SignalCallRequest) SetResourceOwnerAccount added in v2.1.0

func (s *SignalCallRequest) SetResourceOwnerAccount(v string) *SignalCallRequest

func (*SignalCallRequest) SetResourceOwnerId added in v2.1.0

func (s *SignalCallRequest) SetResourceOwnerId(v int64) *SignalCallRequest

func (*SignalCallRequest) SetSendType added in v2.1.0

func (s *SignalCallRequest) SetSendType(v int64) *SignalCallRequest

func (*SignalCallRequest) SetSignature added in v2.1.0

func (s *SignalCallRequest) SetSignature(v string) *SignalCallRequest

func (*SignalCallRequest) SetSignatureNonce added in v2.1.0

func (s *SignalCallRequest) SetSignatureNonce(v string) *SignalCallRequest

func (*SignalCallRequest) SetSpeed added in v2.1.0

func (s *SignalCallRequest) SetSpeed(v int64) *SignalCallRequest

func (*SignalCallRequest) SetTaskName added in v2.1.0

func (s *SignalCallRequest) SetTaskName(v string) *SignalCallRequest

func (*SignalCallRequest) SetTimestamp added in v2.1.0

func (s *SignalCallRequest) SetTimestamp(v string) *SignalCallRequest

func (*SignalCallRequest) SetTimingStart added in v2.1.0

func (s *SignalCallRequest) SetTimingStart(v string) *SignalCallRequest

func (*SignalCallRequest) SetTtsCode added in v2.1.0

func (s *SignalCallRequest) SetTtsCode(v string) *SignalCallRequest

func (*SignalCallRequest) SetTtsParam added in v2.1.0

func (s *SignalCallRequest) SetTtsParam(v string) *SignalCallRequest

func (*SignalCallRequest) SetVoiceCode added in v2.1.0

func (s *SignalCallRequest) SetVoiceCode(v string) *SignalCallRequest

func (*SignalCallRequest) SetVolume added in v2.1.0

func (s *SignalCallRequest) SetVolume(v int64) *SignalCallRequest

func (SignalCallRequest) String added in v2.1.0

func (s SignalCallRequest) String() string

type SignalCallResponse added in v2.1.0

type SignalCallResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SignalCallResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SignalCallResponse) GoString added in v2.1.0

func (s SignalCallResponse) GoString() string

func (*SignalCallResponse) SetBody added in v2.1.0

func (*SignalCallResponse) SetHeaders added in v2.1.0

func (s *SignalCallResponse) SetHeaders(v map[string]*string) *SignalCallResponse

func (*SignalCallResponse) SetStatusCode added in v2.1.0

func (s *SignalCallResponse) SetStatusCode(v int32) *SignalCallResponse

func (SignalCallResponse) String added in v2.1.0

func (s SignalCallResponse) String() string

type SignalCallResponseBody added in v2.1.0

type SignalCallResponseBody struct {
	// example:
	//
	// ""
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// 请求状态码。  返回OK代表请求成功。 其他错误码,请参见API错误码。
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// 返回信息描述。
	//
	// example:
	//
	// OK
	Message *string                      `json:"Message,omitempty" xml:"Message,omitempty"`
	Model   *SignalCallResponseBodyModel `json:"Model,omitempty" xml:"Model,omitempty" type:"Struct"`
	// 请求ID。
	//
	// example:
	//
	// D9CB****-****-****-****-********9D23
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// 请求是否成功,成功:true,失败:false。
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (SignalCallResponseBody) GoString added in v2.1.0

func (s SignalCallResponseBody) GoString() string

func (*SignalCallResponseBody) SetAccessDeniedDetail added in v2.1.0

func (s *SignalCallResponseBody) SetAccessDeniedDetail(v string) *SignalCallResponseBody

func (*SignalCallResponseBody) SetCode added in v2.1.0

func (*SignalCallResponseBody) SetMessage added in v2.1.0

func (*SignalCallResponseBody) SetModel added in v2.1.0

func (*SignalCallResponseBody) SetRequestId added in v2.1.0

func (*SignalCallResponseBody) SetSuccess added in v2.1.0

func (SignalCallResponseBody) String added in v2.1.0

func (s SignalCallResponseBody) String() string

type SignalCallResponseBodyModel added in v2.1.0

type SignalCallResponseBodyModel struct {
	// 任务ID,可以通过此ID查询任务的详情。
	//
	// example:
	//
	// 550E****-****-****-****-********0CA0
	CallId *string `json:"CallId,omitempty" xml:"CallId,omitempty"`
}

func (SignalCallResponseBodyModel) GoString added in v2.1.0

func (s SignalCallResponseBodyModel) GoString() string

func (*SignalCallResponseBodyModel) SetCallId added in v2.1.0

func (SignalCallResponseBodyModel) String added in v2.1.0

type VoiceGroupCallRequest added in v2.2.0

type VoiceGroupCallRequest struct {
	CalledNumber []*string `json:"CalledNumber,omitempty" xml:"CalledNumber,omitempty" type:"Repeated"`
	// example:
	//
	// 852****1111
	CallerIdNumber *string `json:"CallerIdNumber,omitempty" xml:"CallerIdNumber,omitempty"`
	// example:
	//
	// HK
	CountryId *string `json:"CountryId,omitempty" xml:"CountryId,omitempty"`
	// example:
	//
	// 22596****
	OutId   *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// example:
	//
	// 1
	PlayTimes            *int64  `json:"PlayTimes,omitempty" xml:"PlayTimes,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// example:
	//
	// 1
	SendType *int64 `json:"SendType,omitempty" xml:"SendType,omitempty"`
	// example:
	//
	// 100
	Speed *int64 `json:"Speed,omitempty" xml:"Speed,omitempty"`
	// example:
	//
	// 示例值示例值
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
	// example:
	//
	// 2022-05-01T08:00:00+08:00
	TimingStart *string `json:"TimingStart,omitempty" xml:"TimingStart,omitempty"`
	// example:
	//
	// 1****01
	TtsCode *string `json:"TtsCode,omitempty" xml:"TtsCode,omitempty"`
	// example:
	//
	// {"code":"1234"}
	TtsParam *string `json:"TtsParam,omitempty" xml:"TtsParam,omitempty"`
	// example:
	//
	// 2*****01
	VoiceCode *string `json:"VoiceCode,omitempty" xml:"VoiceCode,omitempty"`
	// example:
	//
	// 100
	Volume *int64 `json:"Volume,omitempty" xml:"Volume,omitempty"`
}

func (VoiceGroupCallRequest) GoString added in v2.2.0

func (s VoiceGroupCallRequest) GoString() string

func (*VoiceGroupCallRequest) SetCalledNumber added in v2.2.0

func (s *VoiceGroupCallRequest) SetCalledNumber(v []*string) *VoiceGroupCallRequest

func (*VoiceGroupCallRequest) SetCallerIdNumber added in v2.2.0

func (s *VoiceGroupCallRequest) SetCallerIdNumber(v string) *VoiceGroupCallRequest

func (*VoiceGroupCallRequest) SetCountryId added in v2.2.0

func (*VoiceGroupCallRequest) SetOutId added in v2.2.0

func (*VoiceGroupCallRequest) SetOwnerId added in v2.2.0

func (*VoiceGroupCallRequest) SetPlayTimes added in v2.2.0

func (*VoiceGroupCallRequest) SetResourceOwnerAccount added in v2.2.0

func (s *VoiceGroupCallRequest) SetResourceOwnerAccount(v string) *VoiceGroupCallRequest

func (*VoiceGroupCallRequest) SetResourceOwnerId added in v2.2.0

func (s *VoiceGroupCallRequest) SetResourceOwnerId(v int64) *VoiceGroupCallRequest

func (*VoiceGroupCallRequest) SetSendType added in v2.2.0

func (*VoiceGroupCallRequest) SetSpeed added in v2.2.0

func (*VoiceGroupCallRequest) SetTaskName added in v2.2.0

func (*VoiceGroupCallRequest) SetTimingStart added in v2.2.0

func (s *VoiceGroupCallRequest) SetTimingStart(v string) *VoiceGroupCallRequest

func (*VoiceGroupCallRequest) SetTtsCode added in v2.2.0

func (*VoiceGroupCallRequest) SetTtsParam added in v2.2.0

func (*VoiceGroupCallRequest) SetVoiceCode added in v2.2.0

func (*VoiceGroupCallRequest) SetVolume added in v2.2.0

func (VoiceGroupCallRequest) String added in v2.2.0

func (s VoiceGroupCallRequest) String() string

type VoiceGroupCallResponse added in v2.2.0

type VoiceGroupCallResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *VoiceGroupCallResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (VoiceGroupCallResponse) GoString added in v2.2.0

func (s VoiceGroupCallResponse) GoString() string

func (*VoiceGroupCallResponse) SetBody added in v2.2.0

func (*VoiceGroupCallResponse) SetHeaders added in v2.2.0

func (*VoiceGroupCallResponse) SetStatusCode added in v2.2.0

func (VoiceGroupCallResponse) String added in v2.2.0

func (s VoiceGroupCallResponse) String() string

type VoiceGroupCallResponseBody added in v2.2.0

type VoiceGroupCallResponseBody struct {
	// example:
	//
	// ""
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// example:
	//
	// OK
	Message *string                `json:"Message,omitempty" xml:"Message,omitempty"`
	Model   map[string]interface{} `json:"Model,omitempty" xml:"Model,omitempty"`
	// example:
	//
	// E50F****-****-****-****-********966F
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (VoiceGroupCallResponseBody) GoString added in v2.2.0

func (s VoiceGroupCallResponseBody) GoString() string

func (*VoiceGroupCallResponseBody) SetAccessDeniedDetail added in v2.2.0

func (s *VoiceGroupCallResponseBody) SetAccessDeniedDetail(v string) *VoiceGroupCallResponseBody

func (*VoiceGroupCallResponseBody) SetCode added in v2.2.0

func (*VoiceGroupCallResponseBody) SetMessage added in v2.2.0

func (*VoiceGroupCallResponseBody) SetModel added in v2.2.0

func (s *VoiceGroupCallResponseBody) SetModel(v map[string]interface{}) *VoiceGroupCallResponseBody

func (*VoiceGroupCallResponseBody) SetRequestId added in v2.2.0

func (*VoiceGroupCallResponseBody) SetSuccess added in v2.2.0

func (VoiceGroupCallResponseBody) String added in v2.2.0

type VoiceGroupCallShrinkRequest added in v2.2.0

type VoiceGroupCallShrinkRequest struct {
	CalledNumberShrink *string `json:"CalledNumber,omitempty" xml:"CalledNumber,omitempty"`
	// example:
	//
	// 852****1111
	CallerIdNumber *string `json:"CallerIdNumber,omitempty" xml:"CallerIdNumber,omitempty"`
	// example:
	//
	// HK
	CountryId *string `json:"CountryId,omitempty" xml:"CountryId,omitempty"`
	// example:
	//
	// 22596****
	OutId   *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// example:
	//
	// 1
	PlayTimes            *int64  `json:"PlayTimes,omitempty" xml:"PlayTimes,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// example:
	//
	// 1
	SendType *int64 `json:"SendType,omitempty" xml:"SendType,omitempty"`
	// example:
	//
	// 100
	Speed *int64 `json:"Speed,omitempty" xml:"Speed,omitempty"`
	// example:
	//
	// 示例值示例值
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
	// example:
	//
	// 2022-05-01T08:00:00+08:00
	TimingStart *string `json:"TimingStart,omitempty" xml:"TimingStart,omitempty"`
	// example:
	//
	// 1****01
	TtsCode *string `json:"TtsCode,omitempty" xml:"TtsCode,omitempty"`
	// example:
	//
	// {"code":"1234"}
	TtsParam *string `json:"TtsParam,omitempty" xml:"TtsParam,omitempty"`
	// example:
	//
	// 2*****01
	VoiceCode *string `json:"VoiceCode,omitempty" xml:"VoiceCode,omitempty"`
	// example:
	//
	// 100
	Volume *int64 `json:"Volume,omitempty" xml:"Volume,omitempty"`
}

func (VoiceGroupCallShrinkRequest) GoString added in v2.2.0

func (s VoiceGroupCallShrinkRequest) GoString() string

func (*VoiceGroupCallShrinkRequest) SetCalledNumberShrink added in v2.2.0

func (s *VoiceGroupCallShrinkRequest) SetCalledNumberShrink(v string) *VoiceGroupCallShrinkRequest

func (*VoiceGroupCallShrinkRequest) SetCallerIdNumber added in v2.2.0

func (*VoiceGroupCallShrinkRequest) SetCountryId added in v2.2.0

func (*VoiceGroupCallShrinkRequest) SetOutId added in v2.2.0

func (*VoiceGroupCallShrinkRequest) SetOwnerId added in v2.2.0

func (*VoiceGroupCallShrinkRequest) SetPlayTimes added in v2.2.0

func (*VoiceGroupCallShrinkRequest) SetResourceOwnerAccount added in v2.2.0

func (s *VoiceGroupCallShrinkRequest) SetResourceOwnerAccount(v string) *VoiceGroupCallShrinkRequest

func (*VoiceGroupCallShrinkRequest) SetResourceOwnerId added in v2.2.0

func (*VoiceGroupCallShrinkRequest) SetSendType added in v2.2.0

func (*VoiceGroupCallShrinkRequest) SetSpeed added in v2.2.0

func (*VoiceGroupCallShrinkRequest) SetTaskName added in v2.2.0

func (*VoiceGroupCallShrinkRequest) SetTimingStart added in v2.2.0

func (*VoiceGroupCallShrinkRequest) SetTtsCode added in v2.2.0

func (*VoiceGroupCallShrinkRequest) SetTtsParam added in v2.2.0

func (*VoiceGroupCallShrinkRequest) SetVoiceCode added in v2.2.0

func (*VoiceGroupCallShrinkRequest) SetVolume added in v2.2.0

func (VoiceGroupCallShrinkRequest) String added in v2.2.0

type VoiceSingleCallRequest added in v2.2.0

type VoiceSingleCallRequest struct {
	// example:
	//
	// 852****0000
	CalledNumber *string `json:"CalledNumber,omitempty" xml:"CalledNumber,omitempty"`
	// example:
	//
	// 852****0001
	CallerIdNumber *string `json:"CallerIdNumber,omitempty" xml:"CallerIdNumber,omitempty"`
	// example:
	//
	// HK
	CountryId *string `json:"CountryId,omitempty" xml:"CountryId,omitempty"`
	// example:
	//
	// 22522****
	OutId   *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// example:
	//
	// 2
	PlayTimes            *int64  `json:"PlayTimes,omitempty" xml:"PlayTimes,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// example:
	//
	// 1
	SendType *int64 `json:"SendType,omitempty" xml:"SendType,omitempty"`
	// example:
	//
	// 0
	Speed *int64 `json:"Speed,omitempty" xml:"Speed,omitempty"`
	// example:
	//
	// 示例值示例值
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
	// example:
	//
	// 2022-05-01T08:00:00+08:00
	TimingStart *string `json:"TimingStart,omitempty" xml:"TimingStart,omitempty"`
	// example:
	//
	// 1001
	TtsCode *string `json:"TtsCode,omitempty" xml:"TtsCode,omitempty"`
	// example:
	//
	// {"code":"1234"}
	TtsParam *string `json:"TtsParam,omitempty" xml:"TtsParam,omitempty"`
	// example:
	//
	// 1002
	VoiceCode *string `json:"VoiceCode,omitempty" xml:"VoiceCode,omitempty"`
	// example:
	//
	// 100
	Volume *int64 `json:"Volume,omitempty" xml:"Volume,omitempty"`
}

func (VoiceSingleCallRequest) GoString added in v2.2.0

func (s VoiceSingleCallRequest) GoString() string

func (*VoiceSingleCallRequest) SetCalledNumber added in v2.2.0

func (s *VoiceSingleCallRequest) SetCalledNumber(v string) *VoiceSingleCallRequest

func (*VoiceSingleCallRequest) SetCallerIdNumber added in v2.2.0

func (s *VoiceSingleCallRequest) SetCallerIdNumber(v string) *VoiceSingleCallRequest

func (*VoiceSingleCallRequest) SetCountryId added in v2.2.0

func (*VoiceSingleCallRequest) SetOutId added in v2.2.0

func (*VoiceSingleCallRequest) SetOwnerId added in v2.2.0

func (*VoiceSingleCallRequest) SetPlayTimes added in v2.2.0

func (*VoiceSingleCallRequest) SetResourceOwnerAccount added in v2.2.0

func (s *VoiceSingleCallRequest) SetResourceOwnerAccount(v string) *VoiceSingleCallRequest

func (*VoiceSingleCallRequest) SetResourceOwnerId added in v2.2.0

func (s *VoiceSingleCallRequest) SetResourceOwnerId(v int64) *VoiceSingleCallRequest

func (*VoiceSingleCallRequest) SetSendType added in v2.2.0

func (*VoiceSingleCallRequest) SetSpeed added in v2.2.0

func (*VoiceSingleCallRequest) SetTaskName added in v2.2.0

func (*VoiceSingleCallRequest) SetTimingStart added in v2.2.0

func (*VoiceSingleCallRequest) SetTtsCode added in v2.2.0

func (*VoiceSingleCallRequest) SetTtsParam added in v2.2.0

func (*VoiceSingleCallRequest) SetVoiceCode added in v2.2.0

func (*VoiceSingleCallRequest) SetVolume added in v2.2.0

func (VoiceSingleCallRequest) String added in v2.2.0

func (s VoiceSingleCallRequest) String() string

type VoiceSingleCallResponse added in v2.2.0

type VoiceSingleCallResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *VoiceSingleCallResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (VoiceSingleCallResponse) GoString added in v2.2.0

func (s VoiceSingleCallResponse) GoString() string

func (*VoiceSingleCallResponse) SetBody added in v2.2.0

func (*VoiceSingleCallResponse) SetHeaders added in v2.2.0

func (*VoiceSingleCallResponse) SetStatusCode added in v2.2.0

func (VoiceSingleCallResponse) String added in v2.2.0

func (s VoiceSingleCallResponse) String() string

type VoiceSingleCallResponseBody added in v2.2.0

type VoiceSingleCallResponseBody struct {
	// example:
	//
	// ""
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// example:
	//
	// OK
	Message *string                `json:"Message,omitempty" xml:"Message,omitempty"`
	Model   map[string]interface{} `json:"Model,omitempty" xml:"Model,omitempty"`
	// example:
	//
	// D9CB****-****-****-****-********9D23
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (VoiceSingleCallResponseBody) GoString added in v2.2.0

func (s VoiceSingleCallResponseBody) GoString() string

func (*VoiceSingleCallResponseBody) SetAccessDeniedDetail added in v2.2.0

func (s *VoiceSingleCallResponseBody) SetAccessDeniedDetail(v string) *VoiceSingleCallResponseBody

func (*VoiceSingleCallResponseBody) SetCode added in v2.2.0

func (*VoiceSingleCallResponseBody) SetMessage added in v2.2.0

func (*VoiceSingleCallResponseBody) SetModel added in v2.2.0

func (s *VoiceSingleCallResponseBody) SetModel(v map[string]interface{}) *VoiceSingleCallResponseBody

func (*VoiceSingleCallResponseBody) SetRequestId added in v2.2.0

func (*VoiceSingleCallResponseBody) SetSuccess added in v2.2.0

func (VoiceSingleCallResponseBody) String added in v2.2.0

Jump to

Keyboard shortcuts

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