Class: TencentCloud::Postgres::V20170312::DescribeDBErrlogsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::DescribeDBErrlogsResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeDBErrlogs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, details = nil, requestid = nil) ⇒ DescribeDBErrlogsResponse
constructor
A new instance of DescribeDBErrlogsResponse.
Constructor Details
#initialize(totalcount = nil, details = nil, requestid = nil) ⇒ DescribeDBErrlogsResponse
Returns a new instance of DescribeDBErrlogsResponse.
3075 3076 3077 3078 3079 |
# File 'lib/v20170312/models.rb', line 3075 def initialize(totalcount=nil, details=nil, requestid=nil) @TotalCount = totalcount @Details = details @RequestId = requestid end |
Instance Attribute Details
#Details ⇒ Object
3073 3074 3075 |
# File 'lib/v20170312/models.rb', line 3073 def Details @Details end |
#RequestId ⇒ Object
3073 3074 3075 |
# File 'lib/v20170312/models.rb', line 3073 def RequestId @RequestId end |
#TotalCount ⇒ Object
3073 3074 3075 |
# File 'lib/v20170312/models.rb', line 3073 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 |
# File 'lib/v20170312/models.rb', line 3081 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Details'].nil? @Details = [] params['Details'].each do |i| errlogdetail_tmp = ErrLogDetail.new errlogdetail_tmp.deserialize(i) @Details << errlogdetail_tmp end end @RequestId = params['RequestId'] end |