Class: TencentCloud::Cme::V20191029::ProjectMediaCastStatusChangedEvent
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::ProjectMediaCastStatusChangedEvent
- Defined in:
- lib/v20191029/models.rb
Overview
点播转直播项目状态变更事件。
Instance Attribute Summary collapse
-
#DestinationInterruptInfo ⇒ Object
<li>Started:点播转直播开始;</li> <li>Stopped:点播转直播结束;</li> <li>SourceInterrupted:点播转直播输入断流;</li> <li>DestinationInterrupted:点播转直播输出断流。</li>.
-
#ProjectId ⇒ Object
<li>Started:点播转直播开始;</li> <li>Stopped:点播转直播结束;</li> <li>SourceInterrupted:点播转直播输入断流;</li> <li>DestinationInterrupted:点播转直播输出断流。</li>.
-
#SourceInterruptInfo ⇒ Object
<li>Started:点播转直播开始;</li> <li>Stopped:点播转直播结束;</li> <li>SourceInterrupted:点播转直播输入断流;</li> <li>DestinationInterrupted:点播转直播输出断流。</li>.
-
#Status ⇒ Object
<li>Started:点播转直播开始;</li> <li>Stopped:点播转直播结束;</li> <li>SourceInterrupted:点播转直播输入断流;</li> <li>DestinationInterrupted:点播转直播输出断流。</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projectid = nil, status = nil, sourceinterruptinfo = nil, destinationinterruptinfo = nil) ⇒ ProjectMediaCastStatusChangedEvent
constructor
A new instance of ProjectMediaCastStatusChangedEvent.
Constructor Details
#initialize(projectid = nil, status = nil, sourceinterruptinfo = nil, destinationinterruptinfo = nil) ⇒ ProjectMediaCastStatusChangedEvent
Returns a new instance of ProjectMediaCastStatusChangedEvent.
5126 5127 5128 5129 5130 5131 |
# File 'lib/v20191029/models.rb', line 5126 def initialize(projectid=nil, status=nil, sourceinterruptinfo=nil, destinationinterruptinfo=nil) @ProjectId = projectid @Status = status @SourceInterruptInfo = sourceinterruptinfo @DestinationInterruptInfo = destinationinterruptinfo end |
Instance Attribute Details
#DestinationInterruptInfo ⇒ Object
<li>Started:点播转直播开始;</li> <li>Stopped:点播转直播结束;</li> <li>SourceInterrupted:点播转直播输入断流;</li> <li>DestinationInterrupted:点播转直播输出断流。</li>
5124 5125 5126 |
# File 'lib/v20191029/models.rb', line 5124 def DestinationInterruptInfo @DestinationInterruptInfo end |
#ProjectId ⇒ Object
<li>Started:点播转直播开始;</li> <li>Stopped:点播转直播结束;</li> <li>SourceInterrupted:点播转直播输入断流;</li> <li>DestinationInterrupted:点播转直播输出断流。</li>
5124 5125 5126 |
# File 'lib/v20191029/models.rb', line 5124 def ProjectId @ProjectId end |
#SourceInterruptInfo ⇒ Object
<li>Started:点播转直播开始;</li> <li>Stopped:点播转直播结束;</li> <li>SourceInterrupted:点播转直播输入断流;</li> <li>DestinationInterrupted:点播转直播输出断流。</li>
5124 5125 5126 |
# File 'lib/v20191029/models.rb', line 5124 def SourceInterruptInfo @SourceInterruptInfo end |
#Status ⇒ Object
<li>Started:点播转直播开始;</li> <li>Stopped:点播转直播结束;</li> <li>SourceInterrupted:点播转直播输入断流;</li> <li>DestinationInterrupted:点播转直播输出断流。</li>
5124 5125 5126 |
# File 'lib/v20191029/models.rb', line 5124 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 |
# File 'lib/v20191029/models.rb', line 5133 def deserialize(params) @ProjectId = params['ProjectId'] @Status = params['Status'] unless params['SourceInterruptInfo'].nil? @SourceInterruptInfo = MediaCastSourceInterruptInfo.new @SourceInterruptInfo.deserialize(params['SourceInterruptInfo']) end unless params['DestinationInterruptInfo'].nil? @DestinationInterruptInfo = MediaCastDestinationInterruptInfo.new @DestinationInterruptInfo.deserialize(params['DestinationInterruptInfo']) end end |