Class: TencentCloud::Mmps::V20200710::DescribeScanTaskStatusResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mmps::V20200710::DescribeScanTaskStatusResponse
- Defined in:
- lib/v20200710/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.
1037 1038 1039 1040 1041 1042 1043 |
# File 'lib/v20200710/models.rb', line 1037 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
1035 1036 1037 |
# File 'lib/v20200710/models.rb', line 1035 def ErrMsg @ErrMsg end |
#FlowSteps ⇒ Object
1035 1036 1037 |
# File 'lib/v20200710/models.rb', line 1035 def FlowSteps @FlowSteps end |
#RequestId ⇒ Object
1035 1036 1037 |
# File 'lib/v20200710/models.rb', line 1035 def RequestId @RequestId end |
#Result ⇒ Object
1035 1036 1037 |
# File 'lib/v20200710/models.rb', line 1035 def Result @Result end |
#Status ⇒ Object
1035 1036 1037 |
# File 'lib/v20200710/models.rb', line 1035 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 |
# File 'lib/v20200710/models.rb', line 1045 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 |