Class: TencentCloud::Wedata::V20210820::OrderCondition

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) ⇒ OrderCondition

Returns a new instance of OrderCondition.



28028
28029
28030
28031
# File 'lib/v20210820/models.rb', line 28028

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

Instance Attribute Details

#DirectionObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    name

  • Direction:

    降序DESC; 升序ASC



28026
28027
28028
# File 'lib/v20210820/models.rb', line 28026

def Direction
  @Direction
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    name

  • Direction:

    降序DESC; 升序ASC



28026
28027
28028
# File 'lib/v20210820/models.rb', line 28026

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



28033
28034
28035
28036
# File 'lib/v20210820/models.rb', line 28033

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