Class: TencentCloud::Monitor::V20180724::PolicyTag

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

Overview

策略标签

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ PolicyTag

Returns a new instance of PolicyTag.



12676
12677
12678
12679
# File 'lib/v20180724/models.rb', line 12676

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    标签Key

  • Value:

    标签Value



12674
12675
12676
# File 'lib/v20180724/models.rb', line 12674

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    标签Key

  • Value:

    标签Value



12674
12675
12676
# File 'lib/v20180724/models.rb', line 12674

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



12681
12682
12683
12684
# File 'lib/v20180724/models.rb', line 12681

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