Class: TencentCloud::Ecm::V20190719::InstanceNetworkInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::InstanceNetworkInfo
- Defined in:
- lib/v20190719/models.rb
Overview
实例网卡ip网络信息数组
Instance Attribute Summary collapse
-
#AddressInfoSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#NetworkInterfaceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#NetworkInterfaceName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Primary ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(addressinfoset = nil, networkinterfaceid = nil, networkinterfacename = nil, primary = nil) ⇒ InstanceNetworkInfo
constructor
A new instance of InstanceNetworkInfo.
Constructor Details
#initialize(addressinfoset = nil, networkinterfaceid = nil, networkinterfacename = nil, primary = nil) ⇒ InstanceNetworkInfo
Returns a new instance of InstanceNetworkInfo.
6309 6310 6311 6312 6313 6314 |
# File 'lib/v20190719/models.rb', line 6309 def initialize(addressinfoset=nil, networkinterfaceid=nil, networkinterfacename=nil, primary=nil) @AddressInfoSet = addressinfoset @NetworkInterfaceId = networkinterfaceid @NetworkInterfaceName = networkinterfacename @Primary = primary end |
Instance Attribute Details
#AddressInfoSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6307 6308 6309 |
# File 'lib/v20190719/models.rb', line 6307 def AddressInfoSet @AddressInfoSet end |
#NetworkInterfaceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6307 6308 6309 |
# File 'lib/v20190719/models.rb', line 6307 def NetworkInterfaceId @NetworkInterfaceId end |
#NetworkInterfaceName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6307 6308 6309 |
# File 'lib/v20190719/models.rb', line 6307 def NetworkInterfaceName @NetworkInterfaceName end |
#Primary ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6307 6308 6309 |
# File 'lib/v20190719/models.rb', line 6307 def Primary @Primary end |
Instance Method Details
#deserialize(params) ⇒ Object
6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 |
# File 'lib/v20190719/models.rb', line 6316 def deserialize(params) unless params['AddressInfoSet'].nil? @AddressInfoSet = [] params['AddressInfoSet'].each do |i| addressinfo_tmp = AddressInfo.new addressinfo_tmp.deserialize(i) @AddressInfoSet << addressinfo_tmp end end @NetworkInterfaceId = params['NetworkInterfaceId'] @NetworkInterfaceName = params['NetworkInterfaceName'] @Primary = params['Primary'] end |