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.
15764 15765 15766 15767 |
# File 'lib/v20190612/models.rb', line 15764 def initialize(ip=nil, port=nil) @Ip = ip @Port = port end |
Instance Attribute Details
#Ip ⇒ Object
15762 15763 15764 |
# File 'lib/v20190612/models.rb', line 15762 def Ip @Ip end |
#Port ⇒ Object
15762 15763 15764 |
# File 'lib/v20190612/models.rb', line 15762 def Port @Port end |
Instance Method Details
#deserialize(params) ⇒ Object
15769 15770 15771 15772 |
# File 'lib/v20190612/models.rb', line 15769 def deserialize(params) @Ip = params['Ip'] @Port = params['Port'] end |