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.
13659 13660 13661 13662 13663 |
# File 'lib/v20180525/models.rb', line 13659 def initialize(type=nil, ip=nil, port=nil) @Type = type @Ip = ip @Port = port end |
Instance Attribute Details
#Ip ⇒ Object
13657 13658 13659 |
# File 'lib/v20180525/models.rb', line 13657 def Ip @Ip end |
#Port ⇒ Object
13657 13658 13659 |
# File 'lib/v20180525/models.rb', line 13657 def Port @Port end |
#Type ⇒ Object
13657 13658 13659 |
# File 'lib/v20180525/models.rb', line 13657 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
13665 13666 13667 13668 13669 |
# File 'lib/v20180525/models.rb', line 13665 def deserialize(params) @Type = params['Type'] @Ip = params['Ip'] @Port = params['Port'] end |