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.



2191
2192
2193
2194
# File 'lib/v20220501/models.rb', line 2191

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

Instance Attribute Details

#FieldNameObject

Parameters:

  • FieldName:

    排序指标

  • OrderType:

    排序方式



2189
2190
2191
# File 'lib/v20220501/models.rb', line 2189

def FieldName
  @FieldName
end

#OrderTypeObject

Parameters:

  • FieldName:

    排序指标

  • OrderType:

    排序方式



2189
2190
2191
# File 'lib/v20220501/models.rb', line 2189

def OrderType
  @OrderType
end

Instance Method Details

#deserialize(params) ⇒ Object



2196
2197
2198
2199
# File 'lib/v20220501/models.rb', line 2196

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