Class: TencentCloud::Cls::V20201016::DescribeLogsetsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::DescribeLogsetsResponse
- Defined in:
- lib/v20201016/models.rb
Overview
DescribeLogsets返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, logsets = nil, requestid = nil) ⇒ DescribeLogsetsResponse
constructor
A new instance of DescribeLogsetsResponse.
Constructor Details
#initialize(totalcount = nil, logsets = nil, requestid = nil) ⇒ DescribeLogsetsResponse
Returns a new instance of DescribeLogsetsResponse.
9081 9082 9083 9084 9085 |
# File 'lib/v20201016/models.rb', line 9081 def initialize(totalcount=nil, logsets=nil, requestid=nil) @TotalCount = totalcount @Logsets = logsets @RequestId = requestid end |
Instance Attribute Details
#Logsets ⇒ Object
9079 9080 9081 |
# File 'lib/v20201016/models.rb', line 9079 def Logsets @Logsets end |
#RequestId ⇒ Object
9079 9080 9081 |
# File 'lib/v20201016/models.rb', line 9079 def RequestId @RequestId end |
#TotalCount ⇒ Object
9079 9080 9081 |
# File 'lib/v20201016/models.rb', line 9079 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 |
# File 'lib/v20201016/models.rb', line 9087 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Logsets'].nil? @Logsets = [] params['Logsets'].each do |i| logsetinfo_tmp = LogsetInfo.new logsetinfo_tmp.deserialize(i) @Logsets << logsetinfo_tmp end end @RequestId = params['RequestId'] end |