public class ClinkCreateExtenRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
allow
语音编码。
|
String |
areaCode
话机区号。
|
Long |
enterpriseId
呼叫中心 id
This parameter is required.
|
String |
extenNumber
话机号码。
|
Long |
isDirect
是否允许主叫外呼,1:允许;0:不允许。
|
Long |
jittBuffer
网络防抖,0:关闭;1:开启,默认关闭,当开启时,语音编码类型默认为5
example:
70
|
Long |
ownerId |
String |
password
话机密码,密码规则参见企业配置
This parameter is required.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
Long |
type
话机类型。
|
| 构造器和说明 |
|---|
ClinkCreateExtenRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ClinkCreateExtenRequest |
build(Map<String,?> map) |
Long |
getAllow() |
String |
getAreaCode() |
Long |
getEnterpriseId() |
String |
getExtenNumber() |
Long |
getIsDirect() |
Long |
getJittBuffer() |
Long |
getOwnerId() |
String |
getPassword() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
Long |
getType() |
ClinkCreateExtenRequest |
setAllow(Long allow) |
ClinkCreateExtenRequest |
setAreaCode(String areaCode) |
ClinkCreateExtenRequest |
setEnterpriseId(Long enterpriseId) |
ClinkCreateExtenRequest |
setExtenNumber(String extenNumber) |
ClinkCreateExtenRequest |
setIsDirect(Long isDirect) |
ClinkCreateExtenRequest |
setJittBuffer(Long jittBuffer) |
ClinkCreateExtenRequest |
setOwnerId(Long ownerId) |
ClinkCreateExtenRequest |
setPassword(String password) |
ClinkCreateExtenRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
ClinkCreateExtenRequest |
setResourceOwnerId(Long resourceOwnerId) |
ClinkCreateExtenRequest |
setType(Long type) |
@NameInMap(value="Allow") public Long allow
语音编码。 IP话机支持的语音编码:1、2、3、4、5 软电话支持的语音编码:5、6 1:g729(已弃用) 2:g729,alaw,ulaw 3:alaw,ulaw,g729 4:myopus,alaw,ulaw,g729 5:alaw,ulaw 6:myopus,alaw,ulaw
This parameter is required.
example:6
@NameInMap(value="AreaCode") public String areaCode
话机区号。以 0 开头 3-4 位数字
This parameter is required.
example:010
@NameInMap(value="EnterpriseId") public Long enterpriseId
呼叫中心 id
This parameter is required.
example:8004970
@NameInMap(value="ExtenNumber") public String extenNumber
话机号码。3-6 位数字,要求唯一
This parameter is required.
example:12235
@NameInMap(value="IsDirect") public Long isDirect
是否允许主叫外呼,1:允许;0:不允许。话机类型为IP话机时,可以开启主叫外呼功能,直接通过IP话机进行外呼。若要使用主叫外呼功能,需要开启企业级开关。
example:1
@NameInMap(value="JittBuffer") public Long jittBuffer
网络防抖,0:关闭;1:开启,默认关闭,当开启时,语音编码类型默认为5
example:70
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="Password") public String password
话机密码,密码规则参见企业配置
This parameter is required.
example:xxx
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Type") public Long type
话机类型。1: IP话机, 2: 软电话
This parameter is required.
example:1
public static ClinkCreateExtenRequest build(Map<String,?> map) throws Exception
Exceptionpublic ClinkCreateExtenRequest setAllow(Long allow)
public Long getAllow()
public ClinkCreateExtenRequest setAreaCode(String areaCode)
public String getAreaCode()
public ClinkCreateExtenRequest setEnterpriseId(Long enterpriseId)
public Long getEnterpriseId()
public ClinkCreateExtenRequest setExtenNumber(String extenNumber)
public String getExtenNumber()
public ClinkCreateExtenRequest setIsDirect(Long isDirect)
public Long getIsDirect()
public ClinkCreateExtenRequest setJittBuffer(Long jittBuffer)
public Long getJittBuffer()
public ClinkCreateExtenRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ClinkCreateExtenRequest setPassword(String password)
public String getPassword()
public ClinkCreateExtenRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ClinkCreateExtenRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ClinkCreateExtenRequest setType(Long type)
public Long getType()
Copyright © 2026. All rights reserved.