Class: TencentCloud::Lke::V20231130::ModifyDocRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lke::V20231130::ModifyDocRequest
- Defined in:
- lib/v20231130/models.rb
Overview
ModifyDoc请求参数结构体
Instance Attribute Summary collapse
-
#AttrLabels ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#AttrRange ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#BotBizId ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#CateBizId ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#DocBizId ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#ExpireEnd ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#ExpireStart ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#IsDownload ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#IsRefer ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#LoginSubAccountUin ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#LoginUin ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#ModifyTypes ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#ReferUrlType ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#SplitRule ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#UpdatePeriodInfo ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
-
#WebUrl ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(botbizid = nil, docbizid = nil, isrefer = nil, attrrange = nil, loginuin = nil, loginsubaccountuin = nil, attrlabels = nil, weburl = nil, referurltype = nil, expirestart = nil, expireend = nil, catebizid = nil, isdownload = nil, modifytypes = nil, updateperiodinfo = nil, splitrule = nil) ⇒ ModifyDocRequest
constructor
A new instance of ModifyDocRequest.
Constructor Details
#initialize(botbizid = nil, docbizid = nil, isrefer = nil, attrrange = nil, loginuin = nil, loginsubaccountuin = nil, attrlabels = nil, weburl = nil, referurltype = nil, expirestart = nil, expireend = nil, catebizid = nil, isdownload = nil, modifytypes = nil, updateperiodinfo = nil, splitrule = nil) ⇒ ModifyDocRequest
9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 |
# File 'lib/v20231130/models.rb', line 9522 def initialize(botbizid=nil, docbizid=nil, isrefer=nil, attrrange=nil, loginuin=nil, loginsubaccountuin=nil, attrlabels=nil, weburl=nil, referurltype=nil, expirestart=nil, expireend=nil, catebizid=nil, isdownload=nil, modifytypes=nil, updateperiodinfo=nil, splitrule=nil) @BotBizId = botbizid @DocBizId = docbizid @IsRefer = isrefer @AttrRange = attrrange @LoginUin = loginuin @LoginSubAccountUin = loginsubaccountuin @AttrLabels = attrlabels @WebUrl = weburl @ReferUrlType = referurltype @ExpireStart = expirestart @ExpireEnd = expireend @CateBizId = catebizid @IsDownload = isdownload @ModifyTypes = modifytypes @UpdatePeriodInfo = updateperiodinfo @SplitRule = splitrule end |
Instance Attribute Details
#AttrLabels ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def AttrLabels @AttrLabels end |
#AttrRange ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def AttrRange @AttrRange end |
#BotBizId ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def BotBizId @BotBizId end |
#CateBizId ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def CateBizId @CateBizId end |
#DocBizId ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def DocBizId @DocBizId end |
#ExpireEnd ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def ExpireEnd @ExpireEnd end |
#ExpireStart ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def ExpireStart @ExpireStart end |
#IsDownload ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def IsDownload @IsDownload end |
#IsRefer ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def IsRefer @IsRefer end |
#LoginSubAccountUin ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def LoginSubAccountUin @LoginSubAccountUin end |
#LoginUin ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def LoginUin @LoginUin end |
#ModifyTypes ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def ModifyTypes @ModifyTypes end |
#ReferUrlType ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def ReferUrlType @ReferUrlType end |
#SplitRule ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def SplitRule @SplitRule end |
#UpdatePeriodInfo ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def UpdatePeriodInfo @UpdatePeriodInfo end |
#WebUrl ⇒ Object
值为1时,WebUrl 字段不能为空,否则不生效。
9520 9521 9522 |
# File 'lib/v20231130/models.rb', line 9520 def WebUrl @WebUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 |
# File 'lib/v20231130/models.rb', line 9541 def deserialize(params) @BotBizId = params['BotBizId'] @DocBizId = params['DocBizId'] @IsRefer = params['IsRefer'] @AttrRange = params['AttrRange'] @LoginUin = params['LoginUin'] @LoginSubAccountUin = params['LoginSubAccountUin'] unless params['AttrLabels'].nil? @AttrLabels = [] params['AttrLabels'].each do |i| attrlabelrefer_tmp = AttrLabelRefer.new attrlabelrefer_tmp.deserialize(i) @AttrLabels << attrlabelrefer_tmp end end @WebUrl = params['WebUrl'] @ReferUrlType = params['ReferUrlType'] @ExpireStart = params['ExpireStart'] @ExpireEnd = params['ExpireEnd'] @CateBizId = params['CateBizId'] @IsDownload = params['IsDownload'] @ModifyTypes = params['ModifyTypes'] unless params['UpdatePeriodInfo'].nil? @UpdatePeriodInfo = UpdatePeriodInfo.new @UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo']) end @SplitRule = params['SplitRule'] end |