Class: TencentCloud::Wedata::V20210820::TaskCollectionParamDTO
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::TaskCollectionParamDTO
- Defined in:
- lib/v20210820/models.rb
Overview
分页数据集
Instance Attribute Summary collapse
-
#Items ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PageCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, pagecount = nil, items = nil) ⇒ TaskCollectionParamDTO
constructor
A new instance of TaskCollectionParamDTO.
Constructor Details
#initialize(totalcount = nil, pagecount = nil, items = nil) ⇒ TaskCollectionParamDTO
Returns a new instance of TaskCollectionParamDTO.
36519 36520 36521 36522 36523 |
# File 'lib/v20210820/models.rb', line 36519 def initialize(totalcount=nil, pagecount=nil, items=nil) @TotalCount = totalcount @PageCount = pagecount @Items = items end |
Instance Attribute Details
#Items ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
36517 36518 36519 |
# File 'lib/v20210820/models.rb', line 36517 def Items @Items end |
#PageCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
36517 36518 36519 |
# File 'lib/v20210820/models.rb', line 36517 def PageCount @PageCount end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
36517 36518 36519 |
# File 'lib/v20210820/models.rb', line 36517 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
36525 36526 36527 36528 36529 36530 36531 36532 36533 36534 36535 36536 |
# File 'lib/v20210820/models.rb', line 36525 def deserialize(params) @TotalCount = params['TotalCount'] @PageCount = params['PageCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| taskformparams_tmp = TaskFormParams.new taskformparams_tmp.deserialize(i) @Items << taskformparams_tmp end end end |