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.



8920
8921
8922
8923
8924
8925
# File 'lib/v20201016/models.rb', line 8920

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

Instance Attribute Details

#LogContextInfos ⇒ Object

Parameters:

  • LogContextInfos: —

    日志上下文信息集合

  • PrevOver: —

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

  • NextOver: —

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

  • RequestId: —

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



8918
8919
8920
# File 'lib/v20201016/models.rb', line 8918

def LogContextInfos
  @LogContextInfos
end

#NextOver ⇒ Object

Parameters:

  • LogContextInfos: —

    日志上下文信息集合

  • PrevOver: —

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

  • NextOver: —

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

  • RequestId: —

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



8918
8919
8920
# File 'lib/v20201016/models.rb', line 8918

def NextOver
  @NextOver
end

#PrevOver ⇒ Object

Parameters:

  • LogContextInfos: —

    日志上下文信息集合

  • PrevOver: —

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

  • NextOver: —

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

  • RequestId: —

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



8918
8919
8920
# File 'lib/v20201016/models.rb', line 8918

def PrevOver
  @PrevOver
end

#RequestId ⇒ Object

Parameters:

  • LogContextInfos: —

    日志上下文信息集合

  • PrevOver: —

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

  • NextOver: —

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

  • RequestId: —

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



8918
8919
8920
# File 'lib/v20201016/models.rb', line 8918

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
# File 'lib/v20201016/models.rb', line 8927

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