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.
3580 3581 3582 3583 |
# File 'lib/v20210527/models.rb', line 3580 def initialize(cmdlist=nil, requestid=nil) @CmdList = cmdlist @RequestId = requestid end |
Instance Attribute Details
#CmdList ⇒ Object
3578 3579 3580 |
# File 'lib/v20210527/models.rb', line 3578 def CmdList @CmdList end |
#RequestId ⇒ Object
3578 3579 3580 |
# File 'lib/v20210527/models.rb', line 3578 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 |
# File 'lib/v20210527/models.rb', line 3585 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 |