Class: TencentCloud::Cdb::V20170320::DescribeDBImportRecordsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeDBImportRecordsResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeDBImportRecords返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeDBImportRecordsResponse
constructor
A new instance of DescribeDBImportRecordsResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeDBImportRecordsResponse
Returns a new instance of DescribeDBImportRecordsResponse.
6073 6074 6075 6076 6077 |
# File 'lib/v20170320/models.rb', line 6073 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
6071 6072 6073 |
# File 'lib/v20170320/models.rb', line 6071 def Items @Items end |
#RequestId ⇒ Object
6071 6072 6073 |
# File 'lib/v20170320/models.rb', line 6071 def RequestId @RequestId end |
#TotalCount ⇒ Object
6071 6072 6073 |
# File 'lib/v20170320/models.rb', line 6071 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 |
# File 'lib/v20170320/models.rb', line 6079 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| importrecord_tmp = ImportRecord.new importrecord_tmp.deserialize(i) @Items << importrecord_tmp end end @RequestId = params['RequestId'] end |