Class: TencentCloud::Ecm::V20190719::RemovePrivateIpAddressesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::RemovePrivateIpAddressesRequest
- Defined in:
- lib/v20190719/models.rb
Overview
RemovePrivateIpAddresses请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ecmregion = nil, networkinterfaceid = nil, privateipaddresses = nil) ⇒ RemovePrivateIpAddressesRequest
constructor
A new instance of RemovePrivateIpAddressesRequest.
Constructor Details
#initialize(ecmregion = nil, networkinterfaceid = nil, privateipaddresses = nil) ⇒ RemovePrivateIpAddressesRequest
Returns a new instance of RemovePrivateIpAddressesRequest.
9508 9509 9510 9511 9512 |
# File 'lib/v20190719/models.rb', line 9508 def initialize(ecmregion=nil, networkinterfaceid=nil, privateipaddresses=nil) @EcmRegion = ecmregion @NetworkInterfaceId = networkinterfaceid @PrivateIpAddresses = privateipaddresses end |
Instance Attribute Details
#EcmRegion ⇒ Object
9506 9507 9508 |
# File 'lib/v20190719/models.rb', line 9506 def EcmRegion @EcmRegion end |
#NetworkInterfaceId ⇒ Object
9506 9507 9508 |
# File 'lib/v20190719/models.rb', line 9506 def NetworkInterfaceId @NetworkInterfaceId end |
#PrivateIpAddresses ⇒ Object
9506 9507 9508 |
# File 'lib/v20190719/models.rb', line 9506 def PrivateIpAddresses @PrivateIpAddresses end |
Instance Method Details
#deserialize(params) ⇒ Object
9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 |
# File 'lib/v20190719/models.rb', line 9514 def deserialize(params) @EcmRegion = params['EcmRegion'] @NetworkInterfaceId = params['NetworkInterfaceId'] unless params['PrivateIpAddresses'].nil? @PrivateIpAddresses = [] params['PrivateIpAddresses'].each do |i| privateipaddressspecification_tmp = PrivateIpAddressSpecification.new privateipaddressspecification_tmp.deserialize(i) @PrivateIpAddresses << privateipaddressspecification_tmp end end end |