Class: TencentCloud::Tke::V20220501::SortBy

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

Overview

排序信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fieldname = nil, ordertype = nil) ⇒ SortBy

Returns a new instance of SortBy.



2554
2555
2556
2557
# File 'lib/v20220501/models.rb', line 2554

def initialize(fieldname=nil, ordertype=nil)
  @FieldName = fieldname
  @OrderType = ordertype
end

Instance Attribute Details

#FieldNameObject

Parameters:

  • FieldName:

    排序指标

  • OrderType:

    排序方式



2552
2553
2554
# File 'lib/v20220501/models.rb', line 2552

def FieldName
  @FieldName
end

#OrderTypeObject

Parameters:

  • FieldName:

    排序指标

  • OrderType:

    排序方式



2552
2553
2554
# File 'lib/v20220501/models.rb', line 2552

def OrderType
  @OrderType
end

Instance Method Details

#deserialize(params) ⇒ Object



2559
2560
2561
2562
# File 'lib/v20220501/models.rb', line 2559

def deserialize(params)
  @FieldName = params['FieldName']
  @OrderType = params['OrderType']
end