Class: TencentCloud::Lke::V20231130::ListQaItem

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

Overview

问答详情数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(qabizid = nil, question = nil, answer = nil, source = nil, sourcedesc = nil, updatetime = nil, status = nil, statusdesc = nil, docbizid = nil, createtime = nil, isallowedit = nil, isallowdelete = nil, isallowaccept = nil, filename = nil, filetype = nil, qacharsize = nil, expirestart = nil, expireend = nil, attrrange = nil, attrlabels = nil, similarquestionnum = nil, similarquestiontips = nil, isdisabled = nil, staffname = nil) ⇒ ListQaItem



8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
# File 'lib/v20231130/models.rb', line 8061

def initialize(qabizid=nil, question=nil, answer=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, docbizid=nil, createtime=nil, isallowedit=nil, isallowdelete=nil, isallowaccept=nil, filename=nil, filetype=nil, qacharsize=nil, expirestart=nil, expireend=nil, attrrange=nil, attrlabels=nil, similarquestionnum=nil, similarquestiontips=nil, isdisabled=nil, staffname=nil)
  @QaBizId = qabizid
  @Question = question
  @Answer = answer
  @Source = source
  @SourceDesc = sourcedesc
  @UpdateTime = updatetime
  @Status = status
  @StatusDesc = statusdesc
  @DocBizId = docbizid
  @CreateTime = createtime
  @IsAllowEdit = isallowedit
  @IsAllowDelete = isallowdelete
  @IsAllowAccept = isallowaccept
  @FileName = filename
  @FileType = filetype
  @QaCharSize = qacharsize
  @ExpireStart = expirestart
  @ExpireEnd = expireend
  @AttrRange = attrrange
  @AttrLabels = attrlabels
  @SimilarQuestionNum = similarquestionnum
  @SimilarQuestionTips = similarquestiontips
  @IsDisabled = isdisabled
  @StaffName = staffname
end

Instance Attribute Details

#AnswerObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def Answer
  @Answer
end

#AttrLabelsObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def AttrLabels
  @AttrLabels
end

#AttrRangeObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def AttrRange
  @AttrRange
end

#CreateTimeObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def CreateTime
  @CreateTime
end

#DocBizIdObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def DocBizId
  @DocBizId
end

#ExpireEndObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def ExpireEnd
  @ExpireEnd
end

#ExpireStartObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def ExpireStart
  @ExpireStart
end

#FileNameObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def FileName
  @FileName
end

#FileTypeObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def FileType
  @FileType
end

#IsAllowAcceptObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def IsAllowAccept
  @IsAllowAccept
end

#IsAllowDeleteObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def IsAllowDelete
  @IsAllowDelete
end

#IsAllowEditObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def IsAllowEdit
  @IsAllowEdit
end

#IsDisabledObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def IsDisabled
  @IsDisabled
end

#QaBizIdObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def QaBizId
  @QaBizId
end

#QaCharSizeObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def QaCharSize
  @QaCharSize
end

#QuestionObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def Question
  @Question
end

#SimilarQuestionNumObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def SimilarQuestionNum
  @SimilarQuestionNum
end

#SimilarQuestionTipsObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def SimilarQuestionTips
  @SimilarQuestionTips
end

#SourceObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def Source
  @Source
end

#SourceDescObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def SourceDesc
  @SourceDesc
end

#StaffNameObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def StaffName
  @StaffName
end

#StatusObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def Status
  @Status
end

#StatusDescObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def StatusDesc
  @StatusDesc
end

#UpdateTimeObject



8059
8060
8061
# File 'lib/v20231130/models.rb', line 8059

def UpdateTime
  @UpdateTime
end

Instance Method Details

#deserialize(params) ⇒ Object



8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
# File 'lib/v20231130/models.rb', line 8088

def deserialize(params)
  @QaBizId = params['QaBizId']
  @Question = params['Question']
  @Answer = params['Answer']
  @Source = params['Source']
  @SourceDesc = params['SourceDesc']
  @UpdateTime = params['UpdateTime']
  @Status = params['Status']
  @StatusDesc = params['StatusDesc']
  @DocBizId = params['DocBizId']
  @CreateTime = params['CreateTime']
  @IsAllowEdit = params['IsAllowEdit']
  @IsAllowDelete = params['IsAllowDelete']
  @IsAllowAccept = params['IsAllowAccept']
  @FileName = params['FileName']
  @FileType = params['FileType']
  @QaCharSize = params['QaCharSize']
  @ExpireStart = params['ExpireStart']
  @ExpireEnd = params['ExpireEnd']
  @AttrRange = params['AttrRange']
  unless params['AttrLabels'].nil?
    @AttrLabels = []
    params['AttrLabels'].each do |i|
      attrlabel_tmp = AttrLabel.new
      attrlabel_tmp.deserialize(i)
      @AttrLabels << attrlabel_tmp
    end
  end
  @SimilarQuestionNum = params['SimilarQuestionNum']
  @SimilarQuestionTips = params['SimilarQuestionTips']
  @IsDisabled = params['IsDisabled']
  @StaffName = params['StaffName']
end