Class: TencentCloud::Es::V20250101::GetDocumentChunkResultResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Es::V20250101::GetDocumentChunkResultResponse
- Defined in:
- lib/v20250101/models.rb
Overview
GetDocumentChunkResult返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(status = nil, documentchunkresulturl = nil, usage = nil, requestid = nil) ⇒ GetDocumentChunkResultResponse
constructor
A new instance of GetDocumentChunkResultResponse.
Constructor Details
#initialize(status = nil, documentchunkresulturl = nil, usage = nil, requestid = nil) ⇒ GetDocumentChunkResultResponse
Returns a new instance of GetDocumentChunkResultResponse.
494 495 496 497 498 499 |
# File 'lib/v20250101/models.rb', line 494 def initialize(status=nil, documentchunkresulturl=nil, usage=nil, requestid=nil) @Status = status @DocumentChunkResultUrl = documentchunkresulturl @Usage = usage @RequestId = requestid end |
Instance Attribute Details
#DocumentChunkResultUrl ⇒ Object
492 493 494 |
# File 'lib/v20250101/models.rb', line 492 def DocumentChunkResultUrl @DocumentChunkResultUrl end |
#RequestId ⇒ Object
492 493 494 |
# File 'lib/v20250101/models.rb', line 492 def RequestId @RequestId end |
#Status ⇒ Object
492 493 494 |
# File 'lib/v20250101/models.rb', line 492 def Status @Status end |
#Usage ⇒ Object
492 493 494 |
# File 'lib/v20250101/models.rb', line 492 def Usage @Usage end |
Instance Method Details
#deserialize(params) ⇒ Object
501 502 503 504 505 506 507 508 509 |
# File 'lib/v20250101/models.rb', line 501 def deserialize(params) @Status = params['Status'] @DocumentChunkResultUrl = params['DocumentChunkResultUrl'] unless params['Usage'].nil? @Usage = DocumentChunkUsage.new @Usage.deserialize(params['Usage']) end @RequestId = params['RequestId'] end |