Class: TencentCloud::Billing::V20180709::JsonObject

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

Overview

Json对象

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of JsonObject.



9249
9250
9251
9252
# File 'lib/v20180709/models.rb', line 9249

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    key值

  • Value:

    value值



9247
9248
9249
# File 'lib/v20180709/models.rb', line 9247

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    key值

  • Value:

    value值



9247
9248
9249
# File 'lib/v20180709/models.rb', line 9247

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



9254
9255
9256
9257
# File 'lib/v20180709/models.rb', line 9254

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