public class AddUserDeviceRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AddUserDeviceRequest() | 
| AddUserDeviceRequest(AddUserDeviceRequest 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,6:ISUP) | 
| String | getAppName()Get RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位) | 
| String | getClusterId()Get 设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段) | 
| String | getDescription()Get 设备描述,长度不超过128个字符 | 
| String | getGatewayId()Get 设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要) | 
| String | getIp()Get 设备接入IP(仅网关接入需要) | 
| String | getName()Get 设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复) | 
| String | getOrganizationId()Get 设备所属组织ID,从查询组织接口DescribeOrganization中获取 | 
| String | getPassword()Get 设备密码(国标,网关设备必填,长度为1-64个字符) | 
| Long | getPort()Get 设备端口(仅网关接入需要) | 
| Long | getProtocolType()Get 网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要) | 
| String | getSNCode()Get 设备 SN,仅IVCP 协议设备需要 | 
| String | getStreamName()Get RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位) | 
| Long | getTransportProtocol()Get 设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议) | 
| Long | getType()Get 设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC) | 
| String | getUsername()Get 设备用户名(仅网关接入需要) | 
| void | setAccessProtocol(Long AccessProtocol)Set 设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP) | 
| void | setAppName(String AppName)Set RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位) | 
| void | setClusterId(String ClusterId)Set 设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段) | 
| void | setDescription(String Description)Set 设备描述,长度不超过128个字符 | 
| void | setGatewayId(String GatewayId)Set 设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要) | 
| void | setIp(String Ip)Set 设备接入IP(仅网关接入需要) | 
| void | setName(String Name)Set 设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复) | 
| void | setOrganizationId(String OrganizationId)Set 设备所属组织ID,从查询组织接口DescribeOrganization中获取 | 
| void | setPassword(String Password)Set 设备密码(国标,网关设备必填,长度为1-64个字符) | 
| void | setPort(Long Port)Set 设备端口(仅网关接入需要) | 
| void | setProtocolType(Long ProtocolType)Set 网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要) | 
| void | setSNCode(String SNCode)Set 设备 SN,仅IVCP 协议设备需要 | 
| void | setStreamName(String StreamName)Set RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位) | 
| void | setTransportProtocol(Long TransportProtocol)Set 设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议) | 
| void | setType(Long Type)Set 设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC) | 
| 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 AddUserDeviceRequest()
public AddUserDeviceRequest(AddUserDeviceRequest source)
public String getName()
public void setName(String Name)
Name - 设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)public Long getAccessProtocol()
public void setAccessProtocol(Long AccessProtocol)
AccessProtocol - 设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)public Long getType()
public void setType(Long Type)
Type - 设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)public String getOrganizationId()
public void setOrganizationId(String OrganizationId)
OrganizationId - 设备所属组织ID,从查询组织接口DescribeOrganization中获取public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - 设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)public Long getTransportProtocol()
public void setTransportProtocol(Long TransportProtocol)
TransportProtocol - 设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)public String getPassword()
public void setPassword(String Password)
Password - 设备密码(国标,网关设备必填,长度为1-64个字符)public String getDescription()
public void setDescription(String Description)
Description - 设备描述,长度不超过128个字符public String getGatewayId()
public void setGatewayId(String GatewayId)
GatewayId - 设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)public Long getProtocolType()
public void setProtocolType(Long ProtocolType)
ProtocolType - 网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)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 - 设备端口(仅网关接入需要)public String getUsername()
public void setUsername(String Username)
Username - 设备用户名(仅网关接入需要)public String getSNCode()
public void setSNCode(String SNCode)
SNCode - 设备 SN,仅IVCP 协议设备需要public String getAppName()
public void setAppName(String AppName)
AppName - RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)public String getStreamName()
public void setStreamName(String StreamName)
StreamName - RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)Copyright © 2025. All rights reserved.