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.



7710
7711
7712
7713
7714
7715
# File 'lib/v20210820/models.rb', line 7710

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:

    页大小



7708
7709
7710
# File 'lib/v20210820/models.rb', line 7708

def Items
  @Items
end

#PageNumberObject

Parameters:

  • Items:

    工作流信息列表

  • TotalCount:

    总条数

  • PageNumber:

    页号

  • PageSize:

    页大小



7708
7709
7710
# File 'lib/v20210820/models.rb', line 7708

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • Items:

    工作流信息列表

  • TotalCount:

    总条数

  • PageNumber:

    页号

  • PageSize:

    页大小



7708
7709
7710
# File 'lib/v20210820/models.rb', line 7708

def PageSize
  @PageSize
end

#TotalCountObject

Parameters:

  • Items:

    工作流信息列表

  • TotalCount:

    总条数

  • PageNumber:

    页号

  • PageSize:

    页大小



7708
7709
7710
# File 'lib/v20210820/models.rb', line 7708

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
# File 'lib/v20210820/models.rb', line 7717

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