Class: TencentCloud::Iottid::V20190411::TidKeysInfo

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

Overview

系统生成的TID和密钥信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DeviceCodeObject

Parameters:

  • Tid:

    TID号码

  • PublicKey:

    公钥

  • PrivateKey:

    私钥

  • Psk:

    共享密钥

  • DownloadUrl:

    软加固白盒密钥下载地址

  • DeviceCode:

    软加固设备标识码



334
335
336
# File 'lib/v20190411/models.rb', line 334

def DeviceCode
  @DeviceCode
end

#DownloadUrlObject

Parameters:

  • Tid:

    TID号码

  • PublicKey:

    公钥

  • PrivateKey:

    私钥

  • Psk:

    共享密钥

  • DownloadUrl:

    软加固白盒密钥下载地址

  • DeviceCode:

    软加固设备标识码



334
335
336
# File 'lib/v20190411/models.rb', line 334

def DownloadUrl
  @DownloadUrl
end

#PrivateKeyObject

Parameters:

  • Tid:

    TID号码

  • PublicKey:

    公钥

  • PrivateKey:

    私钥

  • Psk:

    共享密钥

  • DownloadUrl:

    软加固白盒密钥下载地址

  • DeviceCode:

    软加固设备标识码



334
335
336
# File 'lib/v20190411/models.rb', line 334

def PrivateKey
  @PrivateKey
end

#PskObject

Parameters:

  • Tid:

    TID号码

  • PublicKey:

    公钥

  • PrivateKey:

    私钥

  • Psk:

    共享密钥

  • DownloadUrl:

    软加固白盒密钥下载地址

  • DeviceCode:

    软加固设备标识码



334
335
336
# File 'lib/v20190411/models.rb', line 334

def Psk
  @Psk
end

#PublicKeyObject

Parameters:

  • Tid:

    TID号码

  • PublicKey:

    公钥

  • PrivateKey:

    私钥

  • Psk:

    共享密钥

  • DownloadUrl:

    软加固白盒密钥下载地址

  • DeviceCode:

    软加固设备标识码



334
335
336
# File 'lib/v20190411/models.rb', line 334

def PublicKey
  @PublicKey
end

#TidObject

Parameters:

  • Tid:

    TID号码

  • PublicKey:

    公钥

  • PrivateKey:

    私钥

  • Psk:

    共享密钥

  • DownloadUrl:

    软加固白盒密钥下载地址

  • DeviceCode:

    软加固设备标识码



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