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.



27012
27013
27014
27015
# File 'lib/v20190612/models.rb', line 27012

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

Instance Attribute Details

#IpObject

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

Parameters:

  • Ip:

    对端IP。

  • Port:

    对端端口。



27010
27011
27012
# File 'lib/v20190612/models.rb', line 27010

def Ip
  @Ip
end

#PortObject

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

Parameters:

  • Ip:

    对端IP。

  • Port:

    对端端口。



27010
27011
27012
# File 'lib/v20190612/models.rb', line 27010

def Port
  @Port
end

Instance Method Details

#deserialize(params) ⇒ Object



27017
27018
27019
27020
# File 'lib/v20190612/models.rb', line 27017

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