Class: TencentCloud::Mps::V20190612::StreamUrlDetail

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

Overview

描述 URL 的完整信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(label = nil, url = nil, type = nil) ⇒ StreamUrlDetail

Returns a new instance of StreamUrlDetail.



25365
25366
25367
25368
25369
# File 'lib/v20190612/models.rb', line 25365

def initialize(label=nil, url=nil, type=nil)
  @Label = label
  @Url = url
  @Type = type
end

Instance Attribute Details

#LabelObject

Parameters:

  • Label:

    会描述运营商信息等

  • Url:

    URL

  • Type:

    Playback: 拉流播放地址; RelayDestination:转推目的地址;SourceCaptureUrl:回源拉流地址;IngestEndpoint:推流地址



25363
25364
25365
# File 'lib/v20190612/models.rb', line 25363

def Label
  @Label
end

#TypeObject

Parameters:

  • Label:

    会描述运营商信息等

  • Url:

    URL

  • Type:

    Playback: 拉流播放地址; RelayDestination:转推目的地址;SourceCaptureUrl:回源拉流地址;IngestEndpoint:推流地址



25363
25364
25365
# File 'lib/v20190612/models.rb', line 25363

def Type
  @Type
end

#UrlObject

Parameters:

  • Label:

    会描述运营商信息等

  • Url:

    URL

  • Type:

    Playback: 拉流播放地址; RelayDestination:转推目的地址;SourceCaptureUrl:回源拉流地址;IngestEndpoint:推流地址



25363
25364
25365
# File 'lib/v20190612/models.rb', line 25363

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



25371
25372
25373
25374
25375
# File 'lib/v20190612/models.rb', line 25371

def deserialize(params)
  @Label = params['Label']
  @Url = params['Url']
  @Type = params['Type']
end