Class: TencentCloud::Wedata::V20250806::BackfillInstanceCollection
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20250806::BackfillInstanceCollection
- Defined in:
- lib/v20250806/models.rb
Overview
补录计划的所有实例
Instance Attribute Summary collapse
- #Items ⇒ Object
- #PageNumber ⇒ Object
- #PageSize ⇒ Object
- #TotalCount ⇒ Object
- #TotalPageNumber ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pagenumber = nil, pagesize = nil, totalpagenumber = nil, totalcount = nil, items = nil) ⇒ BackfillInstanceCollection
constructor
A new instance of BackfillInstanceCollection.
Constructor Details
#initialize(pagenumber = nil, pagesize = nil, totalpagenumber = nil, totalcount = nil, items = nil) ⇒ BackfillInstanceCollection
Returns a new instance of BackfillInstanceCollection.
488 489 490 491 492 493 494 |
# File 'lib/v20250806/models.rb', line 488 def initialize(pagenumber=nil, pagesize=nil, totalpagenumber=nil, totalcount=nil, items=nil) @PageNumber = pagenumber @PageSize = pagesize @TotalPageNumber = totalpagenumber @TotalCount = totalcount @Items = items end |
Instance Attribute Details
#Items ⇒ Object
486 487 488 |
# File 'lib/v20250806/models.rb', line 486 def Items @Items end |
#PageNumber ⇒ Object
486 487 488 |
# File 'lib/v20250806/models.rb', line 486 def PageNumber @PageNumber end |
#PageSize ⇒ Object
486 487 488 |
# File 'lib/v20250806/models.rb', line 486 def PageSize @PageSize end |
#TotalCount ⇒ Object
486 487 488 |
# File 'lib/v20250806/models.rb', line 486 def TotalCount @TotalCount end |
#TotalPageNumber ⇒ Object
486 487 488 |
# File 'lib/v20250806/models.rb', line 486 def TotalPageNumber @TotalPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
496 497 498 499 500 501 502 503 504 505 506 507 508 509 |
# File 'lib/v20250806/models.rb', line 496 def deserialize(params) @PageNumber = params['PageNumber'] @PageSize = params['PageSize'] @TotalPageNumber = params['TotalPageNumber'] @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| backfillinstance_tmp = BackfillInstance.new backfillinstance_tmp.deserialize(i) @Items << backfillinstance_tmp end end end |