Class: TencentCloud::Billing::V20180709::JsonObject
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::JsonObject
- Defined in:
- lib/v20180709/models.rb
Overview
Json对象
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ JsonObject
constructor
A new instance of JsonObject.
Constructor Details
#initialize(key = nil, value = nil) ⇒ JsonObject
Returns a new instance of JsonObject.
10277 10278 10279 10280 |
# File 'lib/v20180709/models.rb', line 10277 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
10275 10276 10277 |
# File 'lib/v20180709/models.rb', line 10275 def Key @Key end |
#Value ⇒ Object
10275 10276 10277 |
# File 'lib/v20180709/models.rb', line 10275 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
10282 10283 10284 10285 |
# File 'lib/v20180709/models.rb', line 10282 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |