Class: TencentCloud::Iss::V20230517::AddUserDeviceRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230517/models.rb

Overview

AddUserDevice请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, accessprotocol = nil, type = nil, organizationid = nil, clusterid = nil, transportprotocol = nil, password = nil, description = nil, gatewayid = nil, protocoltype = nil, ip = nil, port = nil, username = nil, sncode = nil, appname = nil, streamname = nil) ⇒ AddUserDeviceRequest

Returns a new instance of AddUserDeviceRequest.



1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/v20230517/models.rb', line 1137

def initialize(name=nil, accessprotocol=nil, type=nil, organizationid=nil, clusterid=nil, transportprotocol=nil, password=nil, description=nil, gatewayid=nil, protocoltype=nil, ip=nil, port=nil, username=nil, sncode=nil, appname=nil, streamname=nil)
  @Name = name
  @AccessProtocol = accessprotocol
  @Type = type
  @OrganizationId = organizationid
  @ClusterId = clusterid
  @TransportProtocol = transportprotocol
  @Password = password
  @Description = description
  @GatewayId = gatewayid
  @ProtocolType = protocoltype
  @Ip = ip
  @Port = port
  @Username = username
  @SNCode = sncode
  @AppName = appname
  @StreamName = streamname
end

Instance Attribute Details

#AccessProtocolObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def AccessProtocol
  @AccessProtocol
end

#AppNameObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def AppName
  @AppName
end

#ClusterIdObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def ClusterId
  @ClusterId
end

#DescriptionObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def Description
  @Description
end

#GatewayIdObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def GatewayId
  @GatewayId
end

#IpObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def Ip
  @Ip
end

#NameObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def Name
  @Name
end

#OrganizationIdObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def OrganizationId
  @OrganizationId
end

#PasswordObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def Password
  @Password
end

#PortObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def Port
  @Port
end

#ProtocolTypeObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def ProtocolType
  @ProtocolType
end

#SNCodeObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def SNCode
  @SNCode
end

#StreamNameObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def StreamName
  @StreamName
end

#TransportProtocolObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def TransportProtocol
  @TransportProtocol
end

#TypeObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def Type
  @Type
end

#UsernameObject

Parameters:

  • Name:

    设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)

  • AccessProtocol:

    设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)

  • Type:

    设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)

  • OrganizationId:

    设备所属组织ID,从查询组织接口DescribeOrganization中获取

  • ClusterId:

    设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)

  • TransportProtocol:

    设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)

  • Password:

    设备密码(国标,网关设备必填,长度为1-64个字符)

  • Description:

    设备描述,长度不超过128个字符

  • GatewayId:

    设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)

  • ProtocolType:

    网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)

  • Ip:

    设备接入IP(仅网关接入需要)

  • Port:

    设备端口(仅网关接入需要)

  • Username:

    设备用户名(仅网关接入需要)

  • SNCode:

    设备 SN,仅IVCP 协议设备需要

  • AppName:

    RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)

  • StreamName:

    RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)



1135
1136
1137
# File 'lib/v20230517/models.rb', line 1135

def Username
  @Username
end

Instance Method Details

#deserialize(params) ⇒ Object



1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
# File 'lib/v20230517/models.rb', line 1156

def deserialize(params)
  @Name = params['Name']
  @AccessProtocol = params['AccessProtocol']
  @Type = params['Type']
  @OrganizationId = params['OrganizationId']
  @ClusterId = params['ClusterId']
  @TransportProtocol = params['TransportProtocol']
  @Password = params['Password']
  @Description = params['Description']
  @GatewayId = params['GatewayId']
  @ProtocolType = params['ProtocolType']
  @Ip = params['Ip']
  @Port = params['Port']
  @Username = params['Username']
  @SNCode = params['SNCode']
  @AppName = params['AppName']
  @StreamName = params['StreamName']
end