Class: TencentCloud::Cii::V20201210::CreateStructureTaskRequest

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

Overview

CreateStructureTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(policyid = nil, customerid = nil, customername = nil, tasktype = nil, year = nil, filelist = nil, insurancetypes = nil, imagelist = nil) ⇒ CreateStructureTaskRequest

Returns a new instance of CreateStructureTaskRequest.



80
81
82
83
84
85
86
87
88
89
# File 'lib/v20201210/models.rb', line 80

def initialize(policyid=nil, customerid=nil, customername=nil, tasktype=nil, year=nil, filelist=nil, insurancetypes=nil, imagelist=nil)
  @PolicyId = policyid
  @CustomerId = customerid
  @CustomerName = customername
  @TaskType = tasktype
  @Year = year
  @FileList = filelist
  @InsuranceTypes = insurancetypes
  @ImageList = imagelist
end

Instance Attribute Details

#CustomerIdObject

CriticalDiseaseInsurance:重疾险LifeInsurance:寿险AccidentInsurance:意外险

Parameters:

  • PolicyId:

    保单号

  • CustomerId:

    客户号

  • CustomerName:

    客户姓名

  • TaskType:

    文件类型,目前只支持体检报告类型,对应的值为:HealthReport

  • Year:

    报告年份

  • FileList:

    报告文件上传的地址列表,需按顺序排列。如果使用ImageList参数,置为空数组即可

  • InsuranceTypes:

    险种,如果是体检报告类型,此参数是必填,类型说明如下:

  • ImageList:

    报告上传的图片内容数组,图片内容采用base64编码,需按顺序排列



78
79
80
# File 'lib/v20201210/models.rb', line 78

def CustomerId
  @CustomerId
end

#CustomerNameObject

CriticalDiseaseInsurance:重疾险LifeInsurance:寿险AccidentInsurance:意外险

Parameters:

  • PolicyId:

    保单号

  • CustomerId:

    客户号

  • CustomerName:

    客户姓名

  • TaskType:

    文件类型,目前只支持体检报告类型,对应的值为:HealthReport

  • Year:

    报告年份

  • FileList:

    报告文件上传的地址列表,需按顺序排列。如果使用ImageList参数,置为空数组即可

  • InsuranceTypes:

    险种,如果是体检报告类型,此参数是必填,类型说明如下:

  • ImageList:

    报告上传的图片内容数组,图片内容采用base64编码,需按顺序排列



78
79
80
# File 'lib/v20201210/models.rb', line 78

def CustomerName
  @CustomerName
end

#FileListObject

CriticalDiseaseInsurance:重疾险LifeInsurance:寿险AccidentInsurance:意外险

Parameters:

  • PolicyId:

    保单号

  • CustomerId:

    客户号

  • CustomerName:

    客户姓名

  • TaskType:

    文件类型,目前只支持体检报告类型,对应的值为:HealthReport

  • Year:

    报告年份

  • FileList:

    报告文件上传的地址列表,需按顺序排列。如果使用ImageList参数,置为空数组即可

  • InsuranceTypes:

    险种,如果是体检报告类型,此参数是必填,类型说明如下:

  • ImageList:

    报告上传的图片内容数组,图片内容采用base64编码,需按顺序排列



78
79
80
# File 'lib/v20201210/models.rb', line 78

def FileList
  @FileList
end

#ImageListObject

CriticalDiseaseInsurance:重疾险LifeInsurance:寿险AccidentInsurance:意外险

Parameters:

  • PolicyId:

    保单号

  • CustomerId:

    客户号

  • CustomerName:

    客户姓名

  • TaskType:

    文件类型,目前只支持体检报告类型,对应的值为:HealthReport

  • Year:

    报告年份

  • FileList:

    报告文件上传的地址列表,需按顺序排列。如果使用ImageList参数,置为空数组即可

  • InsuranceTypes:

    险种,如果是体检报告类型,此参数是必填,类型说明如下:

  • ImageList:

    报告上传的图片内容数组,图片内容采用base64编码,需按顺序排列



78
79
80
# File 'lib/v20201210/models.rb', line 78

def ImageList
  @ImageList
end

#InsuranceTypesObject

CriticalDiseaseInsurance:重疾险LifeInsurance:寿险AccidentInsurance:意外险

Parameters:

  • PolicyId:

    保单号

  • CustomerId:

    客户号

  • CustomerName:

    客户姓名

  • TaskType:

    文件类型,目前只支持体检报告类型,对应的值为:HealthReport

  • Year:

    报告年份

  • FileList:

    报告文件上传的地址列表,需按顺序排列。如果使用ImageList参数,置为空数组即可

  • InsuranceTypes:

    险种,如果是体检报告类型,此参数是必填,类型说明如下:

  • ImageList:

    报告上传的图片内容数组,图片内容采用base64编码,需按顺序排列



78
79
80
# File 'lib/v20201210/models.rb', line 78

def InsuranceTypes
  @InsuranceTypes
end

#PolicyIdObject

CriticalDiseaseInsurance:重疾险LifeInsurance:寿险AccidentInsurance:意外险

Parameters:

  • PolicyId:

    保单号

  • CustomerId:

    客户号

  • CustomerName:

    客户姓名

  • TaskType:

    文件类型,目前只支持体检报告类型,对应的值为:HealthReport

  • Year:

    报告年份

  • FileList:

    报告文件上传的地址列表,需按顺序排列。如果使用ImageList参数,置为空数组即可

  • InsuranceTypes:

    险种,如果是体检报告类型,此参数是必填,类型说明如下:

  • ImageList:

    报告上传的图片内容数组,图片内容采用base64编码,需按顺序排列



78
79
80
# File 'lib/v20201210/models.rb', line 78

def PolicyId
  @PolicyId
end

#TaskTypeObject

CriticalDiseaseInsurance:重疾险LifeInsurance:寿险AccidentInsurance:意外险

Parameters:

  • PolicyId:

    保单号

  • CustomerId:

    客户号

  • CustomerName:

    客户姓名

  • TaskType:

    文件类型,目前只支持体检报告类型,对应的值为:HealthReport

  • Year:

    报告年份

  • FileList:

    报告文件上传的地址列表,需按顺序排列。如果使用ImageList参数,置为空数组即可

  • InsuranceTypes:

    险种,如果是体检报告类型,此参数是必填,类型说明如下:

  • ImageList:

    报告上传的图片内容数组,图片内容采用base64编码,需按顺序排列



78
79
80
# File 'lib/v20201210/models.rb', line 78

def TaskType
  @TaskType
end

#YearObject

CriticalDiseaseInsurance:重疾险LifeInsurance:寿险AccidentInsurance:意外险

Parameters:

  • PolicyId:

    保单号

  • CustomerId:

    客户号

  • CustomerName:

    客户姓名

  • TaskType:

    文件类型,目前只支持体检报告类型,对应的值为:HealthReport

  • Year:

    报告年份

  • FileList:

    报告文件上传的地址列表,需按顺序排列。如果使用ImageList参数,置为空数组即可

  • InsuranceTypes:

    险种,如果是体检报告类型,此参数是必填,类型说明如下:

  • ImageList:

    报告上传的图片内容数组,图片内容采用base64编码,需按顺序排列



78
79
80
# File 'lib/v20201210/models.rb', line 78

def Year
  @Year
end

Instance Method Details

#deserialize(params) ⇒ Object



91
92
93
94
95
96
97
98
99
100
# File 'lib/v20201210/models.rb', line 91

def deserialize(params)
  @PolicyId = params['PolicyId']
  @CustomerId = params['CustomerId']
  @CustomerName = params['CustomerName']
  @TaskType = params['TaskType']
  @Year = params['Year']
  @FileList = params['FileList']
  @InsuranceTypes = params['InsuranceTypes']
  @ImageList = params['ImageList']
end