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.



23533
23534
23535
23536
# File 'lib/v20190612/models.rb', line 23533

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

Instance Attribute Details

#IpObject

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

Parameters:

  • Ip:

    监听IP。

  • Port:

    监听端口。



23531
23532
23533
# File 'lib/v20190612/models.rb', line 23531

def Ip
  @Ip
end

#PortObject

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

Parameters:

  • Ip:

    监听IP。

  • Port:

    监听端口。



23531
23532
23533
# File 'lib/v20190612/models.rb', line 23531

def Port
  @Port
end

Instance Method Details

#deserialize(params) ⇒ Object



23538
23539
23540
23541
# File 'lib/v20190612/models.rb', line 23538

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