Class: TencentCloud::Dasb::V20191018::DeviceAccount

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

Overview

主机账号

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, deviceid = nil, account = nil, boundpassword = nil, boundprivatekey = nil) ⇒ DeviceAccount

Returns a new instance of DeviceAccount.



3130
3131
3132
3133
3134
3135
3136
# File 'lib/v20191018/models.rb', line 3130

def initialize(id=nil, deviceid=nil, =nil, boundpassword=nil, boundprivatekey=nil)
  @Id = id
  @DeviceId = deviceid
  @Account = 
  @BoundPassword = boundpassword
  @BoundPrivateKey = boundprivatekey
end

Instance Attribute Details

#AccountObject

Parameters:

  • Id:

    账号ID

  • DeviceId:

    主机ID

  • Account:

    账号名

  • BoundPassword:

    true-已托管密码,false-未托管密码

  • BoundPrivateKey:

    true-已托管私钥,false-未托管私钥



3128
3129
3130
# File 'lib/v20191018/models.rb', line 3128

def Account
  @Account
end

#BoundPasswordObject

Parameters:

  • Id:

    账号ID

  • DeviceId:

    主机ID

  • Account:

    账号名

  • BoundPassword:

    true-已托管密码,false-未托管密码

  • BoundPrivateKey:

    true-已托管私钥,false-未托管私钥



3128
3129
3130
# File 'lib/v20191018/models.rb', line 3128

def BoundPassword
  @BoundPassword
end

#BoundPrivateKeyObject

Parameters:

  • Id:

    账号ID

  • DeviceId:

    主机ID

  • Account:

    账号名

  • BoundPassword:

    true-已托管密码,false-未托管密码

  • BoundPrivateKey:

    true-已托管私钥,false-未托管私钥



3128
3129
3130
# File 'lib/v20191018/models.rb', line 3128

def BoundPrivateKey
  @BoundPrivateKey
end

#DeviceIdObject

Parameters:

  • Id:

    账号ID

  • DeviceId:

    主机ID

  • Account:

    账号名

  • BoundPassword:

    true-已托管密码,false-未托管密码

  • BoundPrivateKey:

    true-已托管私钥,false-未托管私钥



3128
3129
3130
# File 'lib/v20191018/models.rb', line 3128

def DeviceId
  @DeviceId
end

#IdObject

Parameters:

  • Id:

    账号ID

  • DeviceId:

    主机ID

  • Account:

    账号名

  • BoundPassword:

    true-已托管密码,false-未托管密码

  • BoundPrivateKey:

    true-已托管私钥,false-未托管私钥



3128
3129
3130
# File 'lib/v20191018/models.rb', line 3128

def Id
  @Id
end

Instance Method Details

#deserialize(params) ⇒ Object



3138
3139
3140
3141
3142
3143
3144
# File 'lib/v20191018/models.rb', line 3138

def deserialize(params)
  @Id = params['Id']
  @DeviceId = params['DeviceId']
  @Account = params['Account']
  @BoundPassword = params['BoundPassword']
  @BoundPrivateKey = params['BoundPrivateKey']
end