Class: TencentCloud::Postgres::V20170312::DescribeDBSlowlogsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::DescribeDBSlowlogsResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeDBSlowlogs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, detail = nil, requestid = nil) ⇒ DescribeDBSlowlogsResponse
constructor
A new instance of DescribeDBSlowlogsResponse.
Constructor Details
#initialize(totalcount = nil, detail = nil, requestid = nil) ⇒ DescribeDBSlowlogsResponse
Returns a new instance of DescribeDBSlowlogsResponse.
3417 3418 3419 3420 3421 |
# File 'lib/v20170312/models.rb', line 3417 def initialize(totalcount=nil, detail=nil, requestid=nil) @TotalCount = totalcount @Detail = detail @RequestId = requestid end |
Instance Attribute Details
#Detail ⇒ Object
3415 3416 3417 |
# File 'lib/v20170312/models.rb', line 3415 def Detail @Detail end |
#RequestId ⇒ Object
3415 3416 3417 |
# File 'lib/v20170312/models.rb', line 3415 def RequestId @RequestId end |
#TotalCount ⇒ Object
3415 3416 3417 |
# File 'lib/v20170312/models.rb', line 3415 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3423 3424 3425 3426 3427 3428 3429 3430 |
# File 'lib/v20170312/models.rb', line 3423 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Detail'].nil? @Detail = SlowlogDetail.new @Detail.deserialize(params['Detail']) end @RequestId = params['RequestId'] end |