Class: TencentCloud::Acp::V20220105::DescribeScanTaskStatusResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Acp::V20220105::DescribeScanTaskStatusResponse
- Defined in:
- lib/v20220105/models.rb
Overview
DescribeScanTaskStatus返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(result = nil, status = nil, errmsg = nil, flowsteps = nil, requestid = nil) ⇒ DescribeScanTaskStatusResponse
constructor
A new instance of DescribeScanTaskStatusResponse.
Constructor Details
#initialize(result = nil, status = nil, errmsg = nil, flowsteps = nil, requestid = nil) ⇒ DescribeScanTaskStatusResponse
Returns a new instance of DescribeScanTaskStatusResponse.
688 689 690 691 692 693 694 |
# File 'lib/v20220105/models.rb', line 688 def initialize(result=nil, status=nil, errmsg=nil, flowsteps=nil, requestid=nil) @Result = result @Status = status @ErrMsg = errmsg @FlowSteps = flowsteps @RequestId = requestid end |
Instance Attribute Details
#ErrMsg ⇒ Object
686 687 688 |
# File 'lib/v20220105/models.rb', line 686 def ErrMsg @ErrMsg end |
#FlowSteps ⇒ Object
686 687 688 |
# File 'lib/v20220105/models.rb', line 686 def FlowSteps @FlowSteps end |
#RequestId ⇒ Object
686 687 688 |
# File 'lib/v20220105/models.rb', line 686 def RequestId @RequestId end |
#Result ⇒ Object
686 687 688 |
# File 'lib/v20220105/models.rb', line 686 def Result @Result end |
#Status ⇒ Object
686 687 688 |
# File 'lib/v20220105/models.rb', line 686 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
696 697 698 699 700 701 702 703 704 705 706 707 708 709 |
# File 'lib/v20220105/models.rb', line 696 def deserialize(params) @Result = params['Result'] @Status = params['Status'] @ErrMsg = params['ErrMsg'] unless params['FlowSteps'].nil? @FlowSteps = [] params['FlowSteps'].each do |i| taskflowstepsinfo_tmp = TaskFlowStepsInfo.new taskflowstepsinfo_tmp.deserialize(i) @FlowSteps << taskflowstepsinfo_tmp end end @RequestId = params['RequestId'] end |