Class: TencentCloud::Lke::V20231130::AttrLabel

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

Overview

标签详情信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source = nil, attrbizid = nil, attrkey = nil, attrname = nil, labels = nil) ⇒ AttrLabel

Returns a new instance of AttrLabel.



1511
1512
1513
1514
1515
1516
1517
# File 'lib/v20231130/models.rb', line 1511

def initialize(source=nil, attrbizid=nil, attrkey=nil, attrname=nil, labels=nil)
  @Source = source
  @AttrBizId = attrbizid
  @AttrKey = attrkey
  @AttrName = attrname
  @Labels = labels
end

Instance Attribute Details

#AttrBizIdObject

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

Parameters:

  • Source:

    标签来源

  • AttrBizId:

    标签ID

  • AttrKey:

    标签标识

  • AttrName:

    标签名称

  • Labels:

    标签值



1509
1510
1511
# File 'lib/v20231130/models.rb', line 1509

def AttrBizId
  @AttrBizId
end

#AttrKeyObject

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

Parameters:

  • Source:

    标签来源

  • AttrBizId:

    标签ID

  • AttrKey:

    标签标识

  • AttrName:

    标签名称

  • Labels:

    标签值



1509
1510
1511
# File 'lib/v20231130/models.rb', line 1509

def AttrKey
  @AttrKey
end

#AttrNameObject

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

Parameters:

  • Source:

    标签来源

  • AttrBizId:

    标签ID

  • AttrKey:

    标签标识

  • AttrName:

    标签名称

  • Labels:

    标签值



1509
1510
1511
# File 'lib/v20231130/models.rb', line 1509

def AttrName
  @AttrName
end

#LabelsObject

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

Parameters:

  • Source:

    标签来源

  • AttrBizId:

    标签ID

  • AttrKey:

    标签标识

  • AttrName:

    标签名称

  • Labels:

    标签值



1509
1510
1511
# File 'lib/v20231130/models.rb', line 1509

def Labels
  @Labels
end

#SourceObject

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

Parameters:

  • Source:

    标签来源

  • AttrBizId:

    标签ID

  • AttrKey:

    标签标识

  • AttrName:

    标签名称

  • Labels:

    标签值



1509
1510
1511
# File 'lib/v20231130/models.rb', line 1509

def Source
  @Source
end

Instance Method Details

#deserialize(params) ⇒ Object



1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
# File 'lib/v20231130/models.rb', line 1519

def deserialize(params)
  @Source = params['Source']
  @AttrBizId = params['AttrBizId']
  @AttrKey = params['AttrKey']
  @AttrName = params['AttrName']
  unless params['Labels'].nil?
    @Labels = []
    params['Labels'].each do |i|
      label_tmp = Label.new
      label_tmp.deserialize(i)
      @Labels << label_tmp
    end
  end
end