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.
36163 36164 36165 36166 36167 |
# File 'lib/v20210820/models.rb', line 36163 def initialize(totalcount=nil, pagecount=nil, items=nil) @TotalCount = totalcount @PageCount = pagecount @Items = items end |
Instance Attribute Details
#Items ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
36161 36162 36163 |
# File 'lib/v20210820/models.rb', line 36161 def Items @Items end |
#PageCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
36161 36162 36163 |
# File 'lib/v20210820/models.rb', line 36161 def PageCount @PageCount end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
36161 36162 36163 |
# File 'lib/v20210820/models.rb', line 36161 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
36169 36170 36171 36172 36173 36174 36175 36176 36177 36178 36179 36180 |
# File 'lib/v20210820/models.rb', line 36169 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 |