Class: TencentCloud::Apcas::V20201127::ListModel
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apcas::V20201127::ListModel
- Defined in:
- lib/v20201127/models.rb
Overview
任务列表项Model
Instance Attribute Summary collapse
- #Available ⇒ Object
- #ErrMsg ⇒ Object
- #ID ⇒ Object
- #StartTime ⇒ Object
- #Status ⇒ Object
- #TaskName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, taskname = nil, starttime = nil, status = nil, available = nil, errmsg = nil) ⇒ ListModel
constructor
A new instance of ListModel.
Constructor Details
#initialize(id = nil, taskname = nil, starttime = nil, status = nil, available = nil, errmsg = nil) ⇒ ListModel
Returns a new instance of ListModel.
285 286 287 288 289 290 291 292 |
# File 'lib/v20201127/models.rb', line 285 def initialize(id=nil, taskname=nil, starttime=nil, status=nil, available=nil, errmsg=nil) @ID = id @TaskName = taskname @StartTime = starttime @Status = status @Available = available @ErrMsg = errmsg end |
Instance Attribute Details
#Available ⇒ Object
283 284 285 |
# File 'lib/v20201127/models.rb', line 283 def Available @Available end |
#ErrMsg ⇒ Object
283 284 285 |
# File 'lib/v20201127/models.rb', line 283 def ErrMsg @ErrMsg end |
#ID ⇒ Object
283 284 285 |
# File 'lib/v20201127/models.rb', line 283 def ID @ID end |
#StartTime ⇒ Object
283 284 285 |
# File 'lib/v20201127/models.rb', line 283 def StartTime @StartTime end |
#Status ⇒ Object
283 284 285 |
# File 'lib/v20201127/models.rb', line 283 def Status @Status end |
#TaskName ⇒ Object
283 284 285 |
# File 'lib/v20201127/models.rb', line 283 def TaskName @TaskName end |
Instance Method Details
#deserialize(params) ⇒ Object
294 295 296 297 298 299 300 301 |
# File 'lib/v20201127/models.rb', line 294 def deserialize(params) @ID = params['ID'] @TaskName = params['TaskName'] @StartTime = params['StartTime'] @Status = params['Status'] @Available = params['Available'] @ErrMsg = params['ErrMsg'] end |