Class: TencentCloud::Sqlserver::V20180328::DescribeSlowlogsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::DescribeSlowlogsResponse
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20180328/models.rb
Overview
DescribeSlowlogs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, slowlogs = nil, requestid = nil) ⇒ DescribeSlowlogsResponse
constructor
A new instance of DescribeSlowlogsResponse.
Constructor Details
#initialize(totalcount = nil, slowlogs = nil, requestid = nil) ⇒ DescribeSlowlogsResponse
Returns a new instance of DescribeSlowlogsResponse.
6825 6826 6827 6828 6829 |
# File 'lib/v20180328/models.rb', line 6825 def initialize(totalcount=nil, slowlogs=nil, requestid=nil) @TotalCount = totalcount @SlowLogs = slowlogs @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
6820 6821 6822 |
# File 'lib/v20180328/models.rb', line 6820 def RequestId @RequestId end |
#Slowlogs ⇒ Object
6820 6821 6822 |
# File 'lib/v20180328/models.rb', line 6820 def Slowlogs @Slowlogs end |
#SlowLogs ⇒ Object
6820 6821 6822 |
# File 'lib/v20180328/models.rb', line 6820 def SlowLogs @SlowLogs end |
#TotalCount ⇒ Object
6820 6821 6822 |
# File 'lib/v20180328/models.rb', line 6820 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 |
# File 'lib/v20180328/models.rb', line 6831 def deserialize(params) @TotalCount = params['TotalCount'] unless params['SlowLogs'].nil? @SlowLogs = [] params['SlowLogs'].each do |i| slowlog_tmp = SlowLog.new slowlog_tmp.deserialize(i) @SlowLogs << slowlog_tmp end end @RequestId = params['RequestId'] end |