Class: TencentCloud::Dbbrain::V20210527::DescribeRedisCommandOverviewResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::DescribeRedisCommandOverviewResponse
- Defined in:
- lib/v20210527/models.rb
Overview
DescribeRedisCommandOverview返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cmdlist = nil, requestid = nil) ⇒ DescribeRedisCommandOverviewResponse
constructor
A new instance of DescribeRedisCommandOverviewResponse.
Constructor Details
#initialize(cmdlist = nil, requestid = nil) ⇒ DescribeRedisCommandOverviewResponse
Returns a new instance of DescribeRedisCommandOverviewResponse.
3653 3654 3655 3656 |
# File 'lib/v20210527/models.rb', line 3653 def initialize(cmdlist=nil, requestid=nil) @CmdList = cmdlist @RequestId = requestid end |
Instance Attribute Details
#CmdList ⇒ Object
3651 3652 3653 |
# File 'lib/v20210527/models.rb', line 3651 def CmdList @CmdList end |
#RequestId ⇒ Object
3651 3652 3653 |
# File 'lib/v20210527/models.rb', line 3651 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 |
# File 'lib/v20210527/models.rb', line 3658 def deserialize(params) unless params['CmdList'].nil? @CmdList = [] params['CmdList'].each do |i| rediscmdinfo_tmp = RedisCmdInfo.new rediscmdinfo_tmp.deserialize(i) @CmdList << rediscmdinfo_tmp end end @RequestId = params['RequestId'] end |