public class AddDeviceData extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AddDeviceData() | 
| AddDeviceData(AddDeviceData 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 | getAccessProtocol()Get 设备接入协议,1:RTMP,2:GB,3:GW | 
| Long | getAppId()Get 用户ID | 
| String | getClusterId()Get 设备接入服务节点ID | 
| String | getClusterName()Get 设备接入服务节点名称 | 
| String | getCode()Get 设备编码(国标设备即我们为设备生成的20位国标编码,rtmp 设备为10 位设备编码) | 
| String | getDescription()Get 设备描述 | 
| String | getDeviceId()Get 设备iD | 
| String | getGatewayId()Get 设备接入网关ID,从查询网关列表接口中获取(仅网关接入需要) | 
| String | getIp()Get 设备接入IP(仅网关接入需要) | 
| String | getName()Get 设备名称 | 
| Long | getOrganizationId()Get 设备所属组织ID | 
| String | getPassword()Get 设备密码 | 
| Long | getPort()Get 设备Port(仅网关接入需要) | 
| Long | getProtocolType()Get 网关接入协议类型,1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要) | 
| Long | getStatus()Get 设备状态,0:未注册,1:在线,2:离线,3:禁用 | 
| Long | getTransportProtocol()Get 设备流传输协议,1:UDP,2:TCP | 
| Long | getType()Get 设备类型,1:IPC,2:NVR | 
| String | getUsername()Get 设备用户名(仅网关接入需要) | 
| void | setAccessProtocol(Long AccessProtocol)Set 设备接入协议,1:RTMP,2:GB,3:GW | 
| void | setAppId(Long AppId)Set 用户ID | 
| void | setClusterId(String ClusterId)Set 设备接入服务节点ID | 
| void | setClusterName(String ClusterName)Set 设备接入服务节点名称 | 
| void | setCode(String Code)Set 设备编码(国标设备即我们为设备生成的20位国标编码,rtmp 设备为10 位设备编码) | 
| void | setDescription(String Description)Set 设备描述 | 
| void | setDeviceId(String DeviceId)Set 设备iD | 
| void | setGatewayId(String GatewayId)Set 设备接入网关ID,从查询网关列表接口中获取(仅网关接入需要) | 
| void | setIp(String Ip)Set 设备接入IP(仅网关接入需要) | 
| void | setName(String Name)Set 设备名称 | 
| void | setOrganizationId(Long OrganizationId)Set 设备所属组织ID | 
| void | setPassword(String Password)Set 设备密码 | 
| void | setPort(Long Port)Set 设备Port(仅网关接入需要) | 
| void | setProtocolType(Long ProtocolType)Set 网关接入协议类型,1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要) | 
| void | setStatus(Long Status)Set 设备状态,0:未注册,1:在线,2:离线,3:禁用 | 
| void | setTransportProtocol(Long TransportProtocol)Set 设备流传输协议,1:UDP,2:TCP | 
| void | setType(Long Type)Set 设备类型,1:IPC,2:NVR | 
| 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, toJsonStringpublic AddDeviceData()
public AddDeviceData(AddDeviceData source)
public String getDeviceId()
public void setDeviceId(String DeviceId)
DeviceId - 设备iDpublic String getCode()
public void setCode(String Code)
Code - 设备编码(国标设备即我们为设备生成的20位国标编码,rtmp 设备为10 位设备编码)public String getName()
public void setName(String Name)
Name - 设备名称public Long getAccessProtocol()
public void setAccessProtocol(Long AccessProtocol)
AccessProtocol - 设备接入协议,1:RTMP,2:GB,3:GWpublic Long getType()
public void setType(Long Type)
Type - 设备类型,1:IPC,2:NVRpublic String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - 设备接入服务节点IDpublic String getClusterName()
public void setClusterName(String ClusterName)
ClusterName - 设备接入服务节点名称public Long getTransportProtocol()
public void setTransportProtocol(Long TransportProtocol)
TransportProtocol - 设备流传输协议,1:UDP,2:TCPpublic String getPassword()
public void setPassword(String Password)
Password - 设备密码public String getDescription()
public void setDescription(String Description)
Description - 设备描述public Long getStatus()
public void setStatus(Long Status)
Status - 设备状态,0:未注册,1:在线,2:离线,3:禁用public Long getOrganizationId()
public void setOrganizationId(Long OrganizationId)
OrganizationId - 设备所属组织IDpublic String getGatewayId()
public void setGatewayId(String GatewayId)
GatewayId - 设备接入网关ID,从查询网关列表接口中获取(仅网关接入需要)public Long getProtocolType()
public void setProtocolType(Long ProtocolType)
ProtocolType - 网关接入协议类型,1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)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 getAppId()
public void setAppId(Long AppId)
AppId - 用户IDCopyright © 2025. All rights reserved.