Class: TencentCloud::Bm::V20180423::DescribeUserCmdsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bm::V20180423::DescribeUserCmdsResponse
- Defined in:
- lib/v20180423/models.rb
Overview
DescribeUserCmds返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, usercmds = nil, requestid = nil) ⇒ DescribeUserCmdsResponse
constructor
A new instance of DescribeUserCmdsResponse.
Constructor Details
#initialize(totalcount = nil, usercmds = nil, requestid = nil) ⇒ DescribeUserCmdsResponse
Returns a new instance of DescribeUserCmdsResponse.
2105 2106 2107 2108 2109 |
# File 'lib/v20180423/models.rb', line 2105 def initialize(totalcount=nil, usercmds=nil, requestid=nil) @TotalCount = totalcount @UserCmds = usercmds @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2103 2104 2105 |
# File 'lib/v20180423/models.rb', line 2103 def RequestId @RequestId end |
#TotalCount ⇒ Object
2103 2104 2105 |
# File 'lib/v20180423/models.rb', line 2103 def TotalCount @TotalCount end |
#UserCmds ⇒ Object
2103 2104 2105 |
# File 'lib/v20180423/models.rb', line 2103 def UserCmds @UserCmds end |
Instance Method Details
#deserialize(params) ⇒ Object
2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 |
# File 'lib/v20180423/models.rb', line 2111 def deserialize(params) @TotalCount = params['TotalCount'] unless params['UserCmds'].nil? @UserCmds = [] params['UserCmds'].each do |i| usercmd_tmp = UserCmd.new usercmd_tmp.deserialize(i) @UserCmds << usercmd_tmp end end @RequestId = params['RequestId'] end |