Class: TencentCloud::Iss::V20230517::GatewayDevice

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, protocoltype = nil, protocoltypename = nil, name = nil, type = nil, ip = nil, port = nil, channelnum = nil, status = nil) ⇒ GatewayDevice

Returns a new instance of GatewayDevice.



4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
# File 'lib/v20230517/models.rb', line 4482

def initialize(deviceid=nil, protocoltype=nil, protocoltypename=nil, name=nil, type=nil, ip=nil, port=nil, channelnum=nil, status=nil)
  @DeviceId = deviceid
  @ProtocolType = protocoltype
  @ProtocolTypeName = protocoltypename
  @Name = name
  @Type = type
  @Ip = ip
  @Port = port
  @ChannelNum = channelnum
  @Status = status
end

Instance Attribute Details

#ChannelNumObject

Parameters:

  • DeviceId:

    设备ID

  • ProtocolType:

    网关接入协议类型

  • ProtocolTypeName:

    网关接入协议名称

  • Name:

    设备名称

  • Type:

    设备类型

  • Ip:

    设备内网IP

  • Port:

    设备端口

  • ChannelNum:

    设备下通道数

  • Status:

    设备状态



4480
4481
4482
# File 'lib/v20230517/models.rb', line 4480

def ChannelNum
  @ChannelNum
end

#DeviceIdObject

Parameters:

  • DeviceId:

    设备ID

  • ProtocolType:

    网关接入协议类型

  • ProtocolTypeName:

    网关接入协议名称

  • Name:

    设备名称

  • Type:

    设备类型

  • Ip:

    设备内网IP

  • Port:

    设备端口

  • ChannelNum:

    设备下通道数

  • Status:

    设备状态



4480
4481
4482
# File 'lib/v20230517/models.rb', line 4480

def DeviceId
  @DeviceId
end

#IpObject

Parameters:

  • DeviceId:

    设备ID

  • ProtocolType:

    网关接入协议类型

  • ProtocolTypeName:

    网关接入协议名称

  • Name:

    设备名称

  • Type:

    设备类型

  • Ip:

    设备内网IP

  • Port:

    设备端口

  • ChannelNum:

    设备下通道数

  • Status:

    设备状态



4480
4481
4482
# File 'lib/v20230517/models.rb', line 4480

def Ip
  @Ip
end

#NameObject

Parameters:

  • DeviceId:

    设备ID

  • ProtocolType:

    网关接入协议类型

  • ProtocolTypeName:

    网关接入协议名称

  • Name:

    设备名称

  • Type:

    设备类型

  • Ip:

    设备内网IP

  • Port:

    设备端口

  • ChannelNum:

    设备下通道数

  • Status:

    设备状态



4480
4481
4482
# File 'lib/v20230517/models.rb', line 4480

def Name
  @Name
end

#PortObject

Parameters:

  • DeviceId:

    设备ID

  • ProtocolType:

    网关接入协议类型

  • ProtocolTypeName:

    网关接入协议名称

  • Name:

    设备名称

  • Type:

    设备类型

  • Ip:

    设备内网IP

  • Port:

    设备端口

  • ChannelNum:

    设备下通道数

  • Status:

    设备状态



4480
4481
4482
# File 'lib/v20230517/models.rb', line 4480

def Port
  @Port
end

#ProtocolTypeObject

Parameters:

  • DeviceId:

    设备ID

  • ProtocolType:

    网关接入协议类型

  • ProtocolTypeName:

    网关接入协议名称

  • Name:

    设备名称

  • Type:

    设备类型

  • Ip:

    设备内网IP

  • Port:

    设备端口

  • ChannelNum:

    设备下通道数

  • Status:

    设备状态



4480
4481
4482
# File 'lib/v20230517/models.rb', line 4480

def ProtocolType
  @ProtocolType
end

#ProtocolTypeNameObject

Parameters:

  • DeviceId:

    设备ID

  • ProtocolType:

    网关接入协议类型

  • ProtocolTypeName:

    网关接入协议名称

  • Name:

    设备名称

  • Type:

    设备类型

  • Ip:

    设备内网IP

  • Port:

    设备端口

  • ChannelNum:

    设备下通道数

  • Status:

    设备状态



4480
4481
4482
# File 'lib/v20230517/models.rb', line 4480

def ProtocolTypeName
  @ProtocolTypeName
end

#StatusObject

Parameters:

  • DeviceId:

    设备ID

  • ProtocolType:

    网关接入协议类型

  • ProtocolTypeName:

    网关接入协议名称

  • Name:

    设备名称

  • Type:

    设备类型

  • Ip:

    设备内网IP

  • Port:

    设备端口

  • ChannelNum:

    设备下通道数

  • Status:

    设备状态



4480
4481
4482
# File 'lib/v20230517/models.rb', line 4480

def Status
  @Status
end

#TypeObject

Parameters:

  • DeviceId:

    设备ID

  • ProtocolType:

    网关接入协议类型

  • ProtocolTypeName:

    网关接入协议名称

  • Name:

    设备名称

  • Type:

    设备类型

  • Ip:

    设备内网IP

  • Port:

    设备端口

  • ChannelNum:

    设备下通道数

  • Status:

    设备状态



4480
4481
4482
# File 'lib/v20230517/models.rb', line 4480

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
# File 'lib/v20230517/models.rb', line 4494

def deserialize(params)
  @DeviceId = params['DeviceId']
  @ProtocolType = params['ProtocolType']
  @ProtocolTypeName = params['ProtocolTypeName']
  @Name = params['Name']
  @Type = params['Type']
  @Ip = params['Ip']
  @Port = params['Port']
  @ChannelNum = params['ChannelNum']
  @Status = params['Status']
end