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.
8916 8917 8918 8919 8920 8921 8922 |
# File 'lib/v20170320/models.rb', line 8916 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
8914 8915 8916 |
# File 'lib/v20170320/models.rb', line 8914 def Conn @Conn end |
#FlowIn ⇒ Object
8914 8915 8916 |
# File 'lib/v20170320/models.rb', line 8914 def FlowIn @FlowIn end |
#FlowOut ⇒ Object
8914 8915 8916 |
# File 'lib/v20170320/models.rb', line 8914 def FlowOut @FlowOut end |
#PackageIn ⇒ Object
8914 8915 8916 |
# File 'lib/v20170320/models.rb', line 8914 def PackageIn @PackageIn end |
#PackageOut ⇒ Object
8914 8915 8916 |
# File 'lib/v20170320/models.rb', line 8914 def PackageOut @PackageOut end |
Instance Method Details
#deserialize(params) ⇒ Object
8924 8925 8926 8927 8928 8929 8930 |
# File 'lib/v20170320/models.rb', line 8924 def deserialize(params) @Conn = params['Conn'] @PackageIn = params['PackageIn'] @PackageOut = params['PackageOut'] @FlowIn = params['FlowIn'] @FlowOut = params['FlowOut'] end |