Class: TencentCloud::Cme::V20191029::ProjectStreamConnectStatusChangedEvent

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

Overview

云转推项目状态变更事件。

Instance Attribute Summary collapse

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

    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

    #InputInterruptInfoObject

  • Working:云转推推流开始;
  • Stopped:云转推推流结束;
  • InputInterrupted:云转推输入断流;
  • OutputInterrupted:云转推输出断流。
  • 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • ProjectId:

      项目 Id。

    • Status:

      项目状态,取值有:

    • InputInterruptInfo:

      云转推输入断流信息,仅当 Status 取值 InputInterrupted 时有效。

    • OutputInterruptInfo:

      云转推输出断流信息,仅当 Status 取值 OutputInterrupted 时有效。

    
    
    5172
    5173
    5174
    # File 'lib/v20191029/models.rb', line 5172
    
    def InputInterruptInfo
      @InputInterruptInfo
    end

    #OutputInterruptInfoObject

  • Working:云转推推流开始;
  • Stopped:云转推推流结束;
  • InputInterrupted:云转推输入断流;
  • OutputInterrupted:云转推输出断流。
  • 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • ProjectId:

      项目 Id。

    • Status:

      项目状态,取值有:

    • InputInterruptInfo:

      云转推输入断流信息,仅当 Status 取值 InputInterrupted 时有效。

    • OutputInterruptInfo:

      云转推输出断流信息,仅当 Status 取值 OutputInterrupted 时有效。

    
    
    5172
    5173
    5174
    # File 'lib/v20191029/models.rb', line 5172
    
    def OutputInterruptInfo
      @OutputInterruptInfo
    end

    #ProjectIdObject

  • Working:云转推推流开始;
  • Stopped:云转推推流结束;
  • InputInterrupted:云转推输入断流;
  • OutputInterrupted:云转推输出断流。
  • 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • ProjectId:

      项目 Id。

    • Status:

      项目状态,取值有:

    • InputInterruptInfo:

      云转推输入断流信息,仅当 Status 取值 InputInterrupted 时有效。

    • OutputInterruptInfo:

      云转推输出断流信息,仅当 Status 取值 OutputInterrupted 时有效。

    
    
    5172
    5173
    5174
    # File 'lib/v20191029/models.rb', line 5172
    
    def ProjectId
      @ProjectId
    end

    #StatusObject

  • Working:云转推推流开始;
  • Stopped:云转推推流结束;
  • InputInterrupted:云转推输入断流;
  • OutputInterrupted:云转推输出断流。
  • 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • ProjectId:

      项目 Id。

    • Status:

      项目状态,取值有:

    • InputInterruptInfo:

      云转推输入断流信息,仅当 Status 取值 InputInterrupted 时有效。

    • OutputInterruptInfo:

      云转推输出断流信息,仅当 Status 取值 OutputInterrupted 时有效。

    
    
    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