Class: TencentCloud::Cme::V20191029::StreamConnectOutputInfo

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(streamconnectoutput = nil, pushswitch = nil) ⇒ StreamConnectOutputInfo

Returns a new instance of StreamConnectOutputInfo.



5737
5738
5739
5740
# File 'lib/v20191029/models.rb', line 5737

def initialize(streamconnectoutput=nil, pushswitch=nil)
  @StreamConnectOutput = streamconnectoutput
  @PushSwitch = pushswitch
end

Instance Attribute Details

#PushSwitchObject

注意:此字段可能返回 null,表示取不到有效值。<li>On :开;</li> <li>Off :关 。</li>

Parameters:

  • StreamConnectOutput:

    输出源。

  • PushSwitch:

    输出流状态:



5735
5736
5737
# File 'lib/v20191029/models.rb', line 5735

def PushSwitch
  @PushSwitch
end

#StreamConnectOutputObject

注意:此字段可能返回 null,表示取不到有效值。<li>On :开;</li> <li>Off :关 。</li>

Parameters:

  • StreamConnectOutput:

    输出源。

  • PushSwitch:

    输出流状态:



5735
5736
5737
# File 'lib/v20191029/models.rb', line 5735

def StreamConnectOutput
  @StreamConnectOutput
end

Instance Method Details

#deserialize(params) ⇒ Object



5742
5743
5744
5745
5746
5747
5748
# File 'lib/v20191029/models.rb', line 5742

def deserialize(params)
  unless params['StreamConnectOutput'].nil?
    @StreamConnectOutput = StreamConnectOutput.new
    @StreamConnectOutput.deserialize(params['StreamConnectOutput'])
  end
  @PushSwitch = params['PushSwitch']
end