Class: TencentCloud::Cdb::V20170320::DeviceNetInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DeviceNetInfo
- Defined in:
- lib/v20170320/models.rb
Overview
实例所在物理机网络监控信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(conn = nil, packagein = nil, packageout = nil, flowin = nil, flowout = nil) ⇒ DeviceNetInfo
constructor
A new instance of DeviceNetInfo.
Constructor Details
#initialize(conn = nil, packagein = nil, packageout = nil, flowin = nil, flowout = nil) ⇒ DeviceNetInfo
Returns a new instance of DeviceNetInfo.
8839 8840 8841 8842 8843 8844 8845 |
# File 'lib/v20170320/models.rb', line 8839 def initialize(conn=nil, packagein=nil, packageout=nil, flowin=nil, flowout=nil) @Conn = conn @PackageIn = packagein @PackageOut = packageout @FlowIn = flowin @FlowOut = flowout end |
Instance Attribute Details
#Conn ⇒ Object
8837 8838 8839 |
# File 'lib/v20170320/models.rb', line 8837 def Conn @Conn end |
#FlowIn ⇒ Object
8837 8838 8839 |
# File 'lib/v20170320/models.rb', line 8837 def FlowIn @FlowIn end |
#FlowOut ⇒ Object
8837 8838 8839 |
# File 'lib/v20170320/models.rb', line 8837 def FlowOut @FlowOut end |
#PackageIn ⇒ Object
8837 8838 8839 |
# File 'lib/v20170320/models.rb', line 8837 def PackageIn @PackageIn end |
#PackageOut ⇒ Object
8837 8838 8839 |
# File 'lib/v20170320/models.rb', line 8837 def PackageOut @PackageOut end |
Instance Method Details
#deserialize(params) ⇒ Object
8847 8848 8849 8850 8851 8852 8853 |
# File 'lib/v20170320/models.rb', line 8847 def deserialize(params) @Conn = params['Conn'] @PackageIn = params['PackageIn'] @PackageOut = params['PackageOut'] @FlowIn = params['FlowIn'] @FlowOut = params['FlowOut'] end |