Class: ServiceStack::QueryBase
- Inherits:
-
Object
- Object
- ServiceStack::QueryBase
- Includes:
- DTO
- Defined in:
- lib/servicestack/types.rb
Overview
The query params supported by all AutoQuery Requests.
Instance Attribute Summary collapse
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#include ⇒ Object
Returns the value of attribute include.
-
#meta ⇒ Object
Returns the value of attribute meta.
-
#order_by ⇒ Object
Returns the value of attribute order_by.
-
#order_by_desc ⇒ Object
Returns the value of attribute order_by_desc.
-
#skip ⇒ Object
Returns the value of attribute skip.
-
#take ⇒ Object
Returns the value of attribute take.
Class Method Summary collapse
Methods included from DTO
#==, included, #initialize, #inspect, #to_hash, #to_json
Instance Attribute Details
#fields ⇒ Object
Returns the value of attribute fields.
120 121 122 |
# File 'lib/servicestack/types.rb', line 120 def fields @fields end |
#include ⇒ Object
Returns the value of attribute include.
120 121 122 |
# File 'lib/servicestack/types.rb', line 120 def include @include end |
#meta ⇒ Object
Returns the value of attribute meta.
120 121 122 |
# File 'lib/servicestack/types.rb', line 120 def @meta end |
#order_by ⇒ Object
Returns the value of attribute order_by.
120 121 122 |
# File 'lib/servicestack/types.rb', line 120 def order_by @order_by end |
#order_by_desc ⇒ Object
Returns the value of attribute order_by_desc.
120 121 122 |
# File 'lib/servicestack/types.rb', line 120 def order_by_desc @order_by_desc end |
#skip ⇒ Object
Returns the value of attribute skip.
120 121 122 |
# File 'lib/servicestack/types.rb', line 120 def skip @skip end |
#take ⇒ Object
Returns the value of attribute take.
120 121 122 |
# File 'lib/servicestack/types.rb', line 120 def take @take end |
Class Method Details
.properties ⇒ Object
122 123 124 125 126 127 128 129 130 131 132 |
# File 'lib/servicestack/types.rb', line 122 def self.properties { skip: { name: 'skip' }, take: { name: 'take' }, order_by: { name: 'orderBy' }, order_by_desc: { name: 'orderByDesc' }, include: { name: 'include' }, fields: { name: 'fields' }, meta: { name: 'meta' }, } end |