class TencentCloud::Wedata::V20210820::TaskTypeExtDsVO

属性类型扩展

def deserialize(params)

def deserialize(params)
  @TypeId = params['TypeId']
  @PropName = params['PropName']
  @PropLabel = params['PropLabel']
  @DefaultFlag = params['DefaultFlag']
  @VisibleFlag = params['VisibleFlag']
  @PropDesc = params['PropDesc']
  @RankId = params['RankId']
  @InputType = params['InputType']
  @ValueType = params['ValueType']
  @DefaultValue = params['DefaultValue']
  @CandidateValues = params['CandidateValues']
  @IsMandatory = params['IsMandatory']
  @MaxValue = params['MaxValue']
  @MinValue = params['MinValue']
  @ConfLevel = params['ConfLevel']
  @CandidateTexts = params['CandidateTexts']
  @CopyKey = params['CopyKey']
  @Regex = params['Regex']
  @Tip = params['Tip']
  unless params['Candidates'].nil?
    @Candidates = []
    params['Candidates'].each do |i|
      candidatedsdto_tmp = CandidateDsDTo.new
      candidatedsdto_tmp.deserialize(i)
      @Candidates << candidatedsdto_tmp
    end
  end
end

def initialize(typeid=nil, propname=nil, proplabel=nil, defaultflag=nil, visibleflag=nil, propdesc=nil, rankid=nil, inputtype=nil, valuetype=nil, defaultvalue=nil, candidatevalues=nil, ismandatory=nil, maxvalue=nil, minvalue=nil, conflevel=nil, candidatetexts=nil, copykey=nil, regex=nil, tip=nil, candidates=nil)

def initialize(typeid=nil, propname=nil, proplabel=nil, defaultflag=nil, visibleflag=nil, propdesc=nil, rankid=nil, inputtype=nil, valuetype=nil, defaultvalue=nil, candidatevalues=nil, ismandatory=nil, maxvalue=nil, minvalue=nil, conflevel=nil, candidatetexts=nil, copykey=nil, regex=nil, tip=nil, candidates=nil)
  @TypeId = typeid
  @PropName = propname
  @PropLabel = proplabel
  @DefaultFlag = defaultflag
  @VisibleFlag = visibleflag
  @PropDesc = propdesc
  @RankId = rankid
  @InputType = inputtype
  @ValueType = valuetype
  @DefaultValue = defaultvalue
  @CandidateValues = candidatevalues
  @IsMandatory = ismandatory
  @MaxValue = maxvalue
  @MinValue = minvalue
  @ConfLevel = conflevel
  @CandidateTexts = candidatetexts
  @CopyKey = copykey
  @Regex = regex
  @Tip = tip
  @Candidates = candidates
end