Class: TencentCloud::Wedata::V20250806::WorkflowFolderPage
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20250806::WorkflowFolderPage
- Defined in:
- lib/v20250806/models.rb
Overview
资源文件分页
Instance Attribute Summary collapse
-
#Items ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PageNumber ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PageSize ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalPageNumber ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pagenumber = nil, pagesize = nil, totalcount = nil, totalpagenumber = nil, items = nil) ⇒ WorkflowFolderPage
constructor
A new instance of WorkflowFolderPage.
Constructor Details
#initialize(pagenumber = nil, pagesize = nil, totalcount = nil, totalpagenumber = nil, items = nil) ⇒ WorkflowFolderPage
Returns a new instance of WorkflowFolderPage.
9555 9556 9557 9558 9559 9560 9561 |
# File 'lib/v20250806/models.rb', line 9555 def initialize(pagenumber=nil, pagesize=nil, totalcount=nil, totalpagenumber=nil, items=nil) @PageNumber = pagenumber @PageSize = pagesize @TotalCount = totalcount @TotalPageNumber = totalpagenumber @Items = items end |
Instance Attribute Details
#Items ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9553 9554 9555 |
# File 'lib/v20250806/models.rb', line 9553 def Items @Items end |
#PageNumber ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9553 9554 9555 |
# File 'lib/v20250806/models.rb', line 9553 def PageNumber @PageNumber end |
#PageSize ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9553 9554 9555 |
# File 'lib/v20250806/models.rb', line 9553 def PageSize @PageSize end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9553 9554 9555 |
# File 'lib/v20250806/models.rb', line 9553 def TotalCount @TotalCount end |
#TotalPageNumber ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9553 9554 9555 |
# File 'lib/v20250806/models.rb', line 9553 def TotalPageNumber @TotalPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 |
# File 'lib/v20250806/models.rb', line 9563 def deserialize(params) @PageNumber = params['PageNumber'] @PageSize = params['PageSize'] @TotalCount = params['TotalCount'] @TotalPageNumber = params['TotalPageNumber'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| workflowfolder_tmp = WorkflowFolder.new workflowfolder_tmp.deserialize(i) @Items << workflowfolder_tmp end end end |