Class: TencentCloud::Eb::V20210416::ListPlatformEventNamesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::ListPlatformEventNamesResponse
- Defined in:
- lib/v20210416/models.rb
Overview
ListPlatformEventNames返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eventnames = nil, requestid = nil) ⇒ ListPlatformEventNamesResponse
constructor
A new instance of ListPlatformEventNamesResponse.
Constructor Details
#initialize(eventnames = nil, requestid = nil) ⇒ ListPlatformEventNamesResponse
Returns a new instance of ListPlatformEventNamesResponse.
1532 1533 1534 1535 |
# File 'lib/v20210416/models.rb', line 1532 def initialize(eventnames=nil, requestid=nil) @EventNames = eventnames @RequestId = requestid end |
Instance Attribute Details
#EventNames ⇒ Object
1530 1531 1532 |
# File 'lib/v20210416/models.rb', line 1530 def EventNames @EventNames end |
#RequestId ⇒ Object
1530 1531 1532 |
# File 'lib/v20210416/models.rb', line 1530 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 |
# File 'lib/v20210416/models.rb', line 1537 def deserialize(params) unless params['EventNames'].nil? @EventNames = [] params['EventNames'].each do |i| platformeventdetail_tmp = PlatformEventDetail.new platformeventdetail_tmp.deserialize(i) @EventNames << platformeventdetail_tmp end end @RequestId = params['RequestId'] end |