Class: TencentCloud::Irp::V20220324::TagInfo

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

Overview

标题信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil, weight = nil) ⇒ TagInfo

Returns a new instance of TagInfo.



748
749
750
751
752
# File 'lib/v20220324/models.rb', line 748

def initialize(id=nil, name=nil, weight=nil)
  @Id = id
  @Name = name
  @Weight = weight
end

Instance Attribute Details

#IdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    标签id

  • Name:

    标签名

  • Weight:

    推荐权重



746
747
748
# File 'lib/v20220324/models.rb', line 746

def Id
  @Id
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    标签id

  • Name:

    标签名

  • Weight:

    推荐权重



746
747
748
# File 'lib/v20220324/models.rb', line 746

def Name
  @Name
end

#WeightObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    标签id

  • Name:

    标签名

  • Weight:

    推荐权重



746
747
748
# File 'lib/v20220324/models.rb', line 746

def Weight
  @Weight
end

Instance Method Details

#deserialize(params) ⇒ Object



754
755
756
757
758
# File 'lib/v20220324/models.rb', line 754

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