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
1157 1158 1159 |
# File 'lib/phraseapp-ruby.rb', line 1157 def locale_id=(val) self.locale_id = val end |
#q=(val) ⇒ Object
1161 1162 1163 |
# File 'lib/phraseapp-ruby.rb', line 1161 def q=(val) self.q = val end |
#tags=(val) ⇒ Object
1165 1166 1167 |
# File 'lib/phraseapp-ruby.rb', line 1165 def (val) self. = val end |
#validate ⇒ Object
1169 1170 1171 1172 1173 |
# File 'lib/phraseapp-ruby.rb', line 1169 def validate if self. == nil || self. == "" raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"tags\" of \"keys_untagParams\" not set") end end |