Class: TencentCloud::Cls::V20201016::ModifyWebCallbackRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201016/models.rb

Overview

ModifyWebCallback请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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时,必填。

Parameters:

  • 秘钥信息。最大支持1024个字节



15449
15450
15451
# File 'lib/v20201016/models.rb', line 15449

def Key
  @Key
end

#Method ⇒ Object

注意:当Type为Http时,必填。

Parameters:

  • 秘钥信息。最大支持1024个字节



15449
15450
15451
# File 'lib/v20201016/models.rb', line 15449

def Method
  @Method
end

#Name ⇒ Object

注意:当Type为Http时,必填。

Parameters:

  • 秘钥信息。最大支持1024个字节



15449
15450
15451
# File 'lib/v20201016/models.rb', line 15449

def Name
  @Name
end

#Type ⇒ Object

注意:当Type为Http时,必填。

Parameters:

  • 秘钥信息。最大支持1024个字节



15449
15450
15451
# File 'lib/v20201016/models.rb', line 15449

def Type
  @Type
end

#WebCallbackId ⇒ Object

注意:当Type为Http时,必填。

Parameters:

  • 秘钥信息。最大支持1024个字节



15449
15450
15451
# File 'lib/v20201016/models.rb', line 15449

def WebCallbackId
  @WebCallbackId
end

#Webhook ⇒ Object

注意:当Type为Http时,必填。

Parameters:

  • 秘钥信息。最大支持1024个字节



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