Class: TencentCloud::Lke::V20231130::ListQaItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lke::V20231130::ListQaItem
- Defined in:
- lib/v20231130/models.rb
Overview
问答详情数据
Instance Attribute Summary collapse
- #Answer ⇒ Object
- #AttrLabels ⇒ Object
- #AttrRange ⇒ Object
- #CreateTime ⇒ Object
- #DocBizId ⇒ Object
- #ExpireEnd ⇒ Object
- #ExpireStart ⇒ Object
- #FileName ⇒ Object
- #FileType ⇒ Object
- #IsAllowAccept ⇒ Object
- #IsAllowDelete ⇒ Object
- #IsAllowEdit ⇒ Object
- #IsDisabled ⇒ Object
- #QaBizId ⇒ Object
- #QaCharSize ⇒ Object
- #Question ⇒ Object
- #SimilarQuestionNum ⇒ Object
- #SimilarQuestionTips ⇒ Object
- #Source ⇒ Object
- #SourceDesc ⇒ Object
- #StaffName ⇒ Object
- #Status ⇒ Object
- #StatusDesc ⇒ Object
- #UpdateTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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
constructor
A new instance of ListQaItem.
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
#Answer ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def Answer @Answer end |
#AttrLabels ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def AttrLabels @AttrLabels end |
#AttrRange ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def AttrRange @AttrRange end |
#CreateTime ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def CreateTime @CreateTime end |
#DocBizId ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def DocBizId @DocBizId end |
#ExpireEnd ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def ExpireEnd @ExpireEnd end |
#ExpireStart ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def ExpireStart @ExpireStart end |
#FileName ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def FileName @FileName end |
#FileType ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def FileType @FileType end |
#IsAllowAccept ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def IsAllowAccept @IsAllowAccept end |
#IsAllowDelete ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def IsAllowDelete @IsAllowDelete end |
#IsAllowEdit ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def IsAllowEdit @IsAllowEdit end |
#IsDisabled ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def IsDisabled @IsDisabled end |
#QaBizId ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def QaBizId @QaBizId end |
#QaCharSize ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def QaCharSize @QaCharSize end |
#Question ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def Question @Question end |
#SimilarQuestionNum ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def SimilarQuestionNum @SimilarQuestionNum end |
#SimilarQuestionTips ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def SimilarQuestionTips @SimilarQuestionTips end |
#Source ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def Source @Source end |
#SourceDesc ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def SourceDesc @SourceDesc end |
#StaffName ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def StaffName @StaffName end |
#Status ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def Status @Status end |
#StatusDesc ⇒ Object
8059 8060 8061 |
# File 'lib/v20231130/models.rb', line 8059 def StatusDesc @StatusDesc end |
#UpdateTime ⇒ Object
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 |