Class: TencentCloud::Bm::V20180423::RunUserCmdRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bm::V20180423::RunUserCmdRequest
- Defined in:
- lib/v20180423/models.rb
Overview
RunUserCmd请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cmdid = nil, username = nil, password = nil, instanceids = nil, cmdparam = nil) ⇒ RunUserCmdRequest
constructor
A new instance of RunUserCmdRequest.
Constructor Details
#initialize(cmdid = nil, username = nil, password = nil, instanceids = nil, cmdparam = nil) ⇒ RunUserCmdRequest
Returns a new instance of RunUserCmdRequest.
3664 3665 3666 3667 3668 3669 3670 |
# File 'lib/v20180423/models.rb', line 3664 def initialize(cmdid=nil, username=nil, password=nil, instanceids=nil, cmdparam=nil) @CmdId = cmdid @UserName = username @Password = password @InstanceIds = instanceids @CmdParam = cmdparam end |
Instance Attribute Details
#CmdId ⇒ Object
3662 3663 3664 |
# File 'lib/v20180423/models.rb', line 3662 def CmdId @CmdId end |
#CmdParam ⇒ Object
3662 3663 3664 |
# File 'lib/v20180423/models.rb', line 3662 def CmdParam @CmdParam end |
#InstanceIds ⇒ Object
3662 3663 3664 |
# File 'lib/v20180423/models.rb', line 3662 def InstanceIds @InstanceIds end |
#Password ⇒ Object
3662 3663 3664 |
# File 'lib/v20180423/models.rb', line 3662 def Password @Password end |
#UserName ⇒ Object
3662 3663 3664 |
# File 'lib/v20180423/models.rb', line 3662 def UserName @UserName end |
Instance Method Details
#deserialize(params) ⇒ Object
3672 3673 3674 3675 3676 3677 3678 |
# File 'lib/v20180423/models.rb', line 3672 def deserialize(params) @CmdId = params['CmdId'] @UserName = params['UserName'] @Password = params['Password'] @InstanceIds = params['InstanceIds'] @CmdParam = params['CmdParam'] end |