Class: TencentCloud::Monitor::V20180724::Tag

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) ⇒ Tag

Returns a new instance of Tag.



14986
14987
14988
14989
# File 'lib/v20180724/models.rb', line 14986

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    标签key

  • Value:

    标签value



14984
14985
14986
# File 'lib/v20180724/models.rb', line 14984

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    标签key

  • Value:

    标签value



14984
14985
14986
# File 'lib/v20180724/models.rb', line 14984

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



14991
14992
14993
14994
# File 'lib/v20180724/models.rb', line 14991

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