Class: TencentCloud::Ic::V20190307::CardList
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ic::V20190307::CardList
- Defined in:
- lib/v20190307/models.rb
Overview
卡片列表数据
Instance Attribute Summary collapse
-
#List ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, list = nil) ⇒ CardList
constructor
A new instance of CardList.
Constructor Details
#initialize(total = nil, list = nil) ⇒ CardList
Returns a new instance of CardList.
218 219 220 221 |
# File 'lib/v20190307/models.rb', line 218 def initialize(total=nil, list=nil) @Total = total @List = list end |
Instance Attribute Details
#List ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
216 217 218 |
# File 'lib/v20190307/models.rb', line 216 def List @List end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
216 217 218 |
# File 'lib/v20190307/models.rb', line 216 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
223 224 225 226 227 228 229 230 231 232 233 |
# File 'lib/v20190307/models.rb', line 223 def deserialize(params) @Total = params['Total'] unless params['List'].nil? @List = [] params['List'].each do |i| cardinfo_tmp = CardInfo.new cardinfo_tmp.deserialize(i) @List << cardinfo_tmp end end end |