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.



12943
12944
12945
12946
# File 'lib/v20180125/models.rb', line 12943

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    Key

  • Value:

    Value



12941
12942
12943
# File 'lib/v20180125/models.rb', line 12941

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    Key

  • Value:

    Value



12941
12942
12943
# File 'lib/v20180125/models.rb', line 12941

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



12948
12949
12950
12951
# File 'lib/v20180125/models.rb', line 12948

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