Class: TencentCloud::Sqlserver::V20180328::DescribeXEventsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::DescribeXEventsResponse
- Defined in:
- lib/v20180328/models.rb
Overview
DescribeXEvents返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(events = nil, totalcount = nil, requestid = nil) ⇒ DescribeXEventsResponse
constructor
A new instance of DescribeXEventsResponse.
Constructor Details
#initialize(events = nil, totalcount = nil, requestid = nil) ⇒ DescribeXEventsResponse
Returns a new instance of DescribeXEventsResponse.
7199 7200 7201 7202 7203 |
# File 'lib/v20180328/models.rb', line 7199 def initialize(events=nil, totalcount=nil, requestid=nil) @Events = events @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Events ⇒ Object
7197 7198 7199 |
# File 'lib/v20180328/models.rb', line 7197 def Events @Events end |
#RequestId ⇒ Object
7197 7198 7199 |
# File 'lib/v20180328/models.rb', line 7197 def RequestId @RequestId end |
#TotalCount ⇒ Object
7197 7198 7199 |
# File 'lib/v20180328/models.rb', line 7197 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 |
# File 'lib/v20180328/models.rb', line 7205 def deserialize(params) unless params['Events'].nil? @Events = [] params['Events'].each do |i| events_tmp = Events.new events_tmp.deserialize(i) @Events << events_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |