Class: TencentCloud::Iottid::V20190411::TidKeysInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iottid::V20190411::TidKeysInfo
- Defined in:
- lib/v20190411/models.rb
Overview
系统生成的TID和密钥信息
Instance Attribute Summary collapse
- #DeviceCode ⇒ Object
- #DownloadUrl ⇒ Object
- #PrivateKey ⇒ Object
- #Psk ⇒ Object
- #PublicKey ⇒ Object
- #Tid ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tid = nil, publickey = nil, privatekey = nil, psk = nil, downloadurl = nil, devicecode = nil) ⇒ TidKeysInfo
constructor
A new instance of TidKeysInfo.
Constructor Details
#initialize(tid = nil, publickey = nil, privatekey = nil, psk = nil, downloadurl = nil, devicecode = nil) ⇒ TidKeysInfo
Returns a new instance of TidKeysInfo.
336 337 338 339 340 341 342 343 |
# File 'lib/v20190411/models.rb', line 336 def initialize(tid=nil, publickey=nil, privatekey=nil, psk=nil, downloadurl=nil, devicecode=nil) @Tid = tid @PublicKey = publickey @PrivateKey = privatekey @Psk = psk @DownloadUrl = downloadurl @DeviceCode = devicecode end |
Instance Attribute Details
#DeviceCode ⇒ Object
334 335 336 |
# File 'lib/v20190411/models.rb', line 334 def DeviceCode @DeviceCode end |
#DownloadUrl ⇒ Object
334 335 336 |
# File 'lib/v20190411/models.rb', line 334 def DownloadUrl @DownloadUrl end |
#PrivateKey ⇒ Object
334 335 336 |
# File 'lib/v20190411/models.rb', line 334 def PrivateKey @PrivateKey end |
#Psk ⇒ Object
334 335 336 |
# File 'lib/v20190411/models.rb', line 334 def Psk @Psk end |
#PublicKey ⇒ Object
334 335 336 |
# File 'lib/v20190411/models.rb', line 334 def PublicKey @PublicKey end |
#Tid ⇒ Object
334 335 336 |
# File 'lib/v20190411/models.rb', line 334 def Tid @Tid end |
Instance Method Details
#deserialize(params) ⇒ Object
345 346 347 348 349 350 351 352 |
# File 'lib/v20190411/models.rb', line 345 def deserialize(params) @Tid = params['Tid'] @PublicKey = params['PublicKey'] @PrivateKey = params['PrivateKey'] @Psk = params['Psk'] @DownloadUrl = params['DownloadUrl'] @DeviceCode = params['DeviceCode'] end |