Class: TencentCloud::Mongodb::V20190725::DescribeMongodbLogsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::DescribeMongodbLogsResponse
- Defined in:
- lib/v20190725/models.rb
Overview
DescribeMongodbLogs返回参数结构体
Instance Attribute Summary collapse
-
#LogList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, loglist = nil, requestid = nil) ⇒ DescribeMongodbLogsResponse
constructor
A new instance of DescribeMongodbLogsResponse.
Constructor Details
#initialize(totalcount = nil, loglist = nil, requestid = nil) ⇒ DescribeMongodbLogsResponse
Returns a new instance of DescribeMongodbLogsResponse.
2937 2938 2939 2940 2941 |
# File 'lib/v20190725/models.rb', line 2937 def initialize(totalcount=nil, loglist=nil, requestid=nil) @TotalCount = totalcount @LogList = loglist @RequestId = requestid end |
Instance Attribute Details
#LogList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2935 2936 2937 |
# File 'lib/v20190725/models.rb', line 2935 def LogList @LogList end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2935 2936 2937 |
# File 'lib/v20190725/models.rb', line 2935 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2935 2936 2937 |
# File 'lib/v20190725/models.rb', line 2935 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 |
# File 'lib/v20190725/models.rb', line 2943 def deserialize(params) @TotalCount = params['TotalCount'] unless params['LogList'].nil? @LogList = [] params['LogList'].each do |i| loginfo_tmp = LogInfo.new loginfo_tmp.deserialize(i) @LogList << loginfo_tmp end end @RequestId = params['RequestId'] end |