Class: TencentCloud::Es::V20250101::ParseDocumentResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Es::V20250101::ParseDocumentResponse
- Defined in:
- lib/v20250101/models.rb
Overview
ParseDocument返回参数结构体
Instance Attribute Summary collapse
- #DocumentParseResultUrl ⇒ Object
- #FailedPages ⇒ Object
- #Progress ⇒ Object
- #RequestId ⇒ Object
- #Usage ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(progress = nil, documentparseresulturl = nil, failedpages = nil, usage = nil, requestid = nil) ⇒ ParseDocumentResponse
constructor
A new instance of ParseDocumentResponse.
Constructor Details
#initialize(progress = nil, documentparseresulturl = nil, failedpages = nil, usage = nil, requestid = nil) ⇒ ParseDocumentResponse
Returns a new instance of ParseDocumentResponse.
970 971 972 973 974 975 976 |
# File 'lib/v20250101/models.rb', line 970 def initialize(progress=nil, documentparseresulturl=nil, failedpages=nil, usage=nil, requestid=nil) @Progress = progress @DocumentParseResultUrl = documentparseresulturl @FailedPages = failedpages @Usage = usage @RequestId = requestid end |
Instance Attribute Details
#DocumentParseResultUrl ⇒ Object
968 969 970 |
# File 'lib/v20250101/models.rb', line 968 def DocumentParseResultUrl @DocumentParseResultUrl end |
#FailedPages ⇒ Object
968 969 970 |
# File 'lib/v20250101/models.rb', line 968 def FailedPages @FailedPages end |
#Progress ⇒ Object
968 969 970 |
# File 'lib/v20250101/models.rb', line 968 def Progress @Progress end |
#RequestId ⇒ Object
968 969 970 |
# File 'lib/v20250101/models.rb', line 968 def RequestId @RequestId end |
#Usage ⇒ Object
968 969 970 |
# File 'lib/v20250101/models.rb', line 968 def Usage @Usage end |
Instance Method Details
#deserialize(params) ⇒ Object
978 979 980 981 982 983 984 985 986 987 |
# File 'lib/v20250101/models.rb', line 978 def deserialize(params) @Progress = params['Progress'] @DocumentParseResultUrl = params['DocumentParseResultUrl'] @FailedPages = params['FailedPages'] unless params['Usage'].nil? @Usage = PageUsage.new @Usage.deserialize(params['Usage']) end @RequestId = params['RequestId'] end |