Class: TencentCloud::Cdn::V20180606::BotSortBy

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

Overview

Bot记录的排序选项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, sequence = nil) ⇒ BotSortBy

Returns a new instance of BotSortBy.



1863
1864
1865
1866
# File 'lib/v20180606/models.rb', line 1863

def initialize(key=nil, sequence=nil)
  @Key = key
  @Sequence = sequence
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    排序参数名称, 取值为:timestamp, nums, session_duration,score.total,stat.avg_speed分别表示按照:最新检测时间,会话总次数,会话持续时间,BOT得分,平均速率排序

  • Sequence:

    asc/desc



1861
1862
1863
# File 'lib/v20180606/models.rb', line 1861

def Key
  @Key
end

#SequenceObject

Parameters:

  • Key:

    排序参数名称, 取值为:timestamp, nums, session_duration,score.total,stat.avg_speed分别表示按照:最新检测时间,会话总次数,会话持续时间,BOT得分,平均速率排序

  • Sequence:

    asc/desc



1861
1862
1863
# File 'lib/v20180606/models.rb', line 1861

def Sequence
  @Sequence
end

Instance Method Details

#deserialize(params) ⇒ Object



1868
1869
1870
1871
# File 'lib/v20180606/models.rb', line 1868

def deserialize(params)
  @Key = params['Key']
  @Sequence = params['Sequence']
end