Class: TencentCloud::Dbbrain::V20191016::HealthReportTask
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20191016::HealthReportTask
- Defined in:
- lib/v20191016/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.
1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 |
# File 'lib/v20191016/models.rb', line 1850 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
1848 1849 1850 |
# File 'lib/v20191016/models.rb', line 1848 def AsyncRequestId @AsyncRequestId end |
#CreateTime ⇒ Object
1848 1849 1850 |
# File 'lib/v20191016/models.rb', line 1848 def CreateTime @CreateTime end |
#EndTime ⇒ Object
1848 1849 1850 |
# File 'lib/v20191016/models.rb', line 1848 def EndTime @EndTime end |
#HealthStatus ⇒ Object
1848 1849 1850 |
# File 'lib/v20191016/models.rb', line 1848 def HealthStatus @HealthStatus end |
#InstanceInfo ⇒ Object
1848 1849 1850 |
# File 'lib/v20191016/models.rb', line 1848 def InstanceInfo @InstanceInfo end |
#Progress ⇒ Object
1848 1849 1850 |
# File 'lib/v20191016/models.rb', line 1848 def Progress @Progress end |
#Source ⇒ Object
1848 1849 1850 |
# File 'lib/v20191016/models.rb', line 1848 def Source @Source end |
#StartTime ⇒ Object
1848 1849 1850 |
# File 'lib/v20191016/models.rb', line 1848 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 |
# File 'lib/v20191016/models.rb', line 1861 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 |