Class: TencentCloud::Ocr::V20181119::GetTaskStateResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::GetTaskStateResponse
- Defined in:
- lib/v20181119/models.rb
Overview
GetTaskState返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
2:任务已手动关闭 3:任务已提交 4:任务识别中 5:超时:任务超过了可操作的24H时限 6:任务识别失败.
-
#TaskState ⇒ Object
2:任务已手动关闭 3:任务已提交 4:任务识别中 5:超时:任务超过了可操作的24H时限 6:任务识别失败.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(taskstate = nil, requestid = nil) ⇒ GetTaskStateResponse
constructor
A new instance of GetTaskStateResponse.
Constructor Details
#initialize(taskstate = nil, requestid = nil) ⇒ GetTaskStateResponse
Returns a new instance of GetTaskStateResponse.
3965 3966 3967 3968 |
# File 'lib/v20181119/models.rb', line 3965 def initialize(taskstate=nil, requestid=nil) @TaskState = taskstate @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2:任务已手动关闭 3:任务已提交 4:任务识别中 5:超时:任务超过了可操作的24H时限 6:任务识别失败
3963 3964 3965 |
# File 'lib/v20181119/models.rb', line 3963 def RequestId @RequestId end |
#TaskState ⇒ Object
2:任务已手动关闭 3:任务已提交 4:任务识别中 5:超时:任务超过了可操作的24H时限 6:任务识别失败
3963 3964 3965 |
# File 'lib/v20181119/models.rb', line 3963 def TaskState @TaskState end |
Instance Method Details
#deserialize(params) ⇒ Object
3970 3971 3972 3973 |
# File 'lib/v20181119/models.rb', line 3970 def deserialize(params) @TaskState = params['TaskState'] @RequestId = params['RequestId'] end |