Class: PhraseApp::RequestParams::TranslationsListParams
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PhraseApp::RequestParams::TranslationsListParams
- Defined in:
- lib/phraseapp-ruby.rb
Overview
TranslationsListParams
Parameters:
- order
-
Order direction. Can be one of: asc, desc.
- q
-
Specify a search term query including wildcard or exact matching. It will search the key metadata for matching results. Searched fields include key name, description, tags, translations.
Also supports the following qualifiers in the query:
<ul> <li>tags:XYZfor tags on the translation</li> <li>unverified:{true|false}for verification status</li> <li>updated_at{>=|<=}2013-02-21for date range queries</li> </ul> Find more examples <a href=“/api/v2/examples/”>here</a>. - sort
-
Sort criteria. Can be one of: key_name, created_at, updated_at.
Instance Method Summary collapse
Instance Method Details
#order=(val) ⇒ Object
1420 1421 1422 |
# File 'lib/phraseapp-ruby.rb', line 1420 def order=(val) self.order = val end |
#q=(val) ⇒ Object
1424 1425 1426 |
# File 'lib/phraseapp-ruby.rb', line 1424 def q=(val) self.q = val end |
#sort=(val) ⇒ Object
1428 1429 1430 |
# File 'lib/phraseapp-ruby.rb', line 1428 def sort=(val) self.sort = val end |
#validate ⇒ Object
1432 1433 1434 |
# File 'lib/phraseapp-ruby.rb', line 1432 def validate end |