Class: TencentCloud::Dlc::V20210125::CancelSparkSessionBatchSQLRequest

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

Overview

CancelSparkSessionBatchSQL请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(batchid = nil, customkey = nil) ⇒ CancelSparkSessionBatchSQLRequest

Returns a new instance of CancelSparkSessionBatchSQLRequest.



1126
1127
1128
1129
# File 'lib/v20210125/models.rb', line 1126

def initialize(batchid=nil, customkey=nil)
  @BatchId = batchid
  @CustomKey = customkey
end

Instance Attribute Details

#BatchIdObject

Parameters:

  • BatchId:

    批任务唯一标识

  • CustomKey:

    用户自定义主键,若不为空,则使用该值进行查询



1124
1125
1126
# File 'lib/v20210125/models.rb', line 1124

def BatchId
  @BatchId
end

#CustomKeyObject

Parameters:

  • BatchId:

    批任务唯一标识

  • CustomKey:

    用户自定义主键,若不为空,则使用该值进行查询



1124
1125
1126
# File 'lib/v20210125/models.rb', line 1124

def CustomKey
  @CustomKey
end

Instance Method Details

#deserialize(params) ⇒ Object



1131
1132
1133
1134
# File 'lib/v20210125/models.rb', line 1131

def deserialize(params)
  @BatchId = params['BatchId']
  @CustomKey = params['CustomKey']
end