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
- Started:点播转直播开始;
- Stopped:点播转直播结束;
- SourceInterrupted:点播转直播输入断流;
- DestinationInterrupted:点播转直播输出断流。
. -
#ProjectId ⇒ Object
- Started:点播转直播开始;
- Stopped:点播转直播结束;
- SourceInterrupted:点播转直播输入断流;
- DestinationInterrupted:点播转直播输出断流。
. -
#SourceInterruptInfo ⇒ Object
- Started:点播转直播开始;
- Stopped:点播转直播结束;
- SourceInterrupted:点播转直播输入断流;
- DestinationInterrupted:点播转直播输出断流。
. -
#Status ⇒ Object
- Started:点播转直播开始;
- Stopped:点播转直播结束;
- SourceInterrupted:点播转直播输入断流;
- DestinationInterrupted:点播转直播输出断流。
.
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.
5134 5135 5136 5137 5138 5139 |
# File 'lib/v20191029/models.rb', line 5134 def initialize(projectid=nil, status=nil, sourceinterruptinfo=nil, destinationinterruptinfo=nil) @ProjectId = projectid @Status = status @SourceInterruptInfo = sourceinterruptinfo @DestinationInterruptInfo = destinationinterruptinfo end |
Instance Attribute Details
#DestinationInterruptInfo ⇒ Object
5132 5133 5134 |
# File 'lib/v20191029/models.rb', line 5132 def DestinationInterruptInfo @DestinationInterruptInfo end |
#ProjectId ⇒ Object
5132 5133 5134 |
# File 'lib/v20191029/models.rb', line 5132 def ProjectId @ProjectId end |
#SourceInterruptInfo ⇒ Object
5132 5133 5134 |
# File 'lib/v20191029/models.rb', line 5132 def SourceInterruptInfo @SourceInterruptInfo end |
#Status ⇒ Object
5132 5133 5134 |
# File 'lib/v20191029/models.rb', line 5132 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 |
# File 'lib/v20191029/models.rb', line 5141 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 |