Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks.
Index ¶
- type BackendCallGroupRequest
- func (s BackendCallGroupRequest) GoString() string
- func (s *BackendCallGroupRequest) SetCalledNumber(v []*string) *BackendCallGroupRequest
- func (s *BackendCallGroupRequest) SetCallerIdNumber(v string) *BackendCallGroupRequest
- func (s *BackendCallGroupRequest) SetCountryId(v string) *BackendCallGroupRequest
- func (s *BackendCallGroupRequest) SetOutId(v string) *BackendCallGroupRequest
- func (s *BackendCallGroupRequest) SetOwnerId(v int64) *BackendCallGroupRequest
- func (s *BackendCallGroupRequest) SetPlayTimes(v int64) *BackendCallGroupRequest
- func (s *BackendCallGroupRequest) SetResourceOwnerAccount(v string) *BackendCallGroupRequest
- func (s *BackendCallGroupRequest) SetResourceOwnerId(v int64) *BackendCallGroupRequest
- func (s *BackendCallGroupRequest) SetSendType(v int64) *BackendCallGroupRequest
- func (s *BackendCallGroupRequest) SetSpeed(v int64) *BackendCallGroupRequest
- func (s *BackendCallGroupRequest) SetTaskName(v string) *BackendCallGroupRequest
- func (s *BackendCallGroupRequest) SetTimingStart(v string) *BackendCallGroupRequest
- func (s *BackendCallGroupRequest) SetTtsCode(v string) *BackendCallGroupRequest
- func (s *BackendCallGroupRequest) SetVoiceCode(v string) *BackendCallGroupRequest
- func (s *BackendCallGroupRequest) SetVolume(v int64) *BackendCallGroupRequest
- func (s BackendCallGroupRequest) String() string
- type BackendCallGroupResponse
- func (s BackendCallGroupResponse) GoString() string
- func (s *BackendCallGroupResponse) SetBody(v *BackendCallGroupResponseBody) *BackendCallGroupResponse
- func (s *BackendCallGroupResponse) SetHeaders(v map[string]*string) *BackendCallGroupResponse
- func (s *BackendCallGroupResponse) SetStatusCode(v int32) *BackendCallGroupResponse
- func (s BackendCallGroupResponse) String() string
- type BackendCallGroupResponseBody
- func (s BackendCallGroupResponseBody) GoString() string
- func (s *BackendCallGroupResponseBody) SetCode(v string) *BackendCallGroupResponseBody
- func (s *BackendCallGroupResponseBody) SetMessage(v string) *BackendCallGroupResponseBody
- func (s *BackendCallGroupResponseBody) SetRequestId(v string) *BackendCallGroupResponseBody
- func (s *BackendCallGroupResponseBody) SetTaskId(v string) *BackendCallGroupResponseBody
- func (s BackendCallGroupResponseBody) String() string
- type BackendCallGroupShrinkRequest
- func (s BackendCallGroupShrinkRequest) GoString() string
- func (s *BackendCallGroupShrinkRequest) SetCalledNumberShrink(v string) *BackendCallGroupShrinkRequest
- func (s *BackendCallGroupShrinkRequest) SetCallerIdNumber(v string) *BackendCallGroupShrinkRequest
- func (s *BackendCallGroupShrinkRequest) SetCountryId(v string) *BackendCallGroupShrinkRequest
- func (s *BackendCallGroupShrinkRequest) SetOutId(v string) *BackendCallGroupShrinkRequest
- func (s *BackendCallGroupShrinkRequest) SetOwnerId(v int64) *BackendCallGroupShrinkRequest
- func (s *BackendCallGroupShrinkRequest) SetPlayTimes(v int64) *BackendCallGroupShrinkRequest
- func (s *BackendCallGroupShrinkRequest) SetResourceOwnerAccount(v string) *BackendCallGroupShrinkRequest
- func (s *BackendCallGroupShrinkRequest) SetResourceOwnerId(v int64) *BackendCallGroupShrinkRequest
- func (s *BackendCallGroupShrinkRequest) SetSendType(v int64) *BackendCallGroupShrinkRequest
- func (s *BackendCallGroupShrinkRequest) SetSpeed(v int64) *BackendCallGroupShrinkRequest
- func (s *BackendCallGroupShrinkRequest) SetTaskName(v string) *BackendCallGroupShrinkRequest
- func (s *BackendCallGroupShrinkRequest) SetTimingStart(v string) *BackendCallGroupShrinkRequest
- func (s *BackendCallGroupShrinkRequest) SetTtsCode(v string) *BackendCallGroupShrinkRequest
- func (s *BackendCallGroupShrinkRequest) SetVoiceCode(v string) *BackendCallGroupShrinkRequest
- func (s *BackendCallGroupShrinkRequest) SetVolume(v int64) *BackendCallGroupShrinkRequest
- func (s BackendCallGroupShrinkRequest) String() string
- type BackendCallSignalRequest
- func (s BackendCallSignalRequest) GoString() string
- func (s *BackendCallSignalRequest) SetCalledNumber(v string) *BackendCallSignalRequest
- func (s *BackendCallSignalRequest) SetCallerIdNumber(v string) *BackendCallSignalRequest
- func (s *BackendCallSignalRequest) SetCountryId(v string) *BackendCallSignalRequest
- func (s *BackendCallSignalRequest) SetOutId(v string) *BackendCallSignalRequest
- func (s *BackendCallSignalRequest) SetOwnerId(v int64) *BackendCallSignalRequest
- func (s *BackendCallSignalRequest) SetPlayTimes(v int64) *BackendCallSignalRequest
- func (s *BackendCallSignalRequest) SetResourceOwnerAccount(v string) *BackendCallSignalRequest
- func (s *BackendCallSignalRequest) SetResourceOwnerId(v int64) *BackendCallSignalRequest
- func (s *BackendCallSignalRequest) SetSpeed(v int64) *BackendCallSignalRequest
- func (s *BackendCallSignalRequest) SetTtsCode(v string) *BackendCallSignalRequest
- func (s *BackendCallSignalRequest) SetTtsParam(v string) *BackendCallSignalRequest
- func (s *BackendCallSignalRequest) SetVolume(v int64) *BackendCallSignalRequest
- func (s BackendCallSignalRequest) String() string
- type BackendCallSignalResponse
- func (s BackendCallSignalResponse) GoString() string
- func (s *BackendCallSignalResponse) SetBody(v *BackendCallSignalResponseBody) *BackendCallSignalResponse
- func (s *BackendCallSignalResponse) SetHeaders(v map[string]*string) *BackendCallSignalResponse
- func (s *BackendCallSignalResponse) SetStatusCode(v int32) *BackendCallSignalResponse
- func (s BackendCallSignalResponse) String() string
- type BackendCallSignalResponseBody
- func (s BackendCallSignalResponseBody) GoString() string
- func (s *BackendCallSignalResponseBody) SetCallId(v string) *BackendCallSignalResponseBody
- func (s *BackendCallSignalResponseBody) SetCode(v string) *BackendCallSignalResponseBody
- func (s *BackendCallSignalResponseBody) SetMessage(v string) *BackendCallSignalResponseBody
- func (s *BackendCallSignalResponseBody) SetRequestId(v string) *BackendCallSignalResponseBody
- func (s BackendCallSignalResponseBody) String() string
- type Client
- func (client *Client) BackendCallGroup(request *BackendCallGroupRequest) (_result *BackendCallGroupResponse, _err error)
- func (client *Client) BackendCallGroupWithOptions(tmpReq *BackendCallGroupRequest, runtime *util.RuntimeOptions) (_result *BackendCallGroupResponse, _err error)
- func (client *Client) BackendCallSignal(request *BackendCallSignalRequest) (_result *BackendCallSignalResponse, _err error)
- func (client *Client) BackendCallSignalWithOptions(request *BackendCallSignalRequest, runtime *util.RuntimeOptions) (_result *BackendCallSignalResponse, _err error)
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) GroupCall(request *GroupCallRequest) (_result *GroupCallResponse, _err error)
- func (client *Client) GroupCallWithOptions(tmpReq *GroupCallRequest, runtime *util.RuntimeOptions) (_result *GroupCallResponse, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) SignalCall(request *SignalCallRequest) (_result *SignalCallResponse, _err error)
- func (client *Client) SignalCallWithOptions(request *SignalCallRequest, runtime *util.RuntimeOptions) (_result *SignalCallResponse, _err error)
- func (client *Client) VoiceGroupCall(request *VoiceGroupCallRequest) (_result *VoiceGroupCallResponse, _err error)
- func (client *Client) VoiceGroupCallWithOptions(tmpReq *VoiceGroupCallRequest, runtime *util.RuntimeOptions) (_result *VoiceGroupCallResponse, _err error)
- func (client *Client) VoiceSingleCall(request *VoiceSingleCallRequest) (_result *VoiceSingleCallResponse, _err error)
- func (client *Client) VoiceSingleCallWithOptions(request *VoiceSingleCallRequest, runtime *util.RuntimeOptions) (_result *VoiceSingleCallResponse, _err error)
- type GroupCallRequest
- func (s GroupCallRequest) GoString() string
- func (s *GroupCallRequest) SetCalledNumber(v []*string) *GroupCallRequest
- func (s *GroupCallRequest) SetCallerIdNumber(v string) *GroupCallRequest
- func (s *GroupCallRequest) SetCountryId(v string) *GroupCallRequest
- func (s *GroupCallRequest) SetOutId(v string) *GroupCallRequest
- func (s *GroupCallRequest) SetOwnerId(v int64) *GroupCallRequest
- func (s *GroupCallRequest) SetPlayTimes(v int64) *GroupCallRequest
- func (s *GroupCallRequest) SetResourceOwnerAccount(v string) *GroupCallRequest
- func (s *GroupCallRequest) SetResourceOwnerId(v int64) *GroupCallRequest
- func (s *GroupCallRequest) SetSendType(v int64) *GroupCallRequest
- func (s *GroupCallRequest) SetSignature(v string) *GroupCallRequest
- func (s *GroupCallRequest) SetSignatureNonce(v string) *GroupCallRequest
- func (s *GroupCallRequest) SetSpeed(v int64) *GroupCallRequest
- func (s *GroupCallRequest) SetTaskName(v string) *GroupCallRequest
- func (s *GroupCallRequest) SetTimestamp(v string) *GroupCallRequest
- func (s *GroupCallRequest) SetTimingStart(v string) *GroupCallRequest
- func (s *GroupCallRequest) SetTtsCode(v string) *GroupCallRequest
- func (s *GroupCallRequest) SetTtsParam(v string) *GroupCallRequest
- func (s *GroupCallRequest) SetVoiceCode(v string) *GroupCallRequest
- func (s *GroupCallRequest) SetVolume(v int64) *GroupCallRequest
- func (s GroupCallRequest) String() string
- type GroupCallResponse
- func (s GroupCallResponse) GoString() string
- func (s *GroupCallResponse) SetBody(v *GroupCallResponseBody) *GroupCallResponse
- func (s *GroupCallResponse) SetHeaders(v map[string]*string) *GroupCallResponse
- func (s *GroupCallResponse) SetStatusCode(v int32) *GroupCallResponse
- func (s GroupCallResponse) String() string
- type GroupCallResponseBody
- func (s GroupCallResponseBody) GoString() string
- func (s *GroupCallResponseBody) SetAccessDeniedDetail(v string) *GroupCallResponseBody
- func (s *GroupCallResponseBody) SetCode(v string) *GroupCallResponseBody
- func (s *GroupCallResponseBody) SetMessage(v string) *GroupCallResponseBody
- func (s *GroupCallResponseBody) SetModel(v *GroupCallResponseBodyModel) *GroupCallResponseBody
- func (s *GroupCallResponseBody) SetRequestId(v string) *GroupCallResponseBody
- func (s GroupCallResponseBody) String() string
- type GroupCallResponseBodyModel
- type GroupCallShrinkRequest
- func (s GroupCallShrinkRequest) GoString() string
- func (s *GroupCallShrinkRequest) SetCalledNumberShrink(v string) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetCallerIdNumber(v string) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetCountryId(v string) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetOutId(v string) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetOwnerId(v int64) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetPlayTimes(v int64) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetResourceOwnerAccount(v string) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetResourceOwnerId(v int64) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetSendType(v int64) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetSignature(v string) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetSignatureNonce(v string) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetSpeed(v int64) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetTaskName(v string) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetTimestamp(v string) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetTimingStart(v string) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetTtsCode(v string) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetTtsParam(v string) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetVoiceCode(v string) *GroupCallShrinkRequest
- func (s *GroupCallShrinkRequest) SetVolume(v int64) *GroupCallShrinkRequest
- func (s GroupCallShrinkRequest) String() string
- type SignalCallRequest
- func (s SignalCallRequest) GoString() string
- func (s *SignalCallRequest) SetCalledNumber(v string) *SignalCallRequest
- func (s *SignalCallRequest) SetCallerIdNumber(v string) *SignalCallRequest
- func (s *SignalCallRequest) SetCountryId(v string) *SignalCallRequest
- func (s *SignalCallRequest) SetOutId(v string) *SignalCallRequest
- func (s *SignalCallRequest) SetOwnerId(v int64) *SignalCallRequest
- func (s *SignalCallRequest) SetPlayTimes(v int64) *SignalCallRequest
- func (s *SignalCallRequest) SetResourceOwnerAccount(v string) *SignalCallRequest
- func (s *SignalCallRequest) SetResourceOwnerId(v int64) *SignalCallRequest
- func (s *SignalCallRequest) SetSendType(v int64) *SignalCallRequest
- func (s *SignalCallRequest) SetSignature(v string) *SignalCallRequest
- func (s *SignalCallRequest) SetSignatureNonce(v string) *SignalCallRequest
- func (s *SignalCallRequest) SetSpeed(v int64) *SignalCallRequest
- func (s *SignalCallRequest) SetTaskName(v string) *SignalCallRequest
- func (s *SignalCallRequest) SetTimestamp(v string) *SignalCallRequest
- func (s *SignalCallRequest) SetTimingStart(v string) *SignalCallRequest
- func (s *SignalCallRequest) SetTtsCode(v string) *SignalCallRequest
- func (s *SignalCallRequest) SetTtsParam(v string) *SignalCallRequest
- func (s *SignalCallRequest) SetVoiceCode(v string) *SignalCallRequest
- func (s *SignalCallRequest) SetVolume(v int64) *SignalCallRequest
- func (s SignalCallRequest) String() string
- type SignalCallResponse
- func (s SignalCallResponse) GoString() string
- func (s *SignalCallResponse) SetBody(v *SignalCallResponseBody) *SignalCallResponse
- func (s *SignalCallResponse) SetHeaders(v map[string]*string) *SignalCallResponse
- func (s *SignalCallResponse) SetStatusCode(v int32) *SignalCallResponse
- func (s SignalCallResponse) String() string
- type SignalCallResponseBody
- func (s SignalCallResponseBody) GoString() string
- func (s *SignalCallResponseBody) SetAccessDeniedDetail(v string) *SignalCallResponseBody
- func (s *SignalCallResponseBody) SetCode(v string) *SignalCallResponseBody
- func (s *SignalCallResponseBody) SetMessage(v string) *SignalCallResponseBody
- func (s *SignalCallResponseBody) SetModel(v *SignalCallResponseBodyModel) *SignalCallResponseBody
- func (s *SignalCallResponseBody) SetRequestId(v string) *SignalCallResponseBody
- func (s *SignalCallResponseBody) SetSuccess(v bool) *SignalCallResponseBody
- func (s SignalCallResponseBody) String() string
- type SignalCallResponseBodyModel
- type VoiceGroupCallRequest
- func (s VoiceGroupCallRequest) GoString() string
- func (s *VoiceGroupCallRequest) SetCalledNumber(v []*string) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetCallerIdNumber(v string) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetCountryId(v string) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetOutId(v string) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetOwnerId(v int64) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetPlayTimes(v int64) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetResourceOwnerAccount(v string) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetResourceOwnerId(v int64) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetSendType(v int64) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetSpeed(v int64) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetTaskName(v string) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetTimingStart(v string) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetTtsCode(v string) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetTtsParam(v string) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetVoiceCode(v string) *VoiceGroupCallRequest
- func (s *VoiceGroupCallRequest) SetVolume(v int64) *VoiceGroupCallRequest
- func (s VoiceGroupCallRequest) String() string
- type VoiceGroupCallResponse
- func (s VoiceGroupCallResponse) GoString() string
- func (s *VoiceGroupCallResponse) SetBody(v *VoiceGroupCallResponseBody) *VoiceGroupCallResponse
- func (s *VoiceGroupCallResponse) SetHeaders(v map[string]*string) *VoiceGroupCallResponse
- func (s *VoiceGroupCallResponse) SetStatusCode(v int32) *VoiceGroupCallResponse
- func (s VoiceGroupCallResponse) String() string
- type VoiceGroupCallResponseBody
- func (s VoiceGroupCallResponseBody) GoString() string
- func (s *VoiceGroupCallResponseBody) SetAccessDeniedDetail(v string) *VoiceGroupCallResponseBody
- func (s *VoiceGroupCallResponseBody) SetCode(v string) *VoiceGroupCallResponseBody
- func (s *VoiceGroupCallResponseBody) SetMessage(v string) *VoiceGroupCallResponseBody
- func (s *VoiceGroupCallResponseBody) SetModel(v map[string]interface{}) *VoiceGroupCallResponseBody
- func (s *VoiceGroupCallResponseBody) SetRequestId(v string) *VoiceGroupCallResponseBody
- func (s *VoiceGroupCallResponseBody) SetSuccess(v bool) *VoiceGroupCallResponseBody
- func (s VoiceGroupCallResponseBody) String() string
- type VoiceGroupCallShrinkRequest
- func (s VoiceGroupCallShrinkRequest) GoString() string
- func (s *VoiceGroupCallShrinkRequest) SetCalledNumberShrink(v string) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetCallerIdNumber(v string) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetCountryId(v string) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetOutId(v string) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetOwnerId(v int64) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetPlayTimes(v int64) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetResourceOwnerAccount(v string) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetResourceOwnerId(v int64) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetSendType(v int64) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetSpeed(v int64) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetTaskName(v string) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetTimingStart(v string) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetTtsCode(v string) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetTtsParam(v string) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetVoiceCode(v string) *VoiceGroupCallShrinkRequest
- func (s *VoiceGroupCallShrinkRequest) SetVolume(v int64) *VoiceGroupCallShrinkRequest
- func (s VoiceGroupCallShrinkRequest) String() string
- type VoiceSingleCallRequest
- func (s VoiceSingleCallRequest) GoString() string
- func (s *VoiceSingleCallRequest) SetCalledNumber(v string) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetCallerIdNumber(v string) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetCountryId(v string) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetOutId(v string) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetOwnerId(v int64) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetPlayTimes(v int64) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetResourceOwnerAccount(v string) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetResourceOwnerId(v int64) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetSendType(v int64) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetSpeed(v int64) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetTaskName(v string) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetTimingStart(v string) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetTtsCode(v string) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetTtsParam(v string) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetVoiceCode(v string) *VoiceSingleCallRequest
- func (s *VoiceSingleCallRequest) SetVolume(v int64) *VoiceSingleCallRequest
- func (s VoiceSingleCallRequest) String() string
- type VoiceSingleCallResponse
- func (s VoiceSingleCallResponse) GoString() string
- func (s *VoiceSingleCallResponse) SetBody(v *VoiceSingleCallResponseBody) *VoiceSingleCallResponse
- func (s *VoiceSingleCallResponse) SetHeaders(v map[string]*string) *VoiceSingleCallResponse
- func (s *VoiceSingleCallResponse) SetStatusCode(v int32) *VoiceSingleCallResponse
- func (s VoiceSingleCallResponse) String() string
- type VoiceSingleCallResponseBody
- func (s VoiceSingleCallResponseBody) GoString() string
- func (s *VoiceSingleCallResponseBody) SetAccessDeniedDetail(v string) *VoiceSingleCallResponseBody
- func (s *VoiceSingleCallResponseBody) SetCode(v string) *VoiceSingleCallResponseBody
- func (s *VoiceSingleCallResponseBody) SetMessage(v string) *VoiceSingleCallResponseBody
- func (s *VoiceSingleCallResponseBody) SetModel(v map[string]interface{}) *VoiceSingleCallResponseBody
- func (s *VoiceSingleCallResponseBody) SetRequestId(v string) *VoiceSingleCallResponseBody
- func (s *VoiceSingleCallResponseBody) SetSuccess(v bool) *VoiceSingleCallResponseBody
- func (s VoiceSingleCallResponseBody) String() string
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 (s *BackendCallGroupRequest) SetCountryId(v string) *BackendCallGroupRequest
func (*BackendCallGroupRequest) SetOutId ¶
func (s *BackendCallGroupRequest) SetOutId(v string) *BackendCallGroupRequest
func (*BackendCallGroupRequest) SetOwnerId ¶
func (s *BackendCallGroupRequest) SetOwnerId(v int64) *BackendCallGroupRequest
func (*BackendCallGroupRequest) SetPlayTimes ¶
func (s *BackendCallGroupRequest) SetPlayTimes(v int64) *BackendCallGroupRequest
func (*BackendCallGroupRequest) SetResourceOwnerAccount ¶
func (s *BackendCallGroupRequest) SetResourceOwnerAccount(v string) *BackendCallGroupRequest
func (*BackendCallGroupRequest) SetResourceOwnerId ¶
func (s *BackendCallGroupRequest) SetResourceOwnerId(v int64) *BackendCallGroupRequest
func (*BackendCallGroupRequest) SetSendType ¶
func (s *BackendCallGroupRequest) SetSendType(v int64) *BackendCallGroupRequest
func (*BackendCallGroupRequest) SetSpeed ¶
func (s *BackendCallGroupRequest) SetSpeed(v int64) *BackendCallGroupRequest
func (*BackendCallGroupRequest) SetTaskName ¶
func (s *BackendCallGroupRequest) SetTaskName(v string) *BackendCallGroupRequest
func (*BackendCallGroupRequest) SetTimingStart ¶
func (s *BackendCallGroupRequest) SetTimingStart(v string) *BackendCallGroupRequest
func (*BackendCallGroupRequest) SetTtsCode ¶
func (s *BackendCallGroupRequest) SetTtsCode(v string) *BackendCallGroupRequest
func (*BackendCallGroupRequest) SetVoiceCode ¶
func (s *BackendCallGroupRequest) SetVoiceCode(v string) *BackendCallGroupRequest
func (*BackendCallGroupRequest) SetVolume ¶
func (s *BackendCallGroupRequest) SetVolume(v int64) *BackendCallGroupRequest
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 (s *BackendCallGroupResponse) SetBody(v *BackendCallGroupResponseBody) *BackendCallGroupResponse
func (*BackendCallGroupResponse) SetHeaders ¶
func (s *BackendCallGroupResponse) SetHeaders(v map[string]*string) *BackendCallGroupResponse
func (*BackendCallGroupResponse) SetStatusCode ¶
func (s *BackendCallGroupResponse) SetStatusCode(v int32) *BackendCallGroupResponse
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 (s *BackendCallGroupResponseBody) SetCode(v string) *BackendCallGroupResponseBody
func (*BackendCallGroupResponseBody) SetMessage ¶
func (s *BackendCallGroupResponseBody) SetMessage(v string) *BackendCallGroupResponseBody
func (*BackendCallGroupResponseBody) SetRequestId ¶
func (s *BackendCallGroupResponseBody) SetRequestId(v string) *BackendCallGroupResponseBody
func (*BackendCallGroupResponseBody) SetTaskId ¶
func (s *BackendCallGroupResponseBody) SetTaskId(v string) *BackendCallGroupResponseBody
func (BackendCallGroupResponseBody) String ¶
func (s BackendCallGroupResponseBody) String() 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 (s BackendCallGroupShrinkRequest) GoString() string
func (*BackendCallGroupShrinkRequest) SetCalledNumberShrink ¶
func (s *BackendCallGroupShrinkRequest) SetCalledNumberShrink(v string) *BackendCallGroupShrinkRequest
func (*BackendCallGroupShrinkRequest) SetCallerIdNumber ¶
func (s *BackendCallGroupShrinkRequest) SetCallerIdNumber(v string) *BackendCallGroupShrinkRequest
func (*BackendCallGroupShrinkRequest) SetCountryId ¶
func (s *BackendCallGroupShrinkRequest) SetCountryId(v string) *BackendCallGroupShrinkRequest
func (*BackendCallGroupShrinkRequest) SetOutId ¶
func (s *BackendCallGroupShrinkRequest) SetOutId(v string) *BackendCallGroupShrinkRequest
func (*BackendCallGroupShrinkRequest) SetOwnerId ¶
func (s *BackendCallGroupShrinkRequest) SetOwnerId(v int64) *BackendCallGroupShrinkRequest
func (*BackendCallGroupShrinkRequest) SetPlayTimes ¶
func (s *BackendCallGroupShrinkRequest) SetPlayTimes(v int64) *BackendCallGroupShrinkRequest
func (*BackendCallGroupShrinkRequest) SetResourceOwnerAccount ¶
func (s *BackendCallGroupShrinkRequest) SetResourceOwnerAccount(v string) *BackendCallGroupShrinkRequest
func (*BackendCallGroupShrinkRequest) SetResourceOwnerId ¶
func (s *BackendCallGroupShrinkRequest) SetResourceOwnerId(v int64) *BackendCallGroupShrinkRequest
func (*BackendCallGroupShrinkRequest) SetSendType ¶
func (s *BackendCallGroupShrinkRequest) SetSendType(v int64) *BackendCallGroupShrinkRequest
func (*BackendCallGroupShrinkRequest) SetSpeed ¶
func (s *BackendCallGroupShrinkRequest) SetSpeed(v int64) *BackendCallGroupShrinkRequest
func (*BackendCallGroupShrinkRequest) SetTaskName ¶
func (s *BackendCallGroupShrinkRequest) SetTaskName(v string) *BackendCallGroupShrinkRequest
func (*BackendCallGroupShrinkRequest) SetTimingStart ¶
func (s *BackendCallGroupShrinkRequest) SetTimingStart(v string) *BackendCallGroupShrinkRequest
func (*BackendCallGroupShrinkRequest) SetTtsCode ¶
func (s *BackendCallGroupShrinkRequest) SetTtsCode(v string) *BackendCallGroupShrinkRequest
func (*BackendCallGroupShrinkRequest) SetVoiceCode ¶
func (s *BackendCallGroupShrinkRequest) SetVoiceCode(v string) *BackendCallGroupShrinkRequest
func (*BackendCallGroupShrinkRequest) SetVolume ¶
func (s *BackendCallGroupShrinkRequest) SetVolume(v int64) *BackendCallGroupShrinkRequest
func (BackendCallGroupShrinkRequest) String ¶
func (s BackendCallGroupShrinkRequest) String() 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 (s *BackendCallSignalRequest) SetCalledNumber(v string) *BackendCallSignalRequest
func (*BackendCallSignalRequest) SetCallerIdNumber ¶
func (s *BackendCallSignalRequest) SetCallerIdNumber(v string) *BackendCallSignalRequest
func (*BackendCallSignalRequest) SetCountryId ¶
func (s *BackendCallSignalRequest) SetCountryId(v string) *BackendCallSignalRequest
func (*BackendCallSignalRequest) SetOutId ¶
func (s *BackendCallSignalRequest) SetOutId(v string) *BackendCallSignalRequest
func (*BackendCallSignalRequest) SetOwnerId ¶
func (s *BackendCallSignalRequest) SetOwnerId(v int64) *BackendCallSignalRequest
func (*BackendCallSignalRequest) SetPlayTimes ¶
func (s *BackendCallSignalRequest) SetPlayTimes(v int64) *BackendCallSignalRequest
func (*BackendCallSignalRequest) SetResourceOwnerAccount ¶
func (s *BackendCallSignalRequest) SetResourceOwnerAccount(v string) *BackendCallSignalRequest
func (*BackendCallSignalRequest) SetResourceOwnerId ¶
func (s *BackendCallSignalRequest) SetResourceOwnerId(v int64) *BackendCallSignalRequest
func (*BackendCallSignalRequest) SetSpeed ¶
func (s *BackendCallSignalRequest) SetSpeed(v int64) *BackendCallSignalRequest
func (*BackendCallSignalRequest) SetTtsCode ¶
func (s *BackendCallSignalRequest) SetTtsCode(v string) *BackendCallSignalRequest
func (*BackendCallSignalRequest) SetTtsParam ¶
func (s *BackendCallSignalRequest) SetTtsParam(v string) *BackendCallSignalRequest
func (*BackendCallSignalRequest) SetVolume ¶
func (s *BackendCallSignalRequest) SetVolume(v int64) *BackendCallSignalRequest
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 (s *BackendCallSignalResponse) SetBody(v *BackendCallSignalResponseBody) *BackendCallSignalResponse
func (*BackendCallSignalResponse) SetHeaders ¶
func (s *BackendCallSignalResponse) SetHeaders(v map[string]*string) *BackendCallSignalResponse
func (*BackendCallSignalResponse) SetStatusCode ¶
func (s *BackendCallSignalResponse) SetStatusCode(v int32) *BackendCallSignalResponse
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 (s BackendCallSignalResponseBody) GoString() string
func (*BackendCallSignalResponseBody) SetCallId ¶
func (s *BackendCallSignalResponseBody) SetCallId(v string) *BackendCallSignalResponseBody
func (*BackendCallSignalResponseBody) SetCode ¶
func (s *BackendCallSignalResponseBody) SetCode(v string) *BackendCallSignalResponseBody
func (*BackendCallSignalResponseBody) SetMessage ¶
func (s *BackendCallSignalResponseBody) SetMessage(v string) *BackendCallSignalResponseBody
func (*BackendCallSignalResponseBody) SetRequestId ¶
func (s *BackendCallSignalResponseBody) SetRequestId(v string) *BackendCallSignalResponseBody
func (BackendCallSignalResponseBody) String ¶
func (s BackendCallSignalResponseBody) String() string
type Client ¶
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) 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) 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 (s *GroupCallResponse) SetBody(v *GroupCallResponseBody) *GroupCallResponse
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 (s *GroupCallResponseBody) SetCode(v string) *GroupCallResponseBody
func (*GroupCallResponseBody) SetMessage ¶ added in v2.1.0
func (s *GroupCallResponseBody) SetMessage(v string) *GroupCallResponseBody
func (*GroupCallResponseBody) SetModel ¶ added in v2.1.0
func (s *GroupCallResponseBody) SetModel(v *GroupCallResponseBodyModel) *GroupCallResponseBody
func (*GroupCallResponseBody) SetRequestId ¶ added in v2.1.0
func (s *GroupCallResponseBody) SetRequestId(v string) *GroupCallResponseBody
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 (s *GroupCallResponseBodyModel) SetTaskId(v string) *GroupCallResponseBodyModel
func (GroupCallResponseBodyModel) String ¶ added in v2.1.0
func (s GroupCallResponseBodyModel) String() string
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 (s *GroupCallShrinkRequest) SetCountryId(v string) *GroupCallShrinkRequest
func (*GroupCallShrinkRequest) SetOutId ¶ added in v2.1.0
func (s *GroupCallShrinkRequest) SetOutId(v string) *GroupCallShrinkRequest
func (*GroupCallShrinkRequest) SetOwnerId ¶ added in v2.1.0
func (s *GroupCallShrinkRequest) SetOwnerId(v int64) *GroupCallShrinkRequest
func (*GroupCallShrinkRequest) SetPlayTimes ¶ added in v2.1.0
func (s *GroupCallShrinkRequest) SetPlayTimes(v int64) *GroupCallShrinkRequest
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 (s *GroupCallShrinkRequest) SetSendType(v int64) *GroupCallShrinkRequest
func (*GroupCallShrinkRequest) SetSignature ¶ added in v2.1.0
func (s *GroupCallShrinkRequest) SetSignature(v string) *GroupCallShrinkRequest
func (*GroupCallShrinkRequest) SetSignatureNonce ¶ added in v2.1.0
func (s *GroupCallShrinkRequest) SetSignatureNonce(v string) *GroupCallShrinkRequest
func (*GroupCallShrinkRequest) SetSpeed ¶ added in v2.1.0
func (s *GroupCallShrinkRequest) SetSpeed(v int64) *GroupCallShrinkRequest
func (*GroupCallShrinkRequest) SetTaskName ¶ added in v2.1.0
func (s *GroupCallShrinkRequest) SetTaskName(v string) *GroupCallShrinkRequest
func (*GroupCallShrinkRequest) SetTimestamp ¶ added in v2.1.0
func (s *GroupCallShrinkRequest) SetTimestamp(v string) *GroupCallShrinkRequest
func (*GroupCallShrinkRequest) SetTimingStart ¶ added in v2.1.0
func (s *GroupCallShrinkRequest) SetTimingStart(v string) *GroupCallShrinkRequest
func (*GroupCallShrinkRequest) SetTtsCode ¶ added in v2.1.0
func (s *GroupCallShrinkRequest) SetTtsCode(v string) *GroupCallShrinkRequest
func (*GroupCallShrinkRequest) SetTtsParam ¶ added in v2.1.0
func (s *GroupCallShrinkRequest) SetTtsParam(v string) *GroupCallShrinkRequest
func (*GroupCallShrinkRequest) SetVoiceCode ¶ added in v2.1.0
func (s *GroupCallShrinkRequest) SetVoiceCode(v string) *GroupCallShrinkRequest
func (*GroupCallShrinkRequest) SetVolume ¶ added in v2.1.0
func (s *GroupCallShrinkRequest) SetVolume(v int64) *GroupCallShrinkRequest
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 (s *SignalCallResponse) SetBody(v *SignalCallResponseBody) *SignalCallResponse
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 (s *SignalCallResponseBody) SetCode(v string) *SignalCallResponseBody
func (*SignalCallResponseBody) SetMessage ¶ added in v2.1.0
func (s *SignalCallResponseBody) SetMessage(v string) *SignalCallResponseBody
func (*SignalCallResponseBody) SetModel ¶ added in v2.1.0
func (s *SignalCallResponseBody) SetModel(v *SignalCallResponseBodyModel) *SignalCallResponseBody
func (*SignalCallResponseBody) SetRequestId ¶ added in v2.1.0
func (s *SignalCallResponseBody) SetRequestId(v string) *SignalCallResponseBody
func (*SignalCallResponseBody) SetSuccess ¶ added in v2.1.0
func (s *SignalCallResponseBody) SetSuccess(v bool) *SignalCallResponseBody
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 (s *SignalCallResponseBodyModel) SetCallId(v string) *SignalCallResponseBodyModel
func (SignalCallResponseBodyModel) String ¶ added in v2.1.0
func (s SignalCallResponseBodyModel) String() string
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 (s *VoiceGroupCallRequest) SetCountryId(v string) *VoiceGroupCallRequest
func (*VoiceGroupCallRequest) SetOutId ¶ added in v2.2.0
func (s *VoiceGroupCallRequest) SetOutId(v string) *VoiceGroupCallRequest
func (*VoiceGroupCallRequest) SetOwnerId ¶ added in v2.2.0
func (s *VoiceGroupCallRequest) SetOwnerId(v int64) *VoiceGroupCallRequest
func (*VoiceGroupCallRequest) SetPlayTimes ¶ added in v2.2.0
func (s *VoiceGroupCallRequest) SetPlayTimes(v int64) *VoiceGroupCallRequest
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 (s *VoiceGroupCallRequest) SetSendType(v int64) *VoiceGroupCallRequest
func (*VoiceGroupCallRequest) SetSpeed ¶ added in v2.2.0
func (s *VoiceGroupCallRequest) SetSpeed(v int64) *VoiceGroupCallRequest
func (*VoiceGroupCallRequest) SetTaskName ¶ added in v2.2.0
func (s *VoiceGroupCallRequest) SetTaskName(v string) *VoiceGroupCallRequest
func (*VoiceGroupCallRequest) SetTimingStart ¶ added in v2.2.0
func (s *VoiceGroupCallRequest) SetTimingStart(v string) *VoiceGroupCallRequest
func (*VoiceGroupCallRequest) SetTtsCode ¶ added in v2.2.0
func (s *VoiceGroupCallRequest) SetTtsCode(v string) *VoiceGroupCallRequest
func (*VoiceGroupCallRequest) SetTtsParam ¶ added in v2.2.0
func (s *VoiceGroupCallRequest) SetTtsParam(v string) *VoiceGroupCallRequest
func (*VoiceGroupCallRequest) SetVoiceCode ¶ added in v2.2.0
func (s *VoiceGroupCallRequest) SetVoiceCode(v string) *VoiceGroupCallRequest
func (*VoiceGroupCallRequest) SetVolume ¶ added in v2.2.0
func (s *VoiceGroupCallRequest) SetVolume(v int64) *VoiceGroupCallRequest
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 (s *VoiceGroupCallResponse) SetBody(v *VoiceGroupCallResponseBody) *VoiceGroupCallResponse
func (*VoiceGroupCallResponse) SetHeaders ¶ added in v2.2.0
func (s *VoiceGroupCallResponse) SetHeaders(v map[string]*string) *VoiceGroupCallResponse
func (*VoiceGroupCallResponse) SetStatusCode ¶ added in v2.2.0
func (s *VoiceGroupCallResponse) SetStatusCode(v int32) *VoiceGroupCallResponse
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 (s *VoiceGroupCallResponseBody) SetCode(v string) *VoiceGroupCallResponseBody
func (*VoiceGroupCallResponseBody) SetMessage ¶ added in v2.2.0
func (s *VoiceGroupCallResponseBody) SetMessage(v string) *VoiceGroupCallResponseBody
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 (s *VoiceGroupCallResponseBody) SetRequestId(v string) *VoiceGroupCallResponseBody
func (*VoiceGroupCallResponseBody) SetSuccess ¶ added in v2.2.0
func (s *VoiceGroupCallResponseBody) SetSuccess(v bool) *VoiceGroupCallResponseBody
func (VoiceGroupCallResponseBody) String ¶ added in v2.2.0
func (s VoiceGroupCallResponseBody) String() string
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 (s *VoiceGroupCallShrinkRequest) SetCallerIdNumber(v string) *VoiceGroupCallShrinkRequest
func (*VoiceGroupCallShrinkRequest) SetCountryId ¶ added in v2.2.0
func (s *VoiceGroupCallShrinkRequest) SetCountryId(v string) *VoiceGroupCallShrinkRequest
func (*VoiceGroupCallShrinkRequest) SetOutId ¶ added in v2.2.0
func (s *VoiceGroupCallShrinkRequest) SetOutId(v string) *VoiceGroupCallShrinkRequest
func (*VoiceGroupCallShrinkRequest) SetOwnerId ¶ added in v2.2.0
func (s *VoiceGroupCallShrinkRequest) SetOwnerId(v int64) *VoiceGroupCallShrinkRequest
func (*VoiceGroupCallShrinkRequest) SetPlayTimes ¶ added in v2.2.0
func (s *VoiceGroupCallShrinkRequest) SetPlayTimes(v int64) *VoiceGroupCallShrinkRequest
func (*VoiceGroupCallShrinkRequest) SetResourceOwnerAccount ¶ added in v2.2.0
func (s *VoiceGroupCallShrinkRequest) SetResourceOwnerAccount(v string) *VoiceGroupCallShrinkRequest
func (*VoiceGroupCallShrinkRequest) SetResourceOwnerId ¶ added in v2.2.0
func (s *VoiceGroupCallShrinkRequest) SetResourceOwnerId(v int64) *VoiceGroupCallShrinkRequest
func (*VoiceGroupCallShrinkRequest) SetSendType ¶ added in v2.2.0
func (s *VoiceGroupCallShrinkRequest) SetSendType(v int64) *VoiceGroupCallShrinkRequest
func (*VoiceGroupCallShrinkRequest) SetSpeed ¶ added in v2.2.0
func (s *VoiceGroupCallShrinkRequest) SetSpeed(v int64) *VoiceGroupCallShrinkRequest
func (*VoiceGroupCallShrinkRequest) SetTaskName ¶ added in v2.2.0
func (s *VoiceGroupCallShrinkRequest) SetTaskName(v string) *VoiceGroupCallShrinkRequest
func (*VoiceGroupCallShrinkRequest) SetTimingStart ¶ added in v2.2.0
func (s *VoiceGroupCallShrinkRequest) SetTimingStart(v string) *VoiceGroupCallShrinkRequest
func (*VoiceGroupCallShrinkRequest) SetTtsCode ¶ added in v2.2.0
func (s *VoiceGroupCallShrinkRequest) SetTtsCode(v string) *VoiceGroupCallShrinkRequest
func (*VoiceGroupCallShrinkRequest) SetTtsParam ¶ added in v2.2.0
func (s *VoiceGroupCallShrinkRequest) SetTtsParam(v string) *VoiceGroupCallShrinkRequest
func (*VoiceGroupCallShrinkRequest) SetVoiceCode ¶ added in v2.2.0
func (s *VoiceGroupCallShrinkRequest) SetVoiceCode(v string) *VoiceGroupCallShrinkRequest
func (*VoiceGroupCallShrinkRequest) SetVolume ¶ added in v2.2.0
func (s *VoiceGroupCallShrinkRequest) SetVolume(v int64) *VoiceGroupCallShrinkRequest
func (VoiceGroupCallShrinkRequest) String ¶ added in v2.2.0
func (s VoiceGroupCallShrinkRequest) String() string
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 (s *VoiceSingleCallRequest) SetCountryId(v string) *VoiceSingleCallRequest
func (*VoiceSingleCallRequest) SetOutId ¶ added in v2.2.0
func (s *VoiceSingleCallRequest) SetOutId(v string) *VoiceSingleCallRequest
func (*VoiceSingleCallRequest) SetOwnerId ¶ added in v2.2.0
func (s *VoiceSingleCallRequest) SetOwnerId(v int64) *VoiceSingleCallRequest
func (*VoiceSingleCallRequest) SetPlayTimes ¶ added in v2.2.0
func (s *VoiceSingleCallRequest) SetPlayTimes(v int64) *VoiceSingleCallRequest
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 (s *VoiceSingleCallRequest) SetSendType(v int64) *VoiceSingleCallRequest
func (*VoiceSingleCallRequest) SetSpeed ¶ added in v2.2.0
func (s *VoiceSingleCallRequest) SetSpeed(v int64) *VoiceSingleCallRequest
func (*VoiceSingleCallRequest) SetTaskName ¶ added in v2.2.0
func (s *VoiceSingleCallRequest) SetTaskName(v string) *VoiceSingleCallRequest
func (*VoiceSingleCallRequest) SetTimingStart ¶ added in v2.2.0
func (s *VoiceSingleCallRequest) SetTimingStart(v string) *VoiceSingleCallRequest
func (*VoiceSingleCallRequest) SetTtsCode ¶ added in v2.2.0
func (s *VoiceSingleCallRequest) SetTtsCode(v string) *VoiceSingleCallRequest
func (*VoiceSingleCallRequest) SetTtsParam ¶ added in v2.2.0
func (s *VoiceSingleCallRequest) SetTtsParam(v string) *VoiceSingleCallRequest
func (*VoiceSingleCallRequest) SetVoiceCode ¶ added in v2.2.0
func (s *VoiceSingleCallRequest) SetVoiceCode(v string) *VoiceSingleCallRequest
func (*VoiceSingleCallRequest) SetVolume ¶ added in v2.2.0
func (s *VoiceSingleCallRequest) SetVolume(v int64) *VoiceSingleCallRequest
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 (s *VoiceSingleCallResponse) SetBody(v *VoiceSingleCallResponseBody) *VoiceSingleCallResponse
func (*VoiceSingleCallResponse) SetHeaders ¶ added in v2.2.0
func (s *VoiceSingleCallResponse) SetHeaders(v map[string]*string) *VoiceSingleCallResponse
func (*VoiceSingleCallResponse) SetStatusCode ¶ added in v2.2.0
func (s *VoiceSingleCallResponse) SetStatusCode(v int32) *VoiceSingleCallResponse
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 (s *VoiceSingleCallResponseBody) SetCode(v string) *VoiceSingleCallResponseBody
func (*VoiceSingleCallResponseBody) SetMessage ¶ added in v2.2.0
func (s *VoiceSingleCallResponseBody) SetMessage(v string) *VoiceSingleCallResponseBody
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 (s *VoiceSingleCallResponseBody) SetRequestId(v string) *VoiceSingleCallResponseBody
func (*VoiceSingleCallResponseBody) SetSuccess ¶ added in v2.2.0
func (s *VoiceSingleCallResponseBody) SetSuccess(v bool) *VoiceSingleCallResponseBody
func (VoiceSingleCallResponseBody) String ¶ added in v2.2.0
func (s VoiceSingleCallResponseBody) String() string