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.
4915 4916 4917 4918 4919 4920 4921 |
# File 'lib/v20201016/models.rb', line 4915 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时,必填。
4913 4914 4915 |
# File 'lib/v20201016/models.rb', line 4913 def Key @Key end |
#Method ⇒ Object
当Type为Http时,必填。
4913 4914 4915 |
# File 'lib/v20201016/models.rb', line 4913 def Method @Method end |
#Name ⇒ Object
当Type为Http时,必填。
4913 4914 4915 |
# File 'lib/v20201016/models.rb', line 4913 def Name @Name end |
#Type ⇒ Object
当Type为Http时,必填。
4913 4914 4915 |
# File 'lib/v20201016/models.rb', line 4913 def Type @Type end |
#Webhook ⇒ Object
当Type为Http时,必填。
4913 4914 4915 |
# File 'lib/v20201016/models.rb', line 4913 def Webhook @Webhook end |
Instance Method Details
#deserialize(params) ⇒ Object
4923 4924 4925 4926 4927 4928 4929 |
# File 'lib/v20201016/models.rb', line 4923 def deserialize(params) @Name = params['Name'] @Type = params['Type'] @Webhook = params['Webhook'] @Method = params['Method'] @Key = params['Key'] end |