Class: TencentCloud::Apigateway::V20180808::Tag

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

Overview

API绑定的标签信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Tag.



9043
9044
9045
9046
# File 'lib/v20180808/models.rb', line 9043

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    标签的 key。

  • Value:

    便签的 value。



9041
9042
9043
# File 'lib/v20180808/models.rb', line 9041

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    标签的 key。

  • Value:

    便签的 value。



9041
9042
9043
# File 'lib/v20180808/models.rb', line 9041

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



9048
9049
9050
9051
# File 'lib/v20180808/models.rb', line 9048

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