Class: TencentCloud::Wedata::V20210820::OrderFieldOptional

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

Overview

通用排序字段

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, direction = nil) ⇒ OrderFieldOptional

Returns a new instance of OrderFieldOptional.



28068
28069
28070
28071
# File 'lib/v20210820/models.rb', line 28068

def initialize(name=nil, direction=nil)
  @Name = name
  @Direction = direction
end

Instance Attribute Details

#DirectionObject

Parameters:

  • Name:

    排序字段名称

  • Direction:

    排序方向:ASC|DESC



28066
28067
28068
# File 'lib/v20210820/models.rb', line 28066

def Direction
  @Direction
end

#NameObject

Parameters:

  • Name:

    排序字段名称

  • Direction:

    排序方向:ASC|DESC



28066
28067
28068
# File 'lib/v20210820/models.rb', line 28066

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



28073
28074
28075
28076
# File 'lib/v20210820/models.rb', line 28073

def deserialize(params)
  @Name = params['Name']
  @Direction = params['Direction']
end