Class: TencentCloud::Wedata::V20250806::TaskInstancePage
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20250806::TaskInstancePage
- Defined in:
- lib/v20250806/models.rb
Overview
实例列表分页实体
Instance Attribute Summary collapse
-
#Items ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PageNumber ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PageSize ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalPageNumber ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, totalpagenumber = nil, pagenumber = nil, pagesize = nil, items = nil) ⇒ TaskInstancePage
constructor
A new instance of TaskInstancePage.
Constructor Details
#initialize(totalcount = nil, totalpagenumber = nil, pagenumber = nil, pagesize = nil, items = nil) ⇒ TaskInstancePage
Returns a new instance of TaskInstancePage.
8105 8106 8107 8108 8109 8110 8111 |
# File 'lib/v20250806/models.rb', line 8105 def initialize(totalcount=nil, totalpagenumber=nil, pagenumber=nil, pagesize=nil, items=nil) @TotalCount = totalcount @TotalPageNumber = totalpagenumber @PageNumber = pagenumber @PageSize = pagesize @Items = items end |
Instance Attribute Details
#Items ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8103 8104 8105 |
# File 'lib/v20250806/models.rb', line 8103 def Items @Items end |
#PageNumber ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8103 8104 8105 |
# File 'lib/v20250806/models.rb', line 8103 def PageNumber @PageNumber end |
#PageSize ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8103 8104 8105 |
# File 'lib/v20250806/models.rb', line 8103 def PageSize @PageSize end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8103 8104 8105 |
# File 'lib/v20250806/models.rb', line 8103 def TotalCount @TotalCount end |
#TotalPageNumber ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8103 8104 8105 |
# File 'lib/v20250806/models.rb', line 8103 def TotalPageNumber @TotalPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 |
# File 'lib/v20250806/models.rb', line 8113 def deserialize(params) @TotalCount = params['TotalCount'] @TotalPageNumber = params['TotalPageNumber'] @PageNumber = params['PageNumber'] @PageSize = params['PageSize'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| taskinstance_tmp = TaskInstance.new taskinstance_tmp.deserialize(i) @Items << taskinstance_tmp end end end |