Class: TencentCloud::Cme::V20191029::MaterialTagInfo

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

Overview

素材标签信息

Instance Attribute Summary collapse

  • #Name ⇒ Object
  • PRESET:预置标签。
  • .
  • #Type ⇒ Object
  • PRESET:预置标签。
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(type = nil, id = nil, name = nil) ⇒ MaterialTagInfo

    Returns a new instance of MaterialTagInfo.

    
    
    3853
    3854
    3855
    3856
    3857
    # File 'lib/v20191029/models.rb', line 3853
    
    def initialize(type=nil, id=nil, name=nil)
      @Type = type
      @Id = id
      @Name = name
    end
    

    Instance Attribute Details

    #IdObject

  • PRESET:预置标签。
  • Parameters:

    • 标签类型,取值为:

    • 标签 Id 。当标签类型为 PRESET 时,标签 Id 为预置标签 Id 。

    • 标签名称。

    
    
    3851
    3852
    3853
    # File 'lib/v20191029/models.rb', line 3851
    
    def Id
      @Id
    end
    

    #NameObject

  • PRESET:预置标签。
  • Parameters:

    • 标签类型,取值为:

    • 标签 Id 。当标签类型为 PRESET 时,标签 Id 为预置标签 Id 。

    • 标签名称。

    
    
    3851
    3852
    3853
    # File 'lib/v20191029/models.rb', line 3851
    
    def Name
      @Name
    end
    

    #TypeObject

  • PRESET:预置标签。
  • Parameters:

    • 标签类型,取值为:

    • 标签 Id 。当标签类型为 PRESET 时,标签 Id 为预置标签 Id 。

    • 标签名称。

    
    
    3851
    3852
    3853
    # File 'lib/v20191029/models.rb', line 3851
    
    def Type
      @Type
    end
    

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    3859
    3860
    3861
    3862
    3863
    # File 'lib/v20191029/models.rb', line 3859
    
    def deserialize(params)
      @Type = params['Type']
      @Id = params['Id']
      @Name = params['Name']
    end