Class: TencentCloud::Waf::V20180125::BotPkg

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

Overview

Bot资源信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BeginTimeObject

Parameters:

  • ResourceIds:

    资源id

  • Status:

    状态

  • Region:

    地域

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • InquireNum:

    申请数量

  • UsedNum:

    使用数量

  • Type:

    子产品code

  • RenewFlag:

    续费标志

  • BotCPWaf:

    购买页bot6折

  • BotNPWaf:

    控制台买bot5折

  • IsBotTrial:

    7天bot试用标识 1 试用 0 没有试用



2210
2211
2212
# File 'lib/v20180125/models.rb', line 2210

def BeginTime
  @BeginTime
end

#BotCPWafObject

Parameters:

  • ResourceIds:

    资源id

  • Status:

    状态

  • Region:

    地域

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • InquireNum:

    申请数量

  • UsedNum:

    使用数量

  • Type:

    子产品code

  • RenewFlag:

    续费标志

  • BotCPWaf:

    购买页bot6折

  • BotNPWaf:

    控制台买bot5折

  • IsBotTrial:

    7天bot试用标识 1 试用 0 没有试用



2210
2211
2212
# File 'lib/v20180125/models.rb', line 2210

def BotCPWaf
  @BotCPWaf
end

#BotNPWafObject

Parameters:

  • ResourceIds:

    资源id

  • Status:

    状态

  • Region:

    地域

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • InquireNum:

    申请数量

  • UsedNum:

    使用数量

  • Type:

    子产品code

  • RenewFlag:

    续费标志

  • BotCPWaf:

    购买页bot6折

  • BotNPWaf:

    控制台买bot5折

  • IsBotTrial:

    7天bot试用标识 1 试用 0 没有试用



2210
2211
2212
# File 'lib/v20180125/models.rb', line 2210

def BotNPWaf
  @BotNPWaf
end

#EndTimeObject

Parameters:

  • ResourceIds:

    资源id

  • Status:

    状态

  • Region:

    地域

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • InquireNum:

    申请数量

  • UsedNum:

    使用数量

  • Type:

    子产品code

  • RenewFlag:

    续费标志

  • BotCPWaf:

    购买页bot6折

  • BotNPWaf:

    控制台买bot5折

  • IsBotTrial:

    7天bot试用标识 1 试用 0 没有试用



2210
2211
2212
# File 'lib/v20180125/models.rb', line 2210

def EndTime
  @EndTime
end

#InquireNumObject

Parameters:

  • ResourceIds:

    资源id

  • Status:

    状态

  • Region:

    地域

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • InquireNum:

    申请数量

  • UsedNum:

    使用数量

  • Type:

    子产品code

  • RenewFlag:

    续费标志

  • BotCPWaf:

    购买页bot6折

  • BotNPWaf:

    控制台买bot5折

  • IsBotTrial:

    7天bot试用标识 1 试用 0 没有试用



2210
2211
2212
# File 'lib/v20180125/models.rb', line 2210

def InquireNum
  @InquireNum
end

#IsBotTrialObject

Parameters:

  • ResourceIds:

    资源id

  • Status:

    状态

  • Region:

    地域

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • InquireNum:

    申请数量

  • UsedNum:

    使用数量

  • Type:

    子产品code

  • RenewFlag:

    续费标志

  • BotCPWaf:

    购买页bot6折

  • BotNPWaf:

    控制台买bot5折

  • IsBotTrial:

    7天bot试用标识 1 试用 0 没有试用



2210
2211
2212
# File 'lib/v20180125/models.rb', line 2210

def IsBotTrial
  @IsBotTrial
end

#RegionObject

Parameters:

  • ResourceIds:

    资源id

  • Status:

    状态

  • Region:

    地域

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • InquireNum:

    申请数量

  • UsedNum:

    使用数量

  • Type:

    子产品code

  • RenewFlag:

    续费标志

  • BotCPWaf:

    购买页bot6折

  • BotNPWaf:

    控制台买bot5折

  • IsBotTrial:

    7天bot试用标识 1 试用 0 没有试用



2210
2211
2212
# File 'lib/v20180125/models.rb', line 2210

def Region
  @Region
end

#RenewFlagObject

Parameters:

  • ResourceIds:

    资源id

  • Status:

    状态

  • Region:

    地域

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • InquireNum:

    申请数量

  • UsedNum:

    使用数量

  • Type:

    子产品code

  • RenewFlag:

    续费标志

  • BotCPWaf:

    购买页bot6折

  • BotNPWaf:

    控制台买bot5折

  • IsBotTrial:

    7天bot试用标识 1 试用 0 没有试用



2210
2211
2212
# File 'lib/v20180125/models.rb', line 2210

def RenewFlag
  @RenewFlag
end

#ResourceIdsObject

Parameters:

  • ResourceIds:

    资源id

  • Status:

    状态

  • Region:

    地域

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • InquireNum:

    申请数量

  • UsedNum:

    使用数量

  • Type:

    子产品code

  • RenewFlag:

    续费标志

  • BotCPWaf:

    购买页bot6折

  • BotNPWaf:

    控制台买bot5折

  • IsBotTrial:

    7天bot试用标识 1 试用 0 没有试用



2210
2211
2212
# File 'lib/v20180125/models.rb', line 2210

def ResourceIds
  @ResourceIds
end

#StatusObject

Parameters:

  • ResourceIds:

    资源id

  • Status:

    状态

  • Region:

    地域

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • InquireNum:

    申请数量

  • UsedNum:

    使用数量

  • Type:

    子产品code

  • RenewFlag:

    续费标志

  • BotCPWaf:

    购买页bot6折

  • BotNPWaf:

    控制台买bot5折

  • IsBotTrial:

    7天bot试用标识 1 试用 0 没有试用



2210
2211
2212
# File 'lib/v20180125/models.rb', line 2210

def Status
  @Status
end

#TypeObject

Parameters:

  • ResourceIds:

    资源id

  • Status:

    状态

  • Region:

    地域

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • InquireNum:

    申请数量

  • UsedNum:

    使用数量

  • Type:

    子产品code

  • RenewFlag:

    续费标志

  • BotCPWaf:

    购买页bot6折

  • BotNPWaf:

    控制台买bot5折

  • IsBotTrial:

    7天bot试用标识 1 试用 0 没有试用



2210
2211
2212
# File 'lib/v20180125/models.rb', line 2210

def Type
  @Type
end

#UsedNumObject

Parameters:

  • ResourceIds:

    资源id

  • Status:

    状态

  • Region:

    地域

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • InquireNum:

    申请数量

  • UsedNum:

    使用数量

  • Type:

    子产品code

  • RenewFlag:

    续费标志

  • BotCPWaf:

    购买页bot6折

  • BotNPWaf:

    控制台买bot5折

  • IsBotTrial:

    7天bot试用标识 1 试用 0 没有试用



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