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.



7534
7535
7536
7537
7538
7539
# File 'lib/v20210820/models.rb', line 7534

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:

    页大小



7532
7533
7534
# File 'lib/v20210820/models.rb', line 7532

def Items
  @Items
end

#PageNumberObject

Parameters:

  • Items:

    工作流信息列表

  • TotalCount:

    总条数

  • PageNumber:

    页号

  • PageSize:

    页大小



7532
7533
7534
# File 'lib/v20210820/models.rb', line 7532

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • Items:

    工作流信息列表

  • TotalCount:

    总条数

  • PageNumber:

    页号

  • PageSize:

    页大小



7532
7533
7534
# File 'lib/v20210820/models.rb', line 7532

def PageSize
  @PageSize
end

#TotalCountObject

Parameters:

  • Items:

    工作流信息列表

  • TotalCount:

    总条数

  • PageNumber:

    页号

  • PageSize:

    页大小



7532
7533
7534
# File 'lib/v20210820/models.rb', line 7532

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
# File 'lib/v20210820/models.rb', line 7541

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