Class: TencentCloud::Cwp::V20180228::WebHookEventKv

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

Overview

企微机器人事件类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, controlbit = nil) ⇒ WebHookEventKv

Returns a new instance of WebHookEventKv.



41478
41479
41480
41481
# File 'lib/v20180228/models.rb', line 41478

def initialize(type=nil, controlbit=nil)
  @Type = type
  @ControlBit = controlbit
end

Instance Attribute Details

#ControlBitObject

Parameters:

  • Type:

    事件类型

  • ControlBit:

    事件内容



41476
41477
41478
# File 'lib/v20180228/models.rb', line 41476

def ControlBit
  @ControlBit
end

#TypeObject

Parameters:

  • Type:

    事件类型

  • ControlBit:

    事件内容



41476
41477
41478
# File 'lib/v20180228/models.rb', line 41476

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



41483
41484
41485
41486
# File 'lib/v20180228/models.rb', line 41483

def deserialize(params)
  @Type = params['Type']
  @ControlBit = params['ControlBit']
end