Class: PhraseApp::RequestParams::TranslationsIncludeParams
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PhraseApp::RequestParams::TranslationsIncludeParams
- Defined in:
- lib/phraseapp-ruby.rb
Overview
TranslationsIncludeParams
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-21T00:00:00Zfor date range queries</li> </ul> Please note that the argument is named--querywhen using the <a href=“phraseapp.com/cli” target=“_blank”>PhraseApp Client</a>. <br /><br /> Find more examples <a href=“/api/v2/general/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
1399 1400 1401 |
# File 'lib/phraseapp-ruby.rb', line 1399 def order=(val) self.order = val end |
#q=(val) ⇒ Object
1403 1404 1405 |
# File 'lib/phraseapp-ruby.rb', line 1403 def q=(val) self.q = val end |
#sort=(val) ⇒ Object
1407 1408 1409 |
# File 'lib/phraseapp-ruby.rb', line 1407 def sort=(val) self.sort = val end |
#validate ⇒ Object
1411 1412 1413 |
# File 'lib/phraseapp-ruby.rb', line 1411 def validate end |