Class: TencentCloud::Mps::V20190612::SRTAddressDestination
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::SRTAddressDestination
- Defined in:
- lib/v20190612/models.rb
Overview
转推的目标地址信息。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ip = nil, port = nil) ⇒ SRTAddressDestination
constructor
A new instance of SRTAddressDestination.
Constructor Details
#initialize(ip = nil, port = nil) ⇒ SRTAddressDestination
Returns a new instance of SRTAddressDestination.
26922 26923 26924 26925 |
# File 'lib/v20190612/models.rb', line 26922 def initialize(ip=nil, port=nil) @Ip = ip @Port = port end |
Instance Attribute Details
#Ip ⇒ Object
26920 26921 26922 |
# File 'lib/v20190612/models.rb', line 26920 def Ip @Ip end |
#Port ⇒ Object
26920 26921 26922 |
# File 'lib/v20190612/models.rb', line 26920 def Port @Port end |
Instance Method Details
#deserialize(params) ⇒ Object
26927 26928 26929 26930 |
# File 'lib/v20190612/models.rb', line 26927 def deserialize(params) @Ip = params['Ip'] @Port = params['Port'] end |