Class: TencentCloud::Mps::V20190612::DescribeStreamLinkFlowLogsRequest

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

Overview

DescribeStreamLinkFlowLogs请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(flowid = nil, starttime = nil, endtime = nil, type = nil, pipeline = nil, pagesize = nil, sorttype = nil, pagenum = nil) ⇒ DescribeStreamLinkFlowLogsRequest

Returns a new instance of DescribeStreamLinkFlowLogsRequest.



14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
# File 'lib/v20190612/models.rb', line 14347

def initialize(flowid=nil, starttime=nil, endtime=nil, type=nil, pipeline=nil, pagesize=nil, sorttype=nil, pagenum=nil)
  @FlowId = flowid
  @StartTime = starttime
  @EndTime = endtime
  @Type = type
  @Pipeline = pipeline
  @PageSize = pagesize
  @SortType = sorttype
  @PageNum = pagenum
end

Instance Attribute Details

#EndTimeObject

UTC时间,如'2020-01-01T12:00:00Z'。 UTC时间,如'2020-01-01T12:00:00Z'。

Parameters:

  • FlowId:

    传输流Id。

  • StartTime:

    统计的开始时间,默认为前一小时,最多支持查询近7天。

  • EndTime:

    统计的结束时间,默认为StartTime后一小时,最多支持查询24小时的数据。

  • Type:

    输入或输出类型,可选[input|output]。

  • Pipeline:

    主通道或备通道,可选[0|1]。

  • PageSize:

    每页大小,默认100,范围为[1, 1000]。

  • SortType:

    按Timestamp升序或降序排序,默认降序,可选[desc|asc]。

  • PageNum:

    页码,默认1,范围为[1, 1000]。



14345
14346
14347
# File 'lib/v20190612/models.rb', line 14345

def EndTime
  @EndTime
end

#FlowIdObject

UTC时间,如'2020-01-01T12:00:00Z'。 UTC时间,如'2020-01-01T12:00:00Z'。

Parameters:

  • FlowId:

    传输流Id。

  • StartTime:

    统计的开始时间,默认为前一小时,最多支持查询近7天。

  • EndTime:

    统计的结束时间,默认为StartTime后一小时,最多支持查询24小时的数据。

  • Type:

    输入或输出类型,可选[input|output]。

  • Pipeline:

    主通道或备通道,可选[0|1]。

  • PageSize:

    每页大小,默认100,范围为[1, 1000]。

  • SortType:

    按Timestamp升序或降序排序,默认降序,可选[desc|asc]。

  • PageNum:

    页码,默认1,范围为[1, 1000]。



14345
14346
14347
# File 'lib/v20190612/models.rb', line 14345

def FlowId
  @FlowId
end

#PageNumObject

UTC时间,如'2020-01-01T12:00:00Z'。 UTC时间,如'2020-01-01T12:00:00Z'。

Parameters:

  • FlowId:

    传输流Id。

  • StartTime:

    统计的开始时间,默认为前一小时,最多支持查询近7天。

  • EndTime:

    统计的结束时间,默认为StartTime后一小时,最多支持查询24小时的数据。

  • Type:

    输入或输出类型,可选[input|output]。

  • Pipeline:

    主通道或备通道,可选[0|1]。

  • PageSize:

    每页大小,默认100,范围为[1, 1000]。

  • SortType:

    按Timestamp升序或降序排序,默认降序,可选[desc|asc]。

  • PageNum:

    页码,默认1,范围为[1, 1000]。



14345
14346
14347
# File 'lib/v20190612/models.rb', line 14345

def PageNum
  @PageNum
end

#PageSizeObject

UTC时间,如'2020-01-01T12:00:00Z'。 UTC时间,如'2020-01-01T12:00:00Z'。

Parameters:

  • FlowId:

    传输流Id。

  • StartTime:

    统计的开始时间,默认为前一小时,最多支持查询近7天。

  • EndTime:

    统计的结束时间,默认为StartTime后一小时,最多支持查询24小时的数据。

  • Type:

    输入或输出类型,可选[input|output]。

  • Pipeline:

    主通道或备通道,可选[0|1]。

  • PageSize:

    每页大小,默认100,范围为[1, 1000]。

  • SortType:

    按Timestamp升序或降序排序,默认降序,可选[desc|asc]。

  • PageNum:

    页码,默认1,范围为[1, 1000]。



14345
14346
14347
# File 'lib/v20190612/models.rb', line 14345

def PageSize
  @PageSize
end

#PipelineObject

UTC时间,如'2020-01-01T12:00:00Z'。 UTC时间,如'2020-01-01T12:00:00Z'。

Parameters:

  • FlowId:

    传输流Id。

  • StartTime:

    统计的开始时间,默认为前一小时,最多支持查询近7天。

  • EndTime:

    统计的结束时间,默认为StartTime后一小时,最多支持查询24小时的数据。

  • Type:

    输入或输出类型,可选[input|output]。

  • Pipeline:

    主通道或备通道,可选[0|1]。

  • PageSize:

    每页大小,默认100,范围为[1, 1000]。

  • SortType:

    按Timestamp升序或降序排序,默认降序,可选[desc|asc]。

  • PageNum:

    页码,默认1,范围为[1, 1000]。



14345
14346
14347
# File 'lib/v20190612/models.rb', line 14345

def Pipeline
  @Pipeline
end

#SortTypeObject

UTC时间,如'2020-01-01T12:00:00Z'。 UTC时间,如'2020-01-01T12:00:00Z'。

Parameters:

  • FlowId:

    传输流Id。

  • StartTime:

    统计的开始时间,默认为前一小时,最多支持查询近7天。

  • EndTime:

    统计的结束时间,默认为StartTime后一小时,最多支持查询24小时的数据。

  • Type:

    输入或输出类型,可选[input|output]。

  • Pipeline:

    主通道或备通道,可选[0|1]。

  • PageSize:

    每页大小,默认100,范围为[1, 1000]。

  • SortType:

    按Timestamp升序或降序排序,默认降序,可选[desc|asc]。

  • PageNum:

    页码,默认1,范围为[1, 1000]。



14345
14346
14347
# File 'lib/v20190612/models.rb', line 14345

def SortType
  @SortType
end

#StartTimeObject

UTC时间,如'2020-01-01T12:00:00Z'。 UTC时间,如'2020-01-01T12:00:00Z'。

Parameters:

  • FlowId:

    传输流Id。

  • StartTime:

    统计的开始时间,默认为前一小时,最多支持查询近7天。

  • EndTime:

    统计的结束时间,默认为StartTime后一小时,最多支持查询24小时的数据。

  • Type:

    输入或输出类型,可选[input|output]。

  • Pipeline:

    主通道或备通道,可选[0|1]。

  • PageSize:

    每页大小,默认100,范围为[1, 1000]。

  • SortType:

    按Timestamp升序或降序排序,默认降序,可选[desc|asc]。

  • PageNum:

    页码,默认1,范围为[1, 1000]。



14345
14346
14347
# File 'lib/v20190612/models.rb', line 14345

def StartTime
  @StartTime
end

#TypeObject

UTC时间,如'2020-01-01T12:00:00Z'。 UTC时间,如'2020-01-01T12:00:00Z'。

Parameters:

  • FlowId:

    传输流Id。

  • StartTime:

    统计的开始时间,默认为前一小时,最多支持查询近7天。

  • EndTime:

    统计的结束时间,默认为StartTime后一小时,最多支持查询24小时的数据。

  • Type:

    输入或输出类型,可选[input|output]。

  • Pipeline:

    主通道或备通道,可选[0|1]。

  • PageSize:

    每页大小,默认100,范围为[1, 1000]。

  • SortType:

    按Timestamp升序或降序排序,默认降序,可选[desc|asc]。

  • PageNum:

    页码,默认1,范围为[1, 1000]。



14345
14346
14347
# File 'lib/v20190612/models.rb', line 14345

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
# File 'lib/v20190612/models.rb', line 14358

def deserialize(params)
  @FlowId = params['FlowId']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Type = params['Type']
  @Pipeline = params['Pipeline']
  @PageSize = params['PageSize']
  @SortType = params['SortType']
  @PageNum = params['PageNum']
end