Class: TencentCloud::Waf::V20180125::BotPkg
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::BotPkg
- Defined in:
- lib/v20180125/models.rb
Overview
Bot资源信息
Instance Attribute Summary collapse
- #BeginTime ⇒ Object
- #BotCPWaf ⇒ Object
- #BotNPWaf ⇒ Object
- #EndTime ⇒ Object
- #InquireNum ⇒ Object
- #IsBotTrial ⇒ Object
- #Region ⇒ Object
- #RenewFlag ⇒ Object
- #ResourceIds ⇒ Object
- #Status ⇒ Object
- #Type ⇒ Object
- #UsedNum ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resourceids = nil, status = nil, region = nil, begintime = nil, endtime = nil, inquirenum = nil, usednum = nil, type = nil, renewflag = nil, botcpwaf = nil, botnpwaf = nil, isbottrial = nil) ⇒ BotPkg
constructor
A new instance of BotPkg.
Constructor Details
#initialize(resourceids = nil, status = nil, region = nil, begintime = nil, endtime = nil, inquirenum = nil, usednum = nil, type = nil, renewflag = nil, botcpwaf = nil, botnpwaf = nil, isbottrial = nil) ⇒ BotPkg
Returns a new instance of BotPkg.
2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 |
# File 'lib/v20180125/models.rb', line 2212 def initialize(resourceids=nil, status=nil, region=nil, begintime=nil, endtime=nil, inquirenum=nil, usednum=nil, type=nil, renewflag=nil, botcpwaf=nil, botnpwaf=nil, isbottrial=nil) @ResourceIds = resourceids @Status = status @Region = region @BeginTime = begintime @EndTime = endtime @InquireNum = inquirenum @UsedNum = usednum @Type = type @RenewFlag = renewflag @BotCPWaf = botcpwaf @BotNPWaf = botnpwaf @IsBotTrial = isbottrial end |
Instance Attribute Details
#BeginTime ⇒ Object
2210 2211 2212 |
# File 'lib/v20180125/models.rb', line 2210 def BeginTime @BeginTime end |
#BotCPWaf ⇒ Object
2210 2211 2212 |
# File 'lib/v20180125/models.rb', line 2210 def BotCPWaf @BotCPWaf end |
#BotNPWaf ⇒ Object
2210 2211 2212 |
# File 'lib/v20180125/models.rb', line 2210 def BotNPWaf @BotNPWaf end |
#EndTime ⇒ Object
2210 2211 2212 |
# File 'lib/v20180125/models.rb', line 2210 def EndTime @EndTime end |
#InquireNum ⇒ Object
2210 2211 2212 |
# File 'lib/v20180125/models.rb', line 2210 def InquireNum @InquireNum end |
#IsBotTrial ⇒ Object
2210 2211 2212 |
# File 'lib/v20180125/models.rb', line 2210 def IsBotTrial @IsBotTrial end |
#Region ⇒ Object
2210 2211 2212 |
# File 'lib/v20180125/models.rb', line 2210 def Region @Region end |
#RenewFlag ⇒ Object
2210 2211 2212 |
# File 'lib/v20180125/models.rb', line 2210 def RenewFlag @RenewFlag end |
#ResourceIds ⇒ Object
2210 2211 2212 |
# File 'lib/v20180125/models.rb', line 2210 def ResourceIds @ResourceIds end |
#Status ⇒ Object
2210 2211 2212 |
# File 'lib/v20180125/models.rb', line 2210 def Status @Status end |
#Type ⇒ Object
2210 2211 2212 |
# File 'lib/v20180125/models.rb', line 2210 def Type @Type end |
#UsedNum ⇒ Object
2210 2211 2212 |
# File 'lib/v20180125/models.rb', line 2210 def UsedNum @UsedNum end |
Instance Method Details
#deserialize(params) ⇒ Object
2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 |
# File 'lib/v20180125/models.rb', line 2227 def deserialize(params) @ResourceIds = params['ResourceIds'] @Status = params['Status'] @Region = params['Region'] @BeginTime = params['BeginTime'] @EndTime = params['EndTime'] @InquireNum = params['InquireNum'] @UsedNum = params['UsedNum'] @Type = params['Type'] @RenewFlag = params['RenewFlag'] @BotCPWaf = params['BotCPWaf'] @BotNPWaf = params['BotNPWaf'] @IsBotTrial = params['IsBotTrial'] end |