Class: TencentCloud::Iss::V20230517::ListDeviceInfo

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

Overview

获取设备列表的响应

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deviceid = nil, code = nil, status = nil, transportprotocol = nil, name = nil, type = nil, password = nil, description = nil, clusterid = nil, clustername = nil, accessprotocol = nil, organizationid = nil, channelnum = nil) ⇒ ListDeviceInfo

Returns a new instance of ListDeviceInfo.



4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
# File 'lib/v20230517/models.rb', line 4726

def initialize(deviceid=nil, code=nil, status=nil, transportprotocol=nil, name=nil, type=nil, password=nil, description=nil, clusterid=nil, clustername=nil, accessprotocol=nil, organizationid=nil, channelnum=nil)
  @DeviceId = deviceid
  @Code = code
  @Status = status
  @TransportProtocol = transportprotocol
  @Name = name
  @Type = type
  @Password = password
  @Description = description
  @ClusterId = clusterid
  @ClusterName = clustername
  @AccessProtocol = accessprotocol
  @OrganizationId = organizationid
  @ChannelNum = channelnum
end

Instance Attribute Details

#AccessProtocolObject

Parameters:

  • DeviceId:

    设备 ID

  • Code:

    设备编码

  • Status:

    设备状态。0:未注册,1:在线,2:离线,3:禁用

  • TransportProtocol:

    设备流传输协议。1:UDP,2:TCP

  • Name:

    设备名称

  • Type:

    设备类型。1:IPC,2:NVR

  • Password:

    设备密码

  • Description:

    描述

  • ClusterId:

    设备接入服务节点 ID

  • ClusterName:

    服务节点名称

  • AccessProtocol:

    接入协议。1:RTMP,2:GB,3:GW

  • OrganizationId:

    设备所属组织 ID

  • ChannelNum:

    通道数量



4724
4725
4726
# File 'lib/v20230517/models.rb', line 4724

def AccessProtocol
  @AccessProtocol
end

#ChannelNumObject

Parameters:

  • DeviceId:

    设备 ID

  • Code:

    设备编码

  • Status:

    设备状态。0:未注册,1:在线,2:离线,3:禁用

  • TransportProtocol:

    设备流传输协议。1:UDP,2:TCP

  • Name:

    设备名称

  • Type:

    设备类型。1:IPC,2:NVR

  • Password:

    设备密码

  • Description:

    描述

  • ClusterId:

    设备接入服务节点 ID

  • ClusterName:

    服务节点名称

  • AccessProtocol:

    接入协议。1:RTMP,2:GB,3:GW

  • OrganizationId:

    设备所属组织 ID

  • ChannelNum:

    通道数量



4724
4725
4726
# File 'lib/v20230517/models.rb', line 4724

def ChannelNum
  @ChannelNum
end

#ClusterIdObject

Parameters:

  • DeviceId:

    设备 ID

  • Code:

    设备编码

  • Status:

    设备状态。0:未注册,1:在线,2:离线,3:禁用

  • TransportProtocol:

    设备流传输协议。1:UDP,2:TCP

  • Name:

    设备名称

  • Type:

    设备类型。1:IPC,2:NVR

  • Password:

    设备密码

  • Description:

    描述

  • ClusterId:

    设备接入服务节点 ID

  • ClusterName:

    服务节点名称

  • AccessProtocol:

    接入协议。1:RTMP,2:GB,3:GW

  • OrganizationId:

    设备所属组织 ID

  • ChannelNum:

    通道数量



4724
4725
4726
# File 'lib/v20230517/models.rb', line 4724

def ClusterId
  @ClusterId
end

#ClusterNameObject

Parameters:

  • DeviceId:

    设备 ID

  • Code:

    设备编码

  • Status:

    设备状态。0:未注册,1:在线,2:离线,3:禁用

  • TransportProtocol:

    设备流传输协议。1:UDP,2:TCP

  • Name:

    设备名称

  • Type:

    设备类型。1:IPC,2:NVR

  • Password:

    设备密码

  • Description:

    描述

  • ClusterId:

    设备接入服务节点 ID

  • ClusterName:

    服务节点名称

  • AccessProtocol:

    接入协议。1:RTMP,2:GB,3:GW

  • OrganizationId:

    设备所属组织 ID

  • ChannelNum:

    通道数量



4724
4725
4726
# File 'lib/v20230517/models.rb', line 4724

def ClusterName
  @ClusterName
end

#CodeObject

Parameters:

  • DeviceId:

    设备 ID

  • Code:

    设备编码

  • Status:

    设备状态。0:未注册,1:在线,2:离线,3:禁用

  • TransportProtocol:

    设备流传输协议。1:UDP,2:TCP

  • Name:

    设备名称

  • Type:

    设备类型。1:IPC,2:NVR

  • Password:

    设备密码

  • Description:

    描述

  • ClusterId:

    设备接入服务节点 ID

  • ClusterName:

    服务节点名称

  • AccessProtocol:

    接入协议。1:RTMP,2:GB,3:GW

  • OrganizationId:

    设备所属组织 ID

  • ChannelNum:

    通道数量



4724
4725
4726
# File 'lib/v20230517/models.rb', line 4724

def Code
  @Code
end

#DescriptionObject

Parameters:

  • DeviceId:

    设备 ID

  • Code:

    设备编码

  • Status:

    设备状态。0:未注册,1:在线,2:离线,3:禁用

  • TransportProtocol:

    设备流传输协议。1:UDP,2:TCP

  • Name:

    设备名称

  • Type:

    设备类型。1:IPC,2:NVR

  • Password:

    设备密码

  • Description:

    描述

  • ClusterId:

    设备接入服务节点 ID

  • ClusterName:

    服务节点名称

  • AccessProtocol:

    接入协议。1:RTMP,2:GB,3:GW

  • OrganizationId:

    设备所属组织 ID

  • ChannelNum:

    通道数量



4724
4725
4726
# File 'lib/v20230517/models.rb', line 4724

def Description
  @Description
end

#DeviceIdObject

Parameters:

  • DeviceId:

    设备 ID

  • Code:

    设备编码

  • Status:

    设备状态。0:未注册,1:在线,2:离线,3:禁用

  • TransportProtocol:

    设备流传输协议。1:UDP,2:TCP

  • Name:

    设备名称

  • Type:

    设备类型。1:IPC,2:NVR

  • Password:

    设备密码

  • Description:

    描述

  • ClusterId:

    设备接入服务节点 ID

  • ClusterName:

    服务节点名称

  • AccessProtocol:

    接入协议。1:RTMP,2:GB,3:GW

  • OrganizationId:

    设备所属组织 ID

  • ChannelNum:

    通道数量



4724
4725
4726
# File 'lib/v20230517/models.rb', line 4724

def DeviceId
  @DeviceId
end

#NameObject

Parameters:

  • DeviceId:

    设备 ID

  • Code:

    设备编码

  • Status:

    设备状态。0:未注册,1:在线,2:离线,3:禁用

  • TransportProtocol:

    设备流传输协议。1:UDP,2:TCP

  • Name:

    设备名称

  • Type:

    设备类型。1:IPC,2:NVR

  • Password:

    设备密码

  • Description:

    描述

  • ClusterId:

    设备接入服务节点 ID

  • ClusterName:

    服务节点名称

  • AccessProtocol:

    接入协议。1:RTMP,2:GB,3:GW

  • OrganizationId:

    设备所属组织 ID

  • ChannelNum:

    通道数量



4724
4725
4726
# File 'lib/v20230517/models.rb', line 4724

def Name
  @Name
end

#OrganizationIdObject

Parameters:

  • DeviceId:

    设备 ID

  • Code:

    设备编码

  • Status:

    设备状态。0:未注册,1:在线,2:离线,3:禁用

  • TransportProtocol:

    设备流传输协议。1:UDP,2:TCP

  • Name:

    设备名称

  • Type:

    设备类型。1:IPC,2:NVR

  • Password:

    设备密码

  • Description:

    描述

  • ClusterId:

    设备接入服务节点 ID

  • ClusterName:

    服务节点名称

  • AccessProtocol:

    接入协议。1:RTMP,2:GB,3:GW

  • OrganizationId:

    设备所属组织 ID

  • ChannelNum:

    通道数量



4724
4725
4726
# File 'lib/v20230517/models.rb', line 4724

def OrganizationId
  @OrganizationId
end

#PasswordObject

Parameters:

  • DeviceId:

    设备 ID

  • Code:

    设备编码

  • Status:

    设备状态。0:未注册,1:在线,2:离线,3:禁用

  • TransportProtocol:

    设备流传输协议。1:UDP,2:TCP

  • Name:

    设备名称

  • Type:

    设备类型。1:IPC,2:NVR

  • Password:

    设备密码

  • Description:

    描述

  • ClusterId:

    设备接入服务节点 ID

  • ClusterName:

    服务节点名称

  • AccessProtocol:

    接入协议。1:RTMP,2:GB,3:GW

  • OrganizationId:

    设备所属组织 ID

  • ChannelNum:

    通道数量



4724
4725
4726
# File 'lib/v20230517/models.rb', line 4724

def Password
  @Password
end

#StatusObject

Parameters:

  • DeviceId:

    设备 ID

  • Code:

    设备编码

  • Status:

    设备状态。0:未注册,1:在线,2:离线,3:禁用

  • TransportProtocol:

    设备流传输协议。1:UDP,2:TCP

  • Name:

    设备名称

  • Type:

    设备类型。1:IPC,2:NVR

  • Password:

    设备密码

  • Description:

    描述

  • ClusterId:

    设备接入服务节点 ID

  • ClusterName:

    服务节点名称

  • AccessProtocol:

    接入协议。1:RTMP,2:GB,3:GW

  • OrganizationId:

    设备所属组织 ID

  • ChannelNum:

    通道数量



4724
4725
4726
# File 'lib/v20230517/models.rb', line 4724

def Status
  @Status
end

#TransportProtocolObject

Parameters:

  • DeviceId:

    设备 ID

  • Code:

    设备编码

  • Status:

    设备状态。0:未注册,1:在线,2:离线,3:禁用

  • TransportProtocol:

    设备流传输协议。1:UDP,2:TCP

  • Name:

    设备名称

  • Type:

    设备类型。1:IPC,2:NVR

  • Password:

    设备密码

  • Description:

    描述

  • ClusterId:

    设备接入服务节点 ID

  • ClusterName:

    服务节点名称

  • AccessProtocol:

    接入协议。1:RTMP,2:GB,3:GW

  • OrganizationId:

    设备所属组织 ID

  • ChannelNum:

    通道数量



4724
4725
4726
# File 'lib/v20230517/models.rb', line 4724

def TransportProtocol
  @TransportProtocol
end

#TypeObject

Parameters:

  • DeviceId:

    设备 ID

  • Code:

    设备编码

  • Status:

    设备状态。0:未注册,1:在线,2:离线,3:禁用

  • TransportProtocol:

    设备流传输协议。1:UDP,2:TCP

  • Name:

    设备名称

  • Type:

    设备类型。1:IPC,2:NVR

  • Password:

    设备密码

  • Description:

    描述

  • ClusterId:

    设备接入服务节点 ID

  • ClusterName:

    服务节点名称

  • AccessProtocol:

    接入协议。1:RTMP,2:GB,3:GW

  • OrganizationId:

    设备所属组织 ID

  • ChannelNum:

    通道数量



4724
4725
4726
# File 'lib/v20230517/models.rb', line 4724

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
# File 'lib/v20230517/models.rb', line 4742

def deserialize(params)
  @DeviceId = params['DeviceId']
  @Code = params['Code']
  @Status = params['Status']
  @TransportProtocol = params['TransportProtocol']
  @Name = params['Name']
  @Type = params['Type']
  @Password = params['Password']
  @Description = params['Description']
  @ClusterId = params['ClusterId']
  @ClusterName = params['ClusterName']
  @AccessProtocol = params['AccessProtocol']
  @OrganizationId = params['OrganizationId']
  @ChannelNum = params['ChannelNum']
end