Class: TencentCloud::Wedata::V20250806::TaskInstanceExecutions

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

Overview

任务实例执行列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, totalpagenumber = nil, items = nil, pagenumber = nil, pagesize = nil) ⇒ TaskInstanceExecutions

Returns a new instance of TaskInstanceExecutions.



12324
12325
12326
12327
12328
12329
12330
# File 'lib/v20250806/models.rb', line 12324

def initialize(totalcount=nil, totalpagenumber=nil, items=nil, pagenumber=nil, pagesize=nil)
  @TotalCount = totalcount
  @TotalPageNumber = totalpagenumber
  @Items = items
  @PageNumber = pagenumber
  @PageSize = pagesize
end

Instance Attribute Details

#ItemsObject

Parameters:

  • TotalCount:

    结果总数

  • TotalPageNumber:

    总页数

  • Items:

    记录列表

  • PageNumber:

    页码

  • PageSize:

    分页大小



12322
12323
12324
# File 'lib/v20250806/models.rb', line 12322

def Items
  @Items
end

#PageNumberObject

Parameters:

  • TotalCount:

    结果总数

  • TotalPageNumber:

    总页数

  • Items:

    记录列表

  • PageNumber:

    页码

  • PageSize:

    分页大小



12322
12323
12324
# File 'lib/v20250806/models.rb', line 12322

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • TotalCount:

    结果总数

  • TotalPageNumber:

    总页数

  • Items:

    记录列表

  • PageNumber:

    页码

  • PageSize:

    分页大小



12322
12323
12324
# File 'lib/v20250806/models.rb', line 12322

def PageSize
  @PageSize
end

#TotalCountObject

Parameters:

  • TotalCount:

    结果总数

  • TotalPageNumber:

    总页数

  • Items:

    记录列表

  • PageNumber:

    页码

  • PageSize:

    分页大小



12322
12323
12324
# File 'lib/v20250806/models.rb', line 12322

def TotalCount
  @TotalCount
end

#TotalPageNumberObject

Parameters:

  • TotalCount:

    结果总数

  • TotalPageNumber:

    总页数

  • Items:

    记录列表

  • PageNumber:

    页码

  • PageSize:

    分页大小



12322
12323
12324
# File 'lib/v20250806/models.rb', line 12322

def TotalPageNumber
  @TotalPageNumber
end

Instance Method Details

#deserialize(params) ⇒ Object



12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
# File 'lib/v20250806/models.rb', line 12332

def deserialize(params)
  @TotalCount = params['TotalCount']
  @TotalPageNumber = params['TotalPageNumber']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      instanceexecution_tmp = InstanceExecution.new
      instanceexecution_tmp.deserialize(i)
      @Items << instanceexecution_tmp
    end
  end
  @PageNumber = params['PageNumber']
  @PageSize = params['PageSize']
end