public static final class BindAxgRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
BindAxgRequest.Builder |
ASRModelId(String ASRModelId)
The ID of the ASR model.
|
BindAxgRequest.Builder |
ASRStatus(Boolean ASRStatus)
Specifies whether to enable automatic speech recognition (ASR).
|
BindAxgRequest |
build() |
BindAxgRequest.Builder |
callDisplayType(Integer callDisplayType)
Re-sets the phone number display logic in the AXG binding.
|
BindAxgRequest.Builder |
callRestrict(String callRestrict)
The status of call restrictions.
|
BindAxgRequest.Builder |
expectCity(String expectCity)
Specifies the city to which phone number X to be selected belongs.
|
BindAxgRequest.Builder |
expiration(String expiration)
The expiration time of the AXG binding.
|
BindAxgRequest.Builder |
groupId(String groupId)
The group ID in the AXG binding.
|
BindAxgRequest.Builder |
isRecordingEnabled(Boolean isRecordingEnabled)
Specifies whether to record all calls made by the bound phone numbers.
|
BindAxgRequest.Builder |
outId(String outId)
The extension field for the external business.
|
BindAxgRequest.Builder |
outOrderId(String outOrderId)
The ID of the external business.
|
BindAxgRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
BindAxgRequest.Builder |
phoneNoA(String phoneNoA)
Phone number A in the AXG binding.
|
BindAxgRequest.Builder |
phoneNoB(String phoneNoB)
Phone number B in the AXG binding.
|
BindAxgRequest.Builder |
phoneNoX(String phoneNoX)
Phone number X in the AXG binding.
|
BindAxgRequest.Builder |
poolKey(String poolKey)
The key of the phone number pool.
|
BindAxgRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
BindAxgRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
BindAxgRequest.Builder |
ringConfig(String ringConfig)
Sets the ringtone for enterprise Color Ring Back Tone (CRBT) in the AXG binding.
|
public BindAxgRequest.Builder ASRModelId(String ASRModelId)
The ID of the ASR model.
example:980abddb908f48e8b987cb2cd303****
public BindAxgRequest.Builder ASRStatus(Boolean ASRStatus)
Specifies whether to enable automatic speech recognition (ASR). Valid values:
False
public BindAxgRequest.Builder callDisplayType(Integer callDisplayType)
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.
example:Due to the regulatory restrictions imposed by carriers, the setting to display real phone numbers during calls does not take effect.
1
public BindAxgRequest.Builder callRestrict(String callRestrict)
The status of call restrictions. Valid values:
CONTROL_AX_DISABLE
public BindAxgRequest.Builder expectCity(String expectCity)
Specifies the city to which phone number X to be selected belongs.
hangzhou
public BindAxgRequest.Builder expiration(String expiration)
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
public BindAxgRequest.Builder groupId(String groupId)
The group ID in the AXG binding. You can view the group ID by using either of the following methods:
Number group G must have one or more phone numbers.
This parameter is required.
example:1234
public BindAxgRequest.Builder isRecordingEnabled(Boolean isRecordingEnabled)
Specifies whether to record all calls made by the bound phone numbers.
example:true
public BindAxgRequest.Builder outId(String outId)
The extension field for the external business. This parameter is returned in a call record receipt.
example:abcdef
public BindAxgRequest.Builder outOrderId(String outOrderId)
The ID of the external business.
example:abcdef
public BindAxgRequest.Builder ownerId(Long ownerId)
public BindAxgRequest.Builder phoneNoA(String phoneNoA)
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
public BindAxgRequest.Builder phoneNoB(String phoneNoB)
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 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
public BindAxgRequest.Builder phoneNoX(String phoneNoX)
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.
example:Phone number X is the phone number that you purchased in the Phone Number Protection console or by using the BuySecretNo operation before you bind a phone number. Phone number X is used to forward calls.
139****0000
public BindAxgRequest.Builder poolKey(String poolKey)
The key of the phone number pool. Log on to the Phone Number Protection console and view the key of the phone number pool on the Number Pool Management page.
example:FC123456
public BindAxgRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public BindAxgRequest.Builder resourceOwnerId(Long resourceOwnerId)
public BindAxgRequest.Builder ringConfig(String ringConfig)
Sets the ringtone for enterprise Color Ring Back Tone (CRBT) in the AXG binding.
example: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.
{"AXGRing_AB":"100000001","AXGRing_A":"100000002","AXGRing_G":"100000003"}
public BindAxgRequest build()
Copyright © 2025. All rights reserved.