Class: TencentCloud::Wedata::V20210820::DescribeFolderWorkflowListData

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

Overview

文件夹分页信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeFolderWorkflowListData.



10697
10698
10699
10700
10701
10702
# File 'lib/v20210820/models.rb', line 10697

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

Instance Attribute Details

#ItemsObject

Parameters:

  • Items:

    工作流信息列表

  • TotalCount:

    总条数

  • PageNumber:

    页号

  • PageSize:

    页大小



10695
10696
10697
# File 'lib/v20210820/models.rb', line 10695

def Items
  @Items
end

#PageNumberObject

Parameters:

  • Items:

    工作流信息列表

  • TotalCount:

    总条数

  • PageNumber:

    页号

  • PageSize:

    页大小



10695
10696
10697
# File 'lib/v20210820/models.rb', line 10695

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • Items:

    工作流信息列表

  • TotalCount:

    总条数

  • PageNumber:

    页号

  • PageSize:

    页大小



10695
10696
10697
# File 'lib/v20210820/models.rb', line 10695

def PageSize
  @PageSize
end

#TotalCountObject

Parameters:

  • Items:

    工作流信息列表

  • TotalCount:

    总条数

  • PageNumber:

    页号

  • PageSize:

    页大小



10695
10696
10697
# File 'lib/v20210820/models.rb', line 10695

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
# File 'lib/v20210820/models.rb', line 10704

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