Class: TencentCloud::Cme::V20191029::StreamConnectProjectInfo

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20191029/models.rb

Overview

云转推项目信息,包含输入源、输出源、当前转推开始时间等信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
# File 'lib/v20191029/models.rb', line 5802

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

#BackupInputObject

<li>Working :转推中;</li> <li>Idle :空闲中。</li> <li>Main :主输入源;</li> <li>Backup :备输入源。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    转推项目状态,取值有:

  • CurrentInputEndpoint:

    当前转推输入源,取值有:

  • CurrentStartTime:

    当前转推开始时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • CurrentStopTime:

    当前转推计划结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • LastStopTime:

    上一次转推结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Idle 时有效。

  • MainInput:

    云转推主输入源。

  • BackupInput:

    云转推备输入源。

  • OutputSet:

    云转推输出源。



5800
5801
5802
# File 'lib/v20191029/models.rb', line 5800

def BackupInput
  @BackupInput
end

#CurrentInputEndpointObject

<li>Working :转推中;</li> <li>Idle :空闲中。</li> <li>Main :主输入源;</li> <li>Backup :备输入源。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    转推项目状态,取值有:

  • CurrentInputEndpoint:

    当前转推输入源,取值有:

  • CurrentStartTime:

    当前转推开始时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • CurrentStopTime:

    当前转推计划结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • LastStopTime:

    上一次转推结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Idle 时有效。

  • MainInput:

    云转推主输入源。

  • BackupInput:

    云转推备输入源。

  • OutputSet:

    云转推输出源。



5800
5801
5802
# File 'lib/v20191029/models.rb', line 5800

def CurrentInputEndpoint
  @CurrentInputEndpoint
end

#CurrentStartTimeObject

<li>Working :转推中;</li> <li>Idle :空闲中。</li> <li>Main :主输入源;</li> <li>Backup :备输入源。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    转推项目状态,取值有:

  • CurrentInputEndpoint:

    当前转推输入源,取值有:

  • CurrentStartTime:

    当前转推开始时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • CurrentStopTime:

    当前转推计划结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • LastStopTime:

    上一次转推结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Idle 时有效。

  • MainInput:

    云转推主输入源。

  • BackupInput:

    云转推备输入源。

  • OutputSet:

    云转推输出源。



5800
5801
5802
# File 'lib/v20191029/models.rb', line 5800

def CurrentStartTime
  @CurrentStartTime
end

#CurrentStopTimeObject

<li>Working :转推中;</li> <li>Idle :空闲中。</li> <li>Main :主输入源;</li> <li>Backup :备输入源。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    转推项目状态,取值有:

  • CurrentInputEndpoint:

    当前转推输入源,取值有:

  • CurrentStartTime:

    当前转推开始时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • CurrentStopTime:

    当前转推计划结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • LastStopTime:

    上一次转推结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Idle 时有效。

  • MainInput:

    云转推主输入源。

  • BackupInput:

    云转推备输入源。

  • OutputSet:

    云转推输出源。



5800
5801
5802
# File 'lib/v20191029/models.rb', line 5800

def CurrentStopTime
  @CurrentStopTime
end

#LastStopTimeObject

<li>Working :转推中;</li> <li>Idle :空闲中。</li> <li>Main :主输入源;</li> <li>Backup :备输入源。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    转推项目状态,取值有:

  • CurrentInputEndpoint:

    当前转推输入源,取值有:

  • CurrentStartTime:

    当前转推开始时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • CurrentStopTime:

    当前转推计划结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • LastStopTime:

    上一次转推结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Idle 时有效。

  • MainInput:

    云转推主输入源。

  • BackupInput:

    云转推备输入源。

  • OutputSet:

    云转推输出源。



5800
5801
5802
# File 'lib/v20191029/models.rb', line 5800

def LastStopTime
  @LastStopTime
end

#MainInputObject

<li>Working :转推中;</li> <li>Idle :空闲中。</li> <li>Main :主输入源;</li> <li>Backup :备输入源。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    转推项目状态,取值有:

  • CurrentInputEndpoint:

    当前转推输入源,取值有:

  • CurrentStartTime:

    当前转推开始时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • CurrentStopTime:

    当前转推计划结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • LastStopTime:

    上一次转推结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Idle 时有效。

  • MainInput:

    云转推主输入源。

  • BackupInput:

    云转推备输入源。

  • OutputSet:

    云转推输出源。



5800
5801
5802
# File 'lib/v20191029/models.rb', line 5800

def MainInput
  @MainInput
end

#OutputSetObject

<li>Working :转推中;</li> <li>Idle :空闲中。</li> <li>Main :主输入源;</li> <li>Backup :备输入源。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    转推项目状态,取值有:

  • CurrentInputEndpoint:

    当前转推输入源,取值有:

  • CurrentStartTime:

    当前转推开始时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • CurrentStopTime:

    当前转推计划结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • LastStopTime:

    上一次转推结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Idle 时有效。

  • MainInput:

    云转推主输入源。

  • BackupInput:

    云转推备输入源。

  • OutputSet:

    云转推输出源。



5800
5801
5802
# File 'lib/v20191029/models.rb', line 5800

def OutputSet
  @OutputSet
end

#StatusObject

<li>Working :转推中;</li> <li>Idle :空闲中。</li> <li>Main :主输入源;</li> <li>Backup :备输入源。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    转推项目状态,取值有:

  • CurrentInputEndpoint:

    当前转推输入源,取值有:

  • CurrentStartTime:

    当前转推开始时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • CurrentStopTime:

    当前转推计划结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。

  • LastStopTime:

    上一次转推结束时间, 采用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Idle 时有效。

  • MainInput:

    云转推主输入源。

  • BackupInput:

    云转推备输入源。

  • OutputSet:

    云转推输出源。



5800
5801
5802
# File 'lib/v20191029/models.rb', line 5800

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
# File 'lib/v20191029/models.rb', line 5813

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