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.



34254
34255
34256
34257
# File 'lib/v20210820/models.rb', line 34254

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

Instance Attribute Details

#HookAddressObject

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

Parameters:



34252
34253
34254
# File 'lib/v20210820/models.rb', line 34252

def HookAddress
  @HookAddress
end

#HookTypeObject

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

Parameters:



34252
34253
34254
# File 'lib/v20210820/models.rb', line 34252

def HookType
  @HookType
end

Instance Method Details

#deserialize(params) ⇒ Object



34259
34260
34261
34262
# File 'lib/v20210820/models.rb', line 34259

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