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.
3980 3981 3982 3983 3984 |
# File 'lib/v20210527/models.rb', line 3980 def initialize(items=nil, =nil, requestid=nil) @Items = items @Timestamp = @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
3978 3979 3980 |
# File 'lib/v20210527/models.rb', line 3978 def Items @Items end |
#RequestId ⇒ Object
3978 3979 3980 |
# File 'lib/v20210527/models.rb', line 3978 def RequestId @RequestId end |
#Timestamp ⇒ Object
3978 3979 3980 |
# File 'lib/v20210527/models.rb', line 3978 def Timestamp @Timestamp end |
Instance Method Details
#deserialize(params) ⇒ Object
3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 |
# File 'lib/v20210527/models.rb', line 3986 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 |