Class: TencentCloud::Wedata::V20210820::SubscribeWebHook

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

Overview

群机器人订阅配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hooktype = nil, hookaddress = nil) ⇒ SubscribeWebHook

Returns a new instance of SubscribeWebHook.



23558
23559
23560
23561
# File 'lib/v20210820/models.rb', line 23558

def initialize(hooktype=nil, hookaddress=nil)
  @HookType = hooktype
  @HookAddress = hookaddress
end

Instance Attribute Details

#HookAddressObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:



23556
23557
23558
# File 'lib/v20210820/models.rb', line 23556

def HookAddress
  @HookAddress
end

#HookTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:



23556
23557
23558
# File 'lib/v20210820/models.rb', line 23556

def HookType
  @HookType
end

Instance Method Details

#deserialize(params) ⇒ Object



23563
23564
23565
23566
# File 'lib/v20210820/models.rb', line 23563

def deserialize(params)
  @HookType = params['HookType']
  @HookAddress = params['HookAddress']
end