Class: TencentCloud::Cme::V20191029::ProjectStreamConnectStatusChangedEvent
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::ProjectStreamConnectStatusChangedEvent
- Defined in:
- lib/v20191029/models.rb
Overview
云转推项目状态变更事件。
Instance Attribute Summary collapse
-
#InputInterruptInfo ⇒ Object
<li>Working:云转推推流开始;</li> <li>Stopped:云转推推流结束;</li> <li>InputInterrupted:云转推输入断流;</li> <li>OutputInterrupted:云转推输出断流。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#OutputInterruptInfo ⇒ Object
<li>Working:云转推推流开始;</li> <li>Stopped:云转推推流结束;</li> <li>InputInterrupted:云转推输入断流;</li> <li>OutputInterrupted:云转推输出断流。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ProjectId ⇒ Object
<li>Working:云转推推流开始;</li> <li>Stopped:云转推推流结束;</li> <li>InputInterrupted:云转推输入断流;</li> <li>OutputInterrupted:云转推输出断流。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
<li>Working:云转推推流开始;</li> <li>Stopped:云转推推流结束;</li> <li>InputInterrupted:云转推输入断流;</li> <li>OutputInterrupted:云转推输出断流。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projectid = nil, status = nil, inputinterruptinfo = nil, outputinterruptinfo = nil) ⇒ ProjectStreamConnectStatusChangedEvent
constructor
A new instance of ProjectStreamConnectStatusChangedEvent.
Constructor Details
#initialize(projectid = nil, status = nil, inputinterruptinfo = nil, outputinterruptinfo = nil) ⇒ ProjectStreamConnectStatusChangedEvent
Returns a new instance of ProjectStreamConnectStatusChangedEvent.
5166 5167 5168 5169 5170 5171 |
# File 'lib/v20191029/models.rb', line 5166 def initialize(projectid=nil, status=nil, inputinterruptinfo=nil, outputinterruptinfo=nil) @ProjectId = projectid @Status = status @InputInterruptInfo = inputinterruptinfo @OutputInterruptInfo = outputinterruptinfo end |
Instance Attribute Details
#InputInterruptInfo ⇒ Object
<li>Working:云转推推流开始;</li> <li>Stopped:云转推推流结束;</li> <li>InputInterrupted:云转推输入断流;</li> <li>OutputInterrupted:云转推输出断流。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5164 5165 5166 |
# File 'lib/v20191029/models.rb', line 5164 def InputInterruptInfo @InputInterruptInfo end |
#OutputInterruptInfo ⇒ Object
<li>Working:云转推推流开始;</li> <li>Stopped:云转推推流结束;</li> <li>InputInterrupted:云转推输入断流;</li> <li>OutputInterrupted:云转推输出断流。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5164 5165 5166 |
# File 'lib/v20191029/models.rb', line 5164 def OutputInterruptInfo @OutputInterruptInfo end |
#ProjectId ⇒ Object
<li>Working:云转推推流开始;</li> <li>Stopped:云转推推流结束;</li> <li>InputInterrupted:云转推输入断流;</li> <li>OutputInterrupted:云转推输出断流。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5164 5165 5166 |
# File 'lib/v20191029/models.rb', line 5164 def ProjectId @ProjectId end |
#Status ⇒ Object
<li>Working:云转推推流开始;</li> <li>Stopped:云转推推流结束;</li> <li>InputInterrupted:云转推输入断流;</li> <li>OutputInterrupted:云转推输出断流。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5164 5165 5166 |
# File 'lib/v20191029/models.rb', line 5164 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 |
# File 'lib/v20191029/models.rb', line 5173 def deserialize(params) @ProjectId = params['ProjectId'] @Status = params['Status'] unless params['InputInterruptInfo'].nil? @InputInterruptInfo = StreamConnectInputInterruptInfo.new @InputInterruptInfo.deserialize(params['InputInterruptInfo']) end unless params['OutputInterruptInfo'].nil? @OutputInterruptInfo = StreamConnectOutputInterruptInfo.new @OutputInterruptInfo.deserialize(params['OutputInterruptInfo']) end end |