Class: TencentCloud::Mps::V20190612::AdaptiveDynamicStreamingInfoItem

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

Overview

转自适应码流信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(definition = nil, package = nil, path = nil, storage = nil) ⇒ AdaptiveDynamicStreamingInfoItem

Returns a new instance of AdaptiveDynamicStreamingInfoItem.



516
517
518
519
520
521
# File 'lib/v20190612/models.rb', line 516

def initialize(definition=nil, package=nil, path=nil, storage=nil)
  @Definition = definition
  @Package = package
  @Path = path
  @Storage = storage
end

Instance Attribute Details

#DefinitionObject

Parameters:

  • Definition:

    转自适应码流规格。

  • Package:

    打包格式,可能为 HLS和 MPEG-DASH 两种。

  • Path:

    播放路径。

  • Storage:

    自适应码流文件的存储位置。



514
515
516
# File 'lib/v20190612/models.rb', line 514

def Definition
  @Definition
end

#PackageObject

Parameters:

  • Definition:

    转自适应码流规格。

  • Package:

    打包格式,可能为 HLS和 MPEG-DASH 两种。

  • Path:

    播放路径。

  • Storage:

    自适应码流文件的存储位置。



514
515
516
# File 'lib/v20190612/models.rb', line 514

def Package
  @Package
end

#PathObject

Parameters:

  • Definition:

    转自适应码流规格。

  • Package:

    打包格式,可能为 HLS和 MPEG-DASH 两种。

  • Path:

    播放路径。

  • Storage:

    自适应码流文件的存储位置。



514
515
516
# File 'lib/v20190612/models.rb', line 514

def Path
  @Path
end

#StorageObject

Parameters:

  • Definition:

    转自适应码流规格。

  • Package:

    打包格式,可能为 HLS和 MPEG-DASH 两种。

  • Path:

    播放路径。

  • Storage:

    自适应码流文件的存储位置。



514
515
516
# File 'lib/v20190612/models.rb', line 514

def Storage
  @Storage
end

Instance Method Details

#deserialize(params) ⇒ Object



523
524
525
526
527
528
529
530
531
# File 'lib/v20190612/models.rb', line 523

def deserialize(params)
  @Definition = params['Definition']
  @Package = params['Package']
  @Path = params['Path']
  unless params['Storage'].nil?
    @Storage = TaskOutputStorage.new
    @Storage.deserialize(params['Storage'])
  end
end