Class: TencentCloud::Eb::V20210416::ListPlatformEventPatternsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::ListPlatformEventPatternsResponse
- Defined in:
- lib/v20210416/models.rb
Overview
ListPlatformEventPatterns返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eventpatterns = nil, requestid = nil) ⇒ ListPlatformEventPatternsResponse
constructor
A new instance of ListPlatformEventPatternsResponse.
Constructor Details
#initialize(eventpatterns = nil, requestid = nil) ⇒ ListPlatformEventPatternsResponse
Returns a new instance of ListPlatformEventPatternsResponse.
1575 1576 1577 1578 |
# File 'lib/v20210416/models.rb', line 1575 def initialize(eventpatterns=nil, requestid=nil) @EventPatterns = eventpatterns @RequestId = requestid end |
Instance Attribute Details
#EventPatterns ⇒ Object
1573 1574 1575 |
# File 'lib/v20210416/models.rb', line 1573 def EventPatterns @EventPatterns end |
#RequestId ⇒ Object
1573 1574 1575 |
# File 'lib/v20210416/models.rb', line 1573 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 |
# File 'lib/v20210416/models.rb', line 1580 def deserialize(params) unless params['EventPatterns'].nil? @EventPatterns = [] params['EventPatterns'].each do |i| platformeventsummary_tmp = PlatformEventSummary.new platformeventsummary_tmp.deserialize(i) @EventPatterns << platformeventsummary_tmp end end @RequestId = params['RequestId'] end |