Class: TencentCloud::Wedata::V20210820::CreateCodeTemplateRequest

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

Overview

CreateCodeTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(projectid = nil, codetemplatename = nil, tasktype = nil, codetemplatedesc = nil, folderid = nil, content = nil, productname = nil) ⇒ CreateCodeTemplateRequest

Returns a new instance of CreateCodeTemplateRequest.



4401
4402
4403
4404
4405
4406
4407
4408
4409
# File 'lib/v20210820/models.rb', line 4401

def initialize(projectid=nil, codetemplatename=nil, tasktype=nil, codetemplatedesc=nil, folderid=nil, content=nil, productname=nil)
  @ProjectId = projectid
  @CodeTemplateName = codetemplatename
  @TaskType = tasktype
  @CodeTemplateDesc = codetemplatedesc
  @FolderId = folderid
  @Content = content
  @ProductName = productname
end

Instance Attribute Details

#CodeTemplateDescObject

Parameters:

  • ProjectId:

    项目Id

  • CodeTemplateName:

    模版名

  • TaskType:

    30Python,32DLC,50 DLC-PySpark

  • CodeTemplateDesc:

    模版描述

  • FolderId:

    文件夹ID

  • Content:

    Base64转化的脚本内容

  • ProductName:

    代码模板类型



4399
4400
4401
# File 'lib/v20210820/models.rb', line 4399

def CodeTemplateDesc
  @CodeTemplateDesc
end

#CodeTemplateNameObject

Parameters:

  • ProjectId:

    项目Id

  • CodeTemplateName:

    模版名

  • TaskType:

    30Python,32DLC,50 DLC-PySpark

  • CodeTemplateDesc:

    模版描述

  • FolderId:

    文件夹ID

  • Content:

    Base64转化的脚本内容

  • ProductName:

    代码模板类型



4399
4400
4401
# File 'lib/v20210820/models.rb', line 4399

def CodeTemplateName
  @CodeTemplateName
end

#ContentObject

Parameters:

  • ProjectId:

    项目Id

  • CodeTemplateName:

    模版名

  • TaskType:

    30Python,32DLC,50 DLC-PySpark

  • CodeTemplateDesc:

    模版描述

  • FolderId:

    文件夹ID

  • Content:

    Base64转化的脚本内容

  • ProductName:

    代码模板类型



4399
4400
4401
# File 'lib/v20210820/models.rb', line 4399

def Content
  @Content
end

#FolderIdObject

Parameters:

  • ProjectId:

    项目Id

  • CodeTemplateName:

    模版名

  • TaskType:

    30Python,32DLC,50 DLC-PySpark

  • CodeTemplateDesc:

    模版描述

  • FolderId:

    文件夹ID

  • Content:

    Base64转化的脚本内容

  • ProductName:

    代码模板类型



4399
4400
4401
# File 'lib/v20210820/models.rb', line 4399

def FolderId
  @FolderId
end

#ProductNameObject

Parameters:

  • ProjectId:

    项目Id

  • CodeTemplateName:

    模版名

  • TaskType:

    30Python,32DLC,50 DLC-PySpark

  • CodeTemplateDesc:

    模版描述

  • FolderId:

    文件夹ID

  • Content:

    Base64转化的脚本内容

  • ProductName:

    代码模板类型



4399
4400
4401
# File 'lib/v20210820/models.rb', line 4399

def ProductName
  @ProductName
end

#ProjectIdObject

Parameters:

  • ProjectId:

    项目Id

  • CodeTemplateName:

    模版名

  • TaskType:

    30Python,32DLC,50 DLC-PySpark

  • CodeTemplateDesc:

    模版描述

  • FolderId:

    文件夹ID

  • Content:

    Base64转化的脚本内容

  • ProductName:

    代码模板类型



4399
4400
4401
# File 'lib/v20210820/models.rb', line 4399

def ProjectId
  @ProjectId
end

#TaskTypeObject

Parameters:

  • ProjectId:

    项目Id

  • CodeTemplateName:

    模版名

  • TaskType:

    30Python,32DLC,50 DLC-PySpark

  • CodeTemplateDesc:

    模版描述

  • FolderId:

    文件夹ID

  • Content:

    Base64转化的脚本内容

  • ProductName:

    代码模板类型



4399
4400
4401
# File 'lib/v20210820/models.rb', line 4399

def TaskType
  @TaskType
end

Instance Method Details

#deserialize(params) ⇒ Object



4411
4412
4413
4414
4415
4416
4417
4418
4419
# File 'lib/v20210820/models.rb', line 4411

def deserialize(params)
  @ProjectId = params['ProjectId']
  @CodeTemplateName = params['CodeTemplateName']
  @TaskType = params['TaskType']
  @CodeTemplateDesc = params['CodeTemplateDesc']
  @FolderId = params['FolderId']
  @Content = params['Content']
  @ProductName = params['ProductName']
end