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

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

Overview

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

Instance Attribute Summary collapse

  • #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

    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

    #BackupInputObject

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

    Parameters:

    • Status:

      转推项目状态,取值有:

    • CurrentInputEndpoint:

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

    • CurrentStartTime:

      当前转推开始时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • CurrentStopTime:

      当前转推计划结束时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • LastStopTime:

      上一次转推结束时间, 采用 ISO 日期格式。仅 Status 取值 Idle 时有效。

    • MainInput:

      云转推主输入源。

    • BackupInput:

      云转推备输入源。

    • OutputSet:

      云转推输出源。

    
    
    5808
    5809
    5810
    # File 'lib/v20191029/models.rb', line 5808
    
    def BackupInput
      @BackupInput
    end

    #CurrentInputEndpointObject

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

    Parameters:

    • Status:

      转推项目状态,取值有:

    • CurrentInputEndpoint:

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

    • CurrentStartTime:

      当前转推开始时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • CurrentStopTime:

      当前转推计划结束时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • LastStopTime:

      上一次转推结束时间, 采用 ISO 日期格式。仅 Status 取值 Idle 时有效。

    • MainInput:

      云转推主输入源。

    • BackupInput:

      云转推备输入源。

    • OutputSet:

      云转推输出源。

    
    
    5808
    5809
    5810
    # File 'lib/v20191029/models.rb', line 5808
    
    def CurrentInputEndpoint
      @CurrentInputEndpoint
    end

    #CurrentStartTimeObject

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

    Parameters:

    • Status:

      转推项目状态,取值有:

    • CurrentInputEndpoint:

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

    • CurrentStartTime:

      当前转推开始时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • CurrentStopTime:

      当前转推计划结束时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • LastStopTime:

      上一次转推结束时间, 采用 ISO 日期格式。仅 Status 取值 Idle 时有效。

    • MainInput:

      云转推主输入源。

    • BackupInput:

      云转推备输入源。

    • OutputSet:

      云转推输出源。

    
    
    5808
    5809
    5810
    # File 'lib/v20191029/models.rb', line 5808
    
    def CurrentStartTime
      @CurrentStartTime
    end

    #CurrentStopTimeObject

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

    Parameters:

    • Status:

      转推项目状态,取值有:

    • CurrentInputEndpoint:

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

    • CurrentStartTime:

      当前转推开始时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • CurrentStopTime:

      当前转推计划结束时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • LastStopTime:

      上一次转推结束时间, 采用 ISO 日期格式。仅 Status 取值 Idle 时有效。

    • MainInput:

      云转推主输入源。

    • BackupInput:

      云转推备输入源。

    • OutputSet:

      云转推输出源。

    
    
    5808
    5809
    5810
    # File 'lib/v20191029/models.rb', line 5808
    
    def CurrentStopTime
      @CurrentStopTime
    end

    #LastStopTimeObject

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

    Parameters:

    • Status:

      转推项目状态,取值有:

    • CurrentInputEndpoint:

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

    • CurrentStartTime:

      当前转推开始时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • CurrentStopTime:

      当前转推计划结束时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • LastStopTime:

      上一次转推结束时间, 采用 ISO 日期格式。仅 Status 取值 Idle 时有效。

    • MainInput:

      云转推主输入源。

    • BackupInput:

      云转推备输入源。

    • OutputSet:

      云转推输出源。

    
    
    5808
    5809
    5810
    # File 'lib/v20191029/models.rb', line 5808
    
    def LastStopTime
      @LastStopTime
    end

    #MainInputObject

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

    Parameters:

    • Status:

      转推项目状态,取值有:

    • CurrentInputEndpoint:

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

    • CurrentStartTime:

      当前转推开始时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • CurrentStopTime:

      当前转推计划结束时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • LastStopTime:

      上一次转推结束时间, 采用 ISO 日期格式。仅 Status 取值 Idle 时有效。

    • MainInput:

      云转推主输入源。

    • BackupInput:

      云转推备输入源。

    • OutputSet:

      云转推输出源。

    
    
    5808
    5809
    5810
    # File 'lib/v20191029/models.rb', line 5808
    
    def MainInput
      @MainInput
    end

    #OutputSetObject

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

    Parameters:

    • Status:

      转推项目状态,取值有:

    • CurrentInputEndpoint:

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

    • CurrentStartTime:

      当前转推开始时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • CurrentStopTime:

      当前转推计划结束时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • LastStopTime:

      上一次转推结束时间, 采用 ISO 日期格式。仅 Status 取值 Idle 时有效。

    • MainInput:

      云转推主输入源。

    • BackupInput:

      云转推备输入源。

    • OutputSet:

      云转推输出源。

    
    
    5808
    5809
    5810
    # File 'lib/v20191029/models.rb', line 5808
    
    def OutputSet
      @OutputSet
    end

    #StatusObject

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

    Parameters:

    • Status:

      转推项目状态,取值有:

    • CurrentInputEndpoint:

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

    • CurrentStartTime:

      当前转推开始时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • CurrentStopTime:

      当前转推计划结束时间, 采用 ISO 日期格式。仅 Status 取值 Working 时有效。

    • LastStopTime:

      上一次转推结束时间, 采用 ISO 日期格式。仅 Status 取值 Idle 时有效。

    • MainInput:

      云转推主输入源。

    • BackupInput:

      云转推备输入源。

    • OutputSet:

      云转推输出源。

    
    
    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