Class: TencentCloud::Dbbrain::V20210527::HealthReportTask
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::HealthReportTask
- Defined in:
- lib/v20210527/models.rb
Overview
健康报告任务详情。
Instance Attribute Summary collapse
- #AsyncRequestId ⇒ Object
- #CreateTime ⇒ Object
- #EndTime ⇒ Object
- #HealthStatus ⇒ Object
- #InstanceInfo ⇒ Object
- #Progress ⇒ Object
- #Source ⇒ Object
- #StartTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(asyncrequestid = nil, source = nil, progress = nil, createtime = nil, starttime = nil, endtime = nil, instanceinfo = nil, healthstatus = nil) ⇒ HealthReportTask
constructor
A new instance of HealthReportTask.
Constructor Details
#initialize(asyncrequestid = nil, source = nil, progress = nil, createtime = nil, starttime = nil, endtime = nil, instanceinfo = nil, healthstatus = nil) ⇒ HealthReportTask
Returns a new instance of HealthReportTask.
5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 |
# File 'lib/v20210527/models.rb', line 5330 def initialize(asyncrequestid=nil, source=nil, progress=nil, createtime=nil, starttime=nil, endtime=nil, instanceinfo=nil, healthstatus=nil) @AsyncRequestId = asyncrequestid @Source = source @Progress = progress @CreateTime = createtime @StartTime = starttime @EndTime = endtime @InstanceInfo = instanceinfo @HealthStatus = healthstatus end |
Instance Attribute Details
#AsyncRequestId ⇒ Object
5328 5329 5330 |
# File 'lib/v20210527/models.rb', line 5328 def AsyncRequestId @AsyncRequestId end |
#CreateTime ⇒ Object
5328 5329 5330 |
# File 'lib/v20210527/models.rb', line 5328 def CreateTime @CreateTime end |
#EndTime ⇒ Object
5328 5329 5330 |
# File 'lib/v20210527/models.rb', line 5328 def EndTime @EndTime end |
#HealthStatus ⇒ Object
5328 5329 5330 |
# File 'lib/v20210527/models.rb', line 5328 def HealthStatus @HealthStatus end |
#InstanceInfo ⇒ Object
5328 5329 5330 |
# File 'lib/v20210527/models.rb', line 5328 def InstanceInfo @InstanceInfo end |
#Progress ⇒ Object
5328 5329 5330 |
# File 'lib/v20210527/models.rb', line 5328 def Progress @Progress end |
#Source ⇒ Object
5328 5329 5330 |
# File 'lib/v20210527/models.rb', line 5328 def Source @Source end |
#StartTime ⇒ Object
5328 5329 5330 |
# File 'lib/v20210527/models.rb', line 5328 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 |
# File 'lib/v20210527/models.rb', line 5341 def deserialize(params) @AsyncRequestId = params['AsyncRequestId'] @Source = params['Source'] @Progress = params['Progress'] @CreateTime = params['CreateTime'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] unless params['InstanceInfo'].nil? @InstanceInfo = InstanceBasicInfo.new @InstanceInfo.deserialize(params['InstanceInfo']) end unless params['HealthStatus'].nil? @HealthStatus = HealthStatus.new @HealthStatus.deserialize(params['HealthStatus']) end end |