Class: TencentCloud::Tcr::V20190924::Tag

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

Overview

云标签Tag

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Tag.



6990
6991
6992
6993
# File 'lib/v20190924/models.rb', line 6990

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

Instance Attribute Details

#Key ⇒ Object

Parameters:

  • Key: —

    云标签的key

  • Value: —

    云标签的值



6988
6989
6990
# File 'lib/v20190924/models.rb', line 6988

def Key
  @Key
end

#Value ⇒ Object

Parameters:

  • Key: —

    云标签的key

  • Value: —

    云标签的值



6988
6989
6990
# File 'lib/v20190924/models.rb', line 6988

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6995
6996
6997
6998
# File 'lib/v20190924/models.rb', line 6995

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