Class: TencentCloud::Iecp::V20210914::EdgeNodeLabel

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

Overview

边缘节点标签

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil, protected = nil) ⇒ EdgeNodeLabel

Returns a new instance of EdgeNodeLabel.



4236
4237
4238
4239
4240
# File 'lib/v20210914/models.rb', line 4236

def initialize(key=nil, value=nil, protected=nil)
  @Key = key
  @Value = value
  @Protected = protected
end

Instance Attribute Details

#KeyObject

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

Parameters:

  • Key:

    标签名称

  • Value:

    标签值

  • Protected:

    是否受保护



4234
4235
4236
# File 'lib/v20210914/models.rb', line 4234

def Key
  @Key
end

#ProtectedObject

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

Parameters:

  • Key:

    标签名称

  • Value:

    标签值

  • Protected:

    是否受保护



4234
4235
4236
# File 'lib/v20210914/models.rb', line 4234

def Protected
  @Protected
end

#ValueObject

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

Parameters:

  • Key:

    标签名称

  • Value:

    标签值

  • Protected:

    是否受保护



4234
4235
4236
# File 'lib/v20210914/models.rb', line 4234

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4242
4243
4244
4245
4246
# File 'lib/v20210914/models.rb', line 4242

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
  @Protected = params['Protected']
end