Class: TencentCloud::Dlc::V20210125::DescribeSparkSessionBatchSqlLogResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210125/models.rb

Overview

DescribeSparkSessionBatchSqlLog返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(state = nil, logset = nil, requestid = nil) ⇒ DescribeSparkSessionBatchSqlLogResponse



8576
8577
8578
8579
8580
# File 'lib/v20210125/models.rb', line 8576

def initialize(state=nil, logset=nil, requestid=nil)
  @State = state
  @LogSet = logset
  @RequestId = requestid
end

Instance Attribute Details

#LogSetObject

注意:此字段可能返回 null,表示取不到有效值。



8574
8575
8576
# File 'lib/v20210125/models.rb', line 8574

def LogSet
  @LogSet
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。



8574
8575
8576
# File 'lib/v20210125/models.rb', line 8574

def RequestId
  @RequestId
end

#StateObject

注意:此字段可能返回 null,表示取不到有效值。



8574
8575
8576
# File 'lib/v20210125/models.rb', line 8574

def State
  @State
end

Instance Method Details

#deserialize(params) ⇒ Object



8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
# File 'lib/v20210125/models.rb', line 8582

def deserialize(params)
  @State = params['State']
  unless params['LogSet'].nil?
    @LogSet = []
    params['LogSet'].each do |i|
      sparksessionbatchlog_tmp = SparkSessionBatchLog.new
      sparksessionbatchlog_tmp.deserialize(i)
      @LogSet << sparksessionbatchlog_tmp
    end
  end
  @RequestId = params['RequestId']
end