Class: TencentCloud::Cwp::V20180228::WebHookCustomField
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::WebHookCustomField
- Defined in:
- lib/v20180228/models.rb
Overview
自定义透传字段结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ WebHookCustomField
constructor
A new instance of WebHookCustomField.
Constructor Details
#initialize(key = nil, value = nil) ⇒ WebHookCustomField
Returns a new instance of WebHookCustomField.
41458 41459 41460 41461 |
# File 'lib/v20180228/models.rb', line 41458 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
41456 41457 41458 |
# File 'lib/v20180228/models.rb', line 41456 def Key @Key end |
#Value ⇒ Object
41456 41457 41458 |
# File 'lib/v20180228/models.rb', line 41456 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
41463 41464 41465 41466 |
# File 'lib/v20180228/models.rb', line 41463 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |