Class: TencentCloud::Eb::V20210416::PlatformEventSummary

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

Overview

平台事件匹配规则

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(eventname = nil, eventpattern = nil) ⇒ PlatformEventSummary

Returns a new instance of PlatformEventSummary.



1881
1882
1883
1884
# File 'lib/v20210416/models.rb', line 1881

def initialize(eventname=nil, eventpattern=nil)
  @EventName = eventname
  @EventPattern = eventpattern
end

Instance Attribute Details

#EventNameObject

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

Parameters:

  • EventName:

    平台事件名称

  • EventPattern:

    平台事件匹配规则



1879
1880
1881
# File 'lib/v20210416/models.rb', line 1879

def EventName
  @EventName
end

#EventPatternObject

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

Parameters:

  • EventName:

    平台事件名称

  • EventPattern:

    平台事件匹配规则



1879
1880
1881
# File 'lib/v20210416/models.rb', line 1879

def EventPattern
  @EventPattern
end

Instance Method Details

#deserialize(params) ⇒ Object



1886
1887
1888
1889
# File 'lib/v20210416/models.rb', line 1886

def deserialize(params)
  @EventName = params['EventName']
  @EventPattern = params['EventPattern']
end