Class: TencentCloud::Mrs::V20200910::TextType
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::TextType
- Defined in:
- lib/v20200910/models.rb
Overview
文本类型
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, level = nil, name = nil) ⇒ TextType
constructor
A new instance of TextType.
Constructor Details
#initialize(id = nil, level = nil, name = nil) ⇒ TextType
10568 10569 10570 10571 10572 |
# File 'lib/v20200910/models.rb', line 10568 def initialize(id=nil, level=nil, name=nil) @Id = id @Level = level @Name = name end |
Instance Attribute Details
#Id ⇒ Object
10566 10567 10568 |
# File 'lib/v20200910/models.rb', line 10566 def Id @Id end |
#Level ⇒ Object
10566 10567 10568 |
# File 'lib/v20200910/models.rb', line 10566 def Level @Level end |
#Name ⇒ Object
10566 10567 10568 |
# File 'lib/v20200910/models.rb', line 10566 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
10574 10575 10576 10577 10578 |
# File 'lib/v20200910/models.rb', line 10574 def deserialize(params) @Id = params['Id'] @Level = params['Level'] @Name = params['Name'] end |