Class: TencentCloud::Dasb::V20191018::DeviceAccount
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dasb::V20191018::DeviceAccount
- Defined in:
- lib/v20191018/models.rb
Overview
主机账号
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, deviceid = nil, account = nil, boundpassword = nil, boundprivatekey = nil) ⇒ DeviceAccount
constructor
A new instance of DeviceAccount.
Constructor Details
#initialize(id = nil, deviceid = nil, account = nil, boundpassword = nil, boundprivatekey = nil) ⇒ DeviceAccount
3130 3131 3132 3133 3134 3135 3136 |
# File 'lib/v20191018/models.rb', line 3130 def initialize(id=nil, deviceid=nil, account=nil, boundpassword=nil, boundprivatekey=nil) @Id = id @DeviceId = deviceid @Account = account @BoundPassword = boundpassword @BoundPrivateKey = boundprivatekey end |
Instance Attribute Details
#Account ⇒ Object
3128 3129 3130 |
# File 'lib/v20191018/models.rb', line 3128 def Account @Account end |
#BoundPassword ⇒ Object
3128 3129 3130 |
# File 'lib/v20191018/models.rb', line 3128 def BoundPassword @BoundPassword end |
#BoundPrivateKey ⇒ Object
3128 3129 3130 |
# File 'lib/v20191018/models.rb', line 3128 def BoundPrivateKey @BoundPrivateKey end |
#DeviceId ⇒ Object
3128 3129 3130 |
# File 'lib/v20191018/models.rb', line 3128 def DeviceId @DeviceId end |
#Id ⇒ Object
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 |