Class: TencentCloud::Dts::V20180330::DescribeSubscribesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20180330::DescribeSubscribesResponse
- Defined in:
- lib/v20180330/models.rb
Overview
DescribeSubscribes返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeSubscribesResponse
constructor
A new instance of DescribeSubscribesResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeSubscribesResponse
Returns a new instance of DescribeSubscribesResponse.
795 796 797 798 799 |
# File 'lib/v20180330/models.rb', line 795 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
793 794 795 |
# File 'lib/v20180330/models.rb', line 793 def Items @Items end |
#RequestId ⇒ Object
793 794 795 |
# File 'lib/v20180330/models.rb', line 793 def RequestId @RequestId end |
#TotalCount ⇒ Object
793 794 795 |
# File 'lib/v20180330/models.rb', line 793 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
801 802 803 804 805 806 807 808 809 810 811 812 |
# File 'lib/v20180330/models.rb', line 801 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| subscribeinfo_tmp = SubscribeInfo.new subscribeinfo_tmp.deserialize(i) @Items << subscribeinfo_tmp end end @RequestId = params['RequestId'] end |