Class: TencentCloud::Ssa::V20180608::QuerySort

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

Overview

排序的字段

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sortkey = nil, sorttype = nil) ⇒ QuerySort

Returns a new instance of QuerySort.



3298
3299
3300
3301
# File 'lib/v20180608/models.rb', line 3298

def initialize(sortkey=nil, sorttype=nil)
  @SortKey = sortkey
  @SortType = sorttype
end

Instance Attribute Details

#SortKeyObject

Parameters:

  • SortKey:

    排序字段

  • SortType:

    顺序,1升序2降序



3296
3297
3298
# File 'lib/v20180608/models.rb', line 3296

def SortKey
  @SortKey
end

#SortTypeObject

Parameters:

  • SortKey:

    排序字段

  • SortType:

    顺序,1升序2降序



3296
3297
3298
# File 'lib/v20180608/models.rb', line 3296

def SortType
  @SortType
end

Instance Method Details

#deserialize(params) ⇒ Object



3303
3304
3305
3306
# File 'lib/v20180608/models.rb', line 3303

def deserialize(params)
  @SortKey = params['SortKey']
  @SortType = params['SortType']
end