Class: TencentCloud::Cdb::V20170320::DescribeBinlogsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeBinlogsResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeBinlogs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeBinlogsResponse
constructor
A new instance of DescribeBinlogsResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeBinlogsResponse
Returns a new instance of DescribeBinlogsResponse.
5577 5578 5579 5580 5581 |
# File 'lib/v20170320/models.rb', line 5577 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
5575 5576 5577 |
# File 'lib/v20170320/models.rb', line 5575 def Items @Items end |
#RequestId ⇒ Object
5575 5576 5577 |
# File 'lib/v20170320/models.rb', line 5575 def RequestId @RequestId end |
#TotalCount ⇒ Object
5575 5576 5577 |
# File 'lib/v20170320/models.rb', line 5575 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 |
# File 'lib/v20170320/models.rb', line 5583 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| binloginfo_tmp = BinlogInfo.new binloginfo_tmp.deserialize(i) @Items << binloginfo_tmp end end @RequestId = params['RequestId'] end |