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.
18409 18410 18411 18412 |
# File 'lib/v20190612/models.rb', line 18409 def initialize(ip=nil, port=nil) @Ip = ip @Port = port end |
Instance Attribute Details
#Ip ⇒ Object
18407 18408 18409 |
# File 'lib/v20190612/models.rb', line 18407 def Ip @Ip end |
#Port ⇒ Object
18407 18408 18409 |
# File 'lib/v20190612/models.rb', line 18407 def Port @Port end |
Instance Method Details
#deserialize(params) ⇒ Object
18414 18415 18416 18417 |
# File 'lib/v20190612/models.rb', line 18414 def deserialize(params) @Ip = params['Ip'] @Port = params['Port'] end |