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.
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
#Key ⇒ Object
9247 9248 9249 |
# File 'lib/v20180709/models.rb', line 9247 def Key @Key end |
#Value ⇒ Object
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 |