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.
5815 5816 5817 5818 5819 |
# File 'lib/v20170320/models.rb', line 5815 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
5813 5814 5815 |
# File 'lib/v20170320/models.rb', line 5813 def Items @Items end |
#RequestId ⇒ Object
5813 5814 5815 |
# File 'lib/v20170320/models.rb', line 5813 def RequestId @RequestId end |
#TotalCount ⇒ Object
5813 5814 5815 |
# File 'lib/v20170320/models.rb', line 5813 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 |
# File 'lib/v20170320/models.rb', line 5821 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 |