Class: TencentCloud::Ecm::V20190719::DescribeNetworkInterfacesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::DescribeNetworkInterfacesResponse
- Defined in:
- lib/v20190719/models.rb
Overview
DescribeNetworkInterfaces返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, networkinterfaceset = nil, requestid = nil) ⇒ DescribeNetworkInterfacesResponse
constructor
A new instance of DescribeNetworkInterfacesResponse.
Constructor Details
#initialize(totalcount = nil, networkinterfaceset = nil, requestid = nil) ⇒ DescribeNetworkInterfacesResponse
Returns a new instance of DescribeNetworkInterfacesResponse.
3821 3822 3823 3824 3825 |
# File 'lib/v20190719/models.rb', line 3821 def initialize(totalcount=nil, networkinterfaceset=nil, requestid=nil) @TotalCount = totalcount @NetworkInterfaceSet = networkinterfaceset @RequestId = requestid end |
Instance Attribute Details
#NetworkInterfaceSet ⇒ Object
3819 3820 3821 |
# File 'lib/v20190719/models.rb', line 3819 def NetworkInterfaceSet @NetworkInterfaceSet end |
#RequestId ⇒ Object
3819 3820 3821 |
# File 'lib/v20190719/models.rb', line 3819 def RequestId @RequestId end |
#TotalCount ⇒ Object
3819 3820 3821 |
# File 'lib/v20190719/models.rb', line 3819 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 |
# File 'lib/v20190719/models.rb', line 3827 def deserialize(params) @TotalCount = params['TotalCount'] unless params['NetworkInterfaceSet'].nil? @NetworkInterfaceSet = [] params['NetworkInterfaceSet'].each do |i| networkinterface_tmp = NetworkInterface.new networkinterface_tmp.deserialize(i) @NetworkInterfaceSet << networkinterface_tmp end end @RequestId = params['RequestId'] end |