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.



23274
23275
23276
23277
# File 'lib/v20210820/models.rb', line 23274

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

Instance Attribute Details

#HookAddressObject

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

Parameters:



23272
23273
23274
# File 'lib/v20210820/models.rb', line 23272

def HookAddress
  @HookAddress
end

#HookTypeObject

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

Parameters:



23272
23273
23274
# File 'lib/v20210820/models.rb', line 23272

def HookType
  @HookType
end

Instance Method Details

#deserialize(params) ⇒ Object



23279
23280
23281
23282
# File 'lib/v20210820/models.rb', line 23279

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