Class: TencentCloud::Wedata::V20210820::SubmitSqlTaskResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::SubmitSqlTaskResponse
- Defined in:
- lib/v20210820/models.rb
Overview
SubmitSqlTask返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(record = nil, details = nil, requestid = nil) ⇒ SubmitSqlTaskResponse
constructor
A new instance of SubmitSqlTaskResponse.
Constructor Details
#initialize(record = nil, details = nil, requestid = nil) ⇒ SubmitSqlTaskResponse
Returns a new instance of SubmitSqlTaskResponse.
34331 34332 34333 34334 34335 |
# File 'lib/v20210820/models.rb', line 34331 def initialize(record=nil, details=nil, requestid=nil) @Record = record @Details = details @RequestId = requestid end |
Instance Attribute Details
#Details ⇒ Object
34329 34330 34331 |
# File 'lib/v20210820/models.rb', line 34329 def Details @Details end |
#Record ⇒ Object
34329 34330 34331 |
# File 'lib/v20210820/models.rb', line 34329 def Record @Record end |
#RequestId ⇒ Object
34329 34330 34331 |
# File 'lib/v20210820/models.rb', line 34329 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
34337 34338 34339 34340 34341 34342 34343 34344 34345 34346 34347 34348 34349 34350 34351 |
# File 'lib/v20210820/models.rb', line 34337 def deserialize(params) unless params['Record'].nil? @Record = AdhocRecord.new @Record.deserialize(params['Record']) end unless params['Details'].nil? @Details = [] params['Details'].each do |i| adhocdetail_tmp = AdhocDetail.new adhocdetail_tmp.deserialize(i) @Details << adhocdetail_tmp end end @RequestId = params['RequestId'] end |