Class: TencentCloud::Cls::V20201016::CheckFunctionRequest

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

Overview

CheckFunction请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(etlcontent = nil, dstresources = nil, functype = nil) ⇒ CheckFunctionRequest

Returns a new instance of CheckFunctionRequest.



1051
1052
1053
1054
1055
# File 'lib/v20201016/models.rb', line 1051

def initialize(etlcontent=nil, dstresources=nil, functype=nil)
  @EtlContent = etlcontent
  @DstResources = dstresources
  @FuncType = functype
end

Instance Attribute Details

#DstResources ⇒ Object

Parameters:

  • DstResources: —

    加工任务目标topic_id以及别名,当 FuncType 为 1 时,必填。

  • FuncType: —

    数据加工目标主题的类型. 1 固定主题 2动态创建



1049
1050
1051
# File 'lib/v20201016/models.rb', line 1049

def DstResources
  @DstResources
end

#EtlContent ⇒ Object

Parameters:

  • DstResources: —

    加工任务目标topic_id以及别名,当 FuncType 为 1 时,必填。

  • FuncType: —

    数据加工目标主题的类型. 1 固定主题 2动态创建



1049
1050
1051
# File 'lib/v20201016/models.rb', line 1049

def EtlContent
  @EtlContent
end

#FuncType ⇒ Object

Parameters:

  • DstResources: —

    加工任务目标topic_id以及别名,当 FuncType 为 1 时,必填。

  • FuncType: —

    数据加工目标主题的类型. 1 固定主题 2动态创建



1049
1050
1051
# File 'lib/v20201016/models.rb', line 1049

def FuncType
  @FuncType
end

Instance Method Details

#deserialize(params) ⇒ Object



1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
# File 'lib/v20201016/models.rb', line 1057

def deserialize(params)
  @EtlContent = params['EtlContent']
  unless params['DstResources'].nil?
    @DstResources = []
    params['DstResources'].each do |i|
      datatransformresouceinfo_tmp = DataTransformResouceInfo.new
      datatransformresouceinfo_tmp.deserialize(i)
      @DstResources << datatransformresouceinfo_tmp
    end
  end
  @FuncType = params['FuncType']
end