Class: TencentCloud::Ivld::V20210903::SortBy
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ivld::V20210903::SortBy
- Defined in:
- lib/v20210903/models.rb
Overview
排序条件
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(by = nil, descend = nil) ⇒ SortBy
constructor
A new instance of SortBy.
Constructor Details
#initialize(by = nil, descend = nil) ⇒ SortBy
Returns a new instance of SortBy.
2542 2543 2544 2545 |
# File 'lib/v20210903/models.rb', line 2542 def initialize(by=nil, descend=nil) @By = by @Descend = descend end |
Instance Attribute Details
#By ⇒ Object
2540 2541 2542 |
# File 'lib/v20210903/models.rb', line 2540 def By @By end |
#Descend ⇒ Object
2540 2541 2542 |
# File 'lib/v20210903/models.rb', line 2540 def Descend @Descend end |
Instance Method Details
#deserialize(params) ⇒ Object
2547 2548 2549 2550 |
# File 'lib/v20210903/models.rb', line 2547 def deserialize(params) @By = params['By'] @Descend = params['Descend'] end |