Class: TencentCloud::Dts::V20211206::DescribeSubscribeJobsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::DescribeSubscribeJobsResponse
- Defined in:
- lib/v20211206/models.rb
Overview
DescribeSubscribeJobs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeSubscribeJobsResponse
constructor
A new instance of DescribeSubscribeJobsResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeSubscribeJobsResponse
Returns a new instance of DescribeSubscribeJobsResponse.
3221 3222 3223 3224 3225 |
# File 'lib/v20211206/models.rb', line 3221 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
3219 3220 3221 |
# File 'lib/v20211206/models.rb', line 3219 def Items @Items end |
#RequestId ⇒ Object
3219 3220 3221 |
# File 'lib/v20211206/models.rb', line 3219 def RequestId @RequestId end |
#TotalCount ⇒ Object
3219 3220 3221 |
# File 'lib/v20211206/models.rb', line 3219 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 |
# File 'lib/v20211206/models.rb', line 3227 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 |