Class: TencentCloud::Cme::V20191029::StreamConnectProjectInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::StreamConnectProjectInfo
- Defined in:
- lib/v20191029/models.rb
Overview
云转推项目信息,包含输入源、输出源、当前转推开始时间等信息。
Instance Attribute Summary collapse
-
#BackupInput ⇒ Object
- Working :转推中;
- Idle :空闲中。
- Main :主输入源;
- Backup :备输入源。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#CurrentInputEndpoint ⇒ Object
- Working :转推中;
- Idle :空闲中。
- Main :主输入源;
- Backup :备输入源。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#CurrentStartTime ⇒ Object
- Working :转推中;
- Idle :空闲中。
- Main :主输入源;
- Backup :备输入源。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#CurrentStopTime ⇒ Object
- Working :转推中;
- Idle :空闲中。
- Main :主输入源;
- Backup :备输入源。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#LastStopTime ⇒ Object
- Working :转推中;
- Idle :空闲中。
- Main :主输入源;
- Backup :备输入源。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#MainInput ⇒ Object
- Working :转推中;
- Idle :空闲中。
- Main :主输入源;
- Backup :备输入源。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#OutputSet ⇒ Object
- Working :转推中;
- Idle :空闲中。
- Main :主输入源;
- Backup :备输入源。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#Status ⇒ Object
- Working :转推中;
- Idle :空闲中。
- Main :主输入源;
- Backup :备输入源。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(status = nil, currentinputendpoint = nil, currentstarttime = nil, currentstoptime = nil, laststoptime = nil, maininput = nil, backupinput = nil, outputset = nil) ⇒ StreamConnectProjectInfo
constructor
A new instance of StreamConnectProjectInfo.
Constructor Details
#initialize(status = nil, currentinputendpoint = nil, currentstarttime = nil, currentstoptime = nil, laststoptime = nil, maininput = nil, backupinput = nil, outputset = nil) ⇒ StreamConnectProjectInfo
Returns a new instance of StreamConnectProjectInfo.
5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 |
# File 'lib/v20191029/models.rb', line 5810 def initialize(status=nil, currentinputendpoint=nil, currentstarttime=nil, currentstoptime=nil, laststoptime=nil, maininput=nil, backupinput=nil, outputset=nil) @Status = status @CurrentInputEndpoint = currentinputendpoint @CurrentStartTime = currentstarttime @CurrentStopTime = currentstoptime @LastStopTime = laststoptime @MainInput = maininput @BackupInput = backupinput @OutputSet = outputset end |
Instance Attribute Details
#BackupInput ⇒ Object
5808 5809 5810 |
# File 'lib/v20191029/models.rb', line 5808 def BackupInput @BackupInput end |
#CurrentInputEndpoint ⇒ Object
5808 5809 5810 |
# File 'lib/v20191029/models.rb', line 5808 def CurrentInputEndpoint @CurrentInputEndpoint end |
#CurrentStartTime ⇒ Object
5808 5809 5810 |
# File 'lib/v20191029/models.rb', line 5808 def CurrentStartTime @CurrentStartTime end |
#CurrentStopTime ⇒ Object
5808 5809 5810 |
# File 'lib/v20191029/models.rb', line 5808 def CurrentStopTime @CurrentStopTime end |
#LastStopTime ⇒ Object
5808 5809 5810 |
# File 'lib/v20191029/models.rb', line 5808 def LastStopTime @LastStopTime end |
#MainInput ⇒ Object
5808 5809 5810 |
# File 'lib/v20191029/models.rb', line 5808 def MainInput @MainInput end |
#OutputSet ⇒ Object
5808 5809 5810 |
# File 'lib/v20191029/models.rb', line 5808 def OutputSet @OutputSet end |
#Status ⇒ Object
5808 5809 5810 |
# File 'lib/v20191029/models.rb', line 5808 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 |
# File 'lib/v20191029/models.rb', line 5821 def deserialize(params) @Status = params['Status'] @CurrentInputEndpoint = params['CurrentInputEndpoint'] @CurrentStartTime = params['CurrentStartTime'] @CurrentStopTime = params['CurrentStopTime'] @LastStopTime = params['LastStopTime'] unless params['MainInput'].nil? @MainInput = StreamInputInfo.new @MainInput.deserialize(params['MainInput']) end unless params['BackupInput'].nil? @BackupInput = StreamInputInfo.new @BackupInput.deserialize(params['BackupInput']) end unless params['OutputSet'].nil? @OutputSet = [] params['OutputSet'].each do |i| streamconnectoutputinfo_tmp = StreamConnectOutputInfo.new streamconnectoutputinfo_tmp.deserialize(i) @OutputSet << streamconnectoutputinfo_tmp end end end |