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

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

#IdObject

Parameters:

  • Id:

    类别Id

  • Level:

    类别层级

  • Name:

    类别名



10532
10533
10534
# File 'lib/v20200910/models.rb', line 10532

def Id
  @Id
end

#LevelObject

Parameters:

  • Id:

    类别Id

  • Level:

    类别层级

  • Name:

    类别名



10532
10533
10534
# File 'lib/v20200910/models.rb', line 10532

def Level
  @Level
end

#NameObject

Parameters:

  • Id:

    类别Id

  • Level:

    类别层级

  • Name:

    类别名



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