Class: TencentCloud::Cdc::V20201214::HostInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdc::V20201214::HostInfo
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20201214/models.rb
Overview
CDC宿主机的详细信息
Instance Attribute Summary collapse
- #CpuAvailable ⇒ Object
- #CpuTotal ⇒ Object
- #ExpireTime ⇒ Object
- #HostId ⇒ Object
- #HostIp ⇒ Object
- #HostStatus ⇒ Object
- #HostType ⇒ Object
- #MemAvailable ⇒ Object
- #MemTotal ⇒ Object
- #RunTime ⇒ Object
- #ServiceType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hostip = nil, servicetype = nil, hoststatus = nil, hosttype = nil, cpuavailable = nil, cputotal = nil, memavailable = nil, memtotal = nil, runtime = nil, expiretime = nil, hostid = nil) ⇒ HostInfo
constructor
A new instance of HostInfo.
Constructor Details
#initialize(hostip = nil, servicetype = nil, hoststatus = nil, hosttype = nil, cpuavailable = nil, cputotal = nil, memavailable = nil, memtotal = nil, runtime = nil, expiretime = nil, hostid = nil) ⇒ HostInfo
Returns a new instance of HostInfo.
1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 |
# File 'lib/v20201214/models.rb', line 1695 def initialize(hostip=nil, servicetype=nil, hoststatus=nil, hosttype=nil, cpuavailable=nil, cputotal=nil, memavailable=nil, memtotal=nil, runtime=nil, expiretime=nil, hostid=nil) @HostIp = hostip @ServiceType = servicetype @HostStatus = hoststatus @HostType = hosttype @CpuAvailable = cpuavailable @CpuTotal = cputotal @MemAvailable = memavailable @MemTotal = memtotal @RunTime = runtime @ExpireTime = expiretime @HostId = hostid end |
Instance Attribute Details
#CpuAvailable ⇒ Object
1690 1691 1692 |
# File 'lib/v20201214/models.rb', line 1690 def CpuAvailable @CpuAvailable end |
#CpuTotal ⇒ Object
1690 1691 1692 |
# File 'lib/v20201214/models.rb', line 1690 def CpuTotal @CpuTotal end |
#ExpireTime ⇒ Object
1690 1691 1692 |
# File 'lib/v20201214/models.rb', line 1690 def ExpireTime @ExpireTime end |
#HostId ⇒ Object
1690 1691 1692 |
# File 'lib/v20201214/models.rb', line 1690 def HostId @HostId end |
#HostIp ⇒ Object
1690 1691 1692 |
# File 'lib/v20201214/models.rb', line 1690 def HostIp @HostIp end |
#HostStatus ⇒ Object
1690 1691 1692 |
# File 'lib/v20201214/models.rb', line 1690 def HostStatus @HostStatus end |
#HostType ⇒ Object
1690 1691 1692 |
# File 'lib/v20201214/models.rb', line 1690 def HostType @HostType end |
#MemAvailable ⇒ Object
1690 1691 1692 |
# File 'lib/v20201214/models.rb', line 1690 def MemAvailable @MemAvailable end |
#MemTotal ⇒ Object
1690 1691 1692 |
# File 'lib/v20201214/models.rb', line 1690 def MemTotal @MemTotal end |
#RunTime ⇒ Object
1690 1691 1692 |
# File 'lib/v20201214/models.rb', line 1690 def RunTime @RunTime end |
#ServiceType ⇒ Object
1690 1691 1692 |
# File 'lib/v20201214/models.rb', line 1690 def ServiceType @ServiceType end |
Instance Method Details
#deserialize(params) ⇒ Object
1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 |
# File 'lib/v20201214/models.rb', line 1709 def deserialize(params) @HostIp = params['HostIp'] @ServiceType = params['ServiceType'] @HostStatus = params['HostStatus'] @HostType = params['HostType'] @CpuAvailable = params['CpuAvailable'] @CpuTotal = params['CpuTotal'] @MemAvailable = params['MemAvailable'] @MemTotal = params['MemTotal'] @RunTime = params['RunTime'] @ExpireTime = params['ExpireTime'] @HostId = params['HostId'] end |