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
Returns a new instance of TextType.
10534 10535 10536 10537 10538 |
# File 'lib/v20200910/models.rb', line 10534 def initialize(id=nil, level=nil, name=nil) @Id = id @Level = level @Name = name end |
Instance Attribute Details
#Id ⇒ Object
10532 10533 10534 |
# File 'lib/v20200910/models.rb', line 10532 def Id @Id end |
#Level ⇒ Object
10532 10533 10534 |
# File 'lib/v20200910/models.rb', line 10532 def Level @Level end |
#Name ⇒ Object
10532 10533 10534 |
# File 'lib/v20200910/models.rb', line 10532 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
10540 10541 10542 10543 10544 |
# File 'lib/v20200910/models.rb', line 10540 def deserialize(params) @Id = params['Id'] @Level = params['Level'] @Name = params['Name'] end |