Class: TencentCloud::Mps::V20190612::AdaptiveDynamicStreamingInfoItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AdaptiveDynamicStreamingInfoItem
- Defined in:
- lib/v20190612/models.rb
Overview
转自适应码流信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(definition = nil, package = nil, path = nil, storage = nil) ⇒ AdaptiveDynamicStreamingInfoItem
constructor
A new instance of AdaptiveDynamicStreamingInfoItem.
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
#Definition ⇒ Object
514 515 516 |
# File 'lib/v20190612/models.rb', line 514 def Definition @Definition end |
#Package ⇒ Object
514 515 516 |
# File 'lib/v20190612/models.rb', line 514 def Package @Package end |
#Path ⇒ Object
514 515 516 |
# File 'lib/v20190612/models.rb', line 514 def Path @Path end |
#Storage ⇒ Object
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 |