Class: TencentCloud::Cls::V20201016::ModifyWebCallbackRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::ModifyWebCallbackRequest
- Defined in:
- lib/v20201016/models.rb
Overview
ModifyWebCallback请求参数结构体
Instance Attribute Summary collapse
-
#Key ⇒ Object
注意:当Type为Http时,必填。.
-
#Method ⇒ Object
注意:当Type为Http时,必填。.
-
#Name ⇒ Object
注意:当Type为Http时,必填。.
-
#Type ⇒ Object
注意:当Type为Http时,必填。.
-
#WebCallbackId ⇒ Object
注意:当Type为Http时,必填。.
-
#Webhook ⇒ Object
注意:当Type为Http时,必填。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(webcallbackid = nil, name = nil, type = nil, webhook = nil, method = nil, key = nil) ⇒ ModifyWebCallbackRequest
constructor
A new instance of ModifyWebCallbackRequest.
Constructor Details
#initialize(webcallbackid = nil, name = nil, type = nil, webhook = nil, method = nil, key = nil) ⇒ ModifyWebCallbackRequest
Returns a new instance of ModifyWebCallbackRequest.
15451 15452 15453 15454 15455 15456 15457 15458 |
# File 'lib/v20201016/models.rb', line 15451 def initialize(webcallbackid=nil, name=nil, type=nil, webhook=nil, method=nil, key=nil) @WebCallbackId = webcallbackid @Name = name @Type = type @Webhook = webhook @Method = method @Key = key end |
Instance Attribute Details
#Key ⇒ Object
注意:当Type为Http时,必填。
15449 15450 15451 |
# File 'lib/v20201016/models.rb', line 15449 def Key @Key end |
#Method ⇒ Object
注意:当Type为Http时,必填。
15449 15450 15451 |
# File 'lib/v20201016/models.rb', line 15449 def Method @Method end |
#Name ⇒ Object
注意:当Type为Http时,必填。
15449 15450 15451 |
# File 'lib/v20201016/models.rb', line 15449 def Name @Name end |
#Type ⇒ Object
注意:当Type为Http时,必填。
15449 15450 15451 |
# File 'lib/v20201016/models.rb', line 15449 def Type @Type end |
#WebCallbackId ⇒ Object
注意:当Type为Http时,必填。
15449 15450 15451 |
# File 'lib/v20201016/models.rb', line 15449 def WebCallbackId @WebCallbackId end |
#Webhook ⇒ Object
注意:当Type为Http时,必填。
15449 15450 15451 |
# File 'lib/v20201016/models.rb', line 15449 def Webhook @Webhook end |
Instance Method Details
#deserialize(params) ⇒ Object
15460 15461 15462 15463 15464 15465 15466 15467 |
# File 'lib/v20201016/models.rb', line 15460 def deserialize(params) @WebCallbackId = params['WebCallbackId'] @Name = params['Name'] @Type = params['Type'] @Webhook = params['Webhook'] @Method = params['Method'] @Key = params['Key'] end |