Class: TencentCloud::Dasb::V20191018::BindDeviceAccountPrivateKeyRequest

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

Overview

BindDeviceAccountPrivateKey请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, privatekey = nil, privatekeypassword = nil) ⇒ BindDeviceAccountPrivateKeyRequest

Returns a new instance of BindDeviceAccountPrivateKeyRequest.



426
427
428
429
430
# File 'lib/v20191018/models.rb', line 426

def initialize(id=nil, privatekey=nil, privatekeypassword=nil)
  @Id = id
  @PrivateKey = privatekey
  @PrivateKeyPassword = privatekeypassword
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    主机账号ID

  • PrivateKey:

    主机账号私钥,最新长度128字节,最大长度8192字节

  • PrivateKeyPassword:

    主机账号私钥口令,最大长度256字节



424
425
426
# File 'lib/v20191018/models.rb', line 424

def Id
  @Id
end

#PrivateKeyObject

Parameters:

  • Id:

    主机账号ID

  • PrivateKey:

    主机账号私钥,最新长度128字节,最大长度8192字节

  • PrivateKeyPassword:

    主机账号私钥口令,最大长度256字节



424
425
426
# File 'lib/v20191018/models.rb', line 424

def PrivateKey
  @PrivateKey
end

#PrivateKeyPasswordObject

Parameters:

  • Id:

    主机账号ID

  • PrivateKey:

    主机账号私钥,最新长度128字节,最大长度8192字节

  • PrivateKeyPassword:

    主机账号私钥口令,最大长度256字节



424
425
426
# File 'lib/v20191018/models.rb', line 424

def PrivateKeyPassword
  @PrivateKeyPassword
end

Instance Method Details

#deserialize(params) ⇒ Object



432
433
434
435
436
# File 'lib/v20191018/models.rb', line 432

def deserialize(params)
  @Id = params['Id']
  @PrivateKey = params['PrivateKey']
  @PrivateKeyPassword = params['PrivateKeyPassword']
end