client

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 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 AddAxnTrackNoRequest

type AddAxnTrackNoRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The private number in the AXN binding, that is, phone number X.
	//
	// You can call the [BindAxn](https://help.aliyun.com/document_detail/110258.html) operation to obtain the value of PhoneNoX.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1700000****
	PhoneNoX *string `json:"PhoneNoX,omitempty" xml:"PhoneNoX,omitempty"`
	// The key of the phone number pool. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// FC2235****
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The binding ID.
	//
	// You can call the [BindAxn](https://help.aliyun.com/document_detail/110258.html) operation to obtain the value of SubsId.
	//
	// This parameter is required.
	//
	// example:
	//
	// 15678890****
	SubsId *string `json:"SubsId,omitempty" xml:"SubsId,omitempty"`
	// The tracking number.
	//
	// This parameter is required.
	//
	// example:
	//
	// abcde*****
	TrackNo *string `json:"trackNo,omitempty" xml:"trackNo,omitempty"`
}

func (AddAxnTrackNoRequest) GoString

func (s AddAxnTrackNoRequest) GoString() string

func (*AddAxnTrackNoRequest) SetOwnerId

func (*AddAxnTrackNoRequest) SetPhoneNoX

func (*AddAxnTrackNoRequest) SetPoolKey

func (*AddAxnTrackNoRequest) SetResourceOwnerAccount

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

func (*AddAxnTrackNoRequest) SetResourceOwnerId

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

func (*AddAxnTrackNoRequest) SetSubsId

func (*AddAxnTrackNoRequest) SetTrackNo

func (AddAxnTrackNoRequest) String

func (s AddAxnTrackNoRequest) String() string

type AddAxnTrackNoResponse

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

func (AddAxnTrackNoResponse) GoString

func (s AddAxnTrackNoResponse) GoString() string

func (*AddAxnTrackNoResponse) SetBody

func (*AddAxnTrackNoResponse) SetHeaders

func (*AddAxnTrackNoResponse) SetStatusCode

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

func (AddAxnTrackNoResponse) String

func (s AddAxnTrackNoResponse) String() string

type AddAxnTrackNoResponseBody

type AddAxnTrackNoResponseBody 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](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// 1A4CADEF-8516-5890-9177-A1A4D97F****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AddAxnTrackNoResponseBody) GoString

func (s AddAxnTrackNoResponseBody) GoString() string

func (*AddAxnTrackNoResponseBody) SetCode

func (*AddAxnTrackNoResponseBody) SetMessage

func (*AddAxnTrackNoResponseBody) SetRequestId

func (AddAxnTrackNoResponseBody) String

func (s AddAxnTrackNoResponseBody) String() string

type AddSecretBlacklistRequest

type AddSecretBlacklistRequest struct {
	// The numbers in the blacklist. A point-to-point blacklist has a pair of numbers separated by a colon (:). A number pool blacklist has only one single number.
	//
	// >  The asterisks (\\*) in the sample value are not wildcards.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1825638****:1825248****
	BlackNo *string `json:"BlackNo,omitempty" xml:"BlackNo,omitempty"`
	// The blacklist type. Valid values:
	//
	// 	- **POINT_TO_POINT_BLACK**: point-to-point blacklist.
	//
	// 	- **PARTNER_GLOBAL_NUMBER_BLACK**: number pool blacklist.
	//
	// This parameter is required.
	//
	// example:
	//
	// POINT_TO_POINT_BLACK
	BlackType *string `json:"BlackType,omitempty" xml:"BlackType,omitempty"`
	// The key of the phone number pool.
	//
	// Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the Number Pool Management page.
	//
	// This parameter is required.
	//
	// example:
	//
	// FC2235****
	PoolKey *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	// The blacklist remarks.
	//
	// example:
	//
	// Customer service feedback
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The control on the call direction.
	//
	// 	- **PHONEA_REJECT**: The first number in the blacklist can be used to call the second number, but the second number cannot be used to call the first number.
	//
	// 	- **PHONEB_REJECT**: The first number in the blacklist cannot be used to call the second number, but the second number can be used to call the first number.
	//
	// 	- If this parameter is left empty, the two numbers in the blacklist cannot be used to call each other.
	//
	// >  This parameter is available only for a point-to-point blacklist.
	//
	// Valid values:
	//
	// 	- DUPLEX_REJECT
	//
	// 	- PHONEA_REJECT
	//
	// 	- PHONEB_REJECT
	//
	// example:
	//
	// PHONEA_REJECT
	WayControl *string `json:"WayControl,omitempty" xml:"WayControl,omitempty"`
}

func (AddSecretBlacklistRequest) GoString

func (s AddSecretBlacklistRequest) GoString() string

func (*AddSecretBlacklistRequest) SetBlackNo

func (*AddSecretBlacklistRequest) SetBlackType

func (*AddSecretBlacklistRequest) SetPoolKey

func (*AddSecretBlacklistRequest) SetRemark

func (*AddSecretBlacklistRequest) SetWayControl

func (AddSecretBlacklistRequest) String

func (s AddSecretBlacklistRequest) String() string

type AddSecretBlacklistResponse

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

func (AddSecretBlacklistResponse) GoString

func (s AddSecretBlacklistResponse) GoString() string

func (*AddSecretBlacklistResponse) SetBody

func (*AddSecretBlacklistResponse) SetHeaders

func (*AddSecretBlacklistResponse) SetStatusCode

func (AddSecretBlacklistResponse) String

type AddSecretBlacklistResponseBody

type AddSecretBlacklistResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other status codes indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8DE990
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AddSecretBlacklistResponseBody) GoString

func (*AddSecretBlacklistResponseBody) SetCode

func (*AddSecretBlacklistResponseBody) SetMessage

func (*AddSecretBlacklistResponseBody) SetRequestId

func (AddSecretBlacklistResponseBody) String

type BindAXBCallRequest added in v2.1.0

type BindAXBCallRequest struct {
	// authId绑定关系BX唯一id
	//
	// This parameter is required.
	//
	// example:
	//
	// 12353
	AuthId *string `json:"AuthId,omitempty" xml:"AuthId,omitempty"`
	// 客户uid
	//
	// example:
	//
	// -
	CallerParentId *int64 `json:"CallerParentId,omitempty" xml:"CallerParentId,omitempty"`
	// 号码池key
	//
	// This parameter is required.
	//
	// example:
	//
	// FC5**********************a1a
	CustomerPoolKey *string `json:"CustomerPoolKey,omitempty" xml:"CustomerPoolKey,omitempty"`
	// 绑定关系过期失效时间: 取值必须大于0; 单位:秒,ct_time + expiration = 自动解绑时间
	//
	// This parameter is required.
	//
	// example:
	//
	// 7200
	Expiration *int64 `json:"Expiration,omitempty" xml:"Expiration,omitempty"`
	OwnerId    *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 请求去重ID, reqId最大长度为20位,接入方需要保持原子性
	//
	// This parameter is required.
	//
	// example:
	//
	// 564**********879
	ReqId                *string `json:"ReqId,omitempty" xml:"ReqId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 客户A号码
	//
	// This parameter is required.
	//
	// example:
	//
	// 13*******43
	TelA *string `json:"TelA,omitempty" xml:"TelA,omitempty"`
	// 客户自定义参数回调带回
	//
	// example:
	//
	// 000
	UserData *string `json:"UserData,omitempty" xml:"UserData,omitempty"`
}

func (BindAXBCallRequest) GoString added in v2.1.0

func (s BindAXBCallRequest) GoString() string

func (*BindAXBCallRequest) SetAuthId added in v2.1.0

func (s *BindAXBCallRequest) SetAuthId(v string) *BindAXBCallRequest

func (*BindAXBCallRequest) SetCallerParentId added in v2.1.0

func (s *BindAXBCallRequest) SetCallerParentId(v int64) *BindAXBCallRequest

func (*BindAXBCallRequest) SetCustomerPoolKey added in v2.1.0

func (s *BindAXBCallRequest) SetCustomerPoolKey(v string) *BindAXBCallRequest

func (*BindAXBCallRequest) SetExpiration added in v2.1.0

func (s *BindAXBCallRequest) SetExpiration(v int64) *BindAXBCallRequest

func (*BindAXBCallRequest) SetOwnerId added in v2.1.0

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

func (*BindAXBCallRequest) SetReqId added in v2.1.0

func (*BindAXBCallRequest) SetResourceOwnerAccount added in v2.1.0

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

func (*BindAXBCallRequest) SetResourceOwnerId added in v2.1.0

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

func (*BindAXBCallRequest) SetTelA added in v2.1.0

func (*BindAXBCallRequest) SetUserData added in v2.1.0

func (s *BindAXBCallRequest) SetUserData(v string) *BindAXBCallRequest

func (BindAXBCallRequest) String added in v2.1.0

func (s BindAXBCallRequest) String() string

type BindAXBCallResponse added in v2.1.0

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

func (BindAXBCallResponse) GoString added in v2.1.0

func (s BindAXBCallResponse) GoString() string

func (*BindAXBCallResponse) SetBody added in v2.1.0

func (*BindAXBCallResponse) SetHeaders added in v2.1.0

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

func (*BindAXBCallResponse) SetStatusCode added in v2.1.0

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

func (BindAXBCallResponse) String added in v2.1.0

func (s BindAXBCallResponse) String() string

type BindAXBCallResponseBody added in v2.1.0

type BindAXBCallResponseBody struct {
	// example:
	//
	// 0
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// 绑定关系ID
	//
	// example:
	//
	// 476567566
	BindId *string `json:"BindId,omitempty" xml:"BindId,omitempty"`
	// 返回状态码 0000表示成功 其他表示失败
	//
	// example:
	//
	// 0000
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// 返回信息
	//
	// example:
	//
	// 成功
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// 返回是否成功 true  表示成功 false表示失败
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (BindAXBCallResponseBody) GoString added in v2.1.0

func (s BindAXBCallResponseBody) GoString() string

func (*BindAXBCallResponseBody) SetAccessDeniedDetail added in v2.1.0

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

func (*BindAXBCallResponseBody) SetBindId added in v2.1.0

func (*BindAXBCallResponseBody) SetCode added in v2.1.0

func (*BindAXBCallResponseBody) SetMessage added in v2.1.0

func (*BindAXBCallResponseBody) SetSuccess added in v2.1.0

func (BindAXBCallResponseBody) String added in v2.1.0

func (s BindAXBCallResponseBody) String() string

type BindAxbRequest

type BindAxbRequest struct {
	// The ID of the ASR model. On the [Automatic Speech Recognition (ASR) Model Management](https://dyplsnext.console.aliyun.com/?spm=5176.12818093.categories-n-products.ddypls.22e616d0a0tEFC#/asr) page, you can view the ID of the ASR model.
	//
	// example:
	//
	// 7ee372834d2f4cc7ac0d0ab2d0ae1aac
	ASRModelId *string `json:"ASRModelId,omitempty" xml:"ASRModelId,omitempty"`
	// Specifies whether to enable automatic speech recognition (ASR). Valid values:
	//
	// 	- **false*	- (default): disables ASR.
	//
	// 	- **true**: enables ASR.
	//
	// example:
	//
	// false
	ASRStatus *bool `json:"ASRStatus,omitempty" xml:"ASRStatus,omitempty"`
	// Re-sets the phone number display logic in the AXB binding. Fixed value: **1**, indicating that phone number X is displayed on both the calling phone and the called phone.
	//
	// >  Due to the regulatory restrictions imposed by carriers, the setting to display real phone numbers during calls does not take effect.
	//
	// example:
	//
	// 1
	CallDisplayType *int32 `json:"CallDisplayType,omitempty" xml:"CallDisplayType,omitempty"`
	// The status of the one-way call restriction. Valid values:
	//
	// 	- **CONTROL_AX_DISABLE**: Phone number A cannot be used to call phone number X.
	//
	// 	- **CONTROL_BX_DISABLE**: Phone number B cannot be used to call phone number X.
	//
	// example:
	//
	// CONTROL_AX_DISABLE
	CallRestrict *string `json:"CallRestrict,omitempty" xml:"CallRestrict,omitempty"`
	// The maximum ringing duration for each number in sequential ringing. Unit: seconds. The value ranges from 5 to 20.
	//
	// example:
	//
	// 10
	CallTimeout *int32 `json:"CallTimeout,omitempty" xml:"CallTimeout,omitempty"`
	// Specifies the dual tone multiple frequency (DTMF) key configuration in the AXB binding. The following content can be configured:
	//
	// 	- endCallIvrPhoneNo: for whom the audio is played, user A or user B.
	//
	// 	- waitingDtmfTime: the maximum waiting time after the first audio is played. The maximum waiting time is 30 seconds.
	//
	// 	- maxLoop: the maximum number of loop playback times of the first audio if the DTMF key is not matched. The maximum number of loop playback times is 5.
	//
	// 	- step1File: the name of the first audio.
	//
	// 	- step2File: the name of the second audio.
	//
	// 	- validKey: the valid key values, such as 1,2. Only two valid key values can be set, and the key values are separated by a comma (,).
	//
	// 	- waitingEndCall: The waiting duration to hang up a call. The waiting duration is allowed by a carrier. The maximum waiting duration is 10 seconds.
	//
	// example:
	//
	// {
	//
	//     "endCallIvrPhoneNo":"A",
	//
	//     "waitingDtmfTime":10,
	//
	//     "maxLoop":3,
	//
	//     "step1File":"62ab72f8-4750-4234-859e-e8d678c0cad3-flow_tts_test_1.wav",
	//
	//     "step2File":"62ab72f8-4750-4234-859e-e8d678c0cad3-flow_tts_test_2.wav",
	//
	//     "validKey":"1,2",
	//
	//     "waitingEndCall":2
	//
	// }
	DtmfConfig *string `json:"DtmfConfig,omitempty" xml:"DtmfConfig,omitempty"`
	// Specifies the city to which phone number X to be selected belongs.
	//
	// 	- If no phone number for the specified city is available in the current phone number pool or this parameter is not specified, a phone number that belongs to another city is randomly selected from the current phone number pool and assigned as phone number X.
	//
	// 	- If**Number X Assignment Mode*	- is set to **Strict Matching Mode*	- and no phone number meets the requirement, the system displays an allocation error.
	//
	// example:
	//
	// hangzhou
	ExpectCity *string `json:"ExpectCity,omitempty" xml:"ExpectCity,omitempty"`
	// The expiration time of the AXB binding.
	//
	// >  The expiration time must be more than 1 minute later than the time when you call this API operation.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2021-09-05 12:00:00
	Expiration *string `json:"Expiration,omitempty" xml:"Expiration,omitempty"`
	// Specifies whether to record all calls made by the bound phone numbers. Valid values:
	//
	// 	- **true**
	//
	// 	- **false*	- (default)
	//
	// example:
	//
	// true
	IsRecordingEnabled *bool `json:"IsRecordingEnabled,omitempty" xml:"IsRecordingEnabled,omitempty"`
	// The extension field for the external business. This parameter is returned in a call record receipt.
	//
	// example:
	//
	// abcdef
	OutId *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	// The ID of the external business.
	//
	// example:
	//
	// 34553330****
	OutOrderId *string `json:"OutOrderId,omitempty" xml:"OutOrderId,omitempty"`
	OwnerId    *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// Phone number A in the AXB binding.
	//
	// Phone number A can be set to a mobile phone number or a landline phone number. The landline phone number must be added with an area code, and no hyphen is required between the area code and the landline phone number.
	//
	// This parameter is required.
	//
	// example:
	//
	// 139****0000
	PhoneNoA *string `json:"PhoneNoA,omitempty" xml:"PhoneNoA,omitempty"`
	// Phone number B in the AXB binding. If phone number A is used to call phone number X, the call is forwarded to phone number B. Phone number B can be set to a mobile phone number or a landline phone number. The landline phone number must be added with an area code, and no hyphen is required between the area code and the landline phone number.
	//
	// >  If you need to update phone number B, call the [UpdateSubscription](https://help.aliyun.com/document_detail/110253.html) operation.
	//
	// example:
	//
	// 139****0000
	PhoneNoB *string `json:"PhoneNoB,omitempty" xml:"PhoneNoB,omitempty"`
	// Phone number X in the AXB binding.
	//
	// Phone number X is the phone number that you purchased in the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) or by using the [BuySecretNo](https://help.aliyun.com/document_detail/110266.html) operation before you bind a phone number. Phone number X is used to forward calls.
	//
	// If you do not specify this parameter, a random phone number is selected from the phone number pool based on the value of the ExpectCity parameter and is used as phone number X.
	//
	// example:
	//
	// 139****0000
	PhoneNoX *string `json:"PhoneNoX,omitempty" xml:"PhoneNoX,omitempty"`
	// The key of the phone number pool.
	//
	// Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// example:
	//
	// FC5526*****
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Sets the ringtone code for enterprise Color Ring Back Tone (CRBT) in the AXB binding.
	//
	// 	- Ringtone setting when phone number A is used to call phone number X in the AXB binding: AXBRing_A
	//
	// 	- Ringtone setting when phone number B is used to call phone number X in the AXB binding: AXBRing_B
	//
	// Enterprise CRBT codes: Enterprise CRBT codes can be queried in the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account). You can choose **Number Pool Management*	- > **Enterprise CRBT Management*	- to view enterprise CRBT codes. You can also upload, delete, or perform other operations on enterprise CRBT codes.
	//
	// >  The bound enterprise CRBTs are preferentially used. If no enterprise CRBT is set or the setting does not take effect, the enterprise CRBTs at the phone number pool level are used.
	//
	// example:
	//
	// {"AXBRing_B":"1000****1","AXBRing_A":"1000****1"}
	RingConfig *string `json:"RingConfig,omitempty" xml:"RingConfig,omitempty"`
}

func (BindAxbRequest) GoString

func (s BindAxbRequest) GoString() string

func (*BindAxbRequest) SetASRModelId

func (s *BindAxbRequest) SetASRModelId(v string) *BindAxbRequest

func (*BindAxbRequest) SetASRStatus

func (s *BindAxbRequest) SetASRStatus(v bool) *BindAxbRequest

func (*BindAxbRequest) SetCallDisplayType

func (s *BindAxbRequest) SetCallDisplayType(v int32) *BindAxbRequest

func (*BindAxbRequest) SetCallRestrict

func (s *BindAxbRequest) SetCallRestrict(v string) *BindAxbRequest

func (*BindAxbRequest) SetCallTimeout

func (s *BindAxbRequest) SetCallTimeout(v int32) *BindAxbRequest

func (*BindAxbRequest) SetDtmfConfig added in v2.0.1

func (s *BindAxbRequest) SetDtmfConfig(v string) *BindAxbRequest

func (*BindAxbRequest) SetExpectCity

func (s *BindAxbRequest) SetExpectCity(v string) *BindAxbRequest

func (*BindAxbRequest) SetExpiration

func (s *BindAxbRequest) SetExpiration(v string) *BindAxbRequest

func (*BindAxbRequest) SetIsRecordingEnabled

func (s *BindAxbRequest) SetIsRecordingEnabled(v bool) *BindAxbRequest

func (*BindAxbRequest) SetOutId

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

func (*BindAxbRequest) SetOutOrderId

func (s *BindAxbRequest) SetOutOrderId(v string) *BindAxbRequest

func (*BindAxbRequest) SetOwnerId

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

func (*BindAxbRequest) SetPhoneNoA

func (s *BindAxbRequest) SetPhoneNoA(v string) *BindAxbRequest

func (*BindAxbRequest) SetPhoneNoB

func (s *BindAxbRequest) SetPhoneNoB(v string) *BindAxbRequest

func (*BindAxbRequest) SetPhoneNoX

func (s *BindAxbRequest) SetPhoneNoX(v string) *BindAxbRequest

func (*BindAxbRequest) SetPoolKey

func (s *BindAxbRequest) SetPoolKey(v string) *BindAxbRequest

func (*BindAxbRequest) SetResourceOwnerAccount

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

func (*BindAxbRequest) SetResourceOwnerId

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

func (*BindAxbRequest) SetRingConfig

func (s *BindAxbRequest) SetRingConfig(v string) *BindAxbRequest

func (BindAxbRequest) String

func (s BindAxbRequest) String() string

type BindAxbResponse

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

func (BindAxbResponse) GoString

func (s BindAxbResponse) GoString() string

func (*BindAxbResponse) SetBody

func (*BindAxbResponse) SetHeaders

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

func (*BindAxbResponse) SetStatusCode

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

func (BindAxbResponse) String

func (s BindAxbResponse) String() string

type BindAxbResponseBody

type BindAxbResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other status codes indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// 9297B722-A016-43FB-B51A-E54050D9369D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information returned after the phone numbers were bound.
	SecretBindDTO *BindAxbResponseBodySecretBindDTO `json:"SecretBindDTO,omitempty" xml:"SecretBindDTO,omitempty" type:"Struct"`
}

func (BindAxbResponseBody) GoString

func (s BindAxbResponseBody) GoString() string

func (*BindAxbResponseBody) SetCode

func (*BindAxbResponseBody) SetMessage

func (*BindAxbResponseBody) SetRequestId

func (s *BindAxbResponseBody) SetRequestId(v string) *BindAxbResponseBody

func (*BindAxbResponseBody) SetSecretBindDTO

func (BindAxbResponseBody) String

func (s BindAxbResponseBody) String() string

type BindAxbResponseBodySecretBindDTO

type BindAxbResponseBodySecretBindDTO struct {
	// The extension of the phone number.
	//
	// >  The BindAxb operation does not involve an extension. Ignore this parameter.
	//
	// example:
	//
	// 130
	Extension *string `json:"Extension,omitempty" xml:"Extension,omitempty"`
	// The private number, that is, phone number X.
	//
	// example:
	//
	// 139****0000
	SecretNo *string `json:"SecretNo,omitempty" xml:"SecretNo,omitempty"`
	// The binding ID.
	//
	// example:
	//
	// 1**************3
	SubsId *string `json:"SubsId,omitempty" xml:"SubsId,omitempty"`
}

func (BindAxbResponseBodySecretBindDTO) GoString

func (*BindAxbResponseBodySecretBindDTO) SetExtension

func (*BindAxbResponseBodySecretBindDTO) SetSecretNo

func (*BindAxbResponseBodySecretBindDTO) SetSubsId

func (BindAxbResponseBodySecretBindDTO) String

type BindAxgRequest

type BindAxgRequest struct {
	// The ID of the ASR model.
	//
	// example:
	//
	// 980abddb908f48e8b987cb2cd303****
	ASRModelId *string `json:"ASRModelId,omitempty" xml:"ASRModelId,omitempty"`
	// Specifies whether to enable automatic speech recognition (ASR). Valid values:
	//
	// 	- **False*	- (default): disables ASR.
	//
	// 	- **True**: enables ASR.
	//
	// example:
	//
	// False
	ASRStatus *bool `json:"ASRStatus,omitempty" xml:"ASRStatus,omitempty"`
	// Re-sets the phone number display logic in the AXG binding. Fixed value: **1**, indicating that phone number X is displayed on both the calling phone and the called phone.
	//
	// >  Due to the regulatory restrictions imposed by carriers, the setting to display real phone numbers during calls does not take effect.
	//
	// example:
	//
	// 1
	CallDisplayType *int32 `json:"CallDisplayType,omitempty" xml:"CallDisplayType,omitempty"`
	// The status of call restrictions. Valid values:
	//
	// 	- **CONTROL_AX_DISABLE**: Phone number A cannot be used to call phone number X.
	//
	// 	- **CONTROL_BX_DISABLE**: Phone number B cannot be used to call phone number X.
	//
	// example:
	//
	// CONTROL_AX_DISABLE
	CallRestrict *string `json:"CallRestrict,omitempty" xml:"CallRestrict,omitempty"`
	// Specifies the city to which phone number X to be selected belongs.
	//
	// 	- If no phone number for the specified city is available in the current phone number pool or this parameter is not specified, a phone number that belongs to another city is randomly selected from the current phone number pool and assigned as phone number X.
	//
	// 	- If Number X Assignment Mode is set to Strict Matching Mode and no phone number meets the requirement, the system displays an allocation error.
	//
	// example:
	//
	// hangzhou
	ExpectCity *string `json:"ExpectCity,omitempty" xml:"ExpectCity,omitempty"`
	// The expiration time of the AXG binding. The value is accurate to seconds.
	//
	// >  The expiration time must be more than 1 minute later than the time when you call this API operation.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2019-09-05 12:00:00
	Expiration *string `json:"Expiration,omitempty" xml:"Expiration,omitempty"`
	// The group ID in the AXG binding. You can view the group ID by using either of the following methods:
	//
	// 	- On the **Number Pool Management*	- page in the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account), filter AXG privacy numbers and click **Number Group G Management*	- to view the group IDs of number groups G.****
	//
	// 	- If the [CreateAxgGroup](https://help.aliyun.com/document_detail/110250.html) operation is called to create number group G, the value of **GroupId*	- in the response of the CreateAxgGroup operation is specified as the value of the request parameter **GroupId*	- of the BindAxg operation.
	//
	// >  Number group G must have one or more phone numbers.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1234
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// Specifies whether to record all calls made by the bound phone numbers.
	//
	// example:
	//
	// true
	IsRecordingEnabled *bool `json:"IsRecordingEnabled,omitempty" xml:"IsRecordingEnabled,omitempty"`
	// The extension field for the external business. This parameter is returned in a call record receipt.
	//
	// example:
	//
	// abcdef
	OutId *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	// The ID of the external business.
	//
	// example:
	//
	// abcdef
	OutOrderId *string `json:"OutOrderId,omitempty" xml:"OutOrderId,omitempty"`
	OwnerId    *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// Phone number A in the AXG binding. Phone number A can be set to a mobile phone number or a landline phone number. The landline phone number must be added with an area code, and no hyphen is required between the area code and the landline phone number.
	//
	// This parameter is required.
	//
	// example:
	//
	// 139****0000
	PhoneNoA *string `json:"PhoneNoA,omitempty" xml:"PhoneNoA,omitempty"`
	// Phone number B in the AXG binding. If phone number A is used to call phone number X, the call is forwarded to phone number B. If you need to update phone number B, call the [UpdateSubscription](https://help.aliyun.com/document_detail/110253.html) operation.
	//
	// Phone number B can be set to a mobile phone number or a landline phone number. The landline phone number must be added with an area code, and no hyphen is required between the area code and the landline phone number.
	//
	// example:
	//
	// 139****0000
	PhoneNoB *string `json:"PhoneNoB,omitempty" xml:"PhoneNoB,omitempty"`
	// Phone number X in the AXG binding. If you do not specify this parameter, a random phone number is selected from the phone number pool based on the value of the **ExpectCity*	- parameter and is used as phone number X.
	//
	// >  Phone number X is the phone number that you purchased in the Phone Number Protection console or by using the [BuySecretNo](https://help.aliyun.com/document_detail/110266.html) operation before you bind a phone number. Phone number X is used to forward calls.
	//
	// example:
	//
	// 139****0000
	PhoneNoX *string `json:"PhoneNoX,omitempty" xml:"PhoneNoX,omitempty"`
	// The key of the phone number pool. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// example:
	//
	// FC123456
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Sets the ringtone for enterprise Color Ring Back Tone (CRBT) in the AXG binding.
	//
	// 	- Ringtone setting (with a callback number) when phone number A is used to call phone number X in the AXG binding: AXGRing_AB
	//
	// 	- Ringtone setting (without a callback number) when phone number A is used to call phone number X in the AXG binding: AXGRing_A
	//
	// 	- Ringtone setting when a phone number in number group G is used to call phone number X in the AXG binding: AXGRing_G
	//
	// 	- Enterprise CRBT codes: Enterprise CRBT codes can be queried in the Phone Number Protection console. You can choose **Number Pool Management > Enterprise CRBT Management*	- to view and manage enterprise CRBT codes. You can also upload, delete, or perform other operations on enterprise CRBT codes.
	//
	// >  The bound enterprise CRBTs are preferentially used. If no enterprise CRBT is set or the setting does not take effect, the enterprise CRBTs at the phone number pool level are used.
	//
	// example:
	//
	// {"AXGRing_AB":"100000001","AXGRing_A":"100000002","AXGRing_G":"100000003"}
	RingConfig *string `json:"RingConfig,omitempty" xml:"RingConfig,omitempty"`
}

func (BindAxgRequest) GoString

func (s BindAxgRequest) GoString() string

func (*BindAxgRequest) SetASRModelId

func (s *BindAxgRequest) SetASRModelId(v string) *BindAxgRequest

func (*BindAxgRequest) SetASRStatus

func (s *BindAxgRequest) SetASRStatus(v bool) *BindAxgRequest

func (*BindAxgRequest) SetCallDisplayType

func (s *BindAxgRequest) SetCallDisplayType(v int32) *BindAxgRequest

func (*BindAxgRequest) SetCallRestrict

func (s *BindAxgRequest) SetCallRestrict(v string) *BindAxgRequest

func (*BindAxgRequest) SetExpectCity

func (s *BindAxgRequest) SetExpectCity(v string) *BindAxgRequest

func (*BindAxgRequest) SetExpiration

func (s *BindAxgRequest) SetExpiration(v string) *BindAxgRequest

func (*BindAxgRequest) SetGroupId

func (s *BindAxgRequest) SetGroupId(v string) *BindAxgRequest

func (*BindAxgRequest) SetIsRecordingEnabled

func (s *BindAxgRequest) SetIsRecordingEnabled(v bool) *BindAxgRequest

func (*BindAxgRequest) SetOutId

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

func (*BindAxgRequest) SetOutOrderId

func (s *BindAxgRequest) SetOutOrderId(v string) *BindAxgRequest

func (*BindAxgRequest) SetOwnerId

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

func (*BindAxgRequest) SetPhoneNoA

func (s *BindAxgRequest) SetPhoneNoA(v string) *BindAxgRequest

func (*BindAxgRequest) SetPhoneNoB

func (s *BindAxgRequest) SetPhoneNoB(v string) *BindAxgRequest

func (*BindAxgRequest) SetPhoneNoX

func (s *BindAxgRequest) SetPhoneNoX(v string) *BindAxgRequest

func (*BindAxgRequest) SetPoolKey

func (s *BindAxgRequest) SetPoolKey(v string) *BindAxgRequest

func (*BindAxgRequest) SetResourceOwnerAccount

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

func (*BindAxgRequest) SetResourceOwnerId

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

func (*BindAxgRequest) SetRingConfig

func (s *BindAxgRequest) SetRingConfig(v string) *BindAxgRequest

func (BindAxgRequest) String

func (s BindAxgRequest) String() string

type BindAxgResponse

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

func (BindAxgResponse) GoString

func (s BindAxgResponse) GoString() string

func (*BindAxgResponse) SetBody

func (*BindAxgResponse) SetHeaders

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

func (*BindAxgResponse) SetStatusCode

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

func (BindAxgResponse) String

func (s BindAxgResponse) String() string

type BindAxgResponseBody

type BindAxgResponseBody 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](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8DE990
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information returned after the phone numbers were bound.
	SecretBindDTO *BindAxgResponseBodySecretBindDTO `json:"SecretBindDTO,omitempty" xml:"SecretBindDTO,omitempty" type:"Struct"`
}

func (BindAxgResponseBody) GoString

func (s BindAxgResponseBody) GoString() string

func (*BindAxgResponseBody) SetCode

func (*BindAxgResponseBody) SetMessage

func (*BindAxgResponseBody) SetRequestId

func (s *BindAxgResponseBody) SetRequestId(v string) *BindAxgResponseBody

func (*BindAxgResponseBody) SetSecretBindDTO

func (BindAxgResponseBody) String

func (s BindAxgResponseBody) String() string

type BindAxgResponseBodySecretBindDTO

type BindAxgResponseBodySecretBindDTO struct {
	// The extension of the phone number.
	//
	// >  The BindAxg operation does not involve an extension. Ignore this parameter.
	//
	// example:
	//
	// 139****0000
	Extension *string `json:"Extension,omitempty" xml:"Extension,omitempty"`
	// The private number, that is, phone number X.
	//
	// example:
	//
	// 139****0000
	SecretNo *string `json:"SecretNo,omitempty" xml:"SecretNo,omitempty"`
	// The binding ID.
	//
	// example:
	//
	// 1************3
	SubsId *string `json:"SubsId,omitempty" xml:"SubsId,omitempty"`
}

func (BindAxgResponseBodySecretBindDTO) GoString

func (*BindAxgResponseBodySecretBindDTO) SetExtension

func (*BindAxgResponseBodySecretBindDTO) SetSecretNo

func (*BindAxgResponseBodySecretBindDTO) SetSubsId

func (BindAxgResponseBodySecretBindDTO) String

type BindAxnExtensionRequest

type BindAxnExtensionRequest struct {
	// The ID of the ASR model. On the [Automatic Speech Recognition (ASR) Model Management](https://dyplsnext.console.aliyun.com/?spm=5176.12818093.categories-n-products.ddypls.22e616d0a0tEFC#/asr) page, you can view the ID of the ASR model.
	//
	// example:
	//
	// 980abddb908f48e8b987cb2cd303****
	ASRModelId *string `json:"ASRModelId,omitempty" xml:"ASRModelId,omitempty"`
	// Specifies whether to enable automatic speech recognition (ASR). Valid values:
	//
	// 	- **false*	- (default): disables ASR.
	//
	// 	- **true**: enables ASR.
	//
	// example:
	//
	// True
	ASRStatus *bool `json:"ASRStatus,omitempty" xml:"ASRStatus,omitempty"`
	// Re-sets the phone number display logic in the AXN extension binding. Fixed value: **1**, indicating that phone number X is displayed on both the calling phone and the called phone.
	//
	// >  Due to the regulatory restrictions imposed by carriers, the setting to display real phone numbers during calls does not take effect.
	//
	// example:
	//
	// 1
	CallDisplayType *int32 `json:"CallDisplayType,omitempty" xml:"CallDisplayType,omitempty"`
	// The status of call restrictions. Valid values:
	//
	// 	- **CONTROL_AX_DISABLE**: Phone number A cannot be used to call phone number X.
	//
	// 	- **CONTROL_BX_DISABLE**: Phone number B cannot be used to call phone number X.
	//
	// example:
	//
	// CONTROL_AX_DISABLE
	CallRestrict *string `json:"CallRestrict,omitempty" xml:"CallRestrict,omitempty"`
	// Specifies the city to which phone number X to be selected belongs.
	//
	// 	- If no phone number for the specified city is available in the current phone number pool or this parameter is not specified, a phone number that belongs to another city is randomly selected from the current phone number pool and assigned as phone number X.
	//
	// 	- If Number X Assignment Mode is set to Strict Matching Mode and no phone number meets the requirement, the system displays an allocation error.
	//
	// example:
	//
	// hangzhou
	ExpectCity *string `json:"ExpectCity,omitempty" xml:"ExpectCity,omitempty"`
	// The expiration time of the AXN extension binding. The value is accurate to seconds.
	//
	// >  The expiration time must be more than 1 minute later than the time when you call this API operation.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2019-09-05 12:00:00
	Expiration *string `json:"Expiration,omitempty" xml:"Expiration,omitempty"`
	Extend     *string `json:"Extend,omitempty" xml:"Extend,omitempty"`
	// The extension of phone number X. The extension is 1 to 3 digits in length.
	//
	// >  If you specify Extension, you must also specify PhoneNoX.
	//
	// example:
	//
	// 130
	Extension *string `json:"Extension,omitempty" xml:"Extension,omitempty"`
	// Specifies whether to record all calls made by the bound phone numbers. Valid values:
	//
	// 	- **true**
	//
	// 	- **false*	- (default)
	//
	// example:
	//
	// true
	IsRecordingEnabled *bool `json:"IsRecordingEnabled,omitempty" xml:"IsRecordingEnabled,omitempty"`
	// The extension field for the external business. This parameter is returned in a call record receipt.
	//
	// example:
	//
	// abcdef
	OutId *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	// The ID of the external business.
	//
	// example:
	//
	// abcdef
	OutOrderId *string `json:"OutOrderId,omitempty" xml:"OutOrderId,omitempty"`
	OwnerId    *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// Phone number A in the AXN extension binding. Phone number A can be set to a mobile phone number or a landline phone number. The landline phone number must be added with an area code, and no hyphen is required between the area code and the landline phone number.
	//
	// This parameter is required.
	//
	// example:
	//
	// 139****0000
	PhoneNoA *string `json:"PhoneNoA,omitempty" xml:"PhoneNoA,omitempty"`
	// Phone number B in the AXN extension binding. When phone number A is used to call phone number X, the call is forwarded to phone number B. If you need to update phone number B, call the [UpdateSubscription](https://help.aliyun.com/document_detail/110253.html) operation.
	//
	// Phone number B can be set to a mobile phone number or a landline phone number. The landline phone number must be added with an area code, and no hyphen is required between the area code and the landline phone number.
	//
	// example:
	//
	// 139****0000
	PhoneNoB *string `json:"PhoneNoB,omitempty" xml:"PhoneNoB,omitempty"`
	// Phone number X in the AXN extension binding. If you do not specify this parameter, a random phone number is selected from the phone number pool based on the value of the **ExpectCity*	- parameter and is used as phone number X.
	//
	// >  Phone number X is the phone number that you purchased in the Phone Number Protection console or by using the [BuySecretNo](https://help.aliyun.com/document_detail/110266.html) operation before you bind a phone number. Phone number X is used to forward calls.
	//
	// example:
	//
	// 139****0000
	PhoneNoX *string `json:"PhoneNoX,omitempty" xml:"PhoneNoX,omitempty"`
	// The key of the phone number pool. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// example:
	//
	// FC123456
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Sets the ringtone for enterprise Color Ring Back Tone (CRBT) in the AXN extension binding.
	//
	// 	- Ringtone setting (with a callback number) when phone number A is used to call phone number X in the AXN extension binding: AXNRing_AB
	//
	// 	- Ringtone setting (without a callback number) when phone number A is used to call phone number X in the AXN extension binding: AXNRing_A
	//
	// 	- Ringtone setting when an N-side number is used to call phone number X in the AXN extension binding: AXNRing_N
	//
	// Enterprise CRBT codes: Enterprise CRBT codes can be queried in the Phone Number Protection console. You can choose **Number Pool Management > Enterprise CRBT Management*	- to view and manage enterprise CRBT codes. You can also upload, delete, or perform other operations on enterprise CRBT codes.
	//
	// >  The bound enterprise CRBTs are preferentially used. If no enterprise CRBT is set or the setting does not take effect, the enterprise CRBTs at the phone number pool level are used.
	//
	// example:
	//
	// {"AXNRing_N":"100000001","AXNRing_A":"100000001"}
	RingConfig *string `json:"RingConfig,omitempty" xml:"RingConfig,omitempty"`
}

func (BindAxnExtensionRequest) GoString

func (s BindAxnExtensionRequest) GoString() string

func (*BindAxnExtensionRequest) SetASRModelId

func (*BindAxnExtensionRequest) SetASRStatus

func (*BindAxnExtensionRequest) SetCallDisplayType

func (s *BindAxnExtensionRequest) SetCallDisplayType(v int32) *BindAxnExtensionRequest

func (*BindAxnExtensionRequest) SetCallRestrict

func (*BindAxnExtensionRequest) SetExpectCity

func (*BindAxnExtensionRequest) SetExpiration

func (*BindAxnExtensionRequest) SetExtend added in v2.0.3

func (*BindAxnExtensionRequest) SetExtension

func (*BindAxnExtensionRequest) SetIsRecordingEnabled

func (s *BindAxnExtensionRequest) SetIsRecordingEnabled(v bool) *BindAxnExtensionRequest

func (*BindAxnExtensionRequest) SetOutId

func (*BindAxnExtensionRequest) SetOutOrderId

func (*BindAxnExtensionRequest) SetOwnerId

func (*BindAxnExtensionRequest) SetPhoneNoA

func (*BindAxnExtensionRequest) SetPhoneNoB

func (*BindAxnExtensionRequest) SetPhoneNoX

func (*BindAxnExtensionRequest) SetPoolKey

func (*BindAxnExtensionRequest) SetResourceOwnerAccount

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

func (*BindAxnExtensionRequest) SetResourceOwnerId

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

func (*BindAxnExtensionRequest) SetRingConfig

func (BindAxnExtensionRequest) String

func (s BindAxnExtensionRequest) String() string

type BindAxnExtensionResponse

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

func (BindAxnExtensionResponse) GoString

func (s BindAxnExtensionResponse) GoString() string

func (*BindAxnExtensionResponse) SetBody

func (*BindAxnExtensionResponse) SetHeaders

func (*BindAxnExtensionResponse) SetStatusCode

func (BindAxnExtensionResponse) String

func (s BindAxnExtensionResponse) String() string

type BindAxnExtensionResponseBody

type BindAxnExtensionResponseBody 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](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// 9297B722-A016-43FB-B51A-E54050D9369D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information returned after the phone numbers were bound.
	SecretBindDTO *BindAxnExtensionResponseBodySecretBindDTO `json:"SecretBindDTO,omitempty" xml:"SecretBindDTO,omitempty" type:"Struct"`
}

func (BindAxnExtensionResponseBody) GoString

func (s BindAxnExtensionResponseBody) GoString() string

func (*BindAxnExtensionResponseBody) SetCode

func (*BindAxnExtensionResponseBody) SetMessage

func (*BindAxnExtensionResponseBody) SetRequestId

func (BindAxnExtensionResponseBody) String

type BindAxnExtensionResponseBodySecretBindDTO

type BindAxnExtensionResponseBodySecretBindDTO struct {
	// The extension of the phone number.
	//
	// example:
	//
	// 130
	Extension *string `json:"Extension,omitempty" xml:"Extension,omitempty"`
	// The private number, that is, phone number X.
	//
	// example:
	//
	// 139*****0000
	SecretNo *string `json:"SecretNo,omitempty" xml:"SecretNo,omitempty"`
	// The binding ID.
	//
	// example:
	//
	// 1***************3
	SubsId *string `json:"SubsId,omitempty" xml:"SubsId,omitempty"`
}

func (BindAxnExtensionResponseBodySecretBindDTO) GoString

func (*BindAxnExtensionResponseBodySecretBindDTO) SetExtension

func (*BindAxnExtensionResponseBodySecretBindDTO) SetSecretNo

func (*BindAxnExtensionResponseBodySecretBindDTO) SetSubsId

func (BindAxnExtensionResponseBodySecretBindDTO) String

type BindAxnRequest

type BindAxnRequest struct {
	// The ID of the ASR model. On the [Automatic Speech Recognition (ASR) Model Management](https://dyplsnext.console.aliyun.com/?spm=5176.12818093.categories-n-products.ddypls.22e616d0a0tEFC#/asr) page, you can view the ID of the ASR model.
	//
	// example:
	//
	// 7ee372834d2f4cc7ac0d0ab2d0ae1aac
	ASRModelId *string `json:"ASRModelId,omitempty" xml:"ASRModelId,omitempty"`
	// Specifies whether to enable automatic speech recognition (ASR). Valid values:
	//
	// 	- **false*	- (default): disables ASR.
	//
	// 	- **true**: enables ASR.
	//
	// example:
	//
	// true
	ASRStatus *bool `json:"ASRStatus,omitempty" xml:"ASRStatus,omitempty"`
	// Re-sets the phone number display logic in the AXN binding. Fixed value: **1**, indicating that phone number X is displayed on both the calling phone and the called phone.
	//
	// >  Due to the regulatory restrictions imposed by carriers, the setting to display real phone numbers during calls does not take effect.
	//
	// example:
	//
	// 1
	CallDisplayType *int32 `json:"CallDisplayType,omitempty" xml:"CallDisplayType,omitempty"`
	// The status of one-way call restrictions. Valid values:
	//
	// 	- **CONTROL_AX_DISABLE**: Phone number A cannot be used to call phone number X.
	//
	// 	- **CONTROL_BX_DISABLE**: Phone number B cannot be used to call phone number X.
	//
	// example:
	//
	// CONTROL_AX_DISABLE
	CallRestrict *string `json:"CallRestrict,omitempty" xml:"CallRestrict,omitempty"`
	// The maximum ringing duration for each number in sequential ringing. Unit: seconds.
	//
	// example:
	//
	// 10
	CallTimeout *int32 `json:"CallTimeout,omitempty" xml:"CallTimeout,omitempty"`
	// Specifies the city to which phone number X to be selected belongs.
	//
	// 	- If no phone number for the specified city is available in the current phone number pool or this parameter is not specified, a phone number that belongs to another city is randomly selected from the current phone number pool and assigned as phone number X.
	//
	// 	- If **Number X Assignment Mode*	- is set to **Strict Matching Mode*	- and no phone number meets the requirement, the system displays an allocation error.
	//
	// example:
	//
	// hangzhou
	ExpectCity *string `json:"ExpectCity,omitempty" xml:"ExpectCity,omitempty"`
	// The expiration time of the AXN binding. Unit: seconds.
	//
	// >  The expiration time must be more than 60 seconds later than the time when you call this API operation.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2021-09-05 12:00:00
	Expiration *string `json:"Expiration,omitempty" xml:"Expiration,omitempty"`
	Extend     *string `json:"Extend,omitempty" xml:"Extend,omitempty"`
	// Specifies whether to record all calls made by the bound phone numbers. Valid values:
	//
	// 	- **true**
	//
	// 	- **false*	- (default)
	//
	// example:
	//
	// true
	IsRecordingEnabled *bool `json:"IsRecordingEnabled,omitempty" xml:"IsRecordingEnabled,omitempty"`
	// The type of the phone number.
	//
	// >  This parameter is applicable to the key accounts of Alibaba Cloud. This parameter can be ignored for Alibaba Cloud users.
	//
	// example:
	//
	// AXB_170
	NoType *string `json:"NoType,omitempty" xml:"NoType,omitempty"`
	// The extension field for the external business. This parameter is returned in a call record receipt.
	//
	// example:
	//
	// abcdef
	OutId *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	// The ID of the external business.
	//
	// example:
	//
	// 34553330****
	OutOrderId *string `json:"OutOrderId,omitempty" xml:"OutOrderId,omitempty"`
	OwnerId    *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// Phone number A in the AXN binding. Phone number A can be set to a mobile phone number or a landline phone number. The landline phone number must be added with an area code, and no hyphen is required between the area code and the landline phone number.
	//
	// This parameter is required.
	//
	// example:
	//
	// 139****0000
	PhoneNoA *string `json:"PhoneNoA,omitempty" xml:"PhoneNoA,omitempty"`
	// Phone number B in the AXN binding. If phone number A is used to call phone number X, the call is forwarded to phone number B. Phone number B can be set to a mobile phone number or a landline phone number. The landline phone number must be added with an area code, and no hyphen is required between the area code and the landline phone number.
	//
	// >  If phone number B is not specified in the AXN binding, the system automatically generates a nonexistent number. If phone number A is used to call phone number X, the nonexistent number is returned. If you need to update phone number B, call the [UpdateSubscription](https://help.aliyun.com/document_detail/110253.html) operation.
	//
	// example:
	//
	// 138****0000
	PhoneNoB *string `json:"PhoneNoB,omitempty" xml:"PhoneNoB,omitempty"`
	// Phone number X in the AXN binding. Phone number X is the phone number that you purchased in the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) or by using the [BuySecretNo](https://help.aliyun.com/document_detail/110266.html) operation before you bind a phone number. Phone number X is used to forward calls.
	//
	// >  If you do not specify this parameter, a random phone number is selected from the phone number pool based on the value of the ExpectCity parameter and is used as phone number X.
	//
	// example:
	//
	// 139****0000
	PhoneNoX *string `json:"PhoneNoX,omitempty" xml:"PhoneNoX,omitempty"`
	// The key of the phone number pool. Log on to the [Phone Number Protection console ](https://dypls.console.aliyun.com/dypls.htm#/account)and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// example:
	//
	// FC2256****
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Sets the ringtone code for enterprise Color Ring Back Tone (CRBT) in the AXN extension binding.
	//
	// 	- Ringtone setting (with a callback number) when phone number A is used to call phone number X in the AXN extension binding: AXNRing_AB
	//
	// 	- Ringtone setting (without a callback number) when phone number A is used to call phone number X in the AXN extension binding: AXNRing_A
	//
	// 	- Ringtone setting when an N-side number is used to call phone number X in the AXN extension binding: AXNRing_N
	//
	// Enterprise CRBT codes: Enterprise CRBT codes can be queried in the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account). You can choose **Number Pool Management > Enterprise CRBT Management*	- to view enterprise CRBT codes. You can also upload, delete, or perform other operations on enterprise CRBT codes.
	//
	// >  The bound enterprise CRBTs are preferentially used. If no enterprise CRBT is set or the setting does not take effect, the enterprise CRBTs at the phone number pool level are used.
	//
	// example:
	//
	// {"AXNRing_N":"100000001","AXNRing_A":"100000001"}
	RingConfig *string `json:"RingConfig,omitempty" xml:"RingConfig,omitempty"`
}

func (BindAxnRequest) GoString

func (s BindAxnRequest) GoString() string

func (*BindAxnRequest) SetASRModelId

func (s *BindAxnRequest) SetASRModelId(v string) *BindAxnRequest

func (*BindAxnRequest) SetASRStatus

func (s *BindAxnRequest) SetASRStatus(v bool) *BindAxnRequest

func (*BindAxnRequest) SetCallDisplayType

func (s *BindAxnRequest) SetCallDisplayType(v int32) *BindAxnRequest

func (*BindAxnRequest) SetCallRestrict

func (s *BindAxnRequest) SetCallRestrict(v string) *BindAxnRequest

func (*BindAxnRequest) SetCallTimeout

func (s *BindAxnRequest) SetCallTimeout(v int32) *BindAxnRequest

func (*BindAxnRequest) SetExpectCity

func (s *BindAxnRequest) SetExpectCity(v string) *BindAxnRequest

func (*BindAxnRequest) SetExpiration

func (s *BindAxnRequest) SetExpiration(v string) *BindAxnRequest

func (*BindAxnRequest) SetExtend added in v2.1.0

func (s *BindAxnRequest) SetExtend(v string) *BindAxnRequest

func (*BindAxnRequest) SetIsRecordingEnabled

func (s *BindAxnRequest) SetIsRecordingEnabled(v bool) *BindAxnRequest

func (*BindAxnRequest) SetNoType

func (s *BindAxnRequest) SetNoType(v string) *BindAxnRequest

func (*BindAxnRequest) SetOutId

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

func (*BindAxnRequest) SetOutOrderId

func (s *BindAxnRequest) SetOutOrderId(v string) *BindAxnRequest

func (*BindAxnRequest) SetOwnerId

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

func (*BindAxnRequest) SetPhoneNoA

func (s *BindAxnRequest) SetPhoneNoA(v string) *BindAxnRequest

func (*BindAxnRequest) SetPhoneNoB

func (s *BindAxnRequest) SetPhoneNoB(v string) *BindAxnRequest

func (*BindAxnRequest) SetPhoneNoX

func (s *BindAxnRequest) SetPhoneNoX(v string) *BindAxnRequest

func (*BindAxnRequest) SetPoolKey

func (s *BindAxnRequest) SetPoolKey(v string) *BindAxnRequest

func (*BindAxnRequest) SetResourceOwnerAccount

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

func (*BindAxnRequest) SetResourceOwnerId

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

func (*BindAxnRequest) SetRingConfig

func (s *BindAxnRequest) SetRingConfig(v string) *BindAxnRequest

func (BindAxnRequest) String

func (s BindAxnRequest) String() string

type BindAxnResponse

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

func (BindAxnResponse) GoString

func (s BindAxnResponse) GoString() string

func (*BindAxnResponse) SetBody

func (*BindAxnResponse) SetHeaders

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

func (*BindAxnResponse) SetStatusCode

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

func (BindAxnResponse) String

func (s BindAxnResponse) String() string

type BindAxnResponseBody

type BindAxnResponseBody 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](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8DE990
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information returned after the phone numbers were bound.
	SecretBindDTO *BindAxnResponseBodySecretBindDTO `json:"SecretBindDTO,omitempty" xml:"SecretBindDTO,omitempty" type:"Struct"`
}

func (BindAxnResponseBody) GoString

func (s BindAxnResponseBody) GoString() string

func (*BindAxnResponseBody) SetCode

func (*BindAxnResponseBody) SetMessage

func (*BindAxnResponseBody) SetRequestId

func (s *BindAxnResponseBody) SetRequestId(v string) *BindAxnResponseBody

func (*BindAxnResponseBody) SetSecretBindDTO

func (BindAxnResponseBody) String

func (s BindAxnResponseBody) String() string

type BindAxnResponseBodySecretBindDTO

type BindAxnResponseBodySecretBindDTO struct {
	// The extension of the phone number.
	//
	// >  The BindAxn operation does not involve an extension. Ignore this parameter.
	//
	// example:
	//
	// 130
	Extension *string `json:"Extension,omitempty" xml:"Extension,omitempty"`
	// The private number, that is, phone number X.
	//
	// example:
	//
	// 139****0000
	SecretNo *string `json:"SecretNo,omitempty" xml:"SecretNo,omitempty"`
	// The binding ID.
	//
	// example:
	//
	// 1***************3
	SubsId *string `json:"SubsId,omitempty" xml:"SubsId,omitempty"`
}

func (BindAxnResponseBodySecretBindDTO) GoString

func (*BindAxnResponseBodySecretBindDTO) SetExtension

func (*BindAxnResponseBodySecretBindDTO) SetSecretNo

func (*BindAxnResponseBodySecretBindDTO) SetSubsId

func (BindAxnResponseBodySecretBindDTO) String

type BindBatchAxgRequest added in v2.0.2

type BindBatchAxgRequest struct {
	// This parameter is required.
	AxgBindList []*BindBatchAxgRequestAxgBindList `json:"AxgBindList,omitempty" xml:"AxgBindList,omitempty" type:"Repeated"`
	OwnerId     *int64                            `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// example:
	//
	// FC2235****
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (BindBatchAxgRequest) GoString added in v2.0.2

func (s BindBatchAxgRequest) GoString() string

func (*BindBatchAxgRequest) SetAxgBindList added in v2.0.2

func (*BindBatchAxgRequest) SetOwnerId added in v2.0.2

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

func (*BindBatchAxgRequest) SetPoolKey added in v2.0.2

func (*BindBatchAxgRequest) SetResourceOwnerAccount added in v2.0.2

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

func (*BindBatchAxgRequest) SetResourceOwnerId added in v2.0.2

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

func (BindBatchAxgRequest) String added in v2.0.2

func (s BindBatchAxgRequest) String() string

type BindBatchAxgRequestAxgBindList added in v2.0.2

type BindBatchAxgRequestAxgBindList struct {
	// example:
	//
	// 7ee372834d2f4cc7ac0d0ab2d0ae1aac
	ASRModelId *string `json:"ASRModelId,omitempty" xml:"ASRModelId,omitempty"`
	// example:
	//
	// true
	ASRStatus *bool `json:"ASRStatus,omitempty" xml:"ASRStatus,omitempty"`
	// example:
	//
	// 1
	CallDisplayType *int32 `json:"CallDisplayType,omitempty" xml:"CallDisplayType,omitempty"`
	// example:
	//
	// CONTROL_AX_DISABLE
	CallRestrict *string `json:"CallRestrict,omitempty" xml:"CallRestrict,omitempty"`
	ExpectCity   *string `json:"ExpectCity,omitempty" xml:"ExpectCity,omitempty"`
	// example:
	//
	// 2022-07-11 01:05:15
	Expiration *string `json:"Expiration,omitempty" xml:"Expiration,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1234
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// example:
	//
	// False
	IsRecordingEnabled *bool `json:"IsRecordingEnabled,omitempty" xml:"IsRecordingEnabled,omitempty"`
	// example:
	//
	// 18223ad447910fd
	OutId *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	// example:
	//
	// 20220824021816883677
	OutOrderId *string `json:"OutOrderId,omitempty" xml:"OutOrderId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 13333333333
	PhoneNoA *string `json:"PhoneNoA,omitempty" xml:"PhoneNoA,omitempty"`
	// example:
	//
	// 13333333333
	PhoneNoB *string `json:"PhoneNoB,omitempty" xml:"PhoneNoB,omitempty"`
	// example:
	//
	// 13333333333
	PhoneNoX *string `json:"PhoneNoX,omitempty" xml:"PhoneNoX,omitempty"`
	// example:
	//
	// {\\"AXBRing_B\\":\\"100000002\\",\\"AXBRing_A\\":\\"100000001\\"}
	RingConfig *string `json:"RingConfig,omitempty" xml:"RingConfig,omitempty"`
}

func (BindBatchAxgRequestAxgBindList) GoString added in v2.0.2

func (*BindBatchAxgRequestAxgBindList) SetASRModelId added in v2.0.2

func (*BindBatchAxgRequestAxgBindList) SetASRStatus added in v2.0.2

func (*BindBatchAxgRequestAxgBindList) SetCallDisplayType added in v2.0.2

func (*BindBatchAxgRequestAxgBindList) SetCallRestrict added in v2.0.2

func (*BindBatchAxgRequestAxgBindList) SetExpectCity added in v2.0.2

func (*BindBatchAxgRequestAxgBindList) SetExpiration added in v2.0.2

func (*BindBatchAxgRequestAxgBindList) SetGroupId added in v2.0.2

func (*BindBatchAxgRequestAxgBindList) SetIsRecordingEnabled added in v2.0.2

func (*BindBatchAxgRequestAxgBindList) SetOutId added in v2.0.2

func (*BindBatchAxgRequestAxgBindList) SetOutOrderId added in v2.0.2

func (*BindBatchAxgRequestAxgBindList) SetPhoneNoA added in v2.0.2

func (*BindBatchAxgRequestAxgBindList) SetPhoneNoB added in v2.0.2

func (*BindBatchAxgRequestAxgBindList) SetPhoneNoX added in v2.0.2

func (*BindBatchAxgRequestAxgBindList) SetRingConfig added in v2.0.2

func (BindBatchAxgRequestAxgBindList) String added in v2.0.2

type BindBatchAxgResponse added in v2.0.2

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

func (BindBatchAxgResponse) GoString added in v2.0.2

func (s BindBatchAxgResponse) GoString() string

func (*BindBatchAxgResponse) SetBody added in v2.0.2

func (*BindBatchAxgResponse) SetHeaders added in v2.0.2

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

func (*BindBatchAxgResponse) SetStatusCode added in v2.0.2

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

func (BindBatchAxgResponse) String added in v2.0.2

func (s BindBatchAxgResponse) String() string

type BindBatchAxgResponseBody added in v2.0.2

type BindBatchAxgResponseBody struct {
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// 5DCCA8CD-6C0A-50B4-A496-B1D2AB48A1C3
	RequestId      *string                                 `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	SecretBindList *BindBatchAxgResponseBodySecretBindList `json:"SecretBindList,omitempty" xml:"SecretBindList,omitempty" type:"Struct"`
}

func (BindBatchAxgResponseBody) GoString added in v2.0.2

func (s BindBatchAxgResponseBody) GoString() string

func (*BindBatchAxgResponseBody) SetCode added in v2.0.2

func (*BindBatchAxgResponseBody) SetMessage added in v2.0.2

func (*BindBatchAxgResponseBody) SetRequestId added in v2.0.2

func (*BindBatchAxgResponseBody) SetSecretBindList added in v2.0.2

func (BindBatchAxgResponseBody) String added in v2.0.2

func (s BindBatchAxgResponseBody) String() string

type BindBatchAxgResponseBodySecretBindList added in v2.0.2

type BindBatchAxgResponseBodySecretBindList struct {
	SecretBind []*BindBatchAxgResponseBodySecretBindListSecretBind `json:"SecretBind,omitempty" xml:"SecretBind,omitempty" type:"Repeated"`
}

func (BindBatchAxgResponseBodySecretBindList) GoString added in v2.0.2

func (*BindBatchAxgResponseBodySecretBindList) SetSecretBind added in v2.0.2

func (BindBatchAxgResponseBodySecretBindList) String added in v2.0.2

type BindBatchAxgResponseBodySecretBindListSecretBind added in v2.0.2

type BindBatchAxgResponseBodySecretBindListSecretBind struct {
	// example:
	//
	// isv.INVALID_PARAMETERS
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// example:
	//
	// 257
	Extension *string `json:"Extension,omitempty" xml:"Extension,omitempty"`
	// example:
	//
	// 1234
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// example:
	//
	// ringConfig invalid
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// 13333333333
	PhoneNoA *string `json:"PhoneNoA,omitempty" xml:"PhoneNoA,omitempty"`
	// example:
	//
	// 13333333333
	SecretNo *string `json:"SecretNo,omitempty" xml:"SecretNo,omitempty"`
	// example:
	//
	// 1000085060515673
	SubsId *string `json:"SubsId,omitempty" xml:"SubsId,omitempty"`
}

func (BindBatchAxgResponseBodySecretBindListSecretBind) GoString added in v2.0.2

func (*BindBatchAxgResponseBodySecretBindListSecretBind) SetCode added in v2.0.2

func (*BindBatchAxgResponseBodySecretBindListSecretBind) SetExtension added in v2.0.2

func (*BindBatchAxgResponseBodySecretBindListSecretBind) SetGroupId added in v2.0.2

func (*BindBatchAxgResponseBodySecretBindListSecretBind) SetMessage added in v2.0.2

func (*BindBatchAxgResponseBodySecretBindListSecretBind) SetPhoneNoA added in v2.0.2

func (*BindBatchAxgResponseBodySecretBindListSecretBind) SetSecretNo added in v2.0.2

func (*BindBatchAxgResponseBodySecretBindListSecretBind) SetSubsId added in v2.0.2

func (BindBatchAxgResponseBodySecretBindListSecretBind) String added in v2.0.2

type BindBatchAxgShrinkRequest added in v2.0.2

type BindBatchAxgShrinkRequest struct {
	// This parameter is required.
	AxgBindListShrink *string `json:"AxgBindList,omitempty" xml:"AxgBindList,omitempty"`
	OwnerId           *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// example:
	//
	// FC2235****
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (BindBatchAxgShrinkRequest) GoString added in v2.0.2

func (s BindBatchAxgShrinkRequest) GoString() string

func (*BindBatchAxgShrinkRequest) SetAxgBindListShrink added in v2.0.2

func (s *BindBatchAxgShrinkRequest) SetAxgBindListShrink(v string) *BindBatchAxgShrinkRequest

func (*BindBatchAxgShrinkRequest) SetOwnerId added in v2.0.2

func (*BindBatchAxgShrinkRequest) SetPoolKey added in v2.0.2

func (*BindBatchAxgShrinkRequest) SetResourceOwnerAccount added in v2.0.2

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

func (*BindBatchAxgShrinkRequest) SetResourceOwnerId added in v2.0.2

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

func (BindBatchAxgShrinkRequest) String added in v2.0.2

func (s BindBatchAxgShrinkRequest) String() string

type BindXBRequest added in v2.1.0

type BindXBRequest struct {
	// 客户uid
	//
	// example:
	//
	// -
	CallerParentId *int64 `json:"CallerParentId,omitempty" xml:"CallerParentId,omitempty"`
	// 号码池key
	//
	// This parameter is required.
	//
	// example:
	//
	// FC5**********************a1a
	CustomerPoolKey *string `json:"CustomerPoolKey,omitempty" xml:"CustomerPoolKey,omitempty"`
	OwnerId         *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 请求去重ID, reqId最大长度为20位,接入方需要保持原子性
	//
	// This parameter is required.
	//
	// example:
	//
	// 564**********879
	ReqId                *string `json:"ReqId,omitempty" xml:"ReqId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 员工真实号码
	//
	// This parameter is required.
	//
	// example:
	//
	// 18*******22
	TelB *string `json:"TelB,omitempty" xml:"TelB,omitempty"`
	// X号码
	//
	// This parameter is required.
	//
	// example:
	//
	// 17*******22
	TelX *string `json:"TelX,omitempty" xml:"TelX,omitempty"`
	// 客户自定义参数回调带回
	//
	// example:
	//
	// 000
	UserData *string `json:"UserData,omitempty" xml:"UserData,omitempty"`
}

func (BindXBRequest) GoString added in v2.1.0

func (s BindXBRequest) GoString() string

func (*BindXBRequest) SetCallerParentId added in v2.1.0

func (s *BindXBRequest) SetCallerParentId(v int64) *BindXBRequest

func (*BindXBRequest) SetCustomerPoolKey added in v2.1.0

func (s *BindXBRequest) SetCustomerPoolKey(v string) *BindXBRequest

func (*BindXBRequest) SetOwnerId added in v2.1.0

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

func (*BindXBRequest) SetReqId added in v2.1.0

func (s *BindXBRequest) SetReqId(v string) *BindXBRequest

func (*BindXBRequest) SetResourceOwnerAccount added in v2.1.0

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

func (*BindXBRequest) SetResourceOwnerId added in v2.1.0

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

func (*BindXBRequest) SetTelB added in v2.1.0

func (s *BindXBRequest) SetTelB(v string) *BindXBRequest

func (*BindXBRequest) SetTelX added in v2.1.0

func (s *BindXBRequest) SetTelX(v string) *BindXBRequest

func (*BindXBRequest) SetUserData added in v2.1.0

func (s *BindXBRequest) SetUserData(v string) *BindXBRequest

func (BindXBRequest) String added in v2.1.0

func (s BindXBRequest) String() string

type BindXBResponse added in v2.1.0

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

func (BindXBResponse) GoString added in v2.1.0

func (s BindXBResponse) GoString() string

func (*BindXBResponse) SetBody added in v2.1.0

func (*BindXBResponse) SetHeaders added in v2.1.0

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

func (*BindXBResponse) SetStatusCode added in v2.1.0

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

func (BindXBResponse) String added in v2.1.0

func (s BindXBResponse) String() string

type BindXBResponseBody added in v2.1.0

type BindXBResponseBody struct {
	// example:
	//
	// 0
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// 工作号关系绑定的唯一标识
	//
	// example:
	//
	// 435****456
	AuthId *string `json:"AuthId,omitempty" xml:"AuthId,omitempty"`
	// 返回状态码 0000表示成功 其他表示失败
	//
	// example:
	//
	// 0000
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// 返回信息
	//
	// example:
	//
	// 成功
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// 返回是否成功 true  表示成功 false表示失败
	//
	// example:
	//
	// false
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
	// 工作号号码
	//
	// example:
	//
	// 18*******22
	TelX *string `json:"TelX,omitempty" xml:"TelX,omitempty"`
}

func (BindXBResponseBody) GoString added in v2.1.0

func (s BindXBResponseBody) GoString() string

func (*BindXBResponseBody) SetAccessDeniedDetail added in v2.1.0

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

func (*BindXBResponseBody) SetAuthId added in v2.1.0

func (s *BindXBResponseBody) SetAuthId(v string) *BindXBResponseBody

func (*BindXBResponseBody) SetCode added in v2.1.0

func (*BindXBResponseBody) SetMessage added in v2.1.0

func (s *BindXBResponseBody) SetMessage(v string) *BindXBResponseBody

func (*BindXBResponseBody) SetSuccess added in v2.1.0

func (s *BindXBResponseBody) SetSuccess(v bool) *BindXBResponseBody

func (*BindXBResponseBody) SetTelX added in v2.1.0

func (BindXBResponseBody) String added in v2.1.0

func (s BindXBResponseBody) String() string

type BuySecretNoRequest

type BuySecretNoRequest struct {
	// Specifies the home location of the phone number.
	//
	// >
	//
	// 	- The home location can be set only to a location in the Chinese mainland.
	//
	// 	- A phone number that starts with 95 does not have a home location. If you purchase a phone number that starts with 95, set this parameter to **Nationwide**.
	//
	// This parameter is required.
	//
	// example:
	//
	// hangzhou
	City *string `json:"City,omitempty" xml:"City,omitempty"`
	// Specifies whether to add the phone number to the pool of numbers that will be displayed during calls.
	//
	// >  This parameter takes effect only for customers who have enabled the number display feature.
	//
	// example:
	//
	// true
	DisplayPool *bool  `json:"DisplayPool,omitempty" xml:"DisplayPool,omitempty"`
	OwnerId     *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The key of the phone number pool. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// FC123456
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The prefix of the phone number. If you specify the value of **SecretNo*	- when you purchase a phone number, a phone number starting with the specified prefix is selected.
	//
	// >  You can specify up to 18 digits of the phone number prefix.
	//
	// example:
	//
	// 130
	SecretNo *string `json:"SecretNo,omitempty" xml:"SecretNo,omitempty"`
	// The type of the phone number. Valid values:
	//
	// 	- **1**: a phone number assigned by a virtual network operator, that is, a phone number that belongs to the 170 or 171 number segment.
	//
	// 	- **2**: a phone number provided by a carrier.
	//
	// 	- **3**: a phone number that starts with 95.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	SpecId *int64 `json:"SpecId,omitempty" xml:"SpecId,omitempty"`
}

func (BuySecretNoRequest) GoString

func (s BuySecretNoRequest) GoString() string

func (*BuySecretNoRequest) SetCity

func (*BuySecretNoRequest) SetDisplayPool

func (s *BuySecretNoRequest) SetDisplayPool(v bool) *BuySecretNoRequest

func (*BuySecretNoRequest) SetOwnerId

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

func (*BuySecretNoRequest) SetPoolKey

func (s *BuySecretNoRequest) SetPoolKey(v string) *BuySecretNoRequest

func (*BuySecretNoRequest) SetResourceOwnerAccount

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

func (*BuySecretNoRequest) SetResourceOwnerId

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

func (*BuySecretNoRequest) SetSecretNo

func (s *BuySecretNoRequest) SetSecretNo(v string) *BuySecretNoRequest

func (*BuySecretNoRequest) SetSpecId

func (s *BuySecretNoRequest) SetSpecId(v int64) *BuySecretNoRequest

func (BuySecretNoRequest) String

func (s BuySecretNoRequest) String() string

type BuySecretNoResponse

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

func (BuySecretNoResponse) GoString

func (s BuySecretNoResponse) GoString() string

func (*BuySecretNoResponse) SetBody

func (*BuySecretNoResponse) SetHeaders

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

func (*BuySecretNoResponse) SetStatusCode

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

func (BuySecretNoResponse) String

func (s BuySecretNoResponse) String() string

type BuySecretNoResponseBody

type BuySecretNoResponseBody 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](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// 2D1AEB96-96D0-454E-B0DC-AE2A8DF08020
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information returned after the operation was called.
	SecretBuyInfoDTO *BuySecretNoResponseBodySecretBuyInfoDTO `json:"SecretBuyInfoDTO,omitempty" xml:"SecretBuyInfoDTO,omitempty" type:"Struct"`
}

func (BuySecretNoResponseBody) GoString

func (s BuySecretNoResponseBody) GoString() string

func (*BuySecretNoResponseBody) SetCode

func (*BuySecretNoResponseBody) SetMessage

func (*BuySecretNoResponseBody) SetRequestId

func (*BuySecretNoResponseBody) SetSecretBuyInfoDTO

func (BuySecretNoResponseBody) String

func (s BuySecretNoResponseBody) String() string

type BuySecretNoResponseBodySecretBuyInfoDTO

type BuySecretNoResponseBodySecretBuyInfoDTO struct {
	// The private number, that is, phone number X.
	//
	// example:
	//
	// 1390000****
	SecretNo *string `json:"SecretNo,omitempty" xml:"SecretNo,omitempty"`
}

func (BuySecretNoResponseBodySecretBuyInfoDTO) GoString

func (*BuySecretNoResponseBodySecretBuyInfoDTO) SetSecretNo

func (BuySecretNoResponseBodySecretBuyInfoDTO) String

type CancelPickUpWaybillRequest

type CancelPickUpWaybillRequest struct {
	// The cancellation reason.
	//
	// This parameter is required.
	//
	// example:
	//
	// {\\"action\\":\\"UPDATE_DESC\\",\\"value\\":\\"The courier is unable to pick up the package.\\"}
	CancelDesc *string `json:"CancelDesc,omitempty" xml:"CancelDesc,omitempty"`
	// The ID of the external order.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1145678823****
	OuterOrderCode       *string `json:"OuterOrderCode,omitempty" xml:"OuterOrderCode,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (CancelPickUpWaybillRequest) GoString

func (s CancelPickUpWaybillRequest) GoString() string

func (*CancelPickUpWaybillRequest) SetCancelDesc

func (*CancelPickUpWaybillRequest) SetOuterOrderCode

func (*CancelPickUpWaybillRequest) SetOwnerId

func (*CancelPickUpWaybillRequest) SetResourceOwnerAccount

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

func (*CancelPickUpWaybillRequest) SetResourceOwnerId

func (CancelPickUpWaybillRequest) String

type CancelPickUpWaybillResponse

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

func (CancelPickUpWaybillResponse) GoString

func (s CancelPickUpWaybillResponse) GoString() string

func (*CancelPickUpWaybillResponse) SetBody

func (*CancelPickUpWaybillResponse) SetHeaders

func (*CancelPickUpWaybillResponse) SetStatusCode

func (CancelPickUpWaybillResponse) String

type CancelPickUpWaybillResponseBody

type CancelPickUpWaybillResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other status codes indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned data.
	Data *CancelPickUpWaybillResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 9FC30594-3841-43AD-9008-03393BCB5CD2
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CancelPickUpWaybillResponseBody) GoString

func (*CancelPickUpWaybillResponseBody) SetCode

func (*CancelPickUpWaybillResponseBody) SetMessage

func (*CancelPickUpWaybillResponseBody) SetRequestId

func (CancelPickUpWaybillResponseBody) String

type CancelPickUpWaybillResponseBodyData

type CancelPickUpWaybillResponseBodyData struct {
	// The error code.
	//
	// example:
	//
	// none
	ErrorCode *string `json:"ErrorCode,omitempty" xml:"ErrorCode,omitempty"`
	// The error message.
	//
	// example:
	//
	// none
	ErrorMsg *string `json:"ErrorMsg,omitempty" xml:"ErrorMsg,omitempty"`
	// The cancellation result.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Indicates whether the cancellation was successful.
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (CancelPickUpWaybillResponseBodyData) GoString

func (*CancelPickUpWaybillResponseBodyData) SetErrorCode

func (*CancelPickUpWaybillResponseBodyData) SetErrorMsg

func (*CancelPickUpWaybillResponseBodyData) SetMessage

func (*CancelPickUpWaybillResponseBodyData) SetSuccess

func (CancelPickUpWaybillResponseBodyData) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

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

func (*Client) AddAxnTrackNo

func (client *Client) AddAxnTrackNo(request *AddAxnTrackNoRequest) (_result *AddAxnTrackNoResponse, _err error)

Summary:

Adds a tracking number for a private number in the AXN binding.

Description:

### [](#qps)QPS limits

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - AddAxnTrackNoRequest

@return AddAxnTrackNoResponse

func (*Client) AddAxnTrackNoWithOptions

func (client *Client) AddAxnTrackNoWithOptions(request *AddAxnTrackNoRequest, runtime *util.RuntimeOptions) (_result *AddAxnTrackNoResponse, _err error)

Summary:

Adds a tracking number for a private number in the AXN binding.

Description:

### [](#qps)QPS limits

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - AddAxnTrackNoRequest

@param runtime - runtime options for this request RuntimeOptions

@return AddAxnTrackNoResponse

func (*Client) AddSecretBlacklist

func (client *Client) AddSecretBlacklist(request *AddSecretBlacklistRequest) (_result *AddSecretBlacklistResponse, _err error)

Summary:

Adds a blacklist.

Description:

### [](#qps)QPS limits

You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - AddSecretBlacklistRequest

@return AddSecretBlacklistResponse

func (*Client) AddSecretBlacklistWithOptions

func (client *Client) AddSecretBlacklistWithOptions(request *AddSecretBlacklistRequest, runtime *util.RuntimeOptions) (_result *AddSecretBlacklistResponse, _err error)

Summary:

Adds a blacklist.

Description:

### [](#qps)QPS limits

You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - AddSecretBlacklistRequest

@param runtime - runtime options for this request RuntimeOptions

@return AddSecretBlacklistResponse

func (*Client) BindAXBCall added in v2.1.0

func (client *Client) BindAXBCall(request *BindAXBCallRequest) (_result *BindAXBCallResponse, _err error)

Summary:

调用本接口向工作号平台请求为员工B的工作号X建立呼叫绑定(B,X,A),允许B通过X呼叫客户A

@param request - BindAXBCallRequest

@return BindAXBCallResponse

func (*Client) BindAXBCallWithOptions added in v2.1.0

func (client *Client) BindAXBCallWithOptions(request *BindAXBCallRequest, runtime *util.RuntimeOptions) (_result *BindAXBCallResponse, _err error)

Summary:

调用本接口向工作号平台请求为员工B的工作号X建立呼叫绑定(B,X,A),允许B通过X呼叫客户A

@param request - BindAXBCallRequest

@param runtime - runtime options for this request RuntimeOptions

@return BindAXBCallResponse

func (*Client) BindAxb

func (client *Client) BindAxb(request *BindAxbRequest) (_result *BindAxbResponse, _err error)

Summary:

Adds an AXB binding.

Description:

Before you add an AXB binding, we recommend that you specify role A and role B in the AXB device certificate (ProductKey, DeviceName, and DeviceSecret) in your business scenario. For example, in a taxi-hailing scenario, role A is the passenger and role B is the driver.

### [](#qps)QPS limits

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - BindAxbRequest

@return BindAxbResponse

func (*Client) BindAxbWithOptions

func (client *Client) BindAxbWithOptions(request *BindAxbRequest, runtime *util.RuntimeOptions) (_result *BindAxbResponse, _err error)

Summary:

Adds an AXB binding.

Description:

Before you add an AXB binding, we recommend that you specify role A and role B in the AXB device certificate (ProductKey, DeviceName, and DeviceSecret) in your business scenario. For example, in a taxi-hailing scenario, role A is the passenger and role B is the driver.

### [](#qps)QPS limits

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - BindAxbRequest

@param runtime - runtime options for this request RuntimeOptions

@return BindAxbResponse

func (*Client) BindAxg

func (client *Client) BindAxg(request *BindAxgRequest) (_result *BindAxgResponse, _err error)

Summary:

Adds an AXG binding.

Description:

An AXG protection solution can be configured to meet the requirements for grading users, limiting the scope of calls, and restricting order snatching. The letter G represents a phone number group to which you can add phone numbers as needed.

### [](#qps)QPS limits

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - BindAxgRequest

@return BindAxgResponse

func (*Client) BindAxgWithOptions

func (client *Client) BindAxgWithOptions(request *BindAxgRequest, runtime *util.RuntimeOptions) (_result *BindAxgResponse, _err error)

Summary:

Adds an AXG binding.

Description:

An AXG protection solution can be configured to meet the requirements for grading users, limiting the scope of calls, and restricting order snatching. The letter G represents a phone number group to which you can add phone numbers as needed.

### [](#qps)QPS limits

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - BindAxgRequest

@param runtime - runtime options for this request RuntimeOptions

@return BindAxgResponse

func (*Client) BindAxn

func (client *Client) BindAxn(request *BindAxnRequest) (_result *BindAxnResponse, _err error)

Summary:

Adds an AXN binding.

Description:

> An AXN private number is a dedicated private number assigned to phone number A. When an N-side number is used to call phone number X, the call is forwarded to phone number A.

@param request - BindAxnRequest

@return BindAxnResponse

func (*Client) BindAxnExtension

func (client *Client) BindAxnExtension(request *BindAxnExtensionRequest) (_result *BindAxnExtensionResponse, _err error)

Summary:

Adds an AXN extension binding.

Description:

Before you add an AXN extension binding, confirm phone number A and phone number N in the business scenario. Phone number A belongs to a customer, and phone number X is the private number assigned to the customer. When any other phone number is used to call phone number X and the extension, the call is transferred to phone number A. When phone number A is used to call phone number X, the call is transferred to the default phone number B that is specified during the phone number binding.

### [](#qps)QPS limits

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - BindAxnExtensionRequest

@return BindAxnExtensionResponse

func (*Client) BindAxnExtensionWithOptions

func (client *Client) BindAxnExtensionWithOptions(request *BindAxnExtensionRequest, runtime *util.RuntimeOptions) (_result *BindAxnExtensionResponse, _err error)

Summary:

Adds an AXN extension binding.

Description:

Before you add an AXN extension binding, confirm phone number A and phone number N in the business scenario. Phone number A belongs to a customer, and phone number X is the private number assigned to the customer. When any other phone number is used to call phone number X and the extension, the call is transferred to phone number A. When phone number A is used to call phone number X, the call is transferred to the default phone number B that is specified during the phone number binding.

### [](#qps)QPS limits

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - BindAxnExtensionRequest

@param runtime - runtime options for this request RuntimeOptions

@return BindAxnExtensionResponse

func (*Client) BindAxnWithOptions

func (client *Client) BindAxnWithOptions(request *BindAxnRequest, runtime *util.RuntimeOptions) (_result *BindAxnResponse, _err error)

Summary:

Adds an AXN binding.

Description:

> An AXN private number is a dedicated private number assigned to phone number A. When an N-side number is used to call phone number X, the call is forwarded to phone number A.

@param request - BindAxnRequest

@param runtime - runtime options for this request RuntimeOptions

@return BindAxnResponse

func (*Client) BindBatchAxg added in v2.0.2

func (client *Client) BindBatchAxg(request *BindBatchAxgRequest) (_result *BindBatchAxgResponse, _err error)

@param request - BindBatchAxgRequest

@return BindBatchAxgResponse

func (*Client) BindBatchAxgWithOptions added in v2.0.2

func (client *Client) BindBatchAxgWithOptions(tmpReq *BindBatchAxgRequest, runtime *util.RuntimeOptions) (_result *BindBatchAxgResponse, _err error)

@param tmpReq - BindBatchAxgRequest

@param runtime - runtime options for this request RuntimeOptions

@return BindBatchAxgResponse

func (*Client) BindXB added in v2.1.0

func (client *Client) BindXB(request *BindXBRequest) (_result *BindXBResponse, _err error)

Summary:

平台指定工作号X 和员工号B建立关联,完成X 实名认证,绑定生效后,所有X 的呼叫都会转接到B

@param request - BindXBRequest

@return BindXBResponse

func (*Client) BindXBWithOptions added in v2.1.0

func (client *Client) BindXBWithOptions(request *BindXBRequest, runtime *util.RuntimeOptions) (_result *BindXBResponse, _err error)

Summary:

平台指定工作号X 和员工号B建立关联,完成X 实名认证,绑定生效后,所有X 的呼叫都会转接到B

@param request - BindXBRequest

@param runtime - runtime options for this request RuntimeOptions

@return BindXBResponse

func (*Client) BuySecretNo

func (client *Client) BuySecretNo(request *BuySecretNoRequest) (_result *BuySecretNoResponse, _err error)

Summary:

Purchases a phone number.

Description:

  After you create a phone number pool in the Phone Number Protection console, the phone number pool is empty by default. You must purchase phone numbers and add them to the phone number pool.

	- Before you call this operation, make sure that you are familiar with the [pricing](https://help.aliyun.com/document_detail/59825.html) of Phone Number Protection.

	- When purchasing a phone number, specify the home location. If no sufficient phone numbers are available for purchase in the home location, the purchase of the phone number fails. Before you call this operation to purchase a phone number, check the quantity of phone numbers available for purchase by using the [QuerySecretNoRemain](https://help.aliyun.com/document_detail/111699.html) operation.

	- The account used to purchase a phone number must be an enterprise account that has passed real-name verification. For more information about how to perform real-name verification, see [Enterprise verification FAQs](https://help.aliyun.com/document_detail/37172.html).

@param request - BuySecretNoRequest

@return BuySecretNoResponse

func (*Client) BuySecretNoWithOptions

func (client *Client) BuySecretNoWithOptions(request *BuySecretNoRequest, runtime *util.RuntimeOptions) (_result *BuySecretNoResponse, _err error)

Summary:

Purchases a phone number.

Description:

  After you create a phone number pool in the Phone Number Protection console, the phone number pool is empty by default. You must purchase phone numbers and add them to the phone number pool.

	- Before you call this operation, make sure that you are familiar with the [pricing](https://help.aliyun.com/document_detail/59825.html) of Phone Number Protection.

	- When purchasing a phone number, specify the home location. If no sufficient phone numbers are available for purchase in the home location, the purchase of the phone number fails. Before you call this operation to purchase a phone number, check the quantity of phone numbers available for purchase by using the [QuerySecretNoRemain](https://help.aliyun.com/document_detail/111699.html) operation.

	- The account used to purchase a phone number must be an enterprise account that has passed real-name verification. For more information about how to perform real-name verification, see [Enterprise verification FAQs](https://help.aliyun.com/document_detail/37172.html).

@param request - BuySecretNoRequest

@param runtime - runtime options for this request RuntimeOptions

@return BuySecretNoResponse

func (*Client) CancelPickUpWaybill

func (client *Client) CancelPickUpWaybill(request *CancelPickUpWaybillRequest) (_result *CancelPickUpWaybillResponse, _err error)

Summary:

Cancels a door-to-door delivery order.

Description:

### [](#qps)QPS limits

You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - CancelPickUpWaybillRequest

@return CancelPickUpWaybillResponse

func (*Client) CancelPickUpWaybillWithOptions

func (client *Client) CancelPickUpWaybillWithOptions(request *CancelPickUpWaybillRequest, runtime *util.RuntimeOptions) (_result *CancelPickUpWaybillResponse, _err error)

Summary:

Cancels a door-to-door delivery order.

Description:

### [](#qps)QPS limits

You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - CancelPickUpWaybillRequest

@param runtime - runtime options for this request RuntimeOptions

@return CancelPickUpWaybillResponse

func (*Client) ConfigX added in v2.1.0

func (client *Client) ConfigX(request *ConfigXRequest) (_result *ConfigXResponse, _err error)

Summary:

配置X号码,单独对工作号的话音呼叫、企业名片等通信功能进行配置操作

@param request - ConfigXRequest

@return ConfigXResponse

func (*Client) ConfigXWithOptions added in v2.1.0

func (client *Client) ConfigXWithOptions(tmpReq *ConfigXRequest, runtime *util.RuntimeOptions) (_result *ConfigXResponse, _err error)

Summary:

配置X号码,单独对工作号的话音呼叫、企业名片等通信功能进行配置操作

@param tmpReq - ConfigXRequest

@param runtime - runtime options for this request RuntimeOptions

@return ConfigXResponse

func (*Client) CreateAxgGroup

func (client *Client) CreateAxgGroup(request *CreateAxgGroupRequest) (_result *CreateAxgGroupResponse, _err error)

Summary:

Creates number group G.

Description:

Before you add an AXG binding, you must purchase phone number X, create number group G, and then add phone numbers to number group G. If you do not add phone numbers to number group G after you create number group G, you can call the [OperateAxgGroup](https://help.aliyun.com/document_detail/110252.htm) operation to add phone numbers to number group G.

> Up to 2,000 number groups G can be added for a single phone number pool.

@param request - CreateAxgGroupRequest

@return CreateAxgGroupResponse

func (*Client) CreateAxgGroupWithOptions

func (client *Client) CreateAxgGroupWithOptions(request *CreateAxgGroupRequest, runtime *util.RuntimeOptions) (_result *CreateAxgGroupResponse, _err error)

Summary:

Creates number group G.

Description:

Before you add an AXG binding, you must purchase phone number X, create number group G, and then add phone numbers to number group G. If you do not add phone numbers to number group G after you create number group G, you can call the [OperateAxgGroup](https://help.aliyun.com/document_detail/110252.htm) operation to add phone numbers to number group G.

> Up to 2,000 number groups G can be added for a single phone number pool.

@param request - CreateAxgGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateAxgGroupResponse

func (*Client) CreatePickUpWaybill

func (client *Client) CreatePickUpWaybill(request *CreatePickUpWaybillRequest) (_result *CreatePickUpWaybillResponse, _err error)

Summary:

Creates a door-to-door delivery order.

Description:

### [](#qps)QPS limits

You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - CreatePickUpWaybillRequest

@return CreatePickUpWaybillResponse

func (*Client) CreatePickUpWaybillPreQuery

func (client *Client) CreatePickUpWaybillPreQuery(request *CreatePickUpWaybillPreQueryRequest) (_result *CreatePickUpWaybillPreQueryResponse, _err error)

Summary:

Queries a pickup order.

Description:

### [](#qps)QPS limits

You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - CreatePickUpWaybillPreQueryRequest

@return CreatePickUpWaybillPreQueryResponse

func (*Client) CreatePickUpWaybillPreQueryWithOptions

func (client *Client) CreatePickUpWaybillPreQueryWithOptions(tmpReq *CreatePickUpWaybillPreQueryRequest, runtime *util.RuntimeOptions) (_result *CreatePickUpWaybillPreQueryResponse, _err error)

Summary:

Queries a pickup order.

Description:

### [](#qps)QPS limits

You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param tmpReq - CreatePickUpWaybillPreQueryRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreatePickUpWaybillPreQueryResponse

func (*Client) CreatePickUpWaybillWithOptions

func (client *Client) CreatePickUpWaybillWithOptions(tmpReq *CreatePickUpWaybillRequest, runtime *util.RuntimeOptions) (_result *CreatePickUpWaybillResponse, _err error)

Summary:

Creates a door-to-door delivery order.

Description:

### [](#qps)QPS limits

You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param tmpReq - CreatePickUpWaybillRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreatePickUpWaybillResponse

func (*Client) CreateSmsSign added in v2.1.0

func (client *Client) CreateSmsSign(request *CreateSmsSignRequest) (_result *CreateSmsSignResponse, _err error)

Summary:

B向A 发短信,客户端获取“短信标签”,尾部添加“标签”。通过“标签”解析被叫A,发短信到A。

@param request - CreateSmsSignRequest

@return CreateSmsSignResponse

func (*Client) CreateSmsSignWithOptions added in v2.1.0

func (client *Client) CreateSmsSignWithOptions(request *CreateSmsSignRequest, runtime *util.RuntimeOptions) (_result *CreateSmsSignResponse, _err error)

Summary:

B向A 发短信,客户端获取“短信标签”,尾部添加“标签”。通过“标签”解析被叫A,发短信到A。

@param request - CreateSmsSignRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateSmsSignResponse

func (*Client) DeleteAxgGroup added in v2.0.2

func (client *Client) DeleteAxgGroup(request *DeleteAxgGroupRequest) (_result *DeleteAxgGroupResponse, _err error)

@param request - DeleteAxgGroupRequest

@return DeleteAxgGroupResponse

func (*Client) DeleteAxgGroupWithOptions added in v2.0.2

func (client *Client) DeleteAxgGroupWithOptions(request *DeleteAxgGroupRequest, runtime *util.RuntimeOptions) (_result *DeleteAxgGroupResponse, _err error)

@param request - DeleteAxgGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteAxgGroupResponse

func (*Client) DeleteSecretBlacklist

func (client *Client) DeleteSecretBlacklist(request *DeleteSecretBlacklistRequest) (_result *DeleteSecretBlacklistResponse, _err error)

Summary:

Deletes a blacklist.

Description:

### [](#qps)QPS limits

You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - DeleteSecretBlacklistRequest

@return DeleteSecretBlacklistResponse

func (*Client) DeleteSecretBlacklistWithOptions

func (client *Client) DeleteSecretBlacklistWithOptions(request *DeleteSecretBlacklistRequest, runtime *util.RuntimeOptions) (_result *DeleteSecretBlacklistResponse, _err error)

Summary:

Deletes a blacklist.

Description:

### [](#qps)QPS limits

You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - DeleteSecretBlacklistRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteSecretBlacklistResponse

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) GetSecretAsrDetail

func (client *Client) GetSecretAsrDetail(request *GetSecretAsrDetailRequest) (_result *GetSecretAsrDetailResponse, _err error)

Summary:

Obtains the details of the automatic speech recognition (ASR) result.

Description:

Before you call the GetSecretAsrDetail operation, set the ASRStatus parameter to true in the [BindAxn operation](https://help.aliyun.com/document_detail/400483.html). This ensures that you can obtain the ASR result properly.

### [](#qps)QPS limits

You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - GetSecretAsrDetailRequest

@return GetSecretAsrDetailResponse

func (*Client) GetSecretAsrDetailWithOptions

func (client *Client) GetSecretAsrDetailWithOptions(request *GetSecretAsrDetailRequest, runtime *util.RuntimeOptions) (_result *GetSecretAsrDetailResponse, _err error)

Summary:

Obtains the details of the automatic speech recognition (ASR) result.

Description:

Before you call the GetSecretAsrDetail operation, set the ASRStatus parameter to true in the [BindAxn operation](https://help.aliyun.com/document_detail/400483.html). This ensures that you can obtain the ASR result properly.

### [](#qps)QPS limits

You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - GetSecretAsrDetailRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetSecretAsrDetailResponse

func (*Client) GetTotalPublicUrl

func (client *Client) GetTotalPublicUrl(request *GetTotalPublicUrlRequest) (_result *GetTotalPublicUrlResponse, _err error)

Summary:

Obtains the download URL of a recorded ringing tone.

Description:

### [](#qps)QPS limits

You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - GetTotalPublicUrlRequest

@return GetTotalPublicUrlResponse

func (*Client) GetTotalPublicUrlWithOptions

func (client *Client) GetTotalPublicUrlWithOptions(request *GetTotalPublicUrlRequest, runtime *util.RuntimeOptions) (_result *GetTotalPublicUrlResponse, _err error)

Summary:

Obtains the download URL of a recorded ringing tone.

Description:

### [](#qps)QPS limits

You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - GetTotalPublicUrlRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetTotalPublicUrlResponse

func (*Client) GetXConfig added in v2.1.0

func (client *Client) GetXConfig(request *GetXConfigRequest) (_result *GetXConfigResponse, _err error)

Summary:

获取X号码配置信息

@param request - GetXConfigRequest

@return GetXConfigResponse

func (*Client) GetXConfigWithOptions added in v2.1.0

func (client *Client) GetXConfigWithOptions(request *GetXConfigRequest, runtime *util.RuntimeOptions) (_result *GetXConfigResponse, _err error)

Summary:

获取X号码配置信息

@param request - GetXConfigRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetXConfigResponse

func (*Client) GetXDefaultConfig added in v2.1.0

func (client *Client) GetXDefaultConfig(request *GetXDefaultConfigRequest) (_result *GetXDefaultConfigResponse, _err error)

Summary:

获取X号码默认配置信息

@param request - GetXDefaultConfigRequest

@return GetXDefaultConfigResponse

func (*Client) GetXDefaultConfigWithOptions added in v2.1.0

func (client *Client) GetXDefaultConfigWithOptions(request *GetXDefaultConfigRequest, runtime *util.RuntimeOptions) (_result *GetXDefaultConfigResponse, _err error)

Summary:

获取X号码默认配置信息

@param request - GetXDefaultConfigRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetXDefaultConfigResponse

func (*Client) Init

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

func (*Client) ListXTelephones added in v2.1.0

func (client *Client) ListXTelephones(request *ListXTelephonesRequest) (_result *ListXTelephonesResponse, _err error)

Summary:

查询客户名下X号码列表

@param request - ListXTelephonesRequest

@return ListXTelephonesResponse

func (*Client) ListXTelephonesWithOptions added in v2.1.0

func (client *Client) ListXTelephonesWithOptions(request *ListXTelephonesRequest, runtime *util.RuntimeOptions) (_result *ListXTelephonesResponse, _err error)

Summary:

查询客户名下X号码列表

@param request - ListXTelephonesRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListXTelephonesResponse

func (*Client) LockSecretNo

func (client *Client) LockSecretNo(request *LockSecretNoRequest) (_result *LockSecretNoResponse, _err error)

Summary:

Locks a phone number.

Description:

After a phone number is locked, the locked phone number cannot be selected when you call an operation to create a binding.

### [](#qps)QPS limits

You can call this operation up to 500 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - LockSecretNoRequest

@return LockSecretNoResponse

func (*Client) LockSecretNoWithOptions

func (client *Client) LockSecretNoWithOptions(request *LockSecretNoRequest, runtime *util.RuntimeOptions) (_result *LockSecretNoResponse, _err error)

Summary:

Locks a phone number.

Description:

After a phone number is locked, the locked phone number cannot be selected when you call an operation to create a binding.

### [](#qps)QPS limits

You can call this operation up to 500 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - LockSecretNoRequest

@param runtime - runtime options for this request RuntimeOptions

@return LockSecretNoResponse

func (*Client) OperateAxgGroup

func (client *Client) OperateAxgGroup(request *OperateAxgGroupRequest) (_result *OperateAxgGroupResponse, _err error)

Summary:

Modifies number group G.

Description:

After you create number group G, you can call the OperateAxgGroup operation to modify number group G. For example, you can add phone numbers to number group G, delete phone numbers from number group G, and replace all phone numbers in number group G.

### [](#qps)QPS limits

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - OperateAxgGroupRequest

@return OperateAxgGroupResponse

func (*Client) OperateAxgGroupWithOptions

func (client *Client) OperateAxgGroupWithOptions(request *OperateAxgGroupRequest, runtime *util.RuntimeOptions) (_result *OperateAxgGroupResponse, _err error)

Summary:

Modifies number group G.

Description:

After you create number group G, you can call the OperateAxgGroup operation to modify number group G. For example, you can add phone numbers to number group G, delete phone numbers from number group G, and replace all phone numbers in number group G.

### [](#qps)QPS limits

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - OperateAxgGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return OperateAxgGroupResponse

func (*Client) OperateBlackNo

func (client *Client) OperateBlackNo(request *OperateBlackNoRequest) (_result *OperateBlackNoResponse, _err error)

Summary:

Adds a phone number to a blacklist or deletes a phone number from a blacklist.

Description:

The OperateBlackNo operation supports the following number pool types: AXN, AXN extension, and 95AXN.

### [](#qps)QPS limits

You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - OperateBlackNoRequest

@return OperateBlackNoResponse

func (*Client) OperateBlackNoWithOptions

func (client *Client) OperateBlackNoWithOptions(request *OperateBlackNoRequest, runtime *util.RuntimeOptions) (_result *OperateBlackNoResponse, _err error)

Summary:

Adds a phone number to a blacklist or deletes a phone number from a blacklist.

Description:

The OperateBlackNo operation supports the following number pool types: AXN, AXN extension, and 95AXN.

### [](#qps)QPS limits

You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - OperateBlackNoRequest

@param runtime - runtime options for this request RuntimeOptions

@return OperateBlackNoResponse

func (*Client) QueryPhoneNoAByTrackNo

func (client *Client) QueryPhoneNoAByTrackNo(request *QueryPhoneNoAByTrackNoRequest) (_result *QueryPhoneNoAByTrackNoResponse, _err error)

Summary:

Queries the details about a tracking number.

Description:

### [](#qps)QPS limits

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QueryPhoneNoAByTrackNoRequest

@return QueryPhoneNoAByTrackNoResponse

func (*Client) QueryPhoneNoAByTrackNoWithOptions

func (client *Client) QueryPhoneNoAByTrackNoWithOptions(request *QueryPhoneNoAByTrackNoRequest, runtime *util.RuntimeOptions) (_result *QueryPhoneNoAByTrackNoResponse, _err error)

Summary:

Queries the details about a tracking number.

Description:

### [](#qps)QPS limits

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QueryPhoneNoAByTrackNoRequest

@param runtime - runtime options for this request RuntimeOptions

@return QueryPhoneNoAByTrackNoResponse

func (*Client) QueryRecordFileDownloadUrl

func (client *Client) QueryRecordFileDownloadUrl(request *QueryRecordFileDownloadUrlRequest) (_result *QueryRecordFileDownloadUrlResponse, _err error)

Summary:

Obtains the download URL of a recording file.

Description:

If the recording feature is enabled for a binding, all calls made by the bound phone numbers are recorded. You can obtain the download URL of a recording file by calling the QueryRecordFileDownloadUrl operation and download the recording file.

> We recommend that you subscribe to [the recording status report SecretRecording](https://help.aliyun.com/document_detail/109198.html). The values of the response parameters in SecretRecording can be used as the values of the request parameters for downloading a recording file.

### [](#)Procedure for obtaining a recording file

1. Specify the request parameter in an update or binding operation to enable the recording feature.

2. Subscribe to recording message receipts in the Phone Number Protection console.

3. After a recording message receipt is returned, call the QueryRecordFileDownloadUrl operation to obtain the download URL of the recording file, and download the recording file.

>

  • A download URL is valid for 2 hours. Download the recording file as soon as possible after obtaining a download URL.

  • The storage period of recording files is 30 days. You can download only the recording files of calls recorded in the last 30 days.

@param request - QueryRecordFileDownloadUrlRequest

@return QueryRecordFileDownloadUrlResponse

func (*Client) QueryRecordFileDownloadUrlWithOptions

func (client *Client) QueryRecordFileDownloadUrlWithOptions(request *QueryRecordFileDownloadUrlRequest, runtime *util.RuntimeOptions) (_result *QueryRecordFileDownloadUrlResponse, _err error)

Summary:

Obtains the download URL of a recording file.

Description:

If the recording feature is enabled for a binding, all calls made by the bound phone numbers are recorded. You can obtain the download URL of a recording file by calling the QueryRecordFileDownloadUrl operation and download the recording file.

> We recommend that you subscribe to [the recording status report SecretRecording](https://help.aliyun.com/document_detail/109198.html). The values of the response parameters in SecretRecording can be used as the values of the request parameters for downloading a recording file.

### [](#)Procedure for obtaining a recording file

1. Specify the request parameter in an update or binding operation to enable the recording feature.

2. Subscribe to recording message receipts in the Phone Number Protection console.

3. After a recording message receipt is returned, call the QueryRecordFileDownloadUrl operation to obtain the download URL of the recording file, and download the recording file.

>

  • A download URL is valid for 2 hours. Download the recording file as soon as possible after obtaining a download URL.

  • The storage period of recording files is 30 days. You can download only the recording files of calls recorded in the last 30 days.

@param request - QueryRecordFileDownloadUrlRequest

@param runtime - runtime options for this request RuntimeOptions

@return QueryRecordFileDownloadUrlResponse

func (*Client) QuerySecretNoDetail

func (client *Client) QuerySecretNoDetail(request *QuerySecretNoDetailRequest) (_result *QuerySecretNoDetailResponse, _err error)

Summary:

Queries the attributes of a private number.

Description:

### [](#qps)QPS limits

You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. We recommend that you take note of the limit when you call this operation.

@param request - QuerySecretNoDetailRequest

@return QuerySecretNoDetailResponse

func (*Client) QuerySecretNoDetailWithOptions

func (client *Client) QuerySecretNoDetailWithOptions(request *QuerySecretNoDetailRequest, runtime *util.RuntimeOptions) (_result *QuerySecretNoDetailResponse, _err error)

Summary:

Queries the attributes of a private number.

Description:

### [](#qps)QPS limits

You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. We recommend that you take note of the limit when you call this operation.

@param request - QuerySecretNoDetailRequest

@param runtime - runtime options for this request RuntimeOptions

@return QuerySecretNoDetailResponse

func (*Client) QuerySecretNoRemain

func (client *Client) QuerySecretNoRemain(request *QuerySecretNoRemainRequest) (_result *QuerySecretNoRemainResponse, _err error)

Summary:

Queries the quantity of remaining phone numbers available for online purchase.

Description:

When purchasing a phone number, specify the home location. If no sufficient phone numbers are available for purchase in the home location, the purchase of the phone number fails. Before calling the [BuySecretNo](~~BuySecretNo~~) operation to purchase a phone number, call the [QuerySecretNoRemain](~~QuerySecretNoRemain~~) operation to query the quantity of remaining phone numbers available for online purchase.

@param request - QuerySecretNoRemainRequest

@return QuerySecretNoRemainResponse

func (*Client) QuerySecretNoRemainWithOptions

func (client *Client) QuerySecretNoRemainWithOptions(request *QuerySecretNoRemainRequest, runtime *util.RuntimeOptions) (_result *QuerySecretNoRemainResponse, _err error)

Summary:

Queries the quantity of remaining phone numbers available for online purchase.

Description:

When purchasing a phone number, specify the home location. If no sufficient phone numbers are available for purchase in the home location, the purchase of the phone number fails. Before calling the [BuySecretNo](~~BuySecretNo~~) operation to purchase a phone number, call the [QuerySecretNoRemain](~~QuerySecretNoRemain~~) operation to query the quantity of remaining phone numbers available for online purchase.

@param request - QuerySecretNoRemainRequest

@param runtime - runtime options for this request RuntimeOptions

@return QuerySecretNoRemainResponse

func (*Client) QuerySoundRecord added in v2.1.0

func (client *Client) QuerySoundRecord(request *QuerySoundRecordRequest) (_result *QuerySoundRecordResponse, _err error)

Summary:

查询通话录音链接

@param request - QuerySoundRecordRequest

@return QuerySoundRecordResponse

func (*Client) QuerySoundRecordWithOptions added in v2.1.0

func (client *Client) QuerySoundRecordWithOptions(request *QuerySoundRecordRequest, runtime *util.RuntimeOptions) (_result *QuerySoundRecordResponse, _err error)

Summary:

查询通话录音链接

@param request - QuerySoundRecordRequest

@param runtime - runtime options for this request RuntimeOptions

@return QuerySoundRecordResponse

func (*Client) QuerySubsId

func (client *Client) QuerySubsId(request *QuerySubsIdRequest) (_result *QuerySubsIdResponse, _err error)

Summary:

Queries binding IDs.

Description:

You can query binding IDs by phone number X. In the AXB product, multiple bindings may exist for the same phone number X. In this case, multiple binding IDs may be obtained for the same phone number X.

@param request - QuerySubsIdRequest

@return QuerySubsIdResponse

func (*Client) QuerySubsIdWithOptions

func (client *Client) QuerySubsIdWithOptions(request *QuerySubsIdRequest, runtime *util.RuntimeOptions) (_result *QuerySubsIdResponse, _err error)

Summary:

Queries binding IDs.

Description:

You can query binding IDs by phone number X. In the AXB product, multiple bindings may exist for the same phone number X. In this case, multiple binding IDs may be obtained for the same phone number X.

@param request - QuerySubsIdRequest

@param runtime - runtime options for this request RuntimeOptions

@return QuerySubsIdResponse

func (*Client) QuerySubscriptionDetail

func (client *Client) QuerySubscriptionDetail(request *QuerySubscriptionDetailRequest) (_result *QuerySubscriptionDetailResponse, _err error)

Summary:

Queries the details about a phone number binding.

Description:

### [](#qps)QPS limits

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

### [](#poolkeyproducttype)Limits on PoolKey and ProductType

You must specify either PoolKey or ProductType. If both parameters are not specified, an error is reported when you call the QuerySubscriptionDetail operation. We recommend that you specify the ProductType parameter for the original key accounts of Alibaba Cloud and the PoolKey parameter for Alibaba Cloud users.

@param request - QuerySubscriptionDetailRequest

@return QuerySubscriptionDetailResponse

func (*Client) QuerySubscriptionDetailWithOptions

func (client *Client) QuerySubscriptionDetailWithOptions(request *QuerySubscriptionDetailRequest, runtime *util.RuntimeOptions) (_result *QuerySubscriptionDetailResponse, _err error)

Summary:

Queries the details about a phone number binding.

Description:

### [](#qps)QPS limits

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

### [](#poolkeyproducttype)Limits on PoolKey and ProductType

You must specify either PoolKey or ProductType. If both parameters are not specified, an error is reported when you call the QuerySubscriptionDetail operation. We recommend that you specify the ProductType parameter for the original key accounts of Alibaba Cloud and the PoolKey parameter for Alibaba Cloud users.

@param request - QuerySubscriptionDetailRequest

@param runtime - runtime options for this request RuntimeOptions

@return QuerySubscriptionDetailResponse

func (*Client) ReleaseSecretNo

func (client *Client) ReleaseSecretNo(request *ReleaseSecretNoRequest) (_result *ReleaseSecretNoResponse, _err error)

Summary:

Releases a phone number.

Description:

  After a phone number is released, it will no longer be charged from the following month.

	- Before you release a phone number, log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) to check whether the phone number is bound to other phone numbers. The phone number can be released only if it is not bound to other phone numbers.

@param request - ReleaseSecretNoRequest

@return ReleaseSecretNoResponse

func (*Client) ReleaseSecretNoWithOptions

func (client *Client) ReleaseSecretNoWithOptions(request *ReleaseSecretNoRequest, runtime *util.RuntimeOptions) (_result *ReleaseSecretNoResponse, _err error)

Summary:

Releases a phone number.

Description:

  After a phone number is released, it will no longer be charged from the following month.

	- Before you release a phone number, log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) to check whether the phone number is bound to other phone numbers. The phone number can be released only if it is not bound to other phone numbers.

@param request - ReleaseSecretNoRequest

@param runtime - runtime options for this request RuntimeOptions

@return ReleaseSecretNoResponse

func (*Client) UnBindAXB added in v2.1.0

func (client *Client) UnBindAXB(request *UnBindAXBRequest) (_result *UnBindAXBResponse, _err error)

Summary:

解除指定的呼叫绑定关系(A,X,B),解决呼叫绑定关系后,员工B不能通过工作号X呼叫到客户A。

@param request - UnBindAXBRequest

@return UnBindAXBResponse

func (*Client) UnBindAXBWithOptions added in v2.1.0

func (client *Client) UnBindAXBWithOptions(request *UnBindAXBRequest, runtime *util.RuntimeOptions) (_result *UnBindAXBResponse, _err error)

Summary:

解除指定的呼叫绑定关系(A,X,B),解决呼叫绑定关系后,员工B不能通过工作号X呼叫到客户A。

@param request - UnBindAXBRequest

@param runtime - runtime options for this request RuntimeOptions

@return UnBindAXBResponse

func (*Client) UnBindXB added in v2.1.0

func (client *Client) UnBindXB(request *UnBindXBRequest) (_result *UnBindXBResponse, _err error)

Summary:

调用本接口可取消工作号X与员工号码B的绑定。绑定解除后,对X的呼叫都不会转接给B。

@param request - UnBindXBRequest

@return UnBindXBResponse

func (*Client) UnBindXBWithOptions added in v2.1.0

func (client *Client) UnBindXBWithOptions(request *UnBindXBRequest, runtime *util.RuntimeOptions) (_result *UnBindXBResponse, _err error)

Summary:

调用本接口可取消工作号X与员工号码B的绑定。绑定解除后,对X的呼叫都不会转接给B。

@param request - UnBindXBRequest

@param runtime - runtime options for this request RuntimeOptions

@return UnBindXBResponse

func (*Client) UnbindSubscription

func (client *Client) UnbindSubscription(request *UnbindSubscriptionRequest) (_result *UnbindSubscriptionResponse, _err error)

Summary:

Unbinds a phone number.

Description:

Before releasing a phone number, you must call the UnbindSubscription operation to unbind the phone number.

@param request - UnbindSubscriptionRequest

@return UnbindSubscriptionResponse

func (*Client) UnbindSubscriptionWithOptions

func (client *Client) UnbindSubscriptionWithOptions(request *UnbindSubscriptionRequest, runtime *util.RuntimeOptions) (_result *UnbindSubscriptionResponse, _err error)

Summary:

Unbinds a phone number.

Description:

Before releasing a phone number, you must call the UnbindSubscription operation to unbind the phone number.

@param request - UnbindSubscriptionRequest

@param runtime - runtime options for this request RuntimeOptions

@return UnbindSubscriptionResponse

func (*Client) UnlockSecretNo

func (client *Client) UnlockSecretNo(request *UnlockSecretNoRequest) (_result *UnlockSecretNoResponse, _err error)

Summary:

Unlocks a phone number.

Description:

After a phone number is unlocked, you can reselect the unlocked phone number when you call an operation to create a binding.

### [](#qps)QPS limits

You can call this operation up to 500 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - UnlockSecretNoRequest

@return UnlockSecretNoResponse

func (*Client) UnlockSecretNoWithOptions

func (client *Client) UnlockSecretNoWithOptions(request *UnlockSecretNoRequest, runtime *util.RuntimeOptions) (_result *UnlockSecretNoResponse, _err error)

Summary:

Unlocks a phone number.

Description:

After a phone number is unlocked, you can reselect the unlocked phone number when you call an operation to create a binding.

### [](#qps)QPS limits

You can call this operation up to 500 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - UnlockSecretNoRequest

@param runtime - runtime options for this request RuntimeOptions

@return UnlockSecretNoResponse

func (*Client) UpdateSubscription

func (client *Client) UpdateSubscription(request *UpdateSubscriptionRequest) (_result *UpdateSubscriptionResponse, _err error)

Summary:

Modifies a phone number binding.

Description:

### [](#qps)QPS limits

You can call this operation up to 10,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - UpdateSubscriptionRequest

@return UpdateSubscriptionResponse

func (*Client) UpdateSubscriptionWithOptions

func (client *Client) UpdateSubscriptionWithOptions(request *UpdateSubscriptionRequest, runtime *util.RuntimeOptions) (_result *UpdateSubscriptionResponse, _err error)

Summary:

Modifies a phone number binding.

Description:

### [](#qps)QPS limits

You can call this operation up to 10,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - UpdateSubscriptionRequest

@param runtime - runtime options for this request RuntimeOptions

@return UpdateSubscriptionResponse

type ConfigXRequest added in v2.1.0

type ConfigXRequest struct {
	// 开/关呼叫能力状态‘0’:禁用‘1’:开启
	//
	// example:
	//
	// 0
	CallAbility *string `json:"CallAbility,omitempty" xml:"CallAbility,omitempty"`
	// 客户uid
	//
	// example:
	//
	// 1898871967585852
	CallerParentId *int64 `json:"CallerParentId,omitempty" xml:"CallerParentId,omitempty"`
	// 号码池key
	//
	// This parameter is required.
	//
	// example:
	//
	// FC5**********************a1a
	CustomerPoolKey *string `json:"CustomerPoolKey,omitempty" xml:"CustomerPoolKey,omitempty"`
	// 是否透传来显为真实主叫:00-非透传:互相拨打时都显示工作号;10-透传:A客户为主叫时,B员工的来显为客户A号码;B员工为主叫时,A客户的来显为工作号;默认为 00
	//
	// example:
	//
	// 0
	GNFlag  *string `json:"GNFlag,omitempty" xml:"GNFlag,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 请求去重ID, reqId最大长度为20位,接入方需要保持原子性
	//
	// This parameter is required.
	//
	// example:
	//
	// 564**********879
	ReqId                *string `json:"ReqId,omitempty" xml:"ReqId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 顺振控制参数
	SequenceCalls []*ConfigXRequestSequenceCalls `json:"SequenceCalls,omitempty" xml:"SequenceCalls,omitempty" type:"Repeated"`
	// 顺振模式:0-不顺振(默认)1-有条件顺振,先接续calledNo指定被叫,如果该被叫未能接通,再顺振sequenceCalls号码列表2-无条件顺振,不接续calledNo指定被叫,直接顺振sequenceCalls号码列表
	//
	// example:
	//
	// 0
	SequenceMode *string `json:"SequenceMode,omitempty" xml:"SequenceMode,omitempty"`
	// 开/关短信功能状态‘0’:禁用;‘1’:开启;
	//
	// example:
	//
	// 0
	SmsAbility *string `json:"SmsAbility,omitempty" xml:"SmsAbility,omitempty"`
	// 是否透传来显为真实用户0:不透传; 1:透传默认:0不透传
	//
	// example:
	//
	// 0
	SmsSignMode *string `json:"SmsSignMode,omitempty" xml:"SmsSignMode,omitempty"`
	// X号码
	//
	// This parameter is required.
	//
	// example:
	//
	// 17*******22
	TelX *string `json:"TelX,omitempty" xml:"TelX,omitempty"`
}

func (ConfigXRequest) GoString added in v2.1.0

func (s ConfigXRequest) GoString() string

func (*ConfigXRequest) SetCallAbility added in v2.1.0

func (s *ConfigXRequest) SetCallAbility(v string) *ConfigXRequest

func (*ConfigXRequest) SetCallerParentId added in v2.1.0

func (s *ConfigXRequest) SetCallerParentId(v int64) *ConfigXRequest

func (*ConfigXRequest) SetCustomerPoolKey added in v2.1.0

func (s *ConfigXRequest) SetCustomerPoolKey(v string) *ConfigXRequest

func (*ConfigXRequest) SetGNFlag added in v2.1.0

func (s *ConfigXRequest) SetGNFlag(v string) *ConfigXRequest

func (*ConfigXRequest) SetOwnerId added in v2.1.0

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

func (*ConfigXRequest) SetReqId added in v2.1.0

func (s *ConfigXRequest) SetReqId(v string) *ConfigXRequest

func (*ConfigXRequest) SetResourceOwnerAccount added in v2.1.0

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

func (*ConfigXRequest) SetResourceOwnerId added in v2.1.0

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

func (*ConfigXRequest) SetSequenceCalls added in v2.1.0

func (s *ConfigXRequest) SetSequenceCalls(v []*ConfigXRequestSequenceCalls) *ConfigXRequest

func (*ConfigXRequest) SetSequenceMode added in v2.1.0

func (s *ConfigXRequest) SetSequenceMode(v string) *ConfigXRequest

func (*ConfigXRequest) SetSmsAbility added in v2.1.0

func (s *ConfigXRequest) SetSmsAbility(v string) *ConfigXRequest

func (*ConfigXRequest) SetSmsSignMode added in v2.1.0

func (s *ConfigXRequest) SetSmsSignMode(v string) *ConfigXRequest

func (*ConfigXRequest) SetTelX added in v2.1.0

func (s *ConfigXRequest) SetTelX(v string) *ConfigXRequest

func (ConfigXRequest) String added in v2.1.0

func (s ConfigXRequest) String() string

type ConfigXRequestSequenceCalls added in v2.1.0

type ConfigXRequestSequenceCalls struct {
	// 顺振提示音放音编号,格式如callNoPlayCode
	//
	// example:
	//
	// 01
	SequenceCallNoPlayCode *string `json:"SequenceCallNoPlayCode,omitempty" xml:"SequenceCallNoPlayCode,omitempty"`
	// 顺振被叫号码
	//
	// example:
	//
	// 18*******33
	SequenceCalledNo *string `json:"SequenceCalledNo,omitempty" xml:"SequenceCalledNo,omitempty"`
	// 接通后主被叫放音编号,格式如calledPlayCode
	//
	// example:
	//
	// 02
	SequenceCalledPlayCode *string `json:"SequenceCalledPlayCode,omitempty" xml:"SequenceCalledPlayCode,omitempty"`
}

func (ConfigXRequestSequenceCalls) GoString added in v2.1.0

func (s ConfigXRequestSequenceCalls) GoString() string

func (*ConfigXRequestSequenceCalls) SetSequenceCallNoPlayCode added in v2.1.0

func (s *ConfigXRequestSequenceCalls) SetSequenceCallNoPlayCode(v string) *ConfigXRequestSequenceCalls

func (*ConfigXRequestSequenceCalls) SetSequenceCalledNo added in v2.1.0

func (*ConfigXRequestSequenceCalls) SetSequenceCalledPlayCode added in v2.1.0

func (s *ConfigXRequestSequenceCalls) SetSequenceCalledPlayCode(v string) *ConfigXRequestSequenceCalls

func (ConfigXRequestSequenceCalls) String added in v2.1.0

type ConfigXResponse added in v2.1.0

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

func (ConfigXResponse) GoString added in v2.1.0

func (s ConfigXResponse) GoString() string

func (*ConfigXResponse) SetBody added in v2.1.0

func (*ConfigXResponse) SetHeaders added in v2.1.0

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

func (*ConfigXResponse) SetStatusCode added in v2.1.0

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

func (ConfigXResponse) String added in v2.1.0

func (s ConfigXResponse) String() string

type ConfigXResponseBody added in v2.1.0

type ConfigXResponseBody struct {
	// example:
	//
	// 0
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// 返回状态码 0000表示成功 其他表示失败
	//
	// example:
	//
	// 0000
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// 返回信息
	//
	// example:
	//
	// 成功
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// 返回是否成功 true  表示成功 false表示失败
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (ConfigXResponseBody) GoString added in v2.1.0

func (s ConfigXResponseBody) GoString() string

func (*ConfigXResponseBody) SetAccessDeniedDetail added in v2.1.0

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

func (*ConfigXResponseBody) SetCode added in v2.1.0

func (*ConfigXResponseBody) SetMessage added in v2.1.0

func (*ConfigXResponseBody) SetSuccess added in v2.1.0

func (s *ConfigXResponseBody) SetSuccess(v bool) *ConfigXResponseBody

func (ConfigXResponseBody) String added in v2.1.0

func (s ConfigXResponseBody) String() string

type ConfigXShrinkRequest added in v2.1.0

type ConfigXShrinkRequest struct {
	// 开/关呼叫能力状态‘0’:禁用‘1’:开启
	//
	// example:
	//
	// 0
	CallAbility *string `json:"CallAbility,omitempty" xml:"CallAbility,omitempty"`
	// 客户uid
	//
	// example:
	//
	// 1898871967585852
	CallerParentId *int64 `json:"CallerParentId,omitempty" xml:"CallerParentId,omitempty"`
	// 号码池key
	//
	// This parameter is required.
	//
	// example:
	//
	// FC5**********************a1a
	CustomerPoolKey *string `json:"CustomerPoolKey,omitempty" xml:"CustomerPoolKey,omitempty"`
	// 是否透传来显为真实主叫:00-非透传:互相拨打时都显示工作号;10-透传:A客户为主叫时,B员工的来显为客户A号码;B员工为主叫时,A客户的来显为工作号;默认为 00
	//
	// example:
	//
	// 0
	GNFlag  *string `json:"GNFlag,omitempty" xml:"GNFlag,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 请求去重ID, reqId最大长度为20位,接入方需要保持原子性
	//
	// This parameter is required.
	//
	// example:
	//
	// 564**********879
	ReqId                *string `json:"ReqId,omitempty" xml:"ReqId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 顺振控制参数
	SequenceCallsShrink *string `json:"SequenceCalls,omitempty" xml:"SequenceCalls,omitempty"`
	// 顺振模式:0-不顺振(默认)1-有条件顺振,先接续calledNo指定被叫,如果该被叫未能接通,再顺振sequenceCalls号码列表2-无条件顺振,不接续calledNo指定被叫,直接顺振sequenceCalls号码列表
	//
	// example:
	//
	// 0
	SequenceMode *string `json:"SequenceMode,omitempty" xml:"SequenceMode,omitempty"`
	// 开/关短信功能状态‘0’:禁用;‘1’:开启;
	//
	// example:
	//
	// 0
	SmsAbility *string `json:"SmsAbility,omitempty" xml:"SmsAbility,omitempty"`
	// 是否透传来显为真实用户0:不透传; 1:透传默认:0不透传
	//
	// example:
	//
	// 0
	SmsSignMode *string `json:"SmsSignMode,omitempty" xml:"SmsSignMode,omitempty"`
	// X号码
	//
	// This parameter is required.
	//
	// example:
	//
	// 17*******22
	TelX *string `json:"TelX,omitempty" xml:"TelX,omitempty"`
}

func (ConfigXShrinkRequest) GoString added in v2.1.0

func (s ConfigXShrinkRequest) GoString() string

func (*ConfigXShrinkRequest) SetCallAbility added in v2.1.0

func (s *ConfigXShrinkRequest) SetCallAbility(v string) *ConfigXShrinkRequest

func (*ConfigXShrinkRequest) SetCallerParentId added in v2.1.0

func (s *ConfigXShrinkRequest) SetCallerParentId(v int64) *ConfigXShrinkRequest

func (*ConfigXShrinkRequest) SetCustomerPoolKey added in v2.1.0

func (s *ConfigXShrinkRequest) SetCustomerPoolKey(v string) *ConfigXShrinkRequest

func (*ConfigXShrinkRequest) SetGNFlag added in v2.1.0

func (*ConfigXShrinkRequest) SetOwnerId added in v2.1.0

func (*ConfigXShrinkRequest) SetReqId added in v2.1.0

func (*ConfigXShrinkRequest) SetResourceOwnerAccount added in v2.1.0

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

func (*ConfigXShrinkRequest) SetResourceOwnerId added in v2.1.0

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

func (*ConfigXShrinkRequest) SetSequenceCallsShrink added in v2.1.0

func (s *ConfigXShrinkRequest) SetSequenceCallsShrink(v string) *ConfigXShrinkRequest

func (*ConfigXShrinkRequest) SetSequenceMode added in v2.1.0

func (s *ConfigXShrinkRequest) SetSequenceMode(v string) *ConfigXShrinkRequest

func (*ConfigXShrinkRequest) SetSmsAbility added in v2.1.0

func (s *ConfigXShrinkRequest) SetSmsAbility(v string) *ConfigXShrinkRequest

func (*ConfigXShrinkRequest) SetSmsSignMode added in v2.1.0

func (s *ConfigXShrinkRequest) SetSmsSignMode(v string) *ConfigXShrinkRequest

func (*ConfigXShrinkRequest) SetTelX added in v2.1.0

func (ConfigXShrinkRequest) String added in v2.1.0

func (s ConfigXShrinkRequest) String() string

type CreateAxgGroupRequest

type CreateAxgGroupRequest struct {
	// The name of number group G. If the name of number group G is not specified, the ID of number group G is used as the name of number group G.
	//
	// >  The value must be 1 to 128 characters in length.
	//
	// example:
	//
	// Aliyun
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The phone numbers that you add to number group G. Separate multiple phone numbers with commas (,). A maximum of 200 phone numbers can be added to number group G.
	//
	// example:
	//
	// 1390000****,1380000****
	Numbers *string `json:"Numbers,omitempty" xml:"Numbers,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The key of the phone number pool. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// FC123456
	PoolKey *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	// The remarks of number group G. The value must be 0 to 256 characters in length.
	//
	// example:
	//
	// test
	Remark               *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (CreateAxgGroupRequest) GoString

func (s CreateAxgGroupRequest) GoString() string

func (*CreateAxgGroupRequest) SetName

func (*CreateAxgGroupRequest) SetNumbers

func (*CreateAxgGroupRequest) SetOwnerId

func (*CreateAxgGroupRequest) SetPoolKey

func (*CreateAxgGroupRequest) SetRemark

func (*CreateAxgGroupRequest) SetResourceOwnerAccount

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

func (*CreateAxgGroupRequest) SetResourceOwnerId

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

func (CreateAxgGroupRequest) String

func (s CreateAxgGroupRequest) String() string

type CreateAxgGroupResponse

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

func (CreateAxgGroupResponse) GoString

func (s CreateAxgGroupResponse) GoString() string

func (*CreateAxgGroupResponse) SetBody

func (*CreateAxgGroupResponse) SetHeaders

func (*CreateAxgGroupResponse) SetStatusCode

func (CreateAxgGroupResponse) String

func (s CreateAxgGroupResponse) String() string

type CreateAxgGroupResponseBody

type CreateAxgGroupResponseBody 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](https://help.aliyun.com/document_detail/109196.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The ID of number group G. The value of this parameter is required when the [BindAxg](https://help.aliyun.com/document_detail/110249.html) operation is called to add an AXG binding.
	//
	// example:
	//
	// 2000000000001
	GroupId *int64 `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 635C0FDA-9EBC-43D7-B368-9F583C08A126
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateAxgGroupResponseBody) GoString

func (s CreateAxgGroupResponseBody) GoString() string

func (*CreateAxgGroupResponseBody) SetCode

func (*CreateAxgGroupResponseBody) SetGroupId

func (*CreateAxgGroupResponseBody) SetMessage

func (*CreateAxgGroupResponseBody) SetRequestId

func (CreateAxgGroupResponseBody) String

type CreatePickUpWaybillPreQueryRequest

type CreatePickUpWaybillPreQueryRequest struct {
	// The consignee information.
	//
	// This parameter is required.
	ConsigneeInfo *CreatePickUpWaybillPreQueryRequestConsigneeInfo `json:"ConsigneeInfo,omitempty" xml:"ConsigneeInfo,omitempty" type:"Struct"`
	// The code of the courier company. If no courier company is specified, the system allocates a courier company.
	//
	// example:
	//
	// YTO
	CpCode *string `json:"CpCode,omitempty" xml:"CpCode,omitempty"`
	// The identifier of the external channel source. It cannot contain underscores.
	//
	// This parameter is required.
	//
	// example:
	//
	// Test
	OrderChannels *string `json:"OrderChannels,omitempty" xml:"OrderChannels,omitempty"`
	// The order number of the access system.
	//
	// example:
	//
	// 787DFHHDS989****
	OuterOrderCode *string `json:"OuterOrderCode,omitempty" xml:"OuterOrderCode,omitempty"`
	// The estimated weight. Unit: gram.
	//
	// >  If you need to query the estimated price, this parameter is required.
	//
	// example:
	//
	// 2000
	PreWeight *string `json:"PreWeight,omitempty" xml:"PreWeight,omitempty"`
	// The sender information.
	//
	// This parameter is required.
	SenderInfo *CreatePickUpWaybillPreQueryRequestSenderInfo `json:"SenderInfo,omitempty" xml:"SenderInfo,omitempty" type:"Struct"`
}

func (CreatePickUpWaybillPreQueryRequest) GoString

func (*CreatePickUpWaybillPreQueryRequest) SetCpCode

func (*CreatePickUpWaybillPreQueryRequest) SetOrderChannels

func (*CreatePickUpWaybillPreQueryRequest) SetOuterOrderCode

func (*CreatePickUpWaybillPreQueryRequest) SetPreWeight

func (CreatePickUpWaybillPreQueryRequest) String

type CreatePickUpWaybillPreQueryRequestConsigneeInfo

type CreatePickUpWaybillPreQueryRequestConsigneeInfo struct {
	// The address of the consignee.
	AddressInfo *CreatePickUpWaybillPreQueryRequestConsigneeInfoAddressInfo `json:"AddressInfo,omitempty" xml:"AddressInfo,omitempty" type:"Struct"`
	// The mobile phone number of the consignee.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1390000****
	Mobile *string `json:"Mobile,omitempty" xml:"Mobile,omitempty"`
	// The name of the consignee.
	//
	// This parameter is required.
	//
	// example:
	//
	// Li
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
}

func (CreatePickUpWaybillPreQueryRequestConsigneeInfo) GoString

func (*CreatePickUpWaybillPreQueryRequestConsigneeInfo) SetMobile

func (*CreatePickUpWaybillPreQueryRequestConsigneeInfo) SetName

func (CreatePickUpWaybillPreQueryRequestConsigneeInfo) String

type CreatePickUpWaybillPreQueryRequestConsigneeInfoAddressInfo

type CreatePickUpWaybillPreQueryRequestConsigneeInfoAddressInfo struct {
	// The detailed address of the consignee.
	//
	// example:
	//
	// XX community
	AddressDetail *string `json:"AddressDetail,omitempty" xml:"AddressDetail,omitempty"`
	// The district where the consignee is located.
	//
	// example:
	//
	// chang,an
	AreaName *string `json:"AreaName,omitempty" xml:"AreaName,omitempty"`
	// The city where the consignee is located.
	//
	// example:
	//
	// Xi,an
	CityName *string `json:"CityName,omitempty" xml:"CityName,omitempty"`
	// The province where the consignee is located.
	//
	// example:
	//
	// Shanxi
	ProvinceName *string `json:"ProvinceName,omitempty" xml:"ProvinceName,omitempty"`
	// The street where the consignee is located.
	//
	// example:
	//
	// XX Street
	TownName *string `json:"TownName,omitempty" xml:"TownName,omitempty"`
}

func (CreatePickUpWaybillPreQueryRequestConsigneeInfoAddressInfo) GoString

func (*CreatePickUpWaybillPreQueryRequestConsigneeInfoAddressInfo) SetAddressDetail

func (*CreatePickUpWaybillPreQueryRequestConsigneeInfoAddressInfo) SetAreaName

func (*CreatePickUpWaybillPreQueryRequestConsigneeInfoAddressInfo) SetCityName

func (*CreatePickUpWaybillPreQueryRequestConsigneeInfoAddressInfo) SetProvinceName

func (*CreatePickUpWaybillPreQueryRequestConsigneeInfoAddressInfo) SetTownName

func (CreatePickUpWaybillPreQueryRequestConsigneeInfoAddressInfo) String

type CreatePickUpWaybillPreQueryRequestSenderInfo

type CreatePickUpWaybillPreQueryRequestSenderInfo struct {
	// The address of the sender.
	AddressInfo *CreatePickUpWaybillPreQueryRequestSenderInfoAddressInfo `json:"AddressInfo,omitempty" xml:"AddressInfo,omitempty" type:"Struct"`
	// The mobile phone number of the sender.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1390000****
	Mobile *string `json:"Mobile,omitempty" xml:"Mobile,omitempty"`
	// The name of the sender.
	//
	// This parameter is required.
	//
	// example:
	//
	// Wang
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
}

func (CreatePickUpWaybillPreQueryRequestSenderInfo) GoString

func (*CreatePickUpWaybillPreQueryRequestSenderInfo) SetMobile

func (*CreatePickUpWaybillPreQueryRequestSenderInfo) SetName

func (CreatePickUpWaybillPreQueryRequestSenderInfo) String

type CreatePickUpWaybillPreQueryRequestSenderInfoAddressInfo

type CreatePickUpWaybillPreQueryRequestSenderInfoAddressInfo struct {
	// The detailed address of the sender.
	//
	// example:
	//
	// XX community
	AddressDetail *string `json:"AddressDetail,omitempty" xml:"AddressDetail,omitempty"`
	// The district where the sender is located.
	//
	// example:
	//
	// xihu
	AreaName *string `json:"AreaName,omitempty" xml:"AreaName,omitempty"`
	// The city where the sender is located.
	//
	// example:
	//
	// hangzhou
	CityName *string `json:"CityName,omitempty" xml:"CityName,omitempty"`
	// The province where the sender is located.
	//
	// example:
	//
	// zhejiang
	ProvinceName *string `json:"ProvinceName,omitempty" xml:"ProvinceName,omitempty"`
	// The street where the sender is located.
	//
	// example:
	//
	// XX Street
	TownName *string `json:"TownName,omitempty" xml:"TownName,omitempty"`
}

func (CreatePickUpWaybillPreQueryRequestSenderInfoAddressInfo) GoString

func (*CreatePickUpWaybillPreQueryRequestSenderInfoAddressInfo) SetAddressDetail

func (*CreatePickUpWaybillPreQueryRequestSenderInfoAddressInfo) SetAreaName

func (*CreatePickUpWaybillPreQueryRequestSenderInfoAddressInfo) SetCityName

func (*CreatePickUpWaybillPreQueryRequestSenderInfoAddressInfo) SetProvinceName

func (*CreatePickUpWaybillPreQueryRequestSenderInfoAddressInfo) SetTownName

func (CreatePickUpWaybillPreQueryRequestSenderInfoAddressInfo) String

type CreatePickUpWaybillPreQueryResponse

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

func (CreatePickUpWaybillPreQueryResponse) GoString

func (*CreatePickUpWaybillPreQueryResponse) SetHeaders

func (*CreatePickUpWaybillPreQueryResponse) SetStatusCode

func (CreatePickUpWaybillPreQueryResponse) String

type CreatePickUpWaybillPreQueryResponseBody

type CreatePickUpWaybillPreQueryResponseBody struct {
	// The result set.
	Data *CreatePickUpWaybillPreQueryResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The HTTP status code.
	//
	// example:
	//
	// 200
	HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 9FC30594-3841-43AD-9008-03393BCB5CD2
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreatePickUpWaybillPreQueryResponseBody) GoString

func (*CreatePickUpWaybillPreQueryResponseBody) SetHttpStatusCode

func (*CreatePickUpWaybillPreQueryResponseBody) SetMessage

func (*CreatePickUpWaybillPreQueryResponseBody) SetRequestId

func (CreatePickUpWaybillPreQueryResponseBody) String

type CreatePickUpWaybillPreQueryResponseBodyData

type CreatePickUpWaybillPreQueryResponseBodyData struct {
	// The response code.
	//
	// example:
	//
	// 0
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The information about whether the courier company can accept the order.
	CpTimeSelectList []*CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectList `json:"CpTimeSelectList,omitempty" xml:"CpTimeSelectList,omitempty" type:"Repeated"`
	// The error code.
	//
	// example:
	//
	// Success
	ErrorCode *string `json:"ErrorCode,omitempty" xml:"ErrorCode,omitempty"`
	// The error message.
	//
	// example:
	//
	// none
	ErrorMsg *string `json:"ErrorMsg,omitempty" xml:"ErrorMsg,omitempty"`
	// The response content.
	//
	// example:
	//
	// Success
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Indicates whether the request was successful.
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (CreatePickUpWaybillPreQueryResponseBodyData) GoString

func (*CreatePickUpWaybillPreQueryResponseBodyData) SetCode

func (*CreatePickUpWaybillPreQueryResponseBodyData) SetErrorCode

func (*CreatePickUpWaybillPreQueryResponseBodyData) SetErrorMsg

func (*CreatePickUpWaybillPreQueryResponseBodyData) SetMessage

func (*CreatePickUpWaybillPreQueryResponseBodyData) SetSuccess

func (CreatePickUpWaybillPreQueryResponseBodyData) String

type CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectList

type CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectList struct {
	// The available time for the scheduled pickup. If the current courier company cannot accept the scheduled pickup, this field is left empty.
	AppointTimes []*CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimes `json:"AppointTimes,omitempty" xml:"AppointTimes,omitempty" type:"Repeated"`
	// The estimated price. Unit: CNY. The value is accurate to two decimal places. The value of this parameter is displayed if an estimated weight is specified.
	//
	// example:
	//
	// 12.50
	PrePrice *string `json:"PrePrice,omitempty" xml:"PrePrice,omitempty"`
	// The information about whether the real-time order can be selected.
	RealTime *CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime `json:"RealTime,omitempty" xml:"RealTime,omitempty" type:"Struct"`
}

func (CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectList) GoString

func (*CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectList) SetPrePrice

func (CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectList) String

type CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimes

type CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimes struct {
	// The date in the YYYY-MM-DD format.
	//
	// example:
	//
	// 2022-04-28
	Date *string `json:"Date,omitempty" xml:"Date,omitempty"`
	// Indicates whether the date is selectable.
	//
	// example:
	//
	// true
	DateSelectable *bool `json:"DateSelectable,omitempty" xml:"DateSelectable,omitempty"`
	// The time range for the scheduled pickup for this date.
	TimeList []*CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList `json:"TimeList,omitempty" xml:"TimeList,omitempty" type:"Repeated"`
}

func (CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimes) GoString

func (*CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimes) SetDate

func (*CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimes) SetDateSelectable

func (CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimes) String

type CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList

type CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList struct {
	// The end of the time range.
	//
	// example:
	//
	// 12:00:00
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The tip displayed when the scheduled pickup is not available.
	//
	// example:
	//
	// Appointment Full
	SelectDisableTip *string `json:"SelectDisableTip,omitempty" xml:"SelectDisableTip,omitempty"`
	// Indicates whether the time range can be selected for the scheduled pickup.
	//
	// example:
	//
	// true
	Selectable *bool `json:"Selectable,omitempty" xml:"Selectable,omitempty"`
	// The beginning of the time range.
	//
	// example:
	//
	// 10:00:00
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList) GoString

func (*CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList) SetEndTime

func (*CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList) SetSelectDisableTip

func (*CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList) SetSelectable

func (*CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList) SetStartTime

func (CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList) String

type CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime

type CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime struct {
	// The name of the real-time order type.
	//
	// example:
	//
	// Aliyun
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The tip displayed when the real-time order cannot be placed.
	//
	// example:
	//
	// Exceeding the real-time ordering time range.
	SelectDisableTip *string `json:"SelectDisableTip,omitempty" xml:"SelectDisableTip,omitempty"`
	// Indicates whether the real-time order can be placed after the deadline for placing a real-time order is reached.
	//
	// example:
	//
	// false
	Selectable *bool `json:"Selectable,omitempty" xml:"Selectable,omitempty"`
}

func (CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime) GoString

func (*CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime) SetName

func (*CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime) SetSelectDisableTip

func (*CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime) SetSelectable

func (CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime) String

type CreatePickUpWaybillPreQueryShrinkRequest

type CreatePickUpWaybillPreQueryShrinkRequest struct {
	// The consignee information.
	//
	// This parameter is required.
	ConsigneeInfoShrink *string `json:"ConsigneeInfo,omitempty" xml:"ConsigneeInfo,omitempty"`
	// The code of the courier company. If no courier company is specified, the system allocates a courier company.
	//
	// example:
	//
	// YTO
	CpCode *string `json:"CpCode,omitempty" xml:"CpCode,omitempty"`
	// The identifier of the external channel source. It cannot contain underscores.
	//
	// This parameter is required.
	//
	// example:
	//
	// Test
	OrderChannels *string `json:"OrderChannels,omitempty" xml:"OrderChannels,omitempty"`
	// The order number of the access system.
	//
	// example:
	//
	// 787DFHHDS989****
	OuterOrderCode *string `json:"OuterOrderCode,omitempty" xml:"OuterOrderCode,omitempty"`
	// The estimated weight. Unit: gram.
	//
	// >  If you need to query the estimated price, this parameter is required.
	//
	// example:
	//
	// 2000
	PreWeight *string `json:"PreWeight,omitempty" xml:"PreWeight,omitempty"`
	// The sender information.
	//
	// This parameter is required.
	SenderInfoShrink *string `json:"SenderInfo,omitempty" xml:"SenderInfo,omitempty"`
}

func (CreatePickUpWaybillPreQueryShrinkRequest) GoString

func (*CreatePickUpWaybillPreQueryShrinkRequest) SetConsigneeInfoShrink

func (*CreatePickUpWaybillPreQueryShrinkRequest) SetCpCode

func (*CreatePickUpWaybillPreQueryShrinkRequest) SetOrderChannels

func (*CreatePickUpWaybillPreQueryShrinkRequest) SetOuterOrderCode

func (*CreatePickUpWaybillPreQueryShrinkRequest) SetPreWeight

func (*CreatePickUpWaybillPreQueryShrinkRequest) SetSenderInfoShrink

func (CreatePickUpWaybillPreQueryShrinkRequest) String

type CreatePickUpWaybillRequest

type CreatePickUpWaybillRequest struct {
	// The end time of the door-to-door pickup in the appointment. The value of **AppointGotEndTime*	- is the value of **EndTime*	- of **AppointTimes*	- in **CpTimeSelectList*	- returned by the [CreatePickUpWaybillPreQuery](~~CreatePickUpWaybillPreQuery~~#resultMapping) operation.
	//
	// >  This parameter is required when **BizType*	- is set to **1**.
	//
	// example:
	//
	// 2021-01-01 12:00:00
	AppointGotEndTime *string `json:"AppointGotEndTime,omitempty" xml:"AppointGotEndTime,omitempty"`
	// The start time of the door-to-door pickup in the appointment. The value of **AppointGotStartTime*	- is the value of **StartTime*	- of **AppointTimes*	- in **CpTimeSelectList*	- returned by the [CreatePickUpWaybillPreQuery](~~CreatePickUpWaybillPreQuery~~#resultMapping) operation.
	//
	// >  This parameter is required when **BizType*	- is set to **1**.
	//
	// example:
	//
	// 2021-01-01 10:00:00
	AppointGotStartTime *string `json:"AppointGotStartTime,omitempty" xml:"AppointGotStartTime,omitempty"`
	// The pickup mode. Valid values:
	//
	// 	- **0*	- (default): real-time order.
	//
	// 	- **1**: appointment order.
	//
	// example:
	//
	// 0
	BizType *int32 `json:"BizType,omitempty" xml:"BizType,omitempty"`
	// The address of the consignee.
	//
	// This parameter is required.
	ConsigneeAddress *CreatePickUpWaybillRequestConsigneeAddress `json:"ConsigneeAddress,omitempty" xml:"ConsigneeAddress,omitempty" type:"Struct"`
	// The mobile phone number of the consignee.
	//
	// >  Either ConsigneeMobile or ConsigneePhone must be set.
	//
	// example:
	//
	// 1580000****
	ConsigneeMobile *string `json:"ConsigneeMobile,omitempty" xml:"ConsigneeMobile,omitempty"`
	// The name of the consignee.
	//
	// This parameter is required.
	//
	// example:
	//
	// Li
	ConsigneeName *string `json:"ConsigneeName,omitempty" xml:"ConsigneeName,omitempty"`
	// The landline phone number of the consignee.
	//
	// >  Either ConsigneeMobile or ConsigneePhone must be set.
	//
	// example:
	//
	// 0570000****
	ConsigneePhone *string `json:"ConsigneePhone,omitempty" xml:"ConsigneePhone,omitempty"`
	// The code of the courier company.
	//
	// example:
	//
	// YTO
	CpCode *string `json:"CpCode,omitempty" xml:"CpCode,omitempty"`
	// The items.
	GoodsInfos []*CreatePickUpWaybillRequestGoodsInfos `json:"GoodsInfos,omitempty" xml:"GoodsInfos,omitempty" type:"Repeated"`
	// The external channel sources.
	//
	// This parameter is required.
	//
	// example:
	//
	// YUN_DIAN_SHANG
	OrderChannels *string `json:"OrderChannels,omitempty" xml:"OrderChannels,omitempty"`
	// The ID of the external order.
	//
	// This parameter is required.
	//
	// example:
	//
	// 143234234266****
	OuterOrderCode *string `json:"OuterOrderCode,omitempty" xml:"OuterOrderCode,omitempty"`
	// The additional information about the order. The additional information will be printed on the order.
	//
	// example:
	//
	// fragile
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The address of the sender.
	//
	// This parameter is required.
	SendAddress *CreatePickUpWaybillRequestSendAddress `json:"SendAddress,omitempty" xml:"SendAddress,omitempty" type:"Struct"`
	// The mobile phone number of the sender.
	//
	// >  Either SendMobile or SendPhone must be set.
	//
	// example:
	//
	// 1596714****
	SendMobile *string `json:"SendMobile,omitempty" xml:"SendMobile,omitempty"`
	// The name of the sender.
	//
	// This parameter is required.
	//
	// example:
	//
	// Wang
	SendName *string `json:"SendName,omitempty" xml:"SendName,omitempty"`
	// The landline phone number of the sender.
	//
	// >  Either SendMobile or SendPhone must be set.
	//
	// example:
	//
	// 05718845****
	SendPhone *string `json:"SendPhone,omitempty" xml:"SendPhone,omitempty"`
}

func (CreatePickUpWaybillRequest) GoString

func (s CreatePickUpWaybillRequest) GoString() string

func (*CreatePickUpWaybillRequest) SetAppointGotEndTime

func (s *CreatePickUpWaybillRequest) SetAppointGotEndTime(v string) *CreatePickUpWaybillRequest

func (*CreatePickUpWaybillRequest) SetAppointGotStartTime

func (s *CreatePickUpWaybillRequest) SetAppointGotStartTime(v string) *CreatePickUpWaybillRequest

func (*CreatePickUpWaybillRequest) SetBizType

func (*CreatePickUpWaybillRequest) SetConsigneeMobile

func (*CreatePickUpWaybillRequest) SetConsigneeName

func (*CreatePickUpWaybillRequest) SetConsigneePhone

func (*CreatePickUpWaybillRequest) SetCpCode

func (*CreatePickUpWaybillRequest) SetGoodsInfos

func (*CreatePickUpWaybillRequest) SetOrderChannels

func (*CreatePickUpWaybillRequest) SetOuterOrderCode

func (*CreatePickUpWaybillRequest) SetRemark

func (*CreatePickUpWaybillRequest) SetSendAddress

func (*CreatePickUpWaybillRequest) SetSendMobile

func (*CreatePickUpWaybillRequest) SetSendName

func (*CreatePickUpWaybillRequest) SetSendPhone

func (CreatePickUpWaybillRequest) String

type CreatePickUpWaybillRequestConsigneeAddress

type CreatePickUpWaybillRequestConsigneeAddress struct {
	// The detailed address of the consignee.
	//
	// This parameter is required.
	//
	// example:
	//
	// XX community
	AddressDetail *string `json:"AddressDetail,omitempty" xml:"AddressDetail,omitempty"`
	// The district where the consignee is located.
	//
	// This parameter is required.
	//
	// example:
	//
	// xihu
	AreaName *string `json:"AreaName,omitempty" xml:"AreaName,omitempty"`
	// The city where the consignee is located.
	//
	// This parameter is required.
	//
	// example:
	//
	// hangzhou
	CityName *string `json:"CityName,omitempty" xml:"CityName,omitempty"`
	// The province where the consignee is located.
	//
	// This parameter is required.
	//
	// example:
	//
	// zhejiang
	ProvinceName *string `json:"ProvinceName,omitempty" xml:"ProvinceName,omitempty"`
	// The street where the consignee is located.
	//
	// example:
	//
	// XX Street
	TownName *string `json:"TownName,omitempty" xml:"TownName,omitempty"`
}

func (CreatePickUpWaybillRequestConsigneeAddress) GoString

func (*CreatePickUpWaybillRequestConsigneeAddress) SetAddressDetail

func (*CreatePickUpWaybillRequestConsigneeAddress) SetAreaName

func (*CreatePickUpWaybillRequestConsigneeAddress) SetCityName

func (*CreatePickUpWaybillRequestConsigneeAddress) SetProvinceName

func (*CreatePickUpWaybillRequestConsigneeAddress) SetTownName

func (CreatePickUpWaybillRequestConsigneeAddress) String

type CreatePickUpWaybillRequestGoodsInfos

type CreatePickUpWaybillRequestGoodsInfos struct {
	// The item name.
	//
	// example:
	//
	// zhang
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The item quantity.
	//
	// example:
	//
	// 1
	Quantity *string `json:"Quantity,omitempty" xml:"Quantity,omitempty"`
	// The item weight. Unit: gram.
	//
	// example:
	//
	// 1000
	Weight *string `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (CreatePickUpWaybillRequestGoodsInfos) GoString

func (*CreatePickUpWaybillRequestGoodsInfos) SetName

func (*CreatePickUpWaybillRequestGoodsInfos) SetQuantity

func (*CreatePickUpWaybillRequestGoodsInfos) SetWeight

func (CreatePickUpWaybillRequestGoodsInfos) String

type CreatePickUpWaybillRequestSendAddress

type CreatePickUpWaybillRequestSendAddress struct {
	// The detailed address of the sender.
	//
	// This parameter is required.
	//
	// example:
	//
	// XX community
	AddressDetail *string `json:"AddressDetail,omitempty" xml:"AddressDetail,omitempty"`
	// The district where the sender is located.
	//
	// This parameter is required.
	//
	// example:
	//
	// wenjiang
	AreaName *string `json:"AreaName,omitempty" xml:"AreaName,omitempty"`
	// The city where the sender is located.
	//
	// This parameter is required.
	//
	// example:
	//
	// chengdu
	CityName *string `json:"CityName,omitempty" xml:"CityName,omitempty"`
	// The province where the sender is located.
	//
	// This parameter is required.
	//
	// example:
	//
	// Sichuan
	ProvinceName *string `json:"ProvinceName,omitempty" xml:"ProvinceName,omitempty"`
	// The street where the sender is located.
	//
	// example:
	//
	// XX Street
	TownName *string `json:"TownName,omitempty" xml:"TownName,omitempty"`
}

func (CreatePickUpWaybillRequestSendAddress) GoString

func (*CreatePickUpWaybillRequestSendAddress) SetAddressDetail

func (*CreatePickUpWaybillRequestSendAddress) SetAreaName

func (*CreatePickUpWaybillRequestSendAddress) SetCityName

func (*CreatePickUpWaybillRequestSendAddress) SetProvinceName

func (*CreatePickUpWaybillRequestSendAddress) SetTownName

func (CreatePickUpWaybillRequestSendAddress) String

type CreatePickUpWaybillResponse

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

func (CreatePickUpWaybillResponse) GoString

func (s CreatePickUpWaybillResponse) GoString() string

func (*CreatePickUpWaybillResponse) SetBody

func (*CreatePickUpWaybillResponse) SetHeaders

func (*CreatePickUpWaybillResponse) SetStatusCode

func (CreatePickUpWaybillResponse) String

type CreatePickUpWaybillResponseBody

type CreatePickUpWaybillResponseBody struct {
	// The returned data.
	Data *CreatePickUpWaybillResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The HTTP status code.
	//
	// example:
	//
	// 200
	HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 9FC30594-3841-43AD-9008-03393BCB5CD2
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreatePickUpWaybillResponseBody) GoString

func (*CreatePickUpWaybillResponseBody) SetHttpStatusCode

func (*CreatePickUpWaybillResponseBody) SetMessage

func (*CreatePickUpWaybillResponseBody) SetRequestId

func (CreatePickUpWaybillResponseBody) String

type CreatePickUpWaybillResponseBodyData

type CreatePickUpWaybillResponseBodyData struct {
	// The code of the courier company.
	//
	// example:
	//
	// YTO
	CpCode *string `json:"CpCode,omitempty" xml:"CpCode,omitempty"`
	// The error code.
	//
	// example:
	//
	// 200
	ErrorCode *string `json:"ErrorCode,omitempty" xml:"ErrorCode,omitempty"`
	// The error message.
	//
	// example:
	//
	// none
	ErrorMsg *string `json:"ErrorMsg,omitempty" xml:"ErrorMsg,omitempty"`
	// The pickup code.
	//
	// example:
	//
	// 3524
	GotCode *string `json:"GotCode,omitempty" xml:"GotCode,omitempty"`
	// The order ID.
	//
	// example:
	//
	// 77312345629****
	MailNo *string `json:"MailNo,omitempty" xml:"MailNo,omitempty"`
	// Indicates whether the request was successful.
	//
	// example:
	//
	// true
	Success *string `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (CreatePickUpWaybillResponseBodyData) GoString

func (*CreatePickUpWaybillResponseBodyData) SetCpCode

func (*CreatePickUpWaybillResponseBodyData) SetErrorCode

func (*CreatePickUpWaybillResponseBodyData) SetErrorMsg

func (*CreatePickUpWaybillResponseBodyData) SetGotCode

func (*CreatePickUpWaybillResponseBodyData) SetMailNo

func (*CreatePickUpWaybillResponseBodyData) SetSuccess

func (CreatePickUpWaybillResponseBodyData) String

type CreatePickUpWaybillShrinkRequest

type CreatePickUpWaybillShrinkRequest struct {
	// The end time of the door-to-door pickup in the appointment. The value of **AppointGotEndTime*	- is the value of **EndTime*	- of **AppointTimes*	- in **CpTimeSelectList*	- returned by the [CreatePickUpWaybillPreQuery](~~CreatePickUpWaybillPreQuery~~#resultMapping) operation.
	//
	// >  This parameter is required when **BizType*	- is set to **1**.
	//
	// example:
	//
	// 2021-01-01 12:00:00
	AppointGotEndTime *string `json:"AppointGotEndTime,omitempty" xml:"AppointGotEndTime,omitempty"`
	// The start time of the door-to-door pickup in the appointment. The value of **AppointGotStartTime*	- is the value of **StartTime*	- of **AppointTimes*	- in **CpTimeSelectList*	- returned by the [CreatePickUpWaybillPreQuery](~~CreatePickUpWaybillPreQuery~~#resultMapping) operation.
	//
	// >  This parameter is required when **BizType*	- is set to **1**.
	//
	// example:
	//
	// 2021-01-01 10:00:00
	AppointGotStartTime *string `json:"AppointGotStartTime,omitempty" xml:"AppointGotStartTime,omitempty"`
	// The pickup mode. Valid values:
	//
	// 	- **0*	- (default): real-time order.
	//
	// 	- **1**: appointment order.
	//
	// example:
	//
	// 0
	BizType *int32 `json:"BizType,omitempty" xml:"BizType,omitempty"`
	// The address of the consignee.
	//
	// This parameter is required.
	ConsigneeAddressShrink *string `json:"ConsigneeAddress,omitempty" xml:"ConsigneeAddress,omitempty"`
	// The mobile phone number of the consignee.
	//
	// >  Either ConsigneeMobile or ConsigneePhone must be set.
	//
	// example:
	//
	// 1580000****
	ConsigneeMobile *string `json:"ConsigneeMobile,omitempty" xml:"ConsigneeMobile,omitempty"`
	// The name of the consignee.
	//
	// This parameter is required.
	//
	// example:
	//
	// Li
	ConsigneeName *string `json:"ConsigneeName,omitempty" xml:"ConsigneeName,omitempty"`
	// The landline phone number of the consignee.
	//
	// >  Either ConsigneeMobile or ConsigneePhone must be set.
	//
	// example:
	//
	// 0570000****
	ConsigneePhone *string `json:"ConsigneePhone,omitempty" xml:"ConsigneePhone,omitempty"`
	// The code of the courier company.
	//
	// example:
	//
	// YTO
	CpCode *string `json:"CpCode,omitempty" xml:"CpCode,omitempty"`
	// The items.
	GoodsInfosShrink *string `json:"GoodsInfos,omitempty" xml:"GoodsInfos,omitempty"`
	// The external channel sources.
	//
	// This parameter is required.
	//
	// example:
	//
	// YUN_DIAN_SHANG
	OrderChannels *string `json:"OrderChannels,omitempty" xml:"OrderChannels,omitempty"`
	// The ID of the external order.
	//
	// This parameter is required.
	//
	// example:
	//
	// 143234234266****
	OuterOrderCode *string `json:"OuterOrderCode,omitempty" xml:"OuterOrderCode,omitempty"`
	// The additional information about the order. The additional information will be printed on the order.
	//
	// example:
	//
	// fragile
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The address of the sender.
	//
	// This parameter is required.
	SendAddressShrink *string `json:"SendAddress,omitempty" xml:"SendAddress,omitempty"`
	// The mobile phone number of the sender.
	//
	// >  Either SendMobile or SendPhone must be set.
	//
	// example:
	//
	// 1596714****
	SendMobile *string `json:"SendMobile,omitempty" xml:"SendMobile,omitempty"`
	// The name of the sender.
	//
	// This parameter is required.
	//
	// example:
	//
	// Wang
	SendName *string `json:"SendName,omitempty" xml:"SendName,omitempty"`
	// The landline phone number of the sender.
	//
	// >  Either SendMobile or SendPhone must be set.
	//
	// example:
	//
	// 05718845****
	SendPhone *string `json:"SendPhone,omitempty" xml:"SendPhone,omitempty"`
}

func (CreatePickUpWaybillShrinkRequest) GoString

func (*CreatePickUpWaybillShrinkRequest) SetAppointGotEndTime

func (*CreatePickUpWaybillShrinkRequest) SetAppointGotStartTime

func (*CreatePickUpWaybillShrinkRequest) SetBizType

func (*CreatePickUpWaybillShrinkRequest) SetConsigneeAddressShrink

func (*CreatePickUpWaybillShrinkRequest) SetConsigneeMobile

func (*CreatePickUpWaybillShrinkRequest) SetConsigneeName

func (*CreatePickUpWaybillShrinkRequest) SetConsigneePhone

func (*CreatePickUpWaybillShrinkRequest) SetCpCode

func (*CreatePickUpWaybillShrinkRequest) SetGoodsInfosShrink

func (*CreatePickUpWaybillShrinkRequest) SetOrderChannels

func (*CreatePickUpWaybillShrinkRequest) SetOuterOrderCode

func (*CreatePickUpWaybillShrinkRequest) SetRemark

func (*CreatePickUpWaybillShrinkRequest) SetSendAddressShrink

func (*CreatePickUpWaybillShrinkRequest) SetSendMobile

func (*CreatePickUpWaybillShrinkRequest) SetSendName

func (*CreatePickUpWaybillShrinkRequest) SetSendPhone

func (CreatePickUpWaybillShrinkRequest) String

type CreateSmsSignRequest added in v2.1.0

type CreateSmsSignRequest struct {
	// 收信人号码
	//
	// This parameter is required.
	//
	// example:
	//
	// 178****3614
	CalledNo *string `json:"CalledNo,omitempty" xml:"CalledNo,omitempty"`
	// 客户uid
	//
	// example:
	//
	// -
	CallerParentId *int64 `json:"CallerParentId,omitempty" xml:"CallerParentId,omitempty"`
	// 发信人号码
	//
	// This parameter is required.
	//
	// example:
	//
	// 150****6539
	CallingNo *string `json:"CallingNo,omitempty" xml:"CallingNo,omitempty"`
	// 号码池key
	//
	// This parameter is required.
	//
	// example:
	//
	// FC5**********************a1a
	CustomerPoolKey *string `json:"CustomerPoolKey,omitempty" xml:"CustomerPoolKey,omitempty"`
	OwnerId         *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 请求去重ID, reqId最大长度为20位,接入方需要保持原子性
	//
	// This parameter is required.
	//
	// example:
	//
	// 564**********879
	ReqId                *string `json:"ReqId,omitempty" xml:"ReqId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (CreateSmsSignRequest) GoString added in v2.1.0

func (s CreateSmsSignRequest) GoString() string

func (*CreateSmsSignRequest) SetCalledNo added in v2.1.0

func (*CreateSmsSignRequest) SetCallerParentId added in v2.1.0

func (s *CreateSmsSignRequest) SetCallerParentId(v int64) *CreateSmsSignRequest

func (*CreateSmsSignRequest) SetCallingNo added in v2.1.0

func (s *CreateSmsSignRequest) SetCallingNo(v string) *CreateSmsSignRequest

func (*CreateSmsSignRequest) SetCustomerPoolKey added in v2.1.0

func (s *CreateSmsSignRequest) SetCustomerPoolKey(v string) *CreateSmsSignRequest

func (*CreateSmsSignRequest) SetOwnerId added in v2.1.0

func (*CreateSmsSignRequest) SetReqId added in v2.1.0

func (*CreateSmsSignRequest) SetResourceOwnerAccount added in v2.1.0

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

func (*CreateSmsSignRequest) SetResourceOwnerId added in v2.1.0

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

func (CreateSmsSignRequest) String added in v2.1.0

func (s CreateSmsSignRequest) String() string

type CreateSmsSignResponse added in v2.1.0

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

func (CreateSmsSignResponse) GoString added in v2.1.0

func (s CreateSmsSignResponse) GoString() string

func (*CreateSmsSignResponse) SetBody added in v2.1.0

func (*CreateSmsSignResponse) SetHeaders added in v2.1.0

func (*CreateSmsSignResponse) SetStatusCode added in v2.1.0

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

func (CreateSmsSignResponse) String added in v2.1.0

func (s CreateSmsSignResponse) String() string

type CreateSmsSignResponseBody added in v2.1.0

type CreateSmsSignResponseBody struct {
	// example:
	//
	// 0
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// 短信接收者号码签名串(加到短信内容中供解析真实被叫号码)
	//
	// example:
	//
	// sign*****466
	CalledNoSign *string `json:"CalledNoSign,omitempty" xml:"CalledNoSign,omitempty"`
	// 返回状态码 0000表示成功 其他表示失败
	//
	// example:
	//
	// 0000
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// 返回信息
	//
	// example:
	//
	// 成功
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// 返回是否成功 true  表示成功 false表示失败
	//
	// example:
	//
	// false
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (CreateSmsSignResponseBody) GoString added in v2.1.0

func (s CreateSmsSignResponseBody) GoString() string

func (*CreateSmsSignResponseBody) SetAccessDeniedDetail added in v2.1.0

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

func (*CreateSmsSignResponseBody) SetCalledNoSign added in v2.1.0

func (*CreateSmsSignResponseBody) SetCode added in v2.1.0

func (*CreateSmsSignResponseBody) SetMessage added in v2.1.0

func (*CreateSmsSignResponseBody) SetSuccess added in v2.1.0

func (CreateSmsSignResponseBody) String added in v2.1.0

func (s CreateSmsSignResponseBody) String() string

type DeleteAxgGroupRequest added in v2.0.2

type DeleteAxgGroupRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1234
	GroupId *int64 `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// FC2235****
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DeleteAxgGroupRequest) GoString added in v2.0.2

func (s DeleteAxgGroupRequest) GoString() string

func (*DeleteAxgGroupRequest) SetGroupId added in v2.0.2

func (*DeleteAxgGroupRequest) SetOwnerId added in v2.0.2

func (*DeleteAxgGroupRequest) SetPoolKey added in v2.0.2

func (*DeleteAxgGroupRequest) SetResourceOwnerAccount added in v2.0.2

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

func (*DeleteAxgGroupRequest) SetResourceOwnerId added in v2.0.2

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

func (DeleteAxgGroupRequest) String added in v2.0.2

func (s DeleteAxgGroupRequest) String() string

type DeleteAxgGroupResponse added in v2.0.2

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

func (DeleteAxgGroupResponse) GoString added in v2.0.2

func (s DeleteAxgGroupResponse) GoString() string

func (*DeleteAxgGroupResponse) SetBody added in v2.0.2

func (*DeleteAxgGroupResponse) SetHeaders added in v2.0.2

func (*DeleteAxgGroupResponse) SetStatusCode added in v2.0.2

func (DeleteAxgGroupResponse) String added in v2.0.2

func (s DeleteAxgGroupResponse) String() string

type DeleteAxgGroupResponseBody added in v2.0.2

type DeleteAxgGroupResponseBody struct {
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// example:
	//
	// SUCCESS
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// 9297B722-A016-43FB-B51A-E54050D9369D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteAxgGroupResponseBody) GoString added in v2.0.2

func (s DeleteAxgGroupResponseBody) GoString() string

func (*DeleteAxgGroupResponseBody) SetCode added in v2.0.2

func (*DeleteAxgGroupResponseBody) SetMessage added in v2.0.2

func (*DeleteAxgGroupResponseBody) SetRequestId added in v2.0.2

func (DeleteAxgGroupResponseBody) String added in v2.0.2

type DeleteSecretBlacklistRequest

type DeleteSecretBlacklistRequest struct {
	// The phone numbers in the blacklist. A point-to-point blacklist has a pair of numbers separated by a colon (":"). A number pool blacklist or a platform blacklist has only one single number.
	//
	// This parameter is required.
	//
	// example:
	//
	// 18252***383:18252***483
	BlackNo *string `json:"BlackNo,omitempty" xml:"BlackNo,omitempty"`
	// The blacklist type. Valid values:
	//
	// 	- **POINT_TO_POINT_BLACK**: point-to-point blacklist
	//
	// 	- **PARTNER_GLOBAL_NUMBER_BLACK**: number pool blacklist
	//
	// This parameter is required.
	//
	// example:
	//
	// POINT_TO_POINT_BLACK
	BlackType *string `json:"BlackType,omitempty" xml:"BlackType,omitempty"`
	// The key of the phone number pool. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// FC1232****
	PoolKey *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	// The remarks for the blacklist.
	//
	// example:
	//
	// fragile
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The control on the call direction.
	//
	// 	- **PHONEA_REJECT**: The first phone number in the blacklist can be used to call the second phone number, but the second phone number in the blacklist cannot be used to call the first phone number.
	//
	// 	- **PHONEB_REJECT**: The first phone number in the blacklist cannot be used to call the second phone number, but the second phone number in the blacklist can be used to call the first phone number.
	//
	// 	- If this parameter is not specified, the two phone numbers in the blacklist cannot be used to call each other.
	//
	// Valid values:
	//
	// 	- DUPLEX_REJECT
	//
	// 	- PHONEA_REJECT
	//
	// 	- PHONEB_REJECT
	//
	// example:
	//
	// PHONEA_REJECT
	WayControl *string `json:"WayControl,omitempty" xml:"WayControl,omitempty"`
}

func (DeleteSecretBlacklistRequest) GoString

func (s DeleteSecretBlacklistRequest) GoString() string

func (*DeleteSecretBlacklistRequest) SetBlackNo

func (*DeleteSecretBlacklistRequest) SetBlackType

func (*DeleteSecretBlacklistRequest) SetPoolKey

func (*DeleteSecretBlacklistRequest) SetRemark

func (*DeleteSecretBlacklistRequest) SetWayControl

func (DeleteSecretBlacklistRequest) String

type DeleteSecretBlacklistResponse

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

func (DeleteSecretBlacklistResponse) GoString

func (*DeleteSecretBlacklistResponse) SetBody

func (*DeleteSecretBlacklistResponse) SetHeaders

func (*DeleteSecretBlacklistResponse) SetStatusCode

func (DeleteSecretBlacklistResponse) String

type DeleteSecretBlacklistResponseBody

type DeleteSecretBlacklistResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other status codes indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8DE990
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteSecretBlacklistResponseBody) GoString

func (*DeleteSecretBlacklistResponseBody) SetCode

func (*DeleteSecretBlacklistResponseBody) SetMessage

func (*DeleteSecretBlacklistResponseBody) SetRequestId

func (DeleteSecretBlacklistResponseBody) String

type GetSecretAsrDetailRequest

type GetSecretAsrDetailRequest struct {
	// The ID of the call record.
	//
	// You can log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view **Call Record ID*	- on the **Call Record Query*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// 225625****
	CallId *string `json:"CallId,omitempty" xml:"CallId,omitempty"`
	// The call initiation time in the call record.
	//
	// You can log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account). View **Call Initiated At*	- on the **Call Record Query*	- page, or view the call_time field in the Call Detail Record (CDR) receipt.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2019-03-05 12:00:00
	CallTime *string `json:"CallTime,omitempty" xml:"CallTime,omitempty"`
	// The key of the phone number pool.
	//
	// You can log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// FC2267****
	PoolKey *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
}

func (GetSecretAsrDetailRequest) GoString

func (s GetSecretAsrDetailRequest) GoString() string

func (*GetSecretAsrDetailRequest) SetCallId

func (*GetSecretAsrDetailRequest) SetCallTime

func (*GetSecretAsrDetailRequest) SetPoolKey

func (GetSecretAsrDetailRequest) String

func (s GetSecretAsrDetailRequest) String() string

type GetSecretAsrDetailResponse

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

func (GetSecretAsrDetailResponse) GoString

func (s GetSecretAsrDetailResponse) GoString() string

func (*GetSecretAsrDetailResponse) SetBody

func (*GetSecretAsrDetailResponse) SetHeaders

func (*GetSecretAsrDetailResponse) SetStatusCode

func (GetSecretAsrDetailResponse) String

type GetSecretAsrDetailResponseBody

type GetSecretAsrDetailResponseBody struct {
	// The response code.
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The ASR details.
	Data *GetSecretAsrDetailResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8DE990
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetSecretAsrDetailResponseBody) GoString

func (*GetSecretAsrDetailResponseBody) SetCode

func (*GetSecretAsrDetailResponseBody) SetMessage

func (*GetSecretAsrDetailResponseBody) SetRequestId

func (GetSecretAsrDetailResponseBody) String

type GetSecretAsrDetailResponseBodyData

type GetSecretAsrDetailResponseBodyData struct {
	// The total duration of the audio file that was recognized. Unit: milliseconds.
	//
	// example:
	//
	// 10944
	BizDuration *int64 `json:"BizDuration,omitempty" xml:"BizDuration,omitempty"`
	// The ID of the business process.
	//
	// example:
	//
	// 435ee78c7a019650@!FC100000074672458@!2020061522****
	BusinessId *string `json:"BusinessId,omitempty" xml:"BusinessId,omitempty"`
	// The business keyword.
	//
	// example:
	//
	// JCGTncltuNao****
	BusinessKey *string `json:"BusinessKey,omitempty" xml:"BusinessKey,omitempty"`
	// The status code. The status code 21050000 indicates that the request was successful.
	//
	// example:
	//
	// 21050000
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The description.
	//
	// example:
	//
	// SUCCESS
	Msg *string `json:"Msg,omitempty" xml:"Msg,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 8d2329d407a83447a83be441681f4872ac74nE
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ASR result.
	Sentences []*GetSecretAsrDetailResponseBodyDataSentences `json:"Sentences,omitempty" xml:"Sentences,omitempty" type:"Repeated"`
	// The type.
	//
	// example:
	//
	// asrResult
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (GetSecretAsrDetailResponseBodyData) GoString

func (*GetSecretAsrDetailResponseBodyData) SetBizDuration

func (*GetSecretAsrDetailResponseBodyData) SetBusinessId

func (*GetSecretAsrDetailResponseBodyData) SetBusinessKey

func (*GetSecretAsrDetailResponseBodyData) SetCode

func (*GetSecretAsrDetailResponseBodyData) SetMsg

func (*GetSecretAsrDetailResponseBodyData) SetRequestId

func (*GetSecretAsrDetailResponseBodyData) SetType

func (GetSecretAsrDetailResponseBodyData) String

type GetSecretAsrDetailResponseBodyDataSentences

type GetSecretAsrDetailResponseBodyDataSentences struct {
	// The start time offset of the sentence. Unit: milliseconds.
	//
	// example:
	//
	// 1020
	BeginTime *int64 `json:"BeginTime,omitempty" xml:"BeginTime,omitempty"`
	// The ID of the audio track to which the sentence belongs.
	//
	// example:
	//
	// 0
	ChannelId *int32 `json:"ChannelId,omitempty" xml:"ChannelId,omitempty"`
	// The emotion value. Value range: 1 to 10. The higher the value, the stronger the emotion.
	//
	// example:
	//
	// 5.7
	EmotionValue *string `json:"EmotionValue,omitempty" xml:"EmotionValue,omitempty"`
	// The end time offset of the sentence. Unit: milliseconds.
	//
	// example:
	//
	// 1770
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The silence duration between the current sentence and the previous sentence. Unit: seconds.
	//
	// example:
	//
	// 0
	SilenceDuration *int64 `json:"SilenceDuration,omitempty" xml:"SilenceDuration,omitempty"`
	// The average speech rate of the sentence. Unit: number of words per minute.
	//
	// example:
	//
	// 80
	SpeechRate *int32 `json:"SpeechRate,omitempty" xml:"SpeechRate,omitempty"`
	// The recognition result of the sentence.
	//
	// example:
	//
	// Hello
	Text *string `json:"Text,omitempty" xml:"Text,omitempty"`
}

func (GetSecretAsrDetailResponseBodyDataSentences) GoString

func (*GetSecretAsrDetailResponseBodyDataSentences) SetBeginTime

func (*GetSecretAsrDetailResponseBodyDataSentences) SetChannelId

func (*GetSecretAsrDetailResponseBodyDataSentences) SetEmotionValue

func (*GetSecretAsrDetailResponseBodyDataSentences) SetEndTime

func (*GetSecretAsrDetailResponseBodyDataSentences) SetSilenceDuration

func (*GetSecretAsrDetailResponseBodyDataSentences) SetSpeechRate

func (*GetSecretAsrDetailResponseBodyDataSentences) SetText

func (GetSecretAsrDetailResponseBodyDataSentences) String

type GetTotalPublicUrlRequest

type GetTotalPublicUrlRequest struct {
	// The ID of the call record.
	//
	// Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view **Call Record ID*	- on the **Call Record Query*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2568900****
	CallId *string `json:"CallId,omitempty" xml:"CallId,omitempty"`
	// The call initiation time in the call record.
	//
	// Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account). View **Call Initiated At*	- on the **Call Record Query*	- page, or view the call_time field in the Call Detail Record (CDR) receipt.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2019-03-05 12:00:00
	CallTime *string `json:"CallTime,omitempty" xml:"CallTime,omitempty"`
	// Specifies whether the verification on the binding ID is required.
	//
	// This parameter is required.
	//
	// example:
	//
	// false
	CheckSubs *bool  `json:"CheckSubs,omitempty" xml:"CheckSubs,omitempty"`
	OwnerId   *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The key of the phone number pool. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// FC12256****
	PartnerKey           *string `json:"PartnerKey,omitempty" xml:"PartnerKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (GetTotalPublicUrlRequest) GoString

func (s GetTotalPublicUrlRequest) GoString() string

func (*GetTotalPublicUrlRequest) SetCallId

func (*GetTotalPublicUrlRequest) SetCallTime

func (*GetTotalPublicUrlRequest) SetCheckSubs

func (*GetTotalPublicUrlRequest) SetOwnerId

func (*GetTotalPublicUrlRequest) SetPartnerKey

func (*GetTotalPublicUrlRequest) SetResourceOwnerAccount

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

func (*GetTotalPublicUrlRequest) SetResourceOwnerId

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

func (GetTotalPublicUrlRequest) String

func (s GetTotalPublicUrlRequest) String() string

type GetTotalPublicUrlResponse

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

func (GetTotalPublicUrlResponse) GoString

func (s GetTotalPublicUrlResponse) GoString() string

func (*GetTotalPublicUrlResponse) SetBody

func (*GetTotalPublicUrlResponse) SetHeaders

func (*GetTotalPublicUrlResponse) SetStatusCode

func (GetTotalPublicUrlResponse) String

func (s GetTotalPublicUrlResponse) String() string

type GetTotalPublicUrlResponseBody

type GetTotalPublicUrlResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other status codes indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The download URLs of the recording files.
	Data *GetTotalPublicUrlResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 1AB3CEF7-DCBE-488C-9C33-D180982CE031
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetTotalPublicUrlResponseBody) GoString

func (*GetTotalPublicUrlResponseBody) SetCode

func (*GetTotalPublicUrlResponseBody) SetData

func (*GetTotalPublicUrlResponseBody) SetMessage

func (*GetTotalPublicUrlResponseBody) SetRequestId

func (GetTotalPublicUrlResponseBody) String

type GetTotalPublicUrlResponseBodyData

type GetTotalPublicUrlResponseBodyData struct {
	// The download URL of the recorded call.
	//
	// >  The download URL of the recorded call is valid for 30 days.
	//
	// example:
	//
	// http://secret-axb-reco****cn-shanghai.aliyuncs.com/1000000820257625_66647243838006067251551752068865.mp3?Expires=1551****07&OSSAccessKeyId=LTAIP00vvvv****v&Signature=tK6Yq9KusU4n%2BZQWX****4/WmEA%3D
	PhonePublicUrl *string `json:"PhonePublicUrl,omitempty" xml:"PhonePublicUrl,omitempty"`
	// The download URL of the recorded ringing tone.
	//
	// >  The download URL of the recorded ringing tone is valid for 30 days.
	//
	// example:
	//
	// http://secret-ab-reco****cn-shanghai.aliyuncs.com/1000000820257625_66647243838006067251551752068865.mp3?Expires=155175****&OSSAccessKeyId=LTAIP00vvv****vv&Signature=tK6Yq9KusU4n%2BZQW****g4/WmEA%3D
	RingPublicUrl *string `json:"RingPublicUrl,omitempty" xml:"RingPublicUrl,omitempty"`
}

func (GetTotalPublicUrlResponseBodyData) GoString

func (*GetTotalPublicUrlResponseBodyData) SetPhonePublicUrl

func (*GetTotalPublicUrlResponseBodyData) SetRingPublicUrl

func (GetTotalPublicUrlResponseBodyData) String

type GetXConfigRequest added in v2.1.0

type GetXConfigRequest struct {
	// 客户uid
	//
	// example:
	//
	// -
	CallerParentId *int64 `json:"CallerParentId,omitempty" xml:"CallerParentId,omitempty"`
	// 号码池key
	//
	// This parameter is required.
	//
	// example:
	//
	// FC5**********************a1a
	CustomerPoolKey *string `json:"CustomerPoolKey,omitempty" xml:"CustomerPoolKey,omitempty"`
	OwnerId         *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 请求去重ID, reqId最大长度为20位,接入方需要保持原子性
	//
	// This parameter is required.
	//
	// example:
	//
	// 564**********879
	ReqId                *string `json:"ReqId,omitempty" xml:"ReqId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// X号码
	//
	// This parameter is required.
	//
	// example:
	//
	// 17*******22
	TelX *string `json:"TelX,omitempty" xml:"TelX,omitempty"`
}

func (GetXConfigRequest) GoString added in v2.1.0

func (s GetXConfigRequest) GoString() string

func (*GetXConfigRequest) SetCallerParentId added in v2.1.0

func (s *GetXConfigRequest) SetCallerParentId(v int64) *GetXConfigRequest

func (*GetXConfigRequest) SetCustomerPoolKey added in v2.1.0

func (s *GetXConfigRequest) SetCustomerPoolKey(v string) *GetXConfigRequest

func (*GetXConfigRequest) SetOwnerId added in v2.1.0

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

func (*GetXConfigRequest) SetReqId added in v2.1.0

func (s *GetXConfigRequest) SetReqId(v string) *GetXConfigRequest

func (*GetXConfigRequest) SetResourceOwnerAccount added in v2.1.0

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

func (*GetXConfigRequest) SetResourceOwnerId added in v2.1.0

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

func (*GetXConfigRequest) SetTelX added in v2.1.0

func (GetXConfigRequest) String added in v2.1.0

func (s GetXConfigRequest) String() string

type GetXConfigResponse added in v2.1.0

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

func (GetXConfigResponse) GoString added in v2.1.0

func (s GetXConfigResponse) GoString() string

func (*GetXConfigResponse) SetBody added in v2.1.0

func (*GetXConfigResponse) SetHeaders added in v2.1.0

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

func (*GetXConfigResponse) SetStatusCode added in v2.1.0

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

func (GetXConfigResponse) String added in v2.1.0

func (s GetXConfigResponse) String() string

type GetXConfigResponseBody added in v2.1.0

type GetXConfigResponseBody struct {
	// example:
	//
	// 0
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// 开/关呼叫能力状态: ‘0’:禁用; ‘1’:开启;
	//
	// example:
	//
	// 0
	CallAbility *string `json:"CallAbility,omitempty" xml:"CallAbility,omitempty"`
	// 返回状态码 0000表示成功 其他表示失败
	//
	// example:
	//
	// 0000
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// 是否透传来显为真实主叫: 00-非透传:互相拨打时都显示工作号; 10-透传:A客户为主叫时,B员工的来显为客户A号码;B员工为主叫时,A客户的来显为工作号; 默认为 00
	//
	// example:
	//
	// 10
	GNFlag *string `json:"GNFlag,omitempty" xml:"GNFlag,omitempty"`
	// 返回信息
	//
	// example:
	//
	// 成功
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// 顺振控制参数
	SequenceCalls []*GetXConfigResponseBodySequenceCalls `json:"SequenceCalls,omitempty" xml:"SequenceCalls,omitempty" type:"Repeated"`
	// 顺振模式: 0-不顺振(默认) 1-有条件顺振,先接续calledNo指定被叫,如果该被叫未能接通,再顺振sequenceCalls号码列表 2-无条件顺振,不接续calledNo指定被叫,直接顺振sequenceCalls号码列表
	//
	// example:
	//
	// 0
	SequenceMode *string `json:"SequenceMode,omitempty" xml:"SequenceMode,omitempty"`
	// 开/关短信功能状态: ‘0’:禁用;‘1’:开启;
	//
	// example:
	//
	// 0
	SmsAbility *string `json:"SmsAbility,omitempty" xml:"SmsAbility,omitempty"`
	// 是否透传来显为真实用户 0:不透传; 1:透传 默认:0不透传
	//
	// example:
	//
	// 0
	SmsSignMode *string `json:"SmsSignMode,omitempty" xml:"SmsSignMode,omitempty"`
	// 返回是否成功 true  表示成功 false表示失败
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
	// X号码
	//
	// example:
	//
	// 17*******22
	TelX *string `json:"TelX,omitempty" xml:"TelX,omitempty"`
}

func (GetXConfigResponseBody) GoString added in v2.1.0

func (s GetXConfigResponseBody) GoString() string

func (*GetXConfigResponseBody) SetAccessDeniedDetail added in v2.1.0

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

func (*GetXConfigResponseBody) SetCallAbility added in v2.1.0

func (*GetXConfigResponseBody) SetCode added in v2.1.0

func (*GetXConfigResponseBody) SetGNFlag added in v2.1.0

func (*GetXConfigResponseBody) SetMessage added in v2.1.0

func (*GetXConfigResponseBody) SetSequenceCalls added in v2.1.0

func (*GetXConfigResponseBody) SetSequenceMode added in v2.1.0

func (s *GetXConfigResponseBody) SetSequenceMode(v string) *GetXConfigResponseBody

func (*GetXConfigResponseBody) SetSmsAbility added in v2.1.0

func (*GetXConfigResponseBody) SetSmsSignMode added in v2.1.0

func (*GetXConfigResponseBody) SetSuccess added in v2.1.0

func (*GetXConfigResponseBody) SetTelX added in v2.1.0

func (GetXConfigResponseBody) String added in v2.1.0

func (s GetXConfigResponseBody) String() string

type GetXConfigResponseBodySequenceCalls added in v2.1.0

type GetXConfigResponseBodySequenceCalls struct {
	// 顺振提示音放音编号,格式如callNoPlayCode
	//
	// example:
	//
	// 01
	SequenceCallNoPlayCode *string `json:"SequenceCallNoPlayCode,omitempty" xml:"SequenceCallNoPlayCode,omitempty"`
	// 顺振被叫号码
	//
	// example:
	//
	// 18*******33
	SequenceCalledNo *string `json:"SequenceCalledNo,omitempty" xml:"SequenceCalledNo,omitempty"`
	// 接通后主被叫放音编号,格式如calledPlayCode
	//
	// example:
	//
	// 02
	SequenceCalledPlayCode *string `json:"SequenceCalledPlayCode,omitempty" xml:"SequenceCalledPlayCode,omitempty"`
}

func (GetXConfigResponseBodySequenceCalls) GoString added in v2.1.0

func (*GetXConfigResponseBodySequenceCalls) SetSequenceCallNoPlayCode added in v2.1.0

func (*GetXConfigResponseBodySequenceCalls) SetSequenceCalledNo added in v2.1.0

func (*GetXConfigResponseBodySequenceCalls) SetSequenceCalledPlayCode added in v2.1.0

func (GetXConfigResponseBodySequenceCalls) String added in v2.1.0

type GetXDefaultConfigRequest added in v2.1.0

type GetXDefaultConfigRequest struct {
	// 客户uid
	//
	// example:
	//
	// -
	CallerParentId *int64 `json:"CallerParentId,omitempty" xml:"CallerParentId,omitempty"`
	// 号码池key
	//
	// This parameter is required.
	//
	// example:
	//
	// FC5**********************a1a
	CustomerPoolKey *string `json:"CustomerPoolKey,omitempty" xml:"CustomerPoolKey,omitempty"`
	OwnerId         *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 请求去重ID, reqId最大长度为20位,接入方需要保持原子性
	//
	// This parameter is required.
	//
	// example:
	//
	// 564**********879
	ReqId                *string `json:"ReqId,omitempty" xml:"ReqId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// X号码
	//
	// This parameter is required.
	//
	// example:
	//
	// 17*******22
	TelX *string `json:"TelX,omitempty" xml:"TelX,omitempty"`
}

func (GetXDefaultConfigRequest) GoString added in v2.1.0

func (s GetXDefaultConfigRequest) GoString() string

func (*GetXDefaultConfigRequest) SetCallerParentId added in v2.1.0

func (s *GetXDefaultConfigRequest) SetCallerParentId(v int64) *GetXDefaultConfigRequest

func (*GetXDefaultConfigRequest) SetCustomerPoolKey added in v2.1.0

func (s *GetXDefaultConfigRequest) SetCustomerPoolKey(v string) *GetXDefaultConfigRequest

func (*GetXDefaultConfigRequest) SetOwnerId added in v2.1.0

func (*GetXDefaultConfigRequest) SetReqId added in v2.1.0

func (*GetXDefaultConfigRequest) SetResourceOwnerAccount added in v2.1.0

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

func (*GetXDefaultConfigRequest) SetResourceOwnerId added in v2.1.0

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

func (*GetXDefaultConfigRequest) SetTelX added in v2.1.0

func (GetXDefaultConfigRequest) String added in v2.1.0

func (s GetXDefaultConfigRequest) String() string

type GetXDefaultConfigResponse added in v2.1.0

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

func (GetXDefaultConfigResponse) GoString added in v2.1.0

func (s GetXDefaultConfigResponse) GoString() string

func (*GetXDefaultConfigResponse) SetBody added in v2.1.0

func (*GetXDefaultConfigResponse) SetHeaders added in v2.1.0

func (*GetXDefaultConfigResponse) SetStatusCode added in v2.1.0

func (GetXDefaultConfigResponse) String added in v2.1.0

func (s GetXDefaultConfigResponse) String() string

type GetXDefaultConfigResponseBody added in v2.1.0

type GetXDefaultConfigResponseBody struct {
	// example:
	//
	// 0
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// 开/关呼叫能力状态: ‘0’:禁用; ‘1’:开启;
	//
	// example:
	//
	// 0
	CallAbility *string `json:"CallAbility,omitempty" xml:"CallAbility,omitempty"`
	// 返回状态码 0000表示成功 其他表示失败
	//
	// example:
	//
	// 0000
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// 是否透传来显为真实主叫: 00-非透传:互相拨打时都显示工作号; 10-透传:A客户为主叫时,B员工的来显为客户A号码;B员工为主叫时,A客户的来显为工作号; 默认为 00
	//
	// example:
	//
	// 00
	GNFlag *string `json:"GNFlag,omitempty" xml:"GNFlag,omitempty"`
	// 返回信息
	//
	// example:
	//
	// 成功
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// 企业名片规则控制参数
	ReachJson []*GetXDefaultConfigResponseBodyReachJson `json:"ReachJson,omitempty" xml:"ReachJson,omitempty" type:"Repeated"`
	// 顺振控制参数
	SequenceCalls []*GetXDefaultConfigResponseBodySequenceCalls `json:"SequenceCalls,omitempty" xml:"SequenceCalls,omitempty" type:"Repeated"`
	// 顺振结束时间 格式:HH:mm:ss 18:00:00
	//
	// example:
	//
	// 09:01:00
	SequenceEndTime *string `json:"SequenceEndTime,omitempty" xml:"SequenceEndTime,omitempty"`
	// 顺振开启时间 格式:HH:mm:ss 09:00:00
	//
	// example:
	//
	// 09:00:00
	SequenceStartTime *string `json:"SequenceStartTime,omitempty" xml:"SequenceStartTime,omitempty"`
	// 开/关短信功能状态: ‘0’:禁用; ‘1’:开启;
	//
	// example:
	//
	// 0
	SmsAbility *string `json:"SmsAbility,omitempty" xml:"SmsAbility,omitempty"`
	// 是否透传来显为真实用户 0:不透传; 1:透传 默认:0不透传
	//
	// example:
	//
	// 0
	SmsSignMode *string `json:"SmsSignMode,omitempty" xml:"SmsSignMode,omitempty"`
	// 返回是否成功 true  表示成功 false表示失败
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetXDefaultConfigResponseBody) GoString added in v2.1.0

func (*GetXDefaultConfigResponseBody) SetAccessDeniedDetail added in v2.1.0

func (*GetXDefaultConfigResponseBody) SetCallAbility added in v2.1.0

func (*GetXDefaultConfigResponseBody) SetCode added in v2.1.0

func (*GetXDefaultConfigResponseBody) SetGNFlag added in v2.1.0

func (*GetXDefaultConfigResponseBody) SetMessage added in v2.1.0

func (*GetXDefaultConfigResponseBody) SetReachJson added in v2.1.0

func (*GetXDefaultConfigResponseBody) SetSequenceCalls added in v2.1.0

func (*GetXDefaultConfigResponseBody) SetSequenceEndTime added in v2.1.0

func (*GetXDefaultConfigResponseBody) SetSequenceStartTime added in v2.1.0

func (*GetXDefaultConfigResponseBody) SetSmsAbility added in v2.1.0

func (*GetXDefaultConfigResponseBody) SetSmsSignMode added in v2.1.0

func (*GetXDefaultConfigResponseBody) SetSuccess added in v2.1.0

func (GetXDefaultConfigResponseBody) String added in v2.1.0

type GetXDefaultConfigResponseBodyReachJson added in v2.1.0

type GetXDefaultConfigResponseBodyReachJson struct {
	// 呼叫方向 1:员工B呼叫客户A 2:客户A呼叫员工B
	//
	// example:
	//
	// 1
	CallDir *string `json:"CallDir,omitempty" xml:"CallDir,omitempty"`
	// 通话状态 1:通话振铃 2:接通前 3:接通后 4:通话结束 5:已接通6:未接通
	//
	// example:
	//
	// 3
	CallStatus *string `json:"CallStatus,omitempty" xml:"CallStatus,omitempty"`
	// 接收方向 1:主叫 2:被叫
	//
	// example:
	//
	// 1
	ReceiveDir *string `json:"ReceiveDir,omitempty" xml:"ReceiveDir,omitempty"`
	// 规则ID
	//
	// example:
	//
	// 345
	RuleId *string `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// 规则名称
	//
	// example:
	//
	// 企业名片-短信规则
	RuleName *string `json:"RuleName,omitempty" xml:"RuleName,omitempty"`
	// 规则类型: 1:企业名片-短信 2:企业名片-闪信 3:企业名片-视频 4:企业名片-音频
	//
	// example:
	//
	// 1
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
	// 模板ID
	//
	// example:
	//
	// 12345
	TempId *string `json:"TempId,omitempty" xml:"TempId,omitempty"`
}

func (GetXDefaultConfigResponseBodyReachJson) GoString added in v2.1.0

func (*GetXDefaultConfigResponseBodyReachJson) SetCallDir added in v2.1.0

func (*GetXDefaultConfigResponseBodyReachJson) SetCallStatus added in v2.1.0

func (*GetXDefaultConfigResponseBodyReachJson) SetReceiveDir added in v2.1.0

func (*GetXDefaultConfigResponseBodyReachJson) SetRuleId added in v2.1.0

func (*GetXDefaultConfigResponseBodyReachJson) SetRuleName added in v2.1.0

func (*GetXDefaultConfigResponseBodyReachJson) SetRuleType added in v2.1.0

func (*GetXDefaultConfigResponseBodyReachJson) SetTempId added in v2.1.0

func (GetXDefaultConfigResponseBodyReachJson) String added in v2.1.0

type GetXDefaultConfigResponseBodySequenceCalls added in v2.1.0

type GetXDefaultConfigResponseBodySequenceCalls struct {
	// 顺振提示音放音编号,格式如callNoPlayCode
	//
	// example:
	//
	// 01
	SequenceCallNoPlayCode *string `json:"SequenceCallNoPlayCode,omitempty" xml:"SequenceCallNoPlayCode,omitempty"`
	// 顺振被叫号码
	//
	// example:
	//
	// 18*******33
	SequenceCalledNo *string `json:"SequenceCalledNo,omitempty" xml:"SequenceCalledNo,omitempty"`
	// 接通后主被叫放音编号,格式如calledPlayCode
	//
	// example:
	//
	// 02
	SequenceCalledPlayCode *string `json:"SequenceCalledPlayCode,omitempty" xml:"SequenceCalledPlayCode,omitempty"`
}

func (GetXDefaultConfigResponseBodySequenceCalls) GoString added in v2.1.0

func (*GetXDefaultConfigResponseBodySequenceCalls) SetSequenceCallNoPlayCode added in v2.1.0

func (*GetXDefaultConfigResponseBodySequenceCalls) SetSequenceCalledNo added in v2.1.0

func (*GetXDefaultConfigResponseBodySequenceCalls) SetSequenceCalledPlayCode added in v2.1.0

func (GetXDefaultConfigResponseBodySequenceCalls) String added in v2.1.0

type ListXTelephonesRequest added in v2.1.0

type ListXTelephonesRequest struct {
	// 客户uid
	//
	// example:
	//
	// -
	CallerParentId *int64 `json:"CallerParentId,omitempty" xml:"CallerParentId,omitempty"`
	// 号码池key
	//
	// example:
	//
	// FC5**********************a1a
	CustomerPoolKey *string `json:"CustomerPoolKey,omitempty" xml:"CustomerPoolKey,omitempty"`
	OwnerId         *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 页码从1开始
	//
	// example:
	//
	// 1
	PageNo *int64 `json:"PageNo,omitempty" xml:"PageNo,omitempty"`
	// 每页条数
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// 请求去重ID, reqId最大长度为20位,接入方需要保持原子性
	//
	// This parameter is required.
	//
	// example:
	//
	// 564**********879
	ReqId                *string `json:"ReqId,omitempty" xml:"ReqId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ListXTelephonesRequest) GoString added in v2.1.0

func (s ListXTelephonesRequest) GoString() string

func (*ListXTelephonesRequest) SetCallerParentId added in v2.1.0

func (s *ListXTelephonesRequest) SetCallerParentId(v int64) *ListXTelephonesRequest

func (*ListXTelephonesRequest) SetCustomerPoolKey added in v2.1.0

func (s *ListXTelephonesRequest) SetCustomerPoolKey(v string) *ListXTelephonesRequest

func (*ListXTelephonesRequest) SetOwnerId added in v2.1.0

func (*ListXTelephonesRequest) SetPageNo added in v2.1.0

func (*ListXTelephonesRequest) SetPageSize added in v2.1.0

func (*ListXTelephonesRequest) SetReqId added in v2.1.0

func (*ListXTelephonesRequest) SetResourceOwnerAccount added in v2.1.0

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

func (*ListXTelephonesRequest) SetResourceOwnerId added in v2.1.0

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

func (ListXTelephonesRequest) String added in v2.1.0

func (s ListXTelephonesRequest) String() string

type ListXTelephonesResponse added in v2.1.0

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

func (ListXTelephonesResponse) GoString added in v2.1.0

func (s ListXTelephonesResponse) GoString() string

func (*ListXTelephonesResponse) SetBody added in v2.1.0

func (*ListXTelephonesResponse) SetHeaders added in v2.1.0

func (*ListXTelephonesResponse) SetStatusCode added in v2.1.0

func (ListXTelephonesResponse) String added in v2.1.0

func (s ListXTelephonesResponse) String() string

type ListXTelephonesResponseBody added in v2.1.0

type ListXTelephonesResponseBody struct {
	// example:
	//
	// 0
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// 返回状态码 0000表示成功 其他表示失败
	//
	// example:
	//
	// 0000
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// 数据集合
	Data []*ListXTelephonesResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// 返回信息
	//
	// example:
	//
	// 成功
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// 页码
	//
	// example:
	//
	// 6
	PageNo *int64 `json:"PageNo,omitempty" xml:"PageNo,omitempty"`
	// 每页条数
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// 返回是否成功 true  表示成功 false表示失败
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
	// 符合查询条件的总数量
	//
	// example:
	//
	// 60
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListXTelephonesResponseBody) GoString added in v2.1.0

func (s ListXTelephonesResponseBody) GoString() string

func (*ListXTelephonesResponseBody) SetAccessDeniedDetail added in v2.1.0

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

func (*ListXTelephonesResponseBody) SetCode added in v2.1.0

func (*ListXTelephonesResponseBody) SetData added in v2.1.0

func (*ListXTelephonesResponseBody) SetMessage added in v2.1.0

func (*ListXTelephonesResponseBody) SetPageNo added in v2.1.0

func (*ListXTelephonesResponseBody) SetPageSize added in v2.1.0

func (*ListXTelephonesResponseBody) SetSuccess added in v2.1.0

func (*ListXTelephonesResponseBody) SetTotalCount added in v2.1.0

func (ListXTelephonesResponseBody) String added in v2.1.0

type ListXTelephonesResponseBodyData added in v2.1.0

type ListXTelephonesResponseBodyData struct {
	// 绑定失败原因
	//
	// example:
	//
	// 绑定失败用户身份证黑名单
	AuthMsg *string `json:"AuthMsg,omitempty" xml:"AuthMsg,omitempty"`
	// 绑定时间
	//
	// example:
	//
	// 2024-08-29 17:23:58
	BindTime *string `json:"BindTime,omitempty" xml:"BindTime,omitempty"`
	// 购买时间
	//
	// example:
	//
	// 2024-08-29 17:23:58
	BuyTime *string `json:"BuyTime,omitempty" xml:"BuyTime,omitempty"`
	// 客户号码池key
	//
	// example:
	//
	// FC5***********************a1a
	CustomerPoolKey *string `json:"CustomerPoolKey,omitempty" xml:"CustomerPoolKey,omitempty"`
	// 号码池名称
	//
	// example:
	//
	// 测试号码池
	CustomerPoolName *string `json:"CustomerPoolName,omitempty" xml:"CustomerPoolName,omitempty"`
	// 释放时间
	//
	// example:
	//
	// 2024-08-29 17:23:58
	ReleaseTime *string `json:"ReleaseTime,omitempty" xml:"ReleaseTime,omitempty"`
	// 短信开通状态:0 未开通 1已开通
	//
	// example:
	//
	// 0
	SmsStatus *string `json:"SmsStatus,omitempty" xml:"SmsStatus,omitempty"`
	// X号码
	//
	// example:
	//
	// 17*******46
	Telephone *string `json:"Telephone,omitempty" xml:"Telephone,omitempty"`
	// 号码状态:0 空闲中 1 调拨完成待购买 2购买完成待认证  3 实名认证中  4 实名认证成功  5 认证失败  6 解绑中 7 解绑失败 8已释放 99 超时释放
	//
	// example:
	//
	// 0
	TelephoneStatus *string `json:"TelephoneStatus,omitempty" xml:"TelephoneStatus,omitempty"`
	// 解绑时间
	//
	// example:
	//
	// 2024-08-29 17:23:58
	UnbindTime *string `json:"UnbindTime,omitempty" xml:"UnbindTime,omitempty"`
}

func (ListXTelephonesResponseBodyData) GoString added in v2.1.0

func (*ListXTelephonesResponseBodyData) SetAuthMsg added in v2.1.0

func (*ListXTelephonesResponseBodyData) SetBindTime added in v2.1.0

func (*ListXTelephonesResponseBodyData) SetBuyTime added in v2.1.0

func (*ListXTelephonesResponseBodyData) SetCustomerPoolKey added in v2.1.0

func (*ListXTelephonesResponseBodyData) SetCustomerPoolName added in v2.1.0

func (*ListXTelephonesResponseBodyData) SetReleaseTime added in v2.1.0

func (*ListXTelephonesResponseBodyData) SetSmsStatus added in v2.1.0

func (*ListXTelephonesResponseBodyData) SetTelephone added in v2.1.0

func (*ListXTelephonesResponseBodyData) SetTelephoneStatus added in v2.1.0

func (*ListXTelephonesResponseBodyData) SetUnbindTime added in v2.1.0

func (ListXTelephonesResponseBodyData) String added in v2.1.0

type LockSecretNoRequest

type LockSecretNoRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The key of the phone number pool.
	//
	// Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// FC123****
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The private number that you want to lock. You must enter a complete mobile phone number.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1300000****
	SecretNo *string `json:"SecretNo,omitempty" xml:"SecretNo,omitempty"`
}

func (LockSecretNoRequest) GoString

func (s LockSecretNoRequest) GoString() string

func (*LockSecretNoRequest) SetOwnerId

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

func (*LockSecretNoRequest) SetPoolKey

func (*LockSecretNoRequest) SetResourceOwnerAccount

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

func (*LockSecretNoRequest) SetResourceOwnerId

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

func (*LockSecretNoRequest) SetSecretNo

func (s *LockSecretNoRequest) SetSecretNo(v string) *LockSecretNoRequest

func (LockSecretNoRequest) String

func (s LockSecretNoRequest) String() string

type LockSecretNoResponse

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

func (LockSecretNoResponse) GoString

func (s LockSecretNoResponse) GoString() string

func (*LockSecretNoResponse) SetBody

func (*LockSecretNoResponse) SetHeaders

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

func (*LockSecretNoResponse) SetStatusCode

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

func (LockSecretNoResponse) String

func (s LockSecretNoResponse) String() string

type LockSecretNoResponseBody

type LockSecretNoResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other status codes indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// 2D1AEB96-96D0-454E-B0DC-AE2A8DF08020
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (LockSecretNoResponseBody) GoString

func (s LockSecretNoResponseBody) GoString() string

func (*LockSecretNoResponseBody) SetCode

func (*LockSecretNoResponseBody) SetMessage

func (*LockSecretNoResponseBody) SetRequestId

func (LockSecretNoResponseBody) String

func (s LockSecretNoResponseBody) String() string

type OperateAxgGroupRequest

type OperateAxgGroupRequest struct {
	// The group ID in the AXG binding.
	//
	// You can view the group ID by using either of the following methods:
	//
	// 	- On the **Number Pool Management*	- page in the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account), filter AXG private numbers and click **Number Group G Management*	- to view the group IDs of number groups G.****
	//
	// 	- If the [CreateAxgGroup](https://help.aliyun.com/document_detail/110250.html) operation is called to create number group G, the value of **GroupId*	- in the response of the CreateAxgGroup operation is specified as the value of the request parameter **GroupId*	- of the OperateAxgGroup operation.
	//
	// >  Number group G must have one or more phone numbers.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1234
	GroupId *int64 `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The phone numbers that you add to number group G. Separate the phone numbers with commas (,). You can add up to 200 phone numbers at a time.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1390000****,1380000****
	Numbers *string `json:"Numbers,omitempty" xml:"Numbers,omitempty"`
	// The type of the operation on number group G. Valid values:
	//
	// 	- **addNumbers**: adds phone numbers to number group G.
	//
	// 	- **deleteNumbers**: deletes phone numbers from number group G.
	//
	// 	- **overwriteNumbers**: replaces all phone numbers in number group G. All the original phone numbers are deleted from number group G, and new phone numbers are added to number group G.
	//
	// >
	//
	// 	- When you replace all phone numbers in number group G, the quantity of original phone numbers in number group G cannot exceed 200.
	//
	// 	- You can add up to 200 phone numbers to number group G at a time.
	//
	// This parameter is required.
	//
	// example:
	//
	// addNumbers
	OperateType *string `json:"OperateType,omitempty" xml:"OperateType,omitempty"`
	OwnerId     *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The key of the phone number pool. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// FC123456
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (OperateAxgGroupRequest) GoString

func (s OperateAxgGroupRequest) GoString() string

func (*OperateAxgGroupRequest) SetGroupId

func (*OperateAxgGroupRequest) SetNumbers

func (*OperateAxgGroupRequest) SetOperateType

func (*OperateAxgGroupRequest) SetOwnerId

func (*OperateAxgGroupRequest) SetPoolKey

func (*OperateAxgGroupRequest) SetResourceOwnerAccount

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

func (*OperateAxgGroupRequest) SetResourceOwnerId

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

func (OperateAxgGroupRequest) String

func (s OperateAxgGroupRequest) String() string

type OperateAxgGroupResponse

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

func (OperateAxgGroupResponse) GoString

func (s OperateAxgGroupResponse) GoString() string

func (*OperateAxgGroupResponse) SetBody

func (*OperateAxgGroupResponse) SetHeaders

func (*OperateAxgGroupResponse) SetStatusCode

func (OperateAxgGroupResponse) String

func (s OperateAxgGroupResponse) String() string

type OperateAxgGroupResponseBody

type OperateAxgGroupResponseBody 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](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// 986BCB6D-C9BF-42F9-91CE-3A9901233D36
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OperateAxgGroupResponseBody) GoString

func (s OperateAxgGroupResponseBody) GoString() string

func (*OperateAxgGroupResponseBody) SetCode

func (*OperateAxgGroupResponseBody) SetMessage

func (*OperateAxgGroupResponseBody) SetRequestId

func (OperateAxgGroupResponseBody) String

type OperateBlackNoRequest

type OperateBlackNoRequest struct {
	// The phone number to be added to or deleted from the blacklist.
	//
	// This parameter is required.
	//
	// example:
	//
	// 150****0000
	BlackNo *string `json:"BlackNo,omitempty" xml:"BlackNo,omitempty"`
	// The type of the operation on the phone number. Valid values:
	//
	// 	- **AddBlack**: adds the phone number to the blacklist.
	//
	// 	- **DeleteBlack**: deletes the phone number from the blacklist.
	//
	// This parameter is required.
	//
	// example:
	//
	// AddBlack
	OperateType *string `json:"OperateType,omitempty" xml:"OperateType,omitempty"`
	OwnerId     *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The key of the phone number pool. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// FC123456****
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The description.
	//
	// example:
	//
	// abcdef
	Tips *string `json:"Tips,omitempty" xml:"Tips,omitempty"`
}

func (OperateBlackNoRequest) GoString

func (s OperateBlackNoRequest) GoString() string

func (*OperateBlackNoRequest) SetBlackNo

func (*OperateBlackNoRequest) SetOperateType

func (s *OperateBlackNoRequest) SetOperateType(v string) *OperateBlackNoRequest

func (*OperateBlackNoRequest) SetOwnerId

func (*OperateBlackNoRequest) SetPoolKey

func (*OperateBlackNoRequest) SetResourceOwnerAccount

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

func (*OperateBlackNoRequest) SetResourceOwnerId

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

func (*OperateBlackNoRequest) SetTips

func (OperateBlackNoRequest) String

func (s OperateBlackNoRequest) String() string

type OperateBlackNoResponse

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

func (OperateBlackNoResponse) GoString

func (s OperateBlackNoResponse) GoString() string

func (*OperateBlackNoResponse) SetBody

func (*OperateBlackNoResponse) SetHeaders

func (*OperateBlackNoResponse) SetStatusCode

func (OperateBlackNoResponse) String

func (s OperateBlackNoResponse) String() string

type OperateBlackNoResponseBody

type OperateBlackNoResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other status codes indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// 2D1AEB96-96D0-454E-B0DC-AE2A8DF08020
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OperateBlackNoResponseBody) GoString

func (s OperateBlackNoResponseBody) GoString() string

func (*OperateBlackNoResponseBody) SetCode

func (*OperateBlackNoResponseBody) SetMessage

func (*OperateBlackNoResponseBody) SetRequestId

func (OperateBlackNoResponseBody) String

type QueryPhoneNoAByTrackNoRequest

type QueryPhoneNoAByTrackNoRequest struct {
	// The cabinet number.
	//
	// example:
	//
	// 25689****
	CabinetNo *string `json:"CabinetNo,omitempty" xml:"CabinetNo,omitempty"`
	OwnerId   *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// Phone number X returned by the API operation for creating a binding.
	//
	// example:
	//
	// 1710000****
	PhoneNoX             *string `json:"PhoneNoX,omitempty" xml:"PhoneNoX,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The tracking number.
	//
	// This parameter is required.
	//
	// example:
	//
	// 22573****
	TrackNo *string `json:"trackNo,omitempty" xml:"trackNo,omitempty"`
}

func (QueryPhoneNoAByTrackNoRequest) GoString

func (*QueryPhoneNoAByTrackNoRequest) SetCabinetNo

func (*QueryPhoneNoAByTrackNoRequest) SetOwnerId

func (*QueryPhoneNoAByTrackNoRequest) SetPhoneNoX

func (*QueryPhoneNoAByTrackNoRequest) SetResourceOwnerAccount

func (*QueryPhoneNoAByTrackNoRequest) SetResourceOwnerId

func (*QueryPhoneNoAByTrackNoRequest) SetTrackNo

func (QueryPhoneNoAByTrackNoRequest) String

type QueryPhoneNoAByTrackNoResponse

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

func (QueryPhoneNoAByTrackNoResponse) GoString

func (*QueryPhoneNoAByTrackNoResponse) SetHeaders

func (*QueryPhoneNoAByTrackNoResponse) SetStatusCode

func (QueryPhoneNoAByTrackNoResponse) String

type QueryPhoneNoAByTrackNoResponseBody

type QueryPhoneNoAByTrackNoResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other status codes indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The information returned after the phone numbers were bound.
	Module []*QueryPhoneNoAByTrackNoResponseBodyModule `json:"Module,omitempty" xml:"Module,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 8906582E-6722
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (QueryPhoneNoAByTrackNoResponseBody) GoString

func (*QueryPhoneNoAByTrackNoResponseBody) SetCode

func (*QueryPhoneNoAByTrackNoResponseBody) SetMessage

func (*QueryPhoneNoAByTrackNoResponseBody) SetRequestId

func (QueryPhoneNoAByTrackNoResponseBody) String

type QueryPhoneNoAByTrackNoResponseBodyModule

type QueryPhoneNoAByTrackNoResponseBodyModule struct {
	// The extension of phone number X.
	//
	// example:
	//
	// 130
	Extension *string `json:"Extension,omitempty" xml:"Extension,omitempty"`
	// Phone number A.
	//
	// example:
	//
	// 1310000****
	PhoneNoA *string `json:"PhoneNoA,omitempty" xml:"PhoneNoA,omitempty"`
	// The private number, that is, phone number X.
	//
	// example:
	//
	// 1710000****
	PhoneNoX *string `json:"PhoneNoX,omitempty" xml:"PhoneNoX,omitempty"`
}

func (QueryPhoneNoAByTrackNoResponseBodyModule) GoString

func (*QueryPhoneNoAByTrackNoResponseBodyModule) SetExtension

func (*QueryPhoneNoAByTrackNoResponseBodyModule) SetPhoneNoA

func (*QueryPhoneNoAByTrackNoResponseBodyModule) SetPhoneNoX

func (QueryPhoneNoAByTrackNoResponseBodyModule) String

type QueryRecordFileDownloadUrlRequest

type QueryRecordFileDownloadUrlRequest struct {
	// The ID of the call record. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view **Call Record ID*	- on the **Call Record Query*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// abcedf1234
	CallId *string `json:"CallId,omitempty" xml:"CallId,omitempty"`
	// The call initiation time in the call record. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account). View **Call Initiated At*	- on the **Call Record Query*	- page, or view the call_time field in the Call Detail Record (CDR) receipt.
	//
	// example:
	//
	// 2019-03-05 12:00:00
	CallTime *string `json:"CallTime,omitempty" xml:"CallTime,omitempty"`
	OwnerId  *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The key of the phone number pool. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// >  This parameter is required when **ProductType*	- is left empty.
	//
	// example:
	//
	// FC123456
	PoolKey *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	// The product type. Valid values:
	//
	// 	- **AXB_170**.
	//
	// 	- **AXN_170**.
	//
	// 	- **AXN_95**.
	//
	// 	- **AXN_EXTENSION_REUSE**
	//
	// >
	//
	// 	- This parameter is applicable to the original key accounts of Alibaba Cloud. This parameter can be ignored for Alibaba Cloud users.
	//
	// 	- This parameter is required when **PoolKey*	- is left empty.
	//
	// example:
	//
	// AXB_170
	ProductType          *string `json:"ProductType,omitempty" xml:"ProductType,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (QueryRecordFileDownloadUrlRequest) GoString

func (*QueryRecordFileDownloadUrlRequest) SetCallId

func (*QueryRecordFileDownloadUrlRequest) SetCallTime

func (*QueryRecordFileDownloadUrlRequest) SetOwnerId

func (*QueryRecordFileDownloadUrlRequest) SetPoolKey

func (*QueryRecordFileDownloadUrlRequest) SetProductType

func (*QueryRecordFileDownloadUrlRequest) SetResourceOwnerAccount

func (*QueryRecordFileDownloadUrlRequest) SetResourceOwnerId

func (QueryRecordFileDownloadUrlRequest) String

type QueryRecordFileDownloadUrlResponse

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

func (QueryRecordFileDownloadUrlResponse) GoString

func (*QueryRecordFileDownloadUrlResponse) SetHeaders

func (*QueryRecordFileDownloadUrlResponse) SetStatusCode

func (QueryRecordFileDownloadUrlResponse) String

type QueryRecordFileDownloadUrlResponseBody

type QueryRecordFileDownloadUrlResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other status codes indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The download URL of the recording file. The download URL is valid for 2 hours.
	//
	// example:
	//
	// http://secret-axb-reco****cn-shanghai.aliyuncs.com/1000000820257625_66647243838006067251551752068865.mp3?Expires=155175****&OSSAccessKeyId=LTAIP00vvvv****v&Signature=tK6Yq9KusU4n%2BZ****7lg4/WmEA%3D
	DownloadUrl *string `json:"DownloadUrl,omitempty" xml:"DownloadUrl,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 1AB3CEF7-DCBE-488C-9C33-D180982CE031
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (QueryRecordFileDownloadUrlResponseBody) GoString

func (*QueryRecordFileDownloadUrlResponseBody) SetCode

func (*QueryRecordFileDownloadUrlResponseBody) SetDownloadUrl

func (*QueryRecordFileDownloadUrlResponseBody) SetMessage

func (*QueryRecordFileDownloadUrlResponseBody) SetRequestId

func (QueryRecordFileDownloadUrlResponseBody) String

type QuerySecretNoDetailRequest

type QuerySecretNoDetailRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The key of the phone number pool.
	//
	// Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// FC2258****
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The private number.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1390000****
	SecretNo *string `json:"SecretNo,omitempty" xml:"SecretNo,omitempty"`
}

func (QuerySecretNoDetailRequest) GoString

func (s QuerySecretNoDetailRequest) GoString() string

func (*QuerySecretNoDetailRequest) SetOwnerId

func (*QuerySecretNoDetailRequest) SetPoolKey

func (*QuerySecretNoDetailRequest) SetResourceOwnerAccount

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

func (*QuerySecretNoDetailRequest) SetResourceOwnerId

func (*QuerySecretNoDetailRequest) SetSecretNo

func (QuerySecretNoDetailRequest) String

type QuerySecretNoDetailResponse

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

func (QuerySecretNoDetailResponse) GoString

func (s QuerySecretNoDetailResponse) GoString() string

func (*QuerySecretNoDetailResponse) SetBody

func (*QuerySecretNoDetailResponse) SetHeaders

func (*QuerySecretNoDetailResponse) SetStatusCode

func (QuerySecretNoDetailResponse) String

type QuerySecretNoDetailResponseBody

type QuerySecretNoDetailResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other status codes indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// 066E6E47-04CB-4774-A976-4F73CB76D4A3
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The attributes of the phone number.
	SecretNoInfoDTO *QuerySecretNoDetailResponseBodySecretNoInfoDTO `json:"SecretNoInfoDTO,omitempty" xml:"SecretNoInfoDTO,omitempty" type:"Struct"`
}

func (QuerySecretNoDetailResponseBody) GoString

func (*QuerySecretNoDetailResponseBody) SetCode

func (*QuerySecretNoDetailResponseBody) SetMessage

func (*QuerySecretNoDetailResponseBody) SetRequestId

func (QuerySecretNoDetailResponseBody) String

type QuerySecretNoDetailResponseBodySecretNoInfoDTO

type QuerySecretNoDetailResponseBodySecretNoInfoDTO struct {
	// The verification status of the phone number. Valid values:
	//
	// 	- **0**: The phone number is not verified.
	//
	// 	- **1**: The phone number is verified.
	//
	// example:
	//
	// 0
	CertifyStatus *int32 `json:"CertifyStatus,omitempty" xml:"CertifyStatus,omitempty"`
	// The city.
	//
	// example:
	//
	// chengdu
	City *string `json:"City,omitempty" xml:"City,omitempty"`
	// The province.
	//
	// example:
	//
	// sichuan
	Province *string `json:"Province,omitempty" xml:"Province,omitempty"`
	// The time when the phone number was purchased.
	//
	// example:
	//
	// 2021-12-03 15:19:27
	PurchaseTime *string `json:"PurchaseTime,omitempty" xml:"PurchaseTime,omitempty"`
	// The status of the phone number. Valid values:
	//
	// 	- **0**: The phone number is not bound to other phone numbers.
	//
	// 	- **1**: The phone number is bound to other phone numbers.
	//
	// 	- **2**: The phone number is locked.
	//
	// 	- **3**: The phone number is frozen.
	//
	// example:
	//
	// 0
	SecretStatus *int64 `json:"SecretStatus,omitempty" xml:"SecretStatus,omitempty"`
	// The carrier to which the phone number belongs. Valid values:
	//
	// 	- **1**: China Mobile
	//
	// 	- **2**: China Unicom
	//
	// 	- **3**: China Telecom
	//
	// example:
	//
	// 1
	Vendor *int64 `json:"Vendor,omitempty" xml:"Vendor,omitempty"`
}

func (QuerySecretNoDetailResponseBodySecretNoInfoDTO) GoString

func (*QuerySecretNoDetailResponseBodySecretNoInfoDTO) SetCertifyStatus

func (*QuerySecretNoDetailResponseBodySecretNoInfoDTO) SetCity

func (*QuerySecretNoDetailResponseBodySecretNoInfoDTO) SetProvince

func (*QuerySecretNoDetailResponseBodySecretNoInfoDTO) SetPurchaseTime

func (*QuerySecretNoDetailResponseBodySecretNoInfoDTO) SetSecretStatus

func (*QuerySecretNoDetailResponseBodySecretNoInfoDTO) SetVendor

func (QuerySecretNoDetailResponseBodySecretNoInfoDTO) String

type QuerySecretNoRemainRequest

type QuerySecretNoRemainRequest struct {
	// The home location of the phone number.
	//
	// 	- If **SpecId*	- is set to 1 or 2, you can specify the **City*	- parameter to query the quantity of available phone numbers.
	//
	// 1.  You can enter a single city name to perform a query.
	//
	// 2.  You can enter National to query the quantity of remaining phone numbers available in the Chinese mainland for online purchase.
	//
	// 3.  You can enter National List to query the cities with available phone numbers and the quantities of remaining phone numbers in the Chinese mainland. Cities without available phone numbers will not be returned.
	//
	// 	- If **SpecId*	- is set to 3, home locations are not distinguished for phone numbers that start with 95 and only the quantity of all the remaining phone numbers that start with 95 and are available for online purchase can be queried. If SpecId is set to 3, **City*	- must be set to **Nationwide**.
	//
	// >  Home locations can be set to only locations in the Chinese mainland.
	//
	// This parameter is required.
	//
	// example:
	//
	// hangzhou
	City                 *string `json:"City,omitempty" xml:"City,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The prefix of the phone number. When you call the QuerySecretNoRemain operation with **SecretNo*	- specified, the quantity of remaining phone numbers with the specified prefix that are available for online purchase is queried.
	//
	// Up to 18 digits of a phone number prefix can be specified.
	//
	// example:
	//
	// 130
	SecretNo *string `json:"SecretNo,omitempty" xml:"SecretNo,omitempty"`
	// The type of the phone number. Valid values:
	//
	// 	- **1**: a phone number assigned by a virtual network operator, that is, a phone number that belongs to the 170 or 171 number segment.
	//
	// 	- **2**: a phone number provided by a carrier.
	//
	// 	- **3**: a phone number that starts with 95.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	SpecId *int64 `json:"SpecId,omitempty" xml:"SpecId,omitempty"`
}

func (QuerySecretNoRemainRequest) GoString

func (s QuerySecretNoRemainRequest) GoString() string

func (*QuerySecretNoRemainRequest) SetCity

func (*QuerySecretNoRemainRequest) SetOwnerId

func (*QuerySecretNoRemainRequest) SetResourceOwnerAccount

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

func (*QuerySecretNoRemainRequest) SetResourceOwnerId

func (*QuerySecretNoRemainRequest) SetSecretNo

func (*QuerySecretNoRemainRequest) SetSpecId

func (QuerySecretNoRemainRequest) String

type QuerySecretNoRemainResponse

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

func (QuerySecretNoRemainResponse) GoString

func (s QuerySecretNoRemainResponse) GoString() string

func (*QuerySecretNoRemainResponse) SetBody

func (*QuerySecretNoRemainResponse) SetHeaders

func (*QuerySecretNoRemainResponse) SetStatusCode

func (QuerySecretNoRemainResponse) String

type QuerySecretNoRemainResponseBody

type QuerySecretNoRemainResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other status codes indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// 9FC30594-3841-43AD-9008-03393BCB5CD2
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information returned after the operation was called.
	SecretRemainDTO *QuerySecretNoRemainResponseBodySecretRemainDTO `json:"SecretRemainDTO,omitempty" xml:"SecretRemainDTO,omitempty" type:"Struct"`
}

func (QuerySecretNoRemainResponseBody) GoString

func (*QuerySecretNoRemainResponseBody) SetCode

func (*QuerySecretNoRemainResponseBody) SetMessage

func (*QuerySecretNoRemainResponseBody) SetRequestId

func (QuerySecretNoRemainResponseBody) String

type QuerySecretNoRemainResponseBodySecretRemainDTO

type QuerySecretNoRemainResponseBodySecretRemainDTO struct {
	// The quantity of remaining phone numbers available for online purchase.
	//
	// example:
	//
	// 0
	Amount *int64 `json:"Amount,omitempty" xml:"Amount,omitempty"`
	// The home location of the phone numbers.
	//
	// example:
	//
	// hangzhou
	City *string `json:"City,omitempty" xml:"City,omitempty"`
	// The information about remaining phone numbers available for online purchase.
	RemainDTOList *QuerySecretNoRemainResponseBodySecretRemainDTORemainDTOList `json:"RemainDTOList,omitempty" xml:"RemainDTOList,omitempty" type:"Struct"`
}

func (QuerySecretNoRemainResponseBodySecretRemainDTO) GoString

func (*QuerySecretNoRemainResponseBodySecretRemainDTO) SetAmount

func (*QuerySecretNoRemainResponseBodySecretRemainDTO) SetCity

func (QuerySecretNoRemainResponseBodySecretRemainDTO) String

type QuerySecretNoRemainResponseBodySecretRemainDTORemainDTOList

type QuerySecretNoRemainResponseBodySecretRemainDTORemainDTOList struct {
	RemainDTO []*QuerySecretNoRemainResponseBodySecretRemainDTORemainDTOListRemainDTO `json:"remainDTO,omitempty" xml:"remainDTO,omitempty" type:"Repeated"`
}

func (QuerySecretNoRemainResponseBodySecretRemainDTORemainDTOList) GoString

func (QuerySecretNoRemainResponseBodySecretRemainDTORemainDTOList) String

type QuerySecretNoRemainResponseBodySecretRemainDTORemainDTOListRemainDTO

type QuerySecretNoRemainResponseBodySecretRemainDTORemainDTOListRemainDTO struct {
	// The quantity of remaining phone numbers available for online purchase for the city.
	//
	// example:
	//
	// 120
	Amount *int64 `json:"Amount,omitempty" xml:"Amount,omitempty"`
	// The home location of the phone numbers.
	//
	// example:
	//
	// Wuhan
	City *string `json:"City,omitempty" xml:"City,omitempty"`
}

func (QuerySecretNoRemainResponseBodySecretRemainDTORemainDTOListRemainDTO) GoString

func (*QuerySecretNoRemainResponseBodySecretRemainDTORemainDTOListRemainDTO) SetAmount

func (*QuerySecretNoRemainResponseBodySecretRemainDTORemainDTOListRemainDTO) SetCity

func (QuerySecretNoRemainResponseBodySecretRemainDTORemainDTOListRemainDTO) String

type QuerySoundRecordRequest added in v2.1.0

type QuerySoundRecordRequest struct {
	// 本次呼叫唯一id
	//
	// This parameter is required.
	//
	// example:
	//
	// ac445343254
	CallId *string `json:"CallId,omitempty" xml:"CallId,omitempty"`
	// 客户uid
	//
	// example:
	//
	// -
	CallerParentId *int64 `json:"CallerParentId,omitempty" xml:"CallerParentId,omitempty"`
	// 号码池key
	//
	// This parameter is required.
	//
	// example:
	//
	// FC5**********************a1a
	CustomerPoolKey *string `json:"CustomerPoolKey,omitempty" xml:"CustomerPoolKey,omitempty"`
	OwnerId         *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 请求去重ID, reqId最大长度为20位,接入方需要保持原子性
	//
	// This parameter is required.
	//
	// example:
	//
	// 564**********879
	ReqId                *string `json:"ReqId,omitempty" xml:"ReqId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (QuerySoundRecordRequest) GoString added in v2.1.0

func (s QuerySoundRecordRequest) GoString() string

func (*QuerySoundRecordRequest) SetCallId added in v2.1.0

func (*QuerySoundRecordRequest) SetCallerParentId added in v2.1.0

func (s *QuerySoundRecordRequest) SetCallerParentId(v int64) *QuerySoundRecordRequest

func (*QuerySoundRecordRequest) SetCustomerPoolKey added in v2.1.0

func (s *QuerySoundRecordRequest) SetCustomerPoolKey(v string) *QuerySoundRecordRequest

func (*QuerySoundRecordRequest) SetOwnerId added in v2.1.0

func (*QuerySoundRecordRequest) SetReqId added in v2.1.0

func (*QuerySoundRecordRequest) SetResourceOwnerAccount added in v2.1.0

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

func (*QuerySoundRecordRequest) SetResourceOwnerId added in v2.1.0

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

func (QuerySoundRecordRequest) String added in v2.1.0

func (s QuerySoundRecordRequest) String() string

type QuerySoundRecordResponse added in v2.1.0

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

func (QuerySoundRecordResponse) GoString added in v2.1.0

func (s QuerySoundRecordResponse) GoString() string

func (*QuerySoundRecordResponse) SetBody added in v2.1.0

func (*QuerySoundRecordResponse) SetHeaders added in v2.1.0

func (*QuerySoundRecordResponse) SetStatusCode added in v2.1.0

func (QuerySoundRecordResponse) String added in v2.1.0

func (s QuerySoundRecordResponse) String() string

type QuerySoundRecordResponseBody added in v2.1.0

type QuerySoundRecordResponseBody struct {
	// example:
	//
	// 0
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// 返回状态码 0000表示成功 其他表示失败
	//
	// example:
	//
	// 0000
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// 通话录音url路径,最大长度1000,有效期1小时
	//
	// example:
	//
	// http://www.***.com/temepl/a.mp3
	FileUrl *string `json:"FileUrl,omitempty" xml:"FileUrl,omitempty"`
	// 返回信息
	//
	// example:
	//
	// 成功
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// 返回是否成功 true  表示成功 false表示失败
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (QuerySoundRecordResponseBody) GoString added in v2.1.0

func (s QuerySoundRecordResponseBody) GoString() string

func (*QuerySoundRecordResponseBody) SetAccessDeniedDetail added in v2.1.0

func (*QuerySoundRecordResponseBody) SetCode added in v2.1.0

func (*QuerySoundRecordResponseBody) SetFileUrl added in v2.1.0

func (*QuerySoundRecordResponseBody) SetMessage added in v2.1.0

func (*QuerySoundRecordResponseBody) SetSuccess added in v2.1.0

func (QuerySoundRecordResponseBody) String added in v2.1.0

type QuerySubsIdRequest

type QuerySubsIdRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The private number in the binding, that is, phone number X.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1390000****
	PhoneNoX *string `json:"PhoneNoX,omitempty" xml:"PhoneNoX,omitempty"`
	// The key of the phone number pool.
	//
	// Log on to the [Phone Number Protection console](https://dyplsnext.console.aliyun.com/overview) and view the key of the phone number pool on the Number Pool Management page.
	//
	// example:
	//
	// FC123456
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (QuerySubsIdRequest) GoString

func (s QuerySubsIdRequest) GoString() string

func (*QuerySubsIdRequest) SetOwnerId

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

func (*QuerySubsIdRequest) SetPhoneNoX

func (s *QuerySubsIdRequest) SetPhoneNoX(v string) *QuerySubsIdRequest

func (*QuerySubsIdRequest) SetPoolKey

func (s *QuerySubsIdRequest) SetPoolKey(v string) *QuerySubsIdRequest

func (*QuerySubsIdRequest) SetResourceOwnerAccount

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

func (*QuerySubsIdRequest) SetResourceOwnerId

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

func (QuerySubsIdRequest) String

func (s QuerySubsIdRequest) String() string

type QuerySubsIdResponse

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

func (QuerySubsIdResponse) GoString

func (s QuerySubsIdResponse) GoString() string

func (*QuerySubsIdResponse) SetBody

func (*QuerySubsIdResponse) SetHeaders

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

func (*QuerySubsIdResponse) SetStatusCode

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

func (QuerySubsIdResponse) String

func (s QuerySubsIdResponse) String() string

type QuerySubsIdResponseBody

type QuerySubsIdResponseBody struct {
	// The response code. The value OK indicates that the request was successful.
	//
	// 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:
	//
	// E7F99446-8191-43C0-99B5-F58A6AEAD779
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The binding ID.
	//
	// example:
	//
	// 11111111****
	SubsId *string `json:"SubsId,omitempty" xml:"SubsId,omitempty"`
}

func (QuerySubsIdResponseBody) GoString

func (s QuerySubsIdResponseBody) GoString() string

func (*QuerySubsIdResponseBody) SetCode

func (*QuerySubsIdResponseBody) SetMessage

func (*QuerySubsIdResponseBody) SetRequestId

func (*QuerySubsIdResponseBody) SetSubsId

func (QuerySubsIdResponseBody) String

func (s QuerySubsIdResponseBody) String() string

type QuerySubscriptionDetailRequest

type QuerySubscriptionDetailRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The private number in the binding, that is, phone number X.
	//
	// This parameter is required.
	//
	// example:
	//
	// 13900001234
	PhoneNoX *string `json:"PhoneNoX,omitempty" xml:"PhoneNoX,omitempty"`
	// The key of the phone number pool. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// >  This parameter is required when **ProductType*	- is left empty.
	//
	// example:
	//
	// FC123456
	PoolKey *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	// The product type. Valid values:
	//
	// 	- **AXB_170**
	//
	// 	- **AXN_170**
	//
	// 	- **AXN_95**
	//
	// 	- **AXN_EXTENSION_REUSE**
	//
	// >
	//
	// 	- This parameter is applicable to the original key accounts of Alibaba Cloud. This parameter can be ignored for Alibaba Cloud users.
	//
	// 	- This parameter is required when **PoolKey*	- is left empty.
	//
	// example:
	//
	// AXB_170
	ProductType          *string `json:"ProductType,omitempty" xml:"ProductType,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The binding ID.
	//
	// Log on to the Phone Number Protection console, choose **Number and Number Pool*	- > **Number Management**. On the Number Management page, select the desired record and click Details to view the binding ID. Alternatively, you can view the value of the **SubsId*	- parameter returned by an API operation for a phone number binding such as [BindAxb](https://help.aliyun.com/document_detail/110248.html). The value of this parameter indicates a binding ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// 100000076879****
	SubsId *string `json:"SubsId,omitempty" xml:"SubsId,omitempty"`
}

func (QuerySubscriptionDetailRequest) GoString

func (*QuerySubscriptionDetailRequest) SetOwnerId

func (*QuerySubscriptionDetailRequest) SetPhoneNoX

func (*QuerySubscriptionDetailRequest) SetPoolKey

func (*QuerySubscriptionDetailRequest) SetProductType

func (*QuerySubscriptionDetailRequest) SetResourceOwnerAccount

func (*QuerySubscriptionDetailRequest) SetResourceOwnerId

func (*QuerySubscriptionDetailRequest) SetSubsId

func (QuerySubscriptionDetailRequest) String

type QuerySubscriptionDetailResponse

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

func (QuerySubscriptionDetailResponse) GoString

func (*QuerySubscriptionDetailResponse) SetHeaders

func (*QuerySubscriptionDetailResponse) SetStatusCode

func (QuerySubscriptionDetailResponse) String

type QuerySubscriptionDetailResponseBody

type QuerySubscriptionDetailResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other status codes indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// 066E6E47-04CB-4774-A976-4F73CB76D4A3
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information returned after the QuerySubscriptionDetail operation was called.
	SecretBindDetailDTO *QuerySubscriptionDetailResponseBodySecretBindDetailDTO `json:"SecretBindDetailDTO,omitempty" xml:"SecretBindDetailDTO,omitempty" type:"Struct"`
}

func (QuerySubscriptionDetailResponseBody) GoString

func (*QuerySubscriptionDetailResponseBody) SetCode

func (*QuerySubscriptionDetailResponseBody) SetMessage

func (*QuerySubscriptionDetailResponseBody) SetRequestId

func (QuerySubscriptionDetailResponseBody) String

type QuerySubscriptionDetailResponseBodySecretBindDetailDTO

type QuerySubscriptionDetailResponseBodySecretBindDetailDTO struct {
	// The ID of the ASR model.
	//
	// example:
	//
	// 123456
	ASRModelId *string `json:"ASRModelId,omitempty" xml:"ASRModelId,omitempty"`
	// Indicates whether automatic speech recognition (ASR) is enabled. Valid values:
	//
	// 	- **false**: ASR is disabled.
	//
	// 	- **true**: ASR is enabled.
	//
	// example:
	//
	// true
	ASRStatus *bool `json:"ASRStatus,omitempty" xml:"ASRStatus,omitempty"`
	// The status of one-way call restrictions. No value is returned for this parameter if one-way call restrictions are not set. Valid values:
	//
	// 	- **CONTROL_AX_DISABLE**: Phone number A cannot be used to call phone number X.
	//
	// 	- **CONTROL_BX_DISABLE**: Phone number B cannot be used to call phone number X.
	//
	// example:
	//
	// CONTROL_BX_DISABLE
	CallRestrict *string `json:"CallRestrict,omitempty" xml:"CallRestrict,omitempty"`
	// The expiration time of the binding.
	//
	// example:
	//
	// 2019-09-05 12:00:00
	ExpireDate *string `json:"ExpireDate,omitempty" xml:"ExpireDate,omitempty"`
	// The extension in the AXG extension binding.
	//
	// example:
	//
	// 130
	Extension *string `json:"Extension,omitempty" xml:"Extension,omitempty"`
	// The creation time of the binding.
	//
	// example:
	//
	// 2019-03-05 12:00:00
	GmtCreate *string `json:"GmtCreate,omitempty" xml:"GmtCreate,omitempty"`
	// The ID of number group G in the binding.
	//
	// example:
	//
	// 2000000130001
	GroupId *int64 `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// Indicates whether all calls made by the bound phone numbers are recorded. Valid values:
	//
	// 	- **false**
	//
	// 	- **true**
	//
	// example:
	//
	// true
	NeedRecord *bool `json:"NeedRecord,omitempty" xml:"NeedRecord,omitempty"`
	// Phone number A in the binding.
	//
	// example:
	//
	// 13900001111
	PhoneNoA *string `json:"PhoneNoA,omitempty" xml:"PhoneNoA,omitempty"`
	// Phone number B in the binding.
	//
	// example:
	//
	// 13900002222
	PhoneNoB *string `json:"PhoneNoB,omitempty" xml:"PhoneNoB,omitempty"`
	// The private number in the binding, that is, phone number X.
	//
	// example:
	//
	// 13900001234
	PhoneNoX *string `json:"PhoneNoX,omitempty" xml:"PhoneNoX,omitempty"`
	// The binding status. Valid values:
	//
	// 	- **0**: The binding expired.
	//
	// 	- **1**: The binding is in effect.
	//
	// example:
	//
	// 1
	Status *int64 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The binding ID.
	//
	// example:
	//
	// 100000076879****
	SubsId *string `json:"SubsId,omitempty" xml:"SubsId,omitempty"`
}

func (QuerySubscriptionDetailResponseBodySecretBindDetailDTO) GoString

func (*QuerySubscriptionDetailResponseBodySecretBindDetailDTO) SetASRModelId

func (*QuerySubscriptionDetailResponseBodySecretBindDetailDTO) SetASRStatus

func (*QuerySubscriptionDetailResponseBodySecretBindDetailDTO) SetCallRestrict

func (*QuerySubscriptionDetailResponseBodySecretBindDetailDTO) SetExpireDate

func (*QuerySubscriptionDetailResponseBodySecretBindDetailDTO) SetExtension

func (*QuerySubscriptionDetailResponseBodySecretBindDetailDTO) SetGmtCreate

func (*QuerySubscriptionDetailResponseBodySecretBindDetailDTO) SetGroupId

func (*QuerySubscriptionDetailResponseBodySecretBindDetailDTO) SetNeedRecord

func (*QuerySubscriptionDetailResponseBodySecretBindDetailDTO) SetPhoneNoA

func (*QuerySubscriptionDetailResponseBodySecretBindDetailDTO) SetPhoneNoB

func (*QuerySubscriptionDetailResponseBodySecretBindDetailDTO) SetPhoneNoX

func (*QuerySubscriptionDetailResponseBodySecretBindDetailDTO) SetStatus

func (*QuerySubscriptionDetailResponseBodySecretBindDetailDTO) SetSubsId

func (QuerySubscriptionDetailResponseBodySecretBindDetailDTO) String

type ReleaseSecretNoRequest

type ReleaseSecretNoRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The key of the phone number pool. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// FC123456
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The prefix of phone numbers. When you call the ReleaseSecretNo operation with **SecretNo*	- specified, the system performs fuzzy matching against phone numbers based on the prefix.
	//
	// >  Up to 18 digits of a phone number prefix can be specified.
	//
	// This parameter is required.
	//
	// example:
	//
	// 130
	SecretNo *string `json:"SecretNo,omitempty" xml:"SecretNo,omitempty"`
}

func (ReleaseSecretNoRequest) GoString

func (s ReleaseSecretNoRequest) GoString() string

func (*ReleaseSecretNoRequest) SetOwnerId

func (*ReleaseSecretNoRequest) SetPoolKey

func (*ReleaseSecretNoRequest) SetResourceOwnerAccount

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

func (*ReleaseSecretNoRequest) SetResourceOwnerId

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

func (*ReleaseSecretNoRequest) SetSecretNo

func (ReleaseSecretNoRequest) String

func (s ReleaseSecretNoRequest) String() string

type ReleaseSecretNoResponse

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

func (ReleaseSecretNoResponse) GoString

func (s ReleaseSecretNoResponse) GoString() string

func (*ReleaseSecretNoResponse) SetBody

func (*ReleaseSecretNoResponse) SetHeaders

func (*ReleaseSecretNoResponse) SetStatusCode

func (ReleaseSecretNoResponse) String

func (s ReleaseSecretNoResponse) String() string

type ReleaseSecretNoResponseBody

type ReleaseSecretNoResponseBody 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](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// 986BCB6D-C9BF-42F9-91CE-3A990121232
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ReleaseSecretNoResponseBody) GoString

func (s ReleaseSecretNoResponseBody) GoString() string

func (*ReleaseSecretNoResponseBody) SetCode

func (*ReleaseSecretNoResponseBody) SetMessage

func (*ReleaseSecretNoResponseBody) SetRequestId

func (ReleaseSecretNoResponseBody) String

type UnBindAXBRequest added in v2.1.0

type UnBindAXBRequest struct {
	// bindId绑定关系AXB唯一id
	//
	// This parameter is required.
	//
	// example:
	//
	// 4534543
	BindId *string `json:"BindId,omitempty" xml:"BindId,omitempty"`
	// 客户uid
	//
	// example:
	//
	// -
	CallerParentId *int64 `json:"CallerParentId,omitempty" xml:"CallerParentId,omitempty"`
	// 号码池key
	//
	// This parameter is required.
	//
	// example:
	//
	// FC5**********************a1a
	CustomerPoolKey *string `json:"CustomerPoolKey,omitempty" xml:"CustomerPoolKey,omitempty"`
	OwnerId         *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 请求去重ID, reqId最大长度为20位,接入方需要保持原子性
	//
	// This parameter is required.
	//
	// example:
	//
	// 564**********879
	ReqId                *string `json:"ReqId,omitempty" xml:"ReqId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (UnBindAXBRequest) GoString added in v2.1.0

func (s UnBindAXBRequest) GoString() string

func (*UnBindAXBRequest) SetBindId added in v2.1.0

func (s *UnBindAXBRequest) SetBindId(v string) *UnBindAXBRequest

func (*UnBindAXBRequest) SetCallerParentId added in v2.1.0

func (s *UnBindAXBRequest) SetCallerParentId(v int64) *UnBindAXBRequest

func (*UnBindAXBRequest) SetCustomerPoolKey added in v2.1.0

func (s *UnBindAXBRequest) SetCustomerPoolKey(v string) *UnBindAXBRequest

func (*UnBindAXBRequest) SetOwnerId added in v2.1.0

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

func (*UnBindAXBRequest) SetReqId added in v2.1.0

func (s *UnBindAXBRequest) SetReqId(v string) *UnBindAXBRequest

func (*UnBindAXBRequest) SetResourceOwnerAccount added in v2.1.0

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

func (*UnBindAXBRequest) SetResourceOwnerId added in v2.1.0

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

func (UnBindAXBRequest) String added in v2.1.0

func (s UnBindAXBRequest) String() string

type UnBindAXBResponse added in v2.1.0

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

func (UnBindAXBResponse) GoString added in v2.1.0

func (s UnBindAXBResponse) GoString() string

func (*UnBindAXBResponse) SetBody added in v2.1.0

func (*UnBindAXBResponse) SetHeaders added in v2.1.0

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

func (*UnBindAXBResponse) SetStatusCode added in v2.1.0

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

func (UnBindAXBResponse) String added in v2.1.0

func (s UnBindAXBResponse) String() string

type UnBindAXBResponseBody added in v2.1.0

type UnBindAXBResponseBody struct {
	// example:
	//
	// 0
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// 返回状态码 0000表示成功 其他表示失败
	//
	// example:
	//
	// 0000
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// 返回信息
	//
	// example:
	//
	// 成功
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// 返回是否成功 true  表示成功 false表示失败
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (UnBindAXBResponseBody) GoString added in v2.1.0

func (s UnBindAXBResponseBody) GoString() string

func (*UnBindAXBResponseBody) SetAccessDeniedDetail added in v2.1.0

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

func (*UnBindAXBResponseBody) SetCode added in v2.1.0

func (*UnBindAXBResponseBody) SetMessage added in v2.1.0

func (*UnBindAXBResponseBody) SetSuccess added in v2.1.0

func (UnBindAXBResponseBody) String added in v2.1.0

func (s UnBindAXBResponseBody) String() string

type UnBindXBRequest added in v2.1.0

type UnBindXBRequest struct {
	// authId绑定关系BX唯一id
	//
	// This parameter is required.
	//
	// example:
	//
	// 34*****46
	AuthId *string `json:"AuthId,omitempty" xml:"AuthId,omitempty"`
	// 客户uid
	//
	// example:
	//
	// -
	CallerParentId *int64 `json:"CallerParentId,omitempty" xml:"CallerParentId,omitempty"`
	// 号码池key
	//
	// This parameter is required.
	//
	// example:
	//
	// FC5**********************a1a
	CustomerPoolKey *string `json:"CustomerPoolKey,omitempty" xml:"CustomerPoolKey,omitempty"`
	OwnerId         *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 请求去重ID, reqId最大长度为20位,接入方需要保持原子性
	//
	// This parameter is required.
	//
	// example:
	//
	// 564**********879
	ReqId                *string `json:"ReqId,omitempty" xml:"ReqId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// X号码
	//
	// This parameter is required.
	//
	// example:
	//
	// 17*******22
	TelX *string `json:"TelX,omitempty" xml:"TelX,omitempty"`
}

func (UnBindXBRequest) GoString added in v2.1.0

func (s UnBindXBRequest) GoString() string

func (*UnBindXBRequest) SetAuthId added in v2.1.0

func (s *UnBindXBRequest) SetAuthId(v string) *UnBindXBRequest

func (*UnBindXBRequest) SetCallerParentId added in v2.1.0

func (s *UnBindXBRequest) SetCallerParentId(v int64) *UnBindXBRequest

func (*UnBindXBRequest) SetCustomerPoolKey added in v2.1.0

func (s *UnBindXBRequest) SetCustomerPoolKey(v string) *UnBindXBRequest

func (*UnBindXBRequest) SetOwnerId added in v2.1.0

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

func (*UnBindXBRequest) SetReqId added in v2.1.0

func (s *UnBindXBRequest) SetReqId(v string) *UnBindXBRequest

func (*UnBindXBRequest) SetResourceOwnerAccount added in v2.1.0

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

func (*UnBindXBRequest) SetResourceOwnerId added in v2.1.0

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

func (*UnBindXBRequest) SetTelX added in v2.1.0

func (s *UnBindXBRequest) SetTelX(v string) *UnBindXBRequest

func (UnBindXBRequest) String added in v2.1.0

func (s UnBindXBRequest) String() string

type UnBindXBResponse added in v2.1.0

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

func (UnBindXBResponse) GoString added in v2.1.0

func (s UnBindXBResponse) GoString() string

func (*UnBindXBResponse) SetBody added in v2.1.0

func (*UnBindXBResponse) SetHeaders added in v2.1.0

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

func (*UnBindXBResponse) SetStatusCode added in v2.1.0

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

func (UnBindXBResponse) String added in v2.1.0

func (s UnBindXBResponse) String() string

type UnBindXBResponseBody added in v2.1.0

type UnBindXBResponseBody struct {
	// example:
	//
	// 0
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// 返回状态码 0000表示成功 其他表示失败
	//
	// example:
	//
	// 0000
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// 返回信息
	//
	// example:
	//
	// 成功
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// 返回是否成功 true  表示成功 false表示失败
	//
	// example:
	//
	// false
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (UnBindXBResponseBody) GoString added in v2.1.0

func (s UnBindXBResponseBody) GoString() string

func (*UnBindXBResponseBody) SetAccessDeniedDetail added in v2.1.0

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

func (*UnBindXBResponseBody) SetCode added in v2.1.0

func (*UnBindXBResponseBody) SetMessage added in v2.1.0

func (*UnBindXBResponseBody) SetSuccess added in v2.1.0

func (UnBindXBResponseBody) String added in v2.1.0

func (s UnBindXBResponseBody) String() string

type UnbindSubscriptionRequest

type UnbindSubscriptionRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The key of the phone number pool. Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// >  This parameter is required when **ProductType*	- is left empty.
	//
	// example:
	//
	// FC123456
	PoolKey *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	// The product type. Fixed value: **AXB_170**.
	//
	// >
	//
	// 	- This parameter is applicable to the original key accounts of Alibaba Cloud. This parameter can be ignored for Alibaba Cloud users.
	//
	// 	- This parameter is required when **PoolKey*	- is left empty.
	//
	// example:
	//
	// AXB_170
	ProductType          *string `json:"ProductType,omitempty" xml:"ProductType,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The private number, that is, phone number X specified in an API operation for a phone number binding such as [BindAXG](https://help.aliyun.com/document_detail/110249.html) or automatically assigned after such an operation is called.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1390000****
	SecretNo *string `json:"SecretNo,omitempty" xml:"SecretNo,omitempty"`
	// The binding ID.
	//
	// Log on to the Phone Number Protection console, choose **Number and Number Pool*	- > **Number Management**. On the Number Management page, select the desired record and click Details to view the binding ID. Alternatively, you can view the value of the **SubsId*	- parameter returned by an API operation for a phone number binding such as BindAxb. The value of this parameter indicates a binding ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1************2
	SubsId *string `json:"SubsId,omitempty" xml:"SubsId,omitempty"`
}

func (UnbindSubscriptionRequest) GoString

func (s UnbindSubscriptionRequest) GoString() string

func (*UnbindSubscriptionRequest) SetOwnerId

func (*UnbindSubscriptionRequest) SetPoolKey

func (*UnbindSubscriptionRequest) SetProductType

func (*UnbindSubscriptionRequest) SetResourceOwnerAccount

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

func (*UnbindSubscriptionRequest) SetResourceOwnerId

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

func (*UnbindSubscriptionRequest) SetSecretNo

func (*UnbindSubscriptionRequest) SetSubsId

func (UnbindSubscriptionRequest) String

func (s UnbindSubscriptionRequest) String() string

type UnbindSubscriptionResponse

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

func (UnbindSubscriptionResponse) GoString

func (s UnbindSubscriptionResponse) GoString() string

func (*UnbindSubscriptionResponse) SetBody

func (*UnbindSubscriptionResponse) SetHeaders

func (*UnbindSubscriptionResponse) SetStatusCode

func (UnbindSubscriptionResponse) String

type UnbindSubscriptionResponseBody

type UnbindSubscriptionResponseBody struct {
	// A deprecated parameter.
	//
	// example:
	//
	// true
	ChargeId *string `json:"ChargeId,omitempty" xml:"ChargeId,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](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// 986BCB6D-C9BF-42F9-91CE-3A9901233D36
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UnbindSubscriptionResponseBody) GoString

func (*UnbindSubscriptionResponseBody) SetChargeId

func (*UnbindSubscriptionResponseBody) SetCode

func (*UnbindSubscriptionResponseBody) SetMessage

func (*UnbindSubscriptionResponseBody) SetRequestId

func (UnbindSubscriptionResponseBody) String

type UnlockSecretNoRequest

type UnlockSecretNoRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The key of the phone number pool.
	//
	// Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// This parameter is required.
	//
	// example:
	//
	// FC2256****
	PoolKey              *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The private number that you want to unlock. You must enter a complete mobile phone number.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1300000****
	SecretNo *string `json:"SecretNo,omitempty" xml:"SecretNo,omitempty"`
}

func (UnlockSecretNoRequest) GoString

func (s UnlockSecretNoRequest) GoString() string

func (*UnlockSecretNoRequest) SetOwnerId

func (*UnlockSecretNoRequest) SetPoolKey

func (*UnlockSecretNoRequest) SetResourceOwnerAccount

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

func (*UnlockSecretNoRequest) SetResourceOwnerId

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

func (*UnlockSecretNoRequest) SetSecretNo

func (UnlockSecretNoRequest) String

func (s UnlockSecretNoRequest) String() string

type UnlockSecretNoResponse

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

func (UnlockSecretNoResponse) GoString

func (s UnlockSecretNoResponse) GoString() string

func (*UnlockSecretNoResponse) SetBody

func (*UnlockSecretNoResponse) SetHeaders

func (*UnlockSecretNoResponse) SetStatusCode

func (UnlockSecretNoResponse) String

func (s UnlockSecretNoResponse) String() string

type UnlockSecretNoResponseBody

type UnlockSecretNoResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other status codes indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// 2D1AEB96-96D0-454E-B0DC-AE2A8DF08020
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UnlockSecretNoResponseBody) GoString

func (s UnlockSecretNoResponseBody) GoString() string

func (*UnlockSecretNoResponseBody) SetCode

func (*UnlockSecretNoResponseBody) SetMessage

func (*UnlockSecretNoResponseBody) SetRequestId

func (UnlockSecretNoResponseBody) String

type UpdateSubscriptionRequest

type UpdateSubscriptionRequest struct {
	// The ID of the ASR model.
	//
	// example:
	//
	// 980abddb908f48e8b987cb2cd303****
	ASRModelId *string `json:"ASRModelId,omitempty" xml:"ASRModelId,omitempty"`
	// Specifies whether to enable automatic speech recognition (ASR). Valid values:
	//
	// 	- **false*	- (default): disables ASR.
	//
	// 	- **true**: enables ASR.
	//
	// example:
	//
	// false
	ASRStatus *bool `json:"ASRStatus,omitempty" xml:"ASRStatus,omitempty"`
	// Re-sets the phone number display logic in the phone number binding. Fixed value: **1**, indicating that phone number X is displayed on both the calling phone and the called phone.
	//
	// >  Due to the regulatory restrictions imposed by carriers, the setting to display real phone numbers during calls does not take effect.
	//
	// example:
	//
	// 1
	CallDisplayType *int32 `json:"CallDisplayType,omitempty" xml:"CallDisplayType,omitempty"`
	// One-way call restrictions. Valid values:
	//
	// 	- **CONTROL_AX_DISABLE**: Phone number A cannot be used to call phone number X.
	//
	// 	- **CONTROL_BX_DISABLE**: Phone number B cannot be used to call phone number X.
	//
	// 	- **CONTROL_CLEAR_DISABLE**: The call restrictions are cleared.
	//
	// >  This parameter is required when **OperateType*	- is set to **updateCallRestrict**.
	//
	// example:
	//
	// CONTROL_BX_DISABLE
	CallRestrict *string `json:"CallRestrict,omitempty" xml:"CallRestrict,omitempty"`
	// Re-sets the expiration time of the phone number binding.
	//
	// >
	//
	// 	- This parameter is required when **OperateType*	- is set to **updateExpire**.
	//
	// 	- The expiration time must be more than 1 minute later than the time when you call this API operation.
	//
	// example:
	//
	// 2019-09-05 12:00:00
	Expiration *string `json:"Expiration,omitempty" xml:"Expiration,omitempty"`
	// The ID of number group G in the phone number binding.
	//
	// >  This parameter is required when **OperateType*	- is set to **updateAxgGroup**.
	//
	// example:
	//
	// 1234
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// Re-sets the recording status in the phone number binding.
	//
	// >  This parameter does not have a default value. If you do not specify this parameter, the value of the corresponding field is not updated.
	//
	// example:
	//
	// true
	IsRecordingEnabled *bool `json:"IsRecordingEnabled,omitempty" xml:"IsRecordingEnabled,omitempty"`
	// The operation to modify the phone number binding. Valid values:
	//
	// 	- **updateNoA**: modifies phone number A.
	//
	// 	- **updateNoB**: modifies phone number B.
	//
	// 	- **updateExpire**: modifies the validity period of the binding.
	//
	// 	- **updateAxgGroup**: modifies number group G.
	//
	// 	- **updateCallRestrict**: modifies one-way call restrictions.
	//
	// 	- **updateCallDisplayType**: updates the number display logic for calls.
	//
	// 	- **updateOutId**: updates the value of the OutId parameter.
	//
	// 	- **updateIsRecordingEnabled**: updates the status of the recording feature in the binding.
	//
	// This parameter is required.
	//
	// example:
	//
	// updateNoA
	OperateType *string `json:"OperateType,omitempty" xml:"OperateType,omitempty"`
	// Re-sets the value of the OutId parameter in the phone number binding.
	//
	// example:
	//
	// abcdef
	OutId   *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// Phone number A in the phone number binding.
	//
	// >  This parameter is required when **OperateType*	- is set to **updateNoA**.
	//
	// example:
	//
	// 1390000****
	PhoneNoA *string `json:"PhoneNoA,omitempty" xml:"PhoneNoA,omitempty"`
	// Phone number B in the phone number binding.
	//
	// >  This parameter is required when **OperateType*	- is set to **updateNoB**.
	//
	// example:
	//
	// 1390000****
	PhoneNoB *string `json:"PhoneNoB,omitempty" xml:"PhoneNoB,omitempty"`
	// Phone number X in the phone number binding.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1390000****
	PhoneNoX *string `json:"PhoneNoX,omitempty" xml:"PhoneNoX,omitempty"`
	// The key of the phone number pool.
	//
	// Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account) and view the key of the phone number pool on the **Number Pool Management*	- page.
	//
	// >  This parameter is required when **ProductType*	- is left empty.
	//
	// example:
	//
	// FC122356****
	PoolKey *string `json:"PoolKey,omitempty" xml:"PoolKey,omitempty"`
	// The product type. Valid values:
	//
	// 	- **AXB_170**
	//
	// 	- **AXN_170**
	//
	// 	- **AXN_95**
	//
	// 	- **AXN_EXTENSION_REUSE**
	//
	// >
	//
	// 	- This parameter is applicable to the original key accounts of Alibaba Cloud. This parameter can be ignored for Alibaba Cloud users.
	//
	// 	- This parameter is required when **PoolKey*	- is left empty.
	//
	// example:
	//
	// AXB_170
	ProductType          *string `json:"ProductType,omitempty" xml:"ProductType,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Updates the ringtone code for enterprise Color Ring Back Tone (CRBT) in the phone number binding.
	//
	// AXB product:
	//
	// 	- Ringtone setting when phone number A is used to call phone number X in the AXB binding: AXBRing_A
	//
	// 	- Ringtone setting when phone number B is used to call phone number X in the AXB binding: AXBRing_B
	//
	// AXN product:
	//
	// 	- Ringtone setting (with a callback number) when phone number A is used to call phone number X in the AXN extension binding: AXNRing_AB
	//
	// 	- Ringtone setting (without a callback number) when phone number A is used to call phone number X in the AXN extension binding: AXNRing_A
	//
	// 	- Ringtone setting when phone number N is used to call phone number X in the AXN extension binding: AXNRing_N
	//
	// AXG product:
	//
	// 	- Ringtone setting (with a callback number) when phone number A is used to call phone number X in the AXG binding: AXGRing_AB
	//
	// 	- Ringtone setting (without a callback number) when phone number A is used to call phone number X in the AXG binding: AXGRing_A
	//
	// 	- Ringtone setting when a phone number in number group G is used to call phone number X in the AXG binding: AXGRing_G
	//
	// Enterprise CRBT codes: Enterprise CRBT codes can be queried in the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account). You can choose **Number Pool Management*	- > **Enterprise CRBT Management*	- to view and manage enterprise CRBT codes. You can also upload, delete, or perform other operations on enterprise CRBT codes.
	//
	// >  The bound enterprise CRBTs are preferentially used. If no enterprise CRBT is set or the setting does not take effect, the enterprise CRBTs at the phone number pool level are used.
	//
	// example:
	//
	// {"AXBRing_B":"100000001","AXBRing_A":"100000001"}
	RingConfig *string `json:"RingConfig,omitempty" xml:"RingConfig,omitempty"`
	// The binding ID.
	//
	// Log on to the [Phone Number Protection console](https://dypls.console.aliyun.com/dypls.htm#/account), choose **Number and Number Pool*	- > **Number Management**. On the Number Management page, select the desired record and click Details to view the binding ID. Alternatively, you can view the value of the **SubsId*	- parameter returned by an API operation for a phone number binding such as BindAxb. The value of this parameter indicates a binding ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// 100000076879****
	SubsId *string `json:"SubsId,omitempty" xml:"SubsId,omitempty"`
}

func (UpdateSubscriptionRequest) GoString

func (s UpdateSubscriptionRequest) GoString() string

func (*UpdateSubscriptionRequest) SetASRModelId

func (*UpdateSubscriptionRequest) SetASRStatus

func (*UpdateSubscriptionRequest) SetCallDisplayType

func (s *UpdateSubscriptionRequest) SetCallDisplayType(v int32) *UpdateSubscriptionRequest

func (*UpdateSubscriptionRequest) SetCallRestrict

func (*UpdateSubscriptionRequest) SetExpiration

func (*UpdateSubscriptionRequest) SetGroupId

func (*UpdateSubscriptionRequest) SetIsRecordingEnabled

func (s *UpdateSubscriptionRequest) SetIsRecordingEnabled(v bool) *UpdateSubscriptionRequest

func (*UpdateSubscriptionRequest) SetOperateType

func (*UpdateSubscriptionRequest) SetOutId

func (*UpdateSubscriptionRequest) SetOwnerId

func (*UpdateSubscriptionRequest) SetPhoneNoA

func (*UpdateSubscriptionRequest) SetPhoneNoB

func (*UpdateSubscriptionRequest) SetPhoneNoX

func (*UpdateSubscriptionRequest) SetPoolKey

func (*UpdateSubscriptionRequest) SetProductType

func (*UpdateSubscriptionRequest) SetResourceOwnerAccount

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

func (*UpdateSubscriptionRequest) SetResourceOwnerId

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

func (*UpdateSubscriptionRequest) SetRingConfig

func (*UpdateSubscriptionRequest) SetSubsId

func (UpdateSubscriptionRequest) String

func (s UpdateSubscriptionRequest) String() string

type UpdateSubscriptionResponse

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

func (UpdateSubscriptionResponse) GoString

func (s UpdateSubscriptionResponse) GoString() string

func (*UpdateSubscriptionResponse) SetBody

func (*UpdateSubscriptionResponse) SetHeaders

func (*UpdateSubscriptionResponse) SetStatusCode

func (UpdateSubscriptionResponse) String

type UpdateSubscriptionResponseBody

type UpdateSubscriptionResponseBody 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](https://help.aliyun.com/document_detail/109196.html).
	//
	// 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:
	//
	// 986BCB6D-C9BF-42F9-91CE-3A9901233D36
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateSubscriptionResponseBody) GoString

func (*UpdateSubscriptionResponseBody) SetCode

func (*UpdateSubscriptionResponseBody) SetMessage

func (*UpdateSubscriptionResponseBody) SetRequestId

func (UpdateSubscriptionResponseBody) String

Jump to

Keyboard shortcuts

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