Class: TencentCloud::Es::V20250101::GetMultiModalEmbeddingResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Es::V20250101::GetMultiModalEmbeddingResponse
- Defined in:
- lib/v20250101/models.rb
Overview
GetMultiModalEmbedding返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, usage = nil, requestid = nil) ⇒ GetMultiModalEmbeddingResponse
constructor
A new instance of GetMultiModalEmbeddingResponse.
Constructor Details
#initialize(data = nil, usage = nil, requestid = nil) ⇒ GetMultiModalEmbeddingResponse
Returns a new instance of GetMultiModalEmbeddingResponse.
603 604 605 606 607 |
# File 'lib/v20250101/models.rb', line 603 def initialize(data=nil, usage=nil, requestid=nil) @Data = data @Usage = usage @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
601 602 603 |
# File 'lib/v20250101/models.rb', line 601 def Data @Data end |
#RequestId ⇒ Object
601 602 603 |
# File 'lib/v20250101/models.rb', line 601 def RequestId @RequestId end |
#Usage ⇒ Object
601 602 603 |
# File 'lib/v20250101/models.rb', line 601 def Usage @Usage end |
Instance Method Details
#deserialize(params) ⇒ Object
609 610 611 612 613 614 615 616 617 618 619 |
# File 'lib/v20250101/models.rb', line 609 def deserialize(params) unless params['Data'].nil? @Data = MultiModalEmbeddingData.new @Data.deserialize(params['Data']) end unless params['Usage'].nil? @Usage = MultiModalUsage.new @Usage.deserialize(params['Usage']) end @RequestId = params['RequestId'] end |