Class: TencentCloud::Cwp::V20180228::BaselineHostDetect
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::BaselineHostDetect
- Defined in:
- lib/v20180228/models.rb
Overview
基线主机检测
Instance Attribute Summary collapse
- #DetectStatus ⇒ Object
- #FirstTime ⇒ Object
- #HostId ⇒ Object
- #HostIp ⇒ Object
- #HostName ⇒ Object
- #ItemCount ⇒ Object
- #LastTime ⇒ Object
- #MachineExtraInfo ⇒ Object
- #NotPassedItemCount ⇒ Object
- #PassedItemCount ⇒ Object
- #Uuid ⇒ Object
- #WanIp ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hostid = nil, hostip = nil, hostname = nil, wanip = nil, detectstatus = nil, passeditemcount = nil, itemcount = nil, notpasseditemcount = nil, firsttime = nil, lasttime = nil, uuid = nil, machineextrainfo = nil) ⇒ BaselineHostDetect
constructor
A new instance of BaselineHostDetect.
Constructor Details
#initialize(hostid = nil, hostip = nil, hostname = nil, wanip = nil, detectstatus = nil, passeditemcount = nil, itemcount = nil, notpasseditemcount = nil, firsttime = nil, lasttime = nil, uuid = nil, machineextrainfo = nil) ⇒ BaselineHostDetect
Returns a new instance of BaselineHostDetect.
3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 |
# File 'lib/v20180228/models.rb', line 3150 def initialize(hostid=nil, hostip=nil, hostname=nil, wanip=nil, detectstatus=nil, passeditemcount=nil, itemcount=nil, notpasseditemcount=nil, firsttime=nil, lasttime=nil, uuid=nil, machineextrainfo=nil) @HostId = hostid @HostIp = hostip @HostName = hostname @WanIp = wanip @DetectStatus = detectstatus @PassedItemCount = passeditemcount @ItemCount = itemcount @NotPassedItemCount = notpasseditemcount @FirstTime = firsttime @LastTime = lasttime @Uuid = uuid @MachineExtraInfo = machineextrainfo end |
Instance Attribute Details
#DetectStatus ⇒ Object
3148 3149 3150 |
# File 'lib/v20180228/models.rb', line 3148 def DetectStatus @DetectStatus end |
#FirstTime ⇒ Object
3148 3149 3150 |
# File 'lib/v20180228/models.rb', line 3148 def FirstTime @FirstTime end |
#HostId ⇒ Object
3148 3149 3150 |
# File 'lib/v20180228/models.rb', line 3148 def HostId @HostId end |
#HostIp ⇒ Object
3148 3149 3150 |
# File 'lib/v20180228/models.rb', line 3148 def HostIp @HostIp end |
#HostName ⇒ Object
3148 3149 3150 |
# File 'lib/v20180228/models.rb', line 3148 def HostName @HostName end |
#ItemCount ⇒ Object
3148 3149 3150 |
# File 'lib/v20180228/models.rb', line 3148 def ItemCount @ItemCount end |
#LastTime ⇒ Object
3148 3149 3150 |
# File 'lib/v20180228/models.rb', line 3148 def LastTime @LastTime end |
#MachineExtraInfo ⇒ Object
3148 3149 3150 |
# File 'lib/v20180228/models.rb', line 3148 def MachineExtraInfo @MachineExtraInfo end |
#NotPassedItemCount ⇒ Object
3148 3149 3150 |
# File 'lib/v20180228/models.rb', line 3148 def NotPassedItemCount @NotPassedItemCount end |
#PassedItemCount ⇒ Object
3148 3149 3150 |
# File 'lib/v20180228/models.rb', line 3148 def PassedItemCount @PassedItemCount end |
#Uuid ⇒ Object
3148 3149 3150 |
# File 'lib/v20180228/models.rb', line 3148 def Uuid @Uuid end |
#WanIp ⇒ Object
3148 3149 3150 |
# File 'lib/v20180228/models.rb', line 3148 def WanIp @WanIp end |
Instance Method Details
#deserialize(params) ⇒ Object
3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 |
# File 'lib/v20180228/models.rb', line 3165 def deserialize(params) @HostId = params['HostId'] @HostIp = params['HostIp'] @HostName = params['HostName'] @WanIp = params['WanIp'] @DetectStatus = params['DetectStatus'] @PassedItemCount = params['PassedItemCount'] @ItemCount = params['ItemCount'] @NotPassedItemCount = params['NotPassedItemCount'] @FirstTime = params['FirstTime'] @LastTime = params['LastTime'] @Uuid = params['Uuid'] unless params['MachineExtraInfo'].nil? @MachineExtraInfo = MachineExtraInfo.new @MachineExtraInfo.deserialize(params['MachineExtraInfo']) end end |