class TencentCloud::Ams::V20201229::DescribeTaskDetailResponse
DescribeTaskDetail返回参数结构体
def deserialize(params)
def deserialize(params) @TaskId = params['TaskId'] @DataId = params['DataId'] @BizType = params['BizType'] @Name = params['Name'] @Status = params['Status'] @Type = params['Type'] @Suggestion = params['Suggestion'] unless params['Labels'].nil? @Labels = [] params['Labels'].each do |i| tasklabel_tmp = TaskLabel.new tasklabel_tmp.deserialize(i) @Labels << tasklabel_tmp end end unless params['InputInfo'].nil? @InputInfo = InputInfo.new @InputInfo.deserialize(params['InputInfo']) end @AudioText = params['AudioText'] unless params['AudioSegments'].nil? @AudioSegments = [] params['AudioSegments'].each do |i| audiosegments_tmp = AudioSegments.new audiosegments_tmp.deserialize(i) @AudioSegments << audiosegments_tmp end end @ErrorType = params['ErrorType'] @ErrorDescription = params['ErrorDescription'] @CreatedAt = params['CreatedAt'] @UpdatedAt = params['UpdatedAt'] @Label = params['Label'] @RequestId = params['RequestId'] end
def initialize(taskid=nil, dataid=nil, biztype=nil, name=nil, status=nil, type=nil, suggestion=nil, labels=nil, inputinfo=nil, audiotext=nil, audiosegments=nil, errortype=nil, errordescription=nil, createdat=nil, updatedat=nil, label=nil, requestid=nil)
def initialize(taskid=nil, dataid=nil, biztype=nil, name=nil, status=nil, type=nil, suggestion=nil, labels=nil, inputinfo=nil, audiotext=nil, audiosegments=nil, errortype=nil, errordescription=nil, createdat=nil, updatedat=nil, label=nil, requestid=nil) @TaskId = taskid @DataId = dataid @BizType = biztype @Name = name @Status = status @Type = type @Suggestion = suggestion @Labels = labels @InputInfo = inputinfo @AudioText = audiotext @AudioSegments = audiosegments @ErrorType = errortype @ErrorDescription = errordescription @CreatedAt = createdat @UpdatedAt = updatedat @Label = label @RequestId = requestid end