Class: TencentCloud::Dbbrain::V20210527::DescribeDBAutonomyEventsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::DescribeDBAutonomyEventsResponse
- Defined in:
- lib/v20210527/models.rb
Overview
DescribeDBAutonomyEvents返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, events = nil, requestid = nil) ⇒ DescribeDBAutonomyEventsResponse
constructor
A new instance of DescribeDBAutonomyEventsResponse.
Constructor Details
#initialize(totalcount = nil, events = nil, requestid = nil) ⇒ DescribeDBAutonomyEventsResponse
Returns a new instance of DescribeDBAutonomyEventsResponse.
2153 2154 2155 2156 2157 |
# File 'lib/v20210527/models.rb', line 2153 def initialize(totalcount=nil, events=nil, requestid=nil) @TotalCount = totalcount @Events = events @RequestId = requestid end |
Instance Attribute Details
#Events ⇒ Object
2151 2152 2153 |
# File 'lib/v20210527/models.rb', line 2151 def Events @Events end |
#RequestId ⇒ Object
2151 2152 2153 |
# File 'lib/v20210527/models.rb', line 2151 def RequestId @RequestId end |
#TotalCount ⇒ Object
2151 2152 2153 |
# File 'lib/v20210527/models.rb', line 2151 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 |
# File 'lib/v20210527/models.rb', line 2159 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Events'].nil? @Events = [] params['Events'].each do |i| autonomyeventvo_tmp = AutonomyEventVo.new autonomyeventvo_tmp.deserialize(i) @Events << autonomyeventvo_tmp end end @RequestId = params['RequestId'] end |