Class: TencentCloud::Csip::V20221121::Element
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Csip::V20221121::Element
- Defined in:
- lib/v20221121/models.rb
Overview
统计条目
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ Element
constructor
A new instance of Element.
Constructor Details
#initialize(key = nil, value = nil) ⇒ Element
Returns a new instance of Element.
9489 9490 9491 9492 |
# File 'lib/v20221121/models.rb', line 9489 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
9487 9488 9489 |
# File 'lib/v20221121/models.rb', line 9487 def Key @Key end |
#Value ⇒ Object
9487 9488 9489 |
# File 'lib/v20221121/models.rb', line 9487 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
9494 9495 9496 9497 |
# File 'lib/v20221121/models.rb', line 9494 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |