Class: TencentCloud::Iss::V20230517::GatewayDevice
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::GatewayDevice
- Defined in:
- lib/v20230517/models.rb
Overview
网关设备数据
Instance Attribute Summary collapse
- #ChannelNum ⇒ Object
- #DeviceId ⇒ Object
- #Ip ⇒ Object
- #Name ⇒ Object
- #Port ⇒ Object
- #ProtocolType ⇒ Object
- #ProtocolTypeName ⇒ Object
- #Status ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deviceid = nil, protocoltype = nil, protocoltypename = nil, name = nil, type = nil, ip = nil, port = nil, channelnum = nil, status = nil) ⇒ GatewayDevice
constructor
A new instance of GatewayDevice.
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
#ChannelNum ⇒ Object
4480 4481 4482 |
# File 'lib/v20230517/models.rb', line 4480 def ChannelNum @ChannelNum end |
#DeviceId ⇒ Object
4480 4481 4482 |
# File 'lib/v20230517/models.rb', line 4480 def DeviceId @DeviceId end |
#Ip ⇒ Object
4480 4481 4482 |
# File 'lib/v20230517/models.rb', line 4480 def Ip @Ip end |
#Name ⇒ Object
4480 4481 4482 |
# File 'lib/v20230517/models.rb', line 4480 def Name @Name end |
#Port ⇒ Object
4480 4481 4482 |
# File 'lib/v20230517/models.rb', line 4480 def Port @Port end |
#ProtocolType ⇒ Object
4480 4481 4482 |
# File 'lib/v20230517/models.rb', line 4480 def ProtocolType @ProtocolType end |
#ProtocolTypeName ⇒ Object
4480 4481 4482 |
# File 'lib/v20230517/models.rb', line 4480 def ProtocolTypeName @ProtocolTypeName end |
#Status ⇒ Object
4480 4481 4482 |
# File 'lib/v20230517/models.rb', line 4480 def Status @Status end |
#Type ⇒ Object
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 |