public class UpdateUserDeviceRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
UpdateUserDeviceRequest() |
UpdateUserDeviceRequest(UpdateUserDeviceRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getAudioSwitch()
Get 音频关开(0:关闭;1:开启)默认开启,关闭时丢弃音频
|
String |
getDescription()
Get 设备描述(仅支持中文、英文、数字、_、-,长度不超过128位)
|
String |
getDeviceId()
Get 设备ID(从获取设备列表接口ListDevices中获取)
|
String |
getIp()
Get 设备接入Ip(仅网关接入支持)
|
String |
getName()
Get 设备名称(仅支持中文、英文、数字、_、-,长度不超过32个字符)
|
String |
getPassword()
Get 设备密码(仅国标,网关设备支持)
|
Long |
getPort()
Get 设备Port(仅网关接入支持)
|
Long |
getProtocolType()
Get 网关设备接入协议(仅网关接入支持)
|
Long |
getSubscribeSwitch()
Get 订阅开关(0:关闭;1:开启)默认开启,开启状态下会订阅设备通道变化,仅国标NVR设备有效
|
Long |
getTransportProtocol()
Get 设备流传输协议,仅国标设备有效,填0则不做更改(1:UDP,2:TCP)
|
String |
getUsername()
Get 设备用户名(仅网关接入支持)
|
void |
setAudioSwitch(Long AudioSwitch)
Set 音频关开(0:关闭;1:开启)默认开启,关闭时丢弃音频
|
void |
setDescription(String Description)
Set 设备描述(仅支持中文、英文、数字、_、-,长度不超过128位)
|
void |
setDeviceId(String DeviceId)
Set 设备ID(从获取设备列表接口ListDevices中获取)
|
void |
setIp(String Ip)
Set 设备接入Ip(仅网关接入支持)
|
void |
setName(String Name)
Set 设备名称(仅支持中文、英文、数字、_、-,长度不超过32个字符)
|
void |
setPassword(String Password)
Set 设备密码(仅国标,网关设备支持)
|
void |
setPort(Long Port)
Set 设备Port(仅网关接入支持)
|
void |
setProtocolType(Long ProtocolType)
Set 网关设备接入协议(仅网关接入支持)
|
void |
setSubscribeSwitch(Long SubscribeSwitch)
Set 订阅开关(0:关闭;1:开启)默认开启,开启状态下会订阅设备通道变化,仅国标NVR设备有效
|
void |
setTransportProtocol(Long TransportProtocol)
Set 设备流传输协议,仅国标设备有效,填0则不做更改(1:UDP,2:TCP)
|
void |
setUsername(String Username)
Set 设备用户名(仅网关接入支持)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public UpdateUserDeviceRequest()
public UpdateUserDeviceRequest(UpdateUserDeviceRequest source)
public String getDeviceId()
public void setDeviceId(String DeviceId)
DeviceId
- 设备ID(从获取设备列表接口ListDevices中获取)public String getName()
public void setName(String Name)
Name
- 设备名称(仅支持中文、英文、数字、_、-,长度不超过32个字符)public Long getTransportProtocol()
public void setTransportProtocol(Long TransportProtocol)
TransportProtocol
- 设备流传输协议,仅国标设备有效,填0则不做更改(1:UDP,2:TCP)public String getPassword()
public void setPassword(String Password)
Password
- 设备密码(仅国标,网关设备支持)public String getDescription()
public void setDescription(String Description)
Description
- 设备描述(仅支持中文、英文、数字、_、-,长度不超过128位)public String getIp()
public void setIp(String Ip)
Ip
- 设备接入Ip(仅网关接入支持)public Long getPort()
public void setPort(Long Port)
Port
- 设备Port(仅网关接入支持)public String getUsername()
public void setUsername(String Username)
Username
- 设备用户名(仅网关接入支持)public Long getProtocolType()
public void setProtocolType(Long ProtocolType)
ProtocolType
- 网关设备接入协议(仅网关接入支持)public Long getAudioSwitch()
public void setAudioSwitch(Long AudioSwitch)
AudioSwitch
- 音频关开(0:关闭;1:开启)默认开启,关闭时丢弃音频public Long getSubscribeSwitch()
public void setSubscribeSwitch(Long SubscribeSwitch)
SubscribeSwitch
- 订阅开关(0:关闭;1:开启)默认开启,开启状态下会订阅设备通道变化,仅国标NVR设备有效Copyright © 2024. All rights reserved.