Class: PhraseApp::RequestParams::KeysUntagParams
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PhraseApp::RequestParams::KeysUntagParams
- Defined in:
- lib/phraseapp-ruby.rb
Overview
KeysUntagParams
Parameters:
- locale_id
-
Locale used to determine the translation state of a key when filtering for untranslated or translated keys.
- q
-
q_description_placeholder
- tags
-
Tag or comma-separated list of tags to add to the matching collection of keys
Instance Method Summary collapse
Instance Method Details
#locale_id=(val) ⇒ Object
1290 1291 1292 |
# File 'lib/phraseapp-ruby.rb', line 1290 def locale_id=(val) self.locale_id = val end |
#q=(val) ⇒ Object
1294 1295 1296 |
# File 'lib/phraseapp-ruby.rb', line 1294 def q=(val) self.q = val end |
#tags=(val) ⇒ Object
1298 1299 1300 |
# File 'lib/phraseapp-ruby.rb', line 1298 def (val) self. = val end |
#to_h ⇒ Object
1308 1309 1310 |
# File 'lib/phraseapp-ruby.rb', line 1308 def to_h @table.dup end |
#validate ⇒ Object
1302 1303 1304 1305 1306 |
# File 'lib/phraseapp-ruby.rb', line 1302 def validate if self. == nil || self. == "" raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"tags\" of \"keys_untagParams\" not set") end end |