Class: TencentCloud::Iss::V20230517::AddDeviceData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::AddDeviceData
- Defined in:
- lib/v20230517/models.rb
Overview
增加设备接口返回数据
Instance Attribute Summary collapse
- #AccessProtocol ⇒ Object
- #AppId ⇒ Object
- #ClusterId ⇒ Object
- #ClusterName ⇒ Object
- #Code ⇒ Object
- #Description ⇒ Object
- #DeviceId ⇒ Object
- #GatewayId ⇒ Object
- #Ip ⇒ Object
- #Name ⇒ Object
- #OrganizationId ⇒ Object
- #Password ⇒ Object
- #Port ⇒ Object
- #ProtocolType ⇒ Object
- #Status ⇒ Object
- #TransportProtocol ⇒ Object
- #Type ⇒ Object
- #Username ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deviceid = nil, code = nil, name = nil, accessprotocol = nil, type = nil, clusterid = nil, clustername = nil, transportprotocol = nil, password = nil, description = nil, status = nil, organizationid = nil, gatewayid = nil, protocoltype = nil, ip = nil, port = nil, username = nil, appid = nil) ⇒ AddDeviceData
constructor
A new instance of AddDeviceData.
Constructor Details
#initialize(deviceid = nil, code = nil, name = nil, accessprotocol = nil, type = nil, clusterid = nil, clustername = nil, transportprotocol = nil, password = nil, description = nil, status = nil, organizationid = nil, gatewayid = nil, protocoltype = nil, ip = nil, port = nil, username = nil, appid = nil) ⇒ AddDeviceData
Returns a new instance of AddDeviceData.
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 |
# File 'lib/v20230517/models.rb', line 379 def initialize(deviceid=nil, code=nil, name=nil, accessprotocol=nil, type=nil, clusterid=nil, clustername=nil, transportprotocol=nil, password=nil, description=nil, status=nil, organizationid=nil, gatewayid=nil, protocoltype=nil, ip=nil, port=nil, username=nil, appid=nil) @DeviceId = deviceid @Code = code @Name = name @AccessProtocol = accessprotocol @Type = type @ClusterId = clusterid @ClusterName = clustername @TransportProtocol = transportprotocol @Password = password @Description = description @Status = status @OrganizationId = organizationid @GatewayId = gatewayid @ProtocolType = protocoltype @Ip = ip @Port = port @Username = username @AppId = appid end |
Instance Attribute Details
#AccessProtocol ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def AccessProtocol @AccessProtocol end |
#AppId ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def AppId @AppId end |
#ClusterId ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def ClusterId @ClusterId end |
#ClusterName ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def ClusterName @ClusterName end |
#Code ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def Code @Code end |
#Description ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def Description @Description end |
#DeviceId ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def DeviceId @DeviceId end |
#GatewayId ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def GatewayId @GatewayId end |
#Ip ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def Ip @Ip end |
#Name ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def Name @Name end |
#OrganizationId ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def OrganizationId @OrganizationId end |
#Password ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def Password @Password end |
#Port ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def Port @Port end |
#ProtocolType ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def ProtocolType @ProtocolType end |
#Status ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def Status @Status end |
#TransportProtocol ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def TransportProtocol @TransportProtocol end |
#Type ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def Type @Type end |
#Username ⇒ Object
377 378 379 |
# File 'lib/v20230517/models.rb', line 377 def Username @Username end |
Instance Method Details
#deserialize(params) ⇒ Object
400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 |
# File 'lib/v20230517/models.rb', line 400 def deserialize(params) @DeviceId = params['DeviceId'] @Code = params['Code'] @Name = params['Name'] @AccessProtocol = params['AccessProtocol'] @Type = params['Type'] @ClusterId = params['ClusterId'] @ClusterName = params['ClusterName'] @TransportProtocol = params['TransportProtocol'] @Password = params['Password'] @Description = params['Description'] @Status = params['Status'] @OrganizationId = params['OrganizationId'] @GatewayId = params['GatewayId'] @ProtocolType = params['ProtocolType'] @Ip = params['Ip'] @Port = params['Port'] @Username = params['Username'] @AppId = params['AppId'] end |