Class: TencentCloud::Mrs::V20200910::TextTypeListBlock
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::TextTypeListBlock
- Defined in:
- lib/v20200910/models.rb
Overview
文本类型列表块
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(texttypelist = nil, page = nil) ⇒ TextTypeListBlock
constructor
A new instance of TextTypeListBlock.
Constructor Details
#initialize(texttypelist = nil, page = nil) ⇒ TextTypeListBlock
Returns a new instance of TextTypeListBlock.
10590 10591 10592 10593 |
# File 'lib/v20200910/models.rb', line 10590 def initialize(texttypelist=nil, page=nil) @TextTypeList = texttypelist @Page = page end |
Instance Attribute Details
#Page ⇒ Object
10588 10589 10590 |
# File 'lib/v20200910/models.rb', line 10588 def Page @Page end |
#TextTypeList ⇒ Object
10588 10589 10590 |
# File 'lib/v20200910/models.rb', line 10588 def TextTypeList @TextTypeList end |
Instance Method Details
#deserialize(params) ⇒ Object
10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 |
# File 'lib/v20200910/models.rb', line 10595 def deserialize(params) unless params['TextTypeList'].nil? @TextTypeList = [] params['TextTypeList'].each do |i| texttype_tmp = TextType.new texttype_tmp.deserialize(i) @TextTypeList << texttype_tmp end end @Page = params['Page'] end |