Class: TencentCloud::Tke::V20180525::IPAddress
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::IPAddress
- Defined in:
- lib/v20180525/models.rb
Overview
IP 地址
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, ip = nil, port = nil) ⇒ IPAddress
constructor
A new instance of IPAddress.
Constructor Details
#initialize(type = nil, ip = nil, port = nil) ⇒ IPAddress
Returns a new instance of IPAddress.
13290 13291 13292 13293 13294 |
# File 'lib/v20180525/models.rb', line 13290 def initialize(type=nil, ip=nil, port=nil) @Type = type @Ip = ip @Port = port end |
Instance Attribute Details
#Ip ⇒ Object
13288 13289 13290 |
# File 'lib/v20180525/models.rb', line 13288 def Ip @Ip end |
#Port ⇒ Object
13288 13289 13290 |
# File 'lib/v20180525/models.rb', line 13288 def Port @Port end |
#Type ⇒ Object
13288 13289 13290 |
# File 'lib/v20180525/models.rb', line 13288 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
13296 13297 13298 13299 13300 |
# File 'lib/v20180525/models.rb', line 13296 def deserialize(params) @Type = params['Type'] @Ip = params['Ip'] @Port = params['Port'] end |