Class: TencentCloud::Mps::V20190612::OutputSRTSourceAddressResp

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

Overview

SRT输出的监听地址。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ip = nil, port = nil) ⇒ OutputSRTSourceAddressResp

Returns a new instance of OutputSRTSourceAddressResp.



23837
23838
23839
23840
# File 'lib/v20190612/models.rb', line 23837

def initialize(ip=nil, port=nil)
  @Ip = ip
  @Port = port
end

Instance Attribute Details

#IpObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Ip:

    监听IP。

  • Port:

    监听端口。



23835
23836
23837
# File 'lib/v20190612/models.rb', line 23835

def Ip
  @Ip
end

#PortObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Ip:

    监听IP。

  • Port:

    监听端口。



23835
23836
23837
# File 'lib/v20190612/models.rb', line 23835

def Port
  @Port
end

Instance Method Details

#deserialize(params) ⇒ Object



23842
23843
23844
23845
# File 'lib/v20190612/models.rb', line 23842

def deserialize(params)
  @Ip = params['Ip']
  @Port = params['Port']
end