Class: TencentCloud::Cme::V20191029::PresetTagInfo

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

Overview

预置标签信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil, parenttagid = nil) ⇒ PresetTagInfo

Returns a new instance of PresetTagInfo.



5028
5029
5030
5031
5032
# File 'lib/v20191029/models.rb', line 5028

def initialize(id=nil, name=nil, parenttagid=nil)
  @Id = id
  @Name = name
  @ParentTagId = parenttagid
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    标签 Id 。

  • Name:

    标签名称。

  • ParentTagId:

    父级预设 Id。



5026
5027
5028
# File 'lib/v20191029/models.rb', line 5026

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    标签 Id 。

  • Name:

    标签名称。

  • ParentTagId:

    父级预设 Id。



5026
5027
5028
# File 'lib/v20191029/models.rb', line 5026

def Name
  @Name
end

#ParentTagIdObject

Parameters:

  • Id:

    标签 Id 。

  • Name:

    标签名称。

  • ParentTagId:

    父级预设 Id。



5026
5027
5028
# File 'lib/v20191029/models.rb', line 5026

def ParentTagId
  @ParentTagId
end

Instance Method Details

#deserialize(params) ⇒ Object



5034
5035
5036
5037
5038
# File 'lib/v20191029/models.rb', line 5034

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
  @ParentTagId = params['ParentTagId']
end