Class: TencentCloud::Live::V20180801::DescribeCallbackRecordsListRequest

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

Overview

DescribeCallbackRecordsList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(starttime = nil, endtime = nil, streamname = nil, pagenum = nil, pagesize = nil, eventtype = nil, resultcode = nil) ⇒ DescribeCallbackRecordsListRequest

Returns a new instance of DescribeCallbackRecordsListRequest.



5524
5525
5526
5527
5528
5529
5530
5531
5532
# File 'lib/v20180801/models.rb', line 5524

def initialize(starttime=nil, endtime=nil, streamname=nil, pagenum=nil, pagesize=nil, eventtype=nil, resultcode=nil)
  @StartTime = starttime
  @EndTime = endtime
  @StreamName = streamname
  @PageNum = pagenum
  @PageSize = pagesize
  @EventType = eventtype
  @ResultCode = resultcode
end

Instance Attribute Details

#EndTimeObject

查询的起始和结束时间跨度不支持超过1天。仅支持查询最近14天的数据。0: “断流”, 1: “推流”, 100: “录制” 200: “截图回调”。0为成功,其他为失败。

Parameters:

  • StreamName:

    流名称,精确匹配。

  • PageNum:

    页码。

  • PageSize:

    每页条数。

  • EventType:

    事件类型。

  • ResultCode:

    回调结果。



5522
5523
5524
# File 'lib/v20180801/models.rb', line 5522

def EndTime
  @EndTime
end

#EventTypeObject

查询的起始和结束时间跨度不支持超过1天。仅支持查询最近14天的数据。0: “断流”, 1: “推流”, 100: “录制” 200: “截图回调”。0为成功,其他为失败。

Parameters:

  • StreamName:

    流名称,精确匹配。

  • PageNum:

    页码。

  • PageSize:

    每页条数。

  • EventType:

    事件类型。

  • ResultCode:

    回调结果。



5522
5523
5524
# File 'lib/v20180801/models.rb', line 5522

def EventType
  @EventType
end

#PageNumObject

查询的起始和结束时间跨度不支持超过1天。仅支持查询最近14天的数据。0: “断流”, 1: “推流”, 100: “录制” 200: “截图回调”。0为成功,其他为失败。

Parameters:

  • StreamName:

    流名称,精确匹配。

  • PageNum:

    页码。

  • PageSize:

    每页条数。

  • EventType:

    事件类型。

  • ResultCode:

    回调结果。



5522
5523
5524
# File 'lib/v20180801/models.rb', line 5522

def PageNum
  @PageNum
end

#PageSizeObject

查询的起始和结束时间跨度不支持超过1天。仅支持查询最近14天的数据。0: “断流”, 1: “推流”, 100: “录制” 200: “截图回调”。0为成功,其他为失败。

Parameters:

  • StreamName:

    流名称,精确匹配。

  • PageNum:

    页码。

  • PageSize:

    每页条数。

  • EventType:

    事件类型。

  • ResultCode:

    回调结果。



5522
5523
5524
# File 'lib/v20180801/models.rb', line 5522

def PageSize
  @PageSize
end

#ResultCodeObject

查询的起始和结束时间跨度不支持超过1天。仅支持查询最近14天的数据。0: “断流”, 1: “推流”, 100: “录制” 200: “截图回调”。0为成功,其他为失败。

Parameters:

  • StreamName:

    流名称,精确匹配。

  • PageNum:

    页码。

  • PageSize:

    每页条数。

  • EventType:

    事件类型。

  • ResultCode:

    回调结果。



5522
5523
5524
# File 'lib/v20180801/models.rb', line 5522

def ResultCode
  @ResultCode
end

#StartTimeObject

查询的起始和结束时间跨度不支持超过1天。仅支持查询最近14天的数据。0: “断流”, 1: “推流”, 100: “录制” 200: “截图回调”。0为成功,其他为失败。

Parameters:

  • StreamName:

    流名称,精确匹配。

  • PageNum:

    页码。

  • PageSize:

    每页条数。

  • EventType:

    事件类型。

  • ResultCode:

    回调结果。



5522
5523
5524
# File 'lib/v20180801/models.rb', line 5522

def StartTime
  @StartTime
end

#StreamNameObject

查询的起始和结束时间跨度不支持超过1天。仅支持查询最近14天的数据。0: “断流”, 1: “推流”, 100: “录制” 200: “截图回调”。0为成功,其他为失败。

Parameters:

  • StreamName:

    流名称,精确匹配。

  • PageNum:

    页码。

  • PageSize:

    每页条数。

  • EventType:

    事件类型。

  • ResultCode:

    回调结果。



5522
5523
5524
# File 'lib/v20180801/models.rb', line 5522

def StreamName
  @StreamName
end

Instance Method Details

#deserialize(params) ⇒ Object



5534
5535
5536
5537
5538
5539
5540
5541
5542
# File 'lib/v20180801/models.rb', line 5534

def deserialize(params)
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @StreamName = params['StreamName']
  @PageNum = params['PageNum']
  @PageSize = params['PageSize']
  @EventType = params['EventType']
  @ResultCode = params['ResultCode']
end