Class: TencentCloud::Mongodb::V20190725::DescribeMongodbLogsResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190725/models.rb

Overview

DescribeMongodbLogs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#LogListObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    日志总数。

  • LogList:

    日志详情列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2935
2936
2937
# File 'lib/v20190725/models.rb', line 2935

def LogList
  @LogList
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    日志总数。

  • LogList:

    日志详情列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2935
2936
2937
# File 'lib/v20190725/models.rb', line 2935

def RequestId
  @RequestId
end

#TotalCountObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    日志总数。

  • LogList:

    日志详情列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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