Class: PhraseApp::RequestParams::KeysDeleteParams

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/phraseapp-ruby.rb

Overview

KeysDeleteParams

Parameters:

locale_id

Locale used to determine the translation state of a key when filtering for untranslated or translated keys.

q

Specify a <a href=“/api/v2/examples/#word-matching-examples”>search term query</a> 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>name:key_name for text queries on key names</li> <li>translated:{true|false} for translation status (also requires locale_id to be specified)</li> <li>updated_at{>=|<=}2013-02-21 for date range queries</li> </ul> Find more examples <a href=“/api/v2/examples/”>here</a>.

Instance Method Summary collapse

Instance Method Details

#locale_id=(val) ⇒ Object



1031
1032
1033
# File 'lib/phraseapp-ruby.rb', line 1031

def locale_id=(val)
  self.locale_id = val
end

#q=(val) ⇒ Object



1035
1036
1037
# File 'lib/phraseapp-ruby.rb', line 1035

def q=(val)
  self.q = val
end

#validateObject



1039
1040
1041
# File 'lib/phraseapp-ruby.rb', line 1039

def validate
  
end