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
- Working:云转推推流开始;
- Stopped:云转推推流结束;
- InputInterrupted:云转推输入断流;
- OutputInterrupted:云转推输出断流。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#OutputInterruptInfo ⇒ Object
- Working:云转推推流开始;
- Stopped:云转推推流结束;
- InputInterrupted:云转推输入断流;
- OutputInterrupted:云转推输出断流。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#ProjectId ⇒ Object
- Working:云转推推流开始;
- Stopped:云转推推流结束;
- InputInterrupted:云转推输入断流;
- OutputInterrupted:云转推输出断流。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#Status ⇒ Object
- Working:云转推推流开始;
- Stopped:云转推推流结束;
- InputInterrupted:云转推输入断流;
- OutputInterrupted:云转推输出断流。
注意:此字段可能返回 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.
5174 5175 5176 5177 5178 5179 |
# File 'lib/v20191029/models.rb', line 5174 def initialize(projectid=nil, status=nil, inputinterruptinfo=nil, outputinterruptinfo=nil) @ProjectId = projectid @Status = status @InputInterruptInfo = inputinterruptinfo @OutputInterruptInfo = outputinterruptinfo end |
Instance Attribute Details
#InputInterruptInfo ⇒ Object
5172 5173 5174 |
# File 'lib/v20191029/models.rb', line 5172 def InputInterruptInfo @InputInterruptInfo end |
#OutputInterruptInfo ⇒ Object
5172 5173 5174 |
# File 'lib/v20191029/models.rb', line 5172 def OutputInterruptInfo @OutputInterruptInfo end |
#ProjectId ⇒ Object
5172 5173 5174 |
# File 'lib/v20191029/models.rb', line 5172 def ProjectId @ProjectId end |
#Status ⇒ Object
5172 5173 5174 |
# File 'lib/v20191029/models.rb', line 5172 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 |
# File 'lib/v20191029/models.rb', line 5181 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 |