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.



10763
10764
10765
10766
10767
10768
# File 'lib/v20210820/models.rb', line 10763

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:

    页大小



10761
10762
10763
# File 'lib/v20210820/models.rb', line 10761

def Items
  @Items
end

#PageNumberObject

Parameters:

  • Items:

    工作流信息列表

  • TotalCount:

    总条数

  • PageNumber:

    页号

  • PageSize:

    页大小



10761
10762
10763
# File 'lib/v20210820/models.rb', line 10761

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • Items:

    工作流信息列表

  • TotalCount:

    总条数

  • PageNumber:

    页号

  • PageSize:

    页大小



10761
10762
10763
# File 'lib/v20210820/models.rb', line 10761

def PageSize
  @PageSize
end

#TotalCountObject

Parameters:

  • Items:

    工作流信息列表

  • TotalCount:

    总条数

  • PageNumber:

    页号

  • PageSize:

    页大小



10761
10762
10763
# File 'lib/v20210820/models.rb', line 10761

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
# File 'lib/v20210820/models.rb', line 10770

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