Class: TencentCloud::Mrs::V20200910::TextType

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200910/models.rb

Overview

文本类型

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#IdObject



10566
10567
10568
# File 'lib/v20200910/models.rb', line 10566

def Id
  @Id
end

#LevelObject



10566
10567
10568
# File 'lib/v20200910/models.rb', line 10566

def Level
  @Level
end

#NameObject



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