Class: TencentCloud::Dlc::V20210125::IpPortPair
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::IpPortPair
- Defined in:
- lib/v20210125/models.rb
Overview
ip端口对信息
Instance Attribute Summary collapse
-
#Ip ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Port ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ip = nil, port = nil) ⇒ IpPortPair
constructor
A new instance of IpPortPair.
Constructor Details
#initialize(ip = nil, port = nil) ⇒ IpPortPair
11562 11563 11564 11565 |
# File 'lib/v20210125/models.rb', line 11562 def initialize(ip=nil, port=nil) @Ip = ip @Port = port end |
Instance Attribute Details
#Ip ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
11560 11561 11562 |
# File 'lib/v20210125/models.rb', line 11560 def Ip @Ip end |
#Port ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
11560 11561 11562 |
# File 'lib/v20210125/models.rb', line 11560 def Port @Port end |
Instance Method Details
#deserialize(params) ⇒ Object
11567 11568 11569 11570 |
# File 'lib/v20210125/models.rb', line 11567 def deserialize(params) @Ip = params['Ip'] @Port = params['Port'] end |