Class: TencentCloud::Live::V20180801::PullStreamConfig

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

Overview

拉流配置。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configid = nil, fromurl = nil, tourl = nil, areaname = nil, ispname = nil, starttime = nil, endtime = nil, status = nil) ⇒ PullStreamConfig



13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
# File 'lib/v20180801/models.rb', line 13667

def initialize(configid=nil, fromurl=nil, tourl=nil, areaname=nil, ispname=nil, starttime=nil, endtime=nil, status=nil)
  @ConfigId = configid
  @FromUrl = fromurl
  @ToUrl = tourl
  @AreaName = areaname
  @IspName = ispname
  @StartTime = starttime
  @EndTime = endtime
  @Status = status
end

Instance Attribute Details

#AreaNameObject

UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。0: 无效。1: 初始状态。2: 正在运行。3: 拉起失败。4: 暂停。



13665
13666
13667
# File 'lib/v20180801/models.rb', line 13665

def AreaName
  @AreaName
end

#ConfigIdObject

UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。0: 无效。1: 初始状态。2: 正在运行。3: 拉起失败。4: 暂停。



13665
13666
13667
# File 'lib/v20180801/models.rb', line 13665

def ConfigId
  @ConfigId
end

#EndTimeObject

UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。0: 无效。1: 初始状态。2: 正在运行。3: 拉起失败。4: 暂停。



13665
13666
13667
# File 'lib/v20180801/models.rb', line 13665

def EndTime
  @EndTime
end

#FromUrlObject

UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。0: 无效。1: 初始状态。2: 正在运行。3: 拉起失败。4: 暂停。



13665
13666
13667
# File 'lib/v20180801/models.rb', line 13665

def FromUrl
  @FromUrl
end

#IspNameObject

UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。0: 无效。1: 初始状态。2: 正在运行。3: 拉起失败。4: 暂停。



13665
13666
13667
# File 'lib/v20180801/models.rb', line 13665

def IspName
  @IspName
end

#StartTimeObject

UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。0: 无效。1: 初始状态。2: 正在运行。3: 拉起失败。4: 暂停。



13665
13666
13667
# File 'lib/v20180801/models.rb', line 13665

def StartTime
  @StartTime
end

#StatusObject

UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。0: 无效。1: 初始状态。2: 正在运行。3: 拉起失败。4: 暂停。



13665
13666
13667
# File 'lib/v20180801/models.rb', line 13665

def Status
  @Status
end

#ToUrlObject

UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。0: 无效。1: 初始状态。2: 正在运行。3: 拉起失败。4: 暂停。



13665
13666
13667
# File 'lib/v20180801/models.rb', line 13665

def ToUrl
  @ToUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
# File 'lib/v20180801/models.rb', line 13678

def deserialize(params)
  @ConfigId = params['ConfigId']
  @FromUrl = params['FromUrl']
  @ToUrl = params['ToUrl']
  @AreaName = params['AreaName']
  @IspName = params['IspName']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Status = params['Status']
end