Class: TencentCloud::Teo::V20220106::Task
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220106::Task
- Defined in:
- lib/v20220106/models.rb
Overview
内容管理任务结果
Instance Attribute Summary collapse
- #CreateTime ⇒ Object
- #JobId ⇒ Object
- #Status ⇒ Object
- #Target ⇒ Object
- #Type ⇒ Object
- #UpdateTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(jobid = nil, status = nil, target = nil, type = nil, createtime = nil, updatetime = nil) ⇒ Task
constructor
A new instance of Task.
Constructor Details
#initialize(jobid = nil, status = nil, target = nil, type = nil, createtime = nil, updatetime = nil) ⇒ Task
Returns a new instance of Task.
556 557 558 559 560 561 562 563 |
# File 'lib/v20220106/models.rb', line 556 def initialize(jobid=nil, status=nil, target=nil, type=nil, createtime=nil, updatetime=nil) @JobId = jobid @Status = status @Target = target @Type = type @CreateTime = createtime @UpdateTime = updatetime end |
Instance Attribute Details
#CreateTime ⇒ Object
554 555 556 |
# File 'lib/v20220106/models.rb', line 554 def CreateTime @CreateTime end |
#JobId ⇒ Object
554 555 556 |
# File 'lib/v20220106/models.rb', line 554 def JobId @JobId end |
#Status ⇒ Object
554 555 556 |
# File 'lib/v20220106/models.rb', line 554 def Status @Status end |
#Target ⇒ Object
554 555 556 |
# File 'lib/v20220106/models.rb', line 554 def Target @Target end |
#Type ⇒ Object
554 555 556 |
# File 'lib/v20220106/models.rb', line 554 def Type @Type end |
#UpdateTime ⇒ Object
554 555 556 |
# File 'lib/v20220106/models.rb', line 554 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
565 566 567 568 569 570 571 572 |
# File 'lib/v20220106/models.rb', line 565 def deserialize(params) @JobId = params['JobId'] @Status = params['Status'] @Target = params['Target'] @Type = params['Type'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] end |