Class: TencentCloud::Waf::V20180125::BotQPS

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

Overview

bot的qps详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resourceids = nil, validtime = nil, count = nil, region = nil, maxbotqps = nil, renewflag = nil) ⇒ BotQPS

Returns a new instance of BotQPS.



1232
1233
1234
1235
1236
1237
1238
1239
# File 'lib/v20180125/models.rb', line 1232

def initialize(resourceids=nil, validtime=nil, count=nil, region=nil, maxbotqps=nil, renewflag=nil)
  @ResourceIds = resourceids
  @ValidTime = validtime
  @Count = count
  @Region = region
  @MaxBotQPS = maxbotqps
  @RenewFlag = renewflag
end

Instance Attribute Details

#CountObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ResourceIds:

    资源id

  • ValidTime:

    有效时间

  • Count:

    资源数量

  • Region:

    资源所在地区

  • MaxBotQPS:

    使用qps的最大值

  • RenewFlag:

    续费标志



1230
1231
1232
# File 'lib/v20180125/models.rb', line 1230

def Count
  @Count
end

#MaxBotQPSObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ResourceIds:

    资源id

  • ValidTime:

    有效时间

  • Count:

    资源数量

  • Region:

    资源所在地区

  • MaxBotQPS:

    使用qps的最大值

  • RenewFlag:

    续费标志



1230
1231
1232
# File 'lib/v20180125/models.rb', line 1230

def MaxBotQPS
  @MaxBotQPS
end

#RegionObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ResourceIds:

    资源id

  • ValidTime:

    有效时间

  • Count:

    资源数量

  • Region:

    资源所在地区

  • MaxBotQPS:

    使用qps的最大值

  • RenewFlag:

    续费标志



1230
1231
1232
# File 'lib/v20180125/models.rb', line 1230

def Region
  @Region
end

#RenewFlagObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ResourceIds:

    资源id

  • ValidTime:

    有效时间

  • Count:

    资源数量

  • Region:

    资源所在地区

  • MaxBotQPS:

    使用qps的最大值

  • RenewFlag:

    续费标志



1230
1231
1232
# File 'lib/v20180125/models.rb', line 1230

def RenewFlag
  @RenewFlag
end

#ResourceIdsObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ResourceIds:

    资源id

  • ValidTime:

    有效时间

  • Count:

    资源数量

  • Region:

    资源所在地区

  • MaxBotQPS:

    使用qps的最大值

  • RenewFlag:

    续费标志



1230
1231
1232
# File 'lib/v20180125/models.rb', line 1230

def ResourceIds
  @ResourceIds
end

#ValidTimeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ResourceIds:

    资源id

  • ValidTime:

    有效时间

  • Count:

    资源数量

  • Region:

    资源所在地区

  • MaxBotQPS:

    使用qps的最大值

  • RenewFlag:

    续费标志



1230
1231
1232
# File 'lib/v20180125/models.rb', line 1230

def ValidTime
  @ValidTime
end

Instance Method Details

#deserialize(params) ⇒ Object



1241
1242
1243
1244
1245
1246
1247
1248
# File 'lib/v20180125/models.rb', line 1241

def deserialize(params)
  @ResourceIds = params['ResourceIds']
  @ValidTime = params['ValidTime']
  @Count = params['Count']
  @Region = params['Region']
  @MaxBotQPS = params['MaxBotQPS']
  @RenewFlag = params['RenewFlag']
end