Class: TencentCloud::Dbbrain::V20210527::DescribeRedisTopKeyPrefixListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::DescribeRedisTopKeyPrefixListResponse
- Defined in:
- lib/v20210527/models.rb
Overview
DescribeRedisTopKeyPrefixList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(items = nil, timestamp = nil, requestid = nil) ⇒ DescribeRedisTopKeyPrefixListResponse
constructor
A new instance of DescribeRedisTopKeyPrefixListResponse.
Constructor Details
#initialize(items = nil, timestamp = nil, requestid = nil) ⇒ DescribeRedisTopKeyPrefixListResponse
Returns a new instance of DescribeRedisTopKeyPrefixListResponse.
4053 4054 4055 4056 4057 |
# File 'lib/v20210527/models.rb', line 4053 def initialize(items=nil, =nil, requestid=nil) @Items = items @Timestamp = @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
4051 4052 4053 |
# File 'lib/v20210527/models.rb', line 4051 def Items @Items end |
#RequestId ⇒ Object
4051 4052 4053 |
# File 'lib/v20210527/models.rb', line 4051 def RequestId @RequestId end |
#Timestamp ⇒ Object
4051 4052 4053 |
# File 'lib/v20210527/models.rb', line 4051 def Timestamp @Timestamp end |
Instance Method Details
#deserialize(params) ⇒ Object
4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 |
# File 'lib/v20210527/models.rb', line 4059 def deserialize(params) unless params['Items'].nil? @Items = [] params['Items'].each do |i| redisprekeyspacedata_tmp = RedisPreKeySpaceData.new redisprekeyspacedata_tmp.deserialize(i) @Items << redisprekeyspacedata_tmp end end @Timestamp = params['Timestamp'] @RequestId = params['RequestId'] end |