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.
12448 12449 12450 12451 12452 |
# File 'lib/v20180525/models.rb', line 12448 def initialize(type=nil, ip=nil, port=nil) @Type = type @Ip = ip @Port = port end |
Instance Attribute Details
#Ip ⇒ Object
12446 12447 12448 |
# File 'lib/v20180525/models.rb', line 12446 def Ip @Ip end |
#Port ⇒ Object
12446 12447 12448 |
# File 'lib/v20180525/models.rb', line 12446 def Port @Port end |
#Type ⇒ Object
12446 12447 12448 |
# File 'lib/v20180525/models.rb', line 12446 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
12454 12455 12456 12457 12458 |
# File 'lib/v20180525/models.rb', line 12454 def deserialize(params) @Type = params['Type'] @Ip = params['Ip'] @Port = params['Port'] end |