Class: TencentCloud::Cls::V20201016::CreateWebCallbackRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::CreateWebCallbackRequest
- Defined in:
- lib/v20201016/models.rb
Overview
CreateWebCallback请求参数结构体
Instance Attribute Summary collapse
-
#Key ⇒ Object
当Type为Http时,必填。.
-
#Method ⇒ Object
当Type为Http时,必填。.
-
#Name ⇒ Object
当Type为Http时,必填。.
-
#Type ⇒ Object
当Type为Http时,必填。.
-
#Webhook ⇒ Object
当Type为Http时,必填。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, type = nil, webhook = nil, method = nil, key = nil) ⇒ CreateWebCallbackRequest
constructor
A new instance of CreateWebCallbackRequest.
Constructor Details
#initialize(name = nil, type = nil, webhook = nil, method = nil, key = nil) ⇒ CreateWebCallbackRequest
Returns a new instance of CreateWebCallbackRequest.
4120 4121 4122 4123 4124 4125 4126 |
# File 'lib/v20201016/models.rb', line 4120 def initialize(name=nil, type=nil, webhook=nil, method=nil, key=nil) @Name = name @Type = type @Webhook = webhook @Method = method @Key = key end |
Instance Attribute Details
#Key ⇒ Object
当Type为Http时,必填。
4118 4119 4120 |
# File 'lib/v20201016/models.rb', line 4118 def Key @Key end |
#Method ⇒ Object
当Type为Http时,必填。
4118 4119 4120 |
# File 'lib/v20201016/models.rb', line 4118 def Method @Method end |
#Name ⇒ Object
当Type为Http时,必填。
4118 4119 4120 |
# File 'lib/v20201016/models.rb', line 4118 def Name @Name end |
#Type ⇒ Object
当Type为Http时,必填。
4118 4119 4120 |
# File 'lib/v20201016/models.rb', line 4118 def Type @Type end |
#Webhook ⇒ Object
当Type为Http时,必填。
4118 4119 4120 |
# File 'lib/v20201016/models.rb', line 4118 def Webhook @Webhook end |
Instance Method Details
#deserialize(params) ⇒ Object
4128 4129 4130 4131 4132 4133 4134 |
# File 'lib/v20201016/models.rb', line 4128 def deserialize(params) @Name = params['Name'] @Type = params['Type'] @Webhook = params['Webhook'] @Method = params['Method'] @Key = params['Key'] end |