Class: TencentCloud::Cdb::V20170320::DescribeCloneListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeCloneListResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeCloneList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeCloneListResponse
constructor
A new instance of DescribeCloneListResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeCloneListResponse
Returns a new instance of DescribeCloneListResponse.
5778 5779 5780 5781 5782 |
# File 'lib/v20170320/models.rb', line 5778 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
5776 5777 5778 |
# File 'lib/v20170320/models.rb', line 5776 def Items @Items end |
#RequestId ⇒ Object
5776 5777 5778 |
# File 'lib/v20170320/models.rb', line 5776 def RequestId @RequestId end |
#TotalCount ⇒ Object
5776 5777 5778 |
# File 'lib/v20170320/models.rb', line 5776 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 |
# File 'lib/v20170320/models.rb', line 5784 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| cloneitem_tmp = CloneItem.new cloneitem_tmp.deserialize(i) @Items << cloneitem_tmp end end @RequestId = params['RequestId'] end |