Class: TencentCloud::Mps::V20190612::SRTSourceAddressResp

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) ⇒ SRTSourceAddressResp

Returns a new instance of SRTSourceAddressResp.



26674
26675
26676
26677
# File 'lib/v20190612/models.rb', line 26674

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

Instance Attribute Details

#IpObject

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

Parameters:

  • Ip:

    对端IP。

  • Port:

    对端端口。



26672
26673
26674
# File 'lib/v20190612/models.rb', line 26672

def Ip
  @Ip
end

#PortObject

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

Parameters:

  • Ip:

    对端IP。

  • Port:

    对端端口。



26672
26673
26674
# File 'lib/v20190612/models.rb', line 26672

def Port
  @Port
end

Instance Method Details

#deserialize(params) ⇒ Object



26679
26680
26681
26682
# File 'lib/v20190612/models.rb', line 26679

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