Class: TencentCloud::Wedata::V20250806::BackfillInstanceCollection

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20250806/models.rb

Overview

补录计划的所有实例

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ItemsObject

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • TotalPageNumber:

    总页数

  • TotalCount:

    记录总数

  • Items:

    补录实例列表



486
487
488
# File 'lib/v20250806/models.rb', line 486

def Items
  @Items
end

#PageNumberObject

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • TotalPageNumber:

    总页数

  • TotalCount:

    记录总数

  • Items:

    补录实例列表



486
487
488
# File 'lib/v20250806/models.rb', line 486

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • TotalPageNumber:

    总页数

  • TotalCount:

    记录总数

  • Items:

    补录实例列表



486
487
488
# File 'lib/v20250806/models.rb', line 486

def PageSize
  @PageSize
end

#TotalCountObject

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • TotalPageNumber:

    总页数

  • TotalCount:

    记录总数

  • Items:

    补录实例列表



486
487
488
# File 'lib/v20250806/models.rb', line 486

def TotalCount
  @TotalCount
end

#TotalPageNumberObject

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • TotalPageNumber:

    总页数

  • TotalCount:

    记录总数

  • Items:

    补录实例列表



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