Class: TencentCloud::Cls::V20201016::DescribeLogContextResponse

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

Overview

DescribeLogContext返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logcontextinfos = nil, prevover = nil, nextover = nil, requestid = nil) ⇒ DescribeLogContextResponse

Returns a new instance of DescribeLogContextResponse.



7050
7051
7052
7053
7054
7055
# File 'lib/v20201016/models.rb', line 7050

def initialize(logcontextinfos=nil, prevover=nil, nextover=nil, requestid=nil)
  @LogContextInfos = logcontextinfos
  @PrevOver = prevover
  @NextOver = nextover
  @RequestId = requestid
end

Instance Attribute Details

#LogContextInfosObject

Parameters:

  • LogContextInfos:

    日志上下文信息集合

  • PrevOver:

    上文日志是否已经返回完成(当PrevOver为false,表示有上文日志还未全部返回)。

  • NextOver:

    下文日志是否已经返回完成(当NextOver为false,表示有下文日志还未全部返回)。

  • RequestId:

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



7048
7049
7050
# File 'lib/v20201016/models.rb', line 7048

def LogContextInfos
  @LogContextInfos
end

#NextOverObject

Parameters:

  • LogContextInfos:

    日志上下文信息集合

  • PrevOver:

    上文日志是否已经返回完成(当PrevOver为false,表示有上文日志还未全部返回)。

  • NextOver:

    下文日志是否已经返回完成(当NextOver为false,表示有下文日志还未全部返回)。

  • RequestId:

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



7048
7049
7050
# File 'lib/v20201016/models.rb', line 7048

def NextOver
  @NextOver
end

#PrevOverObject

Parameters:

  • LogContextInfos:

    日志上下文信息集合

  • PrevOver:

    上文日志是否已经返回完成(当PrevOver为false,表示有上文日志还未全部返回)。

  • NextOver:

    下文日志是否已经返回完成(当NextOver为false,表示有下文日志还未全部返回)。

  • RequestId:

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



7048
7049
7050
# File 'lib/v20201016/models.rb', line 7048

def PrevOver
  @PrevOver
end

#RequestIdObject

Parameters:

  • LogContextInfos:

    日志上下文信息集合

  • PrevOver:

    上文日志是否已经返回完成(当PrevOver为false,表示有上文日志还未全部返回)。

  • NextOver:

    下文日志是否已经返回完成(当NextOver为false,表示有下文日志还未全部返回)。

  • RequestId:

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



7048
7049
7050
# File 'lib/v20201016/models.rb', line 7048

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
# File 'lib/v20201016/models.rb', line 7057

def deserialize(params)
  unless params['LogContextInfos'].nil?
    @LogContextInfos = []
    params['LogContextInfos'].each do |i|
      logcontextinfo_tmp = LogContextInfo.new
      logcontextinfo_tmp.deserialize(i)
      @LogContextInfos << logcontextinfo_tmp
    end
  end
  @PrevOver = params['PrevOver']
  @NextOver = params['NextOver']
  @RequestId = params['RequestId']
end