Class: TencentCloud::Waf::V20180125::KVInt

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

Overview

Key-Value的形式,Value为Int

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of KVInt.



9113
9114
9115
9116
# File 'lib/v20180125/models.rb', line 9113

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    Key

  • Value:

    Value



9111
9112
9113
# File 'lib/v20180125/models.rb', line 9111

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    Key

  • Value:

    Value



9111
9112
9113
# File 'lib/v20180125/models.rb', line 9111

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



9118
9119
9120
9121
# File 'lib/v20180125/models.rb', line 9118

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