Class: TencentCloud::Mps::V20190612::InputAddress
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::InputAddress
- Defined in:
- lib/v20190612/models.rb
Overview
输入地址信息。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ip = nil, port = nil) ⇒ InputAddress
constructor
A new instance of InputAddress.
Constructor Details
#initialize(ip = nil, port = nil) ⇒ InputAddress
Returns a new instance of InputAddress.
18199 18200 18201 18202 |
# File 'lib/v20190612/models.rb', line 18199 def initialize(ip=nil, port=nil) @Ip = ip @Port = port end |
Instance Attribute Details
#Ip ⇒ Object
18197 18198 18199 |
# File 'lib/v20190612/models.rb', line 18197 def Ip @Ip end |
#Port ⇒ Object
18197 18198 18199 |
# File 'lib/v20190612/models.rb', line 18197 def Port @Port end |
Instance Method Details
#deserialize(params) ⇒ Object
18204 18205 18206 18207 |
# File 'lib/v20190612/models.rb', line 18204 def deserialize(params) @Ip = params['Ip'] @Port = params['Port'] end |