Class: TencentCloud::Postgres::V20170312::TaskSet
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::TaskSet
- Defined in:
- lib/v20170312/models.rb
Overview
任务列表信息
Instance Attribute Summary collapse
- #DBInstanceId ⇒ Object
- #EndTime ⇒ Object
- #Progress ⇒ Object
- #StartTime ⇒ Object
- #Status ⇒ Object
- #TaskDetail ⇒ Object
- #TaskId ⇒ Object
- #TaskType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(taskid = nil, tasktype = nil, dbinstanceid = nil, starttime = nil, endtime = nil, status = nil, progress = nil, taskdetail = nil) ⇒ TaskSet
constructor
A new instance of TaskSet.
Constructor Details
#initialize(taskid = nil, tasktype = nil, dbinstanceid = nil, starttime = nil, endtime = nil, status = nil, progress = nil, taskdetail = nil) ⇒ TaskSet
Returns a new instance of TaskSet.
7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 |
# File 'lib/v20170312/models.rb', line 7564 def initialize(taskid=nil, tasktype=nil, dbinstanceid=nil, starttime=nil, endtime=nil, status=nil, progress=nil, taskdetail=nil) @TaskId = taskid @TaskType = tasktype @DBInstanceId = dbinstanceid @StartTime = starttime @EndTime = endtime @Status = status @Progress = progress @TaskDetail = taskdetail end |
Instance Attribute Details
#DBInstanceId ⇒ Object
7562 7563 7564 |
# File 'lib/v20170312/models.rb', line 7562 def DBInstanceId @DBInstanceId end |
#EndTime ⇒ Object
7562 7563 7564 |
# File 'lib/v20170312/models.rb', line 7562 def EndTime @EndTime end |
#Progress ⇒ Object
7562 7563 7564 |
# File 'lib/v20170312/models.rb', line 7562 def Progress @Progress end |
#StartTime ⇒ Object
7562 7563 7564 |
# File 'lib/v20170312/models.rb', line 7562 def StartTime @StartTime end |
#Status ⇒ Object
7562 7563 7564 |
# File 'lib/v20170312/models.rb', line 7562 def Status @Status end |
#TaskDetail ⇒ Object
7562 7563 7564 |
# File 'lib/v20170312/models.rb', line 7562 def TaskDetail @TaskDetail end |
#TaskId ⇒ Object
7562 7563 7564 |
# File 'lib/v20170312/models.rb', line 7562 def TaskId @TaskId end |
#TaskType ⇒ Object
7562 7563 7564 |
# File 'lib/v20170312/models.rb', line 7562 def TaskType @TaskType end |
Instance Method Details
#deserialize(params) ⇒ Object
7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 |
# File 'lib/v20170312/models.rb', line 7575 def deserialize(params) @TaskId = params['TaskId'] @TaskType = params['TaskType'] @DBInstanceId = params['DBInstanceId'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Status = params['Status'] @Progress = params['Progress'] unless params['TaskDetail'].nil? @TaskDetail = TaskDetail.new @TaskDetail.deserialize(params['TaskDetail']) end end |