Class: PhraseApp::RequestParams::KeysTagParams
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PhraseApp::RequestParams::KeysTagParams
- Defined in:
- lib/phraseapp-ruby.rb
Overview
KeysTagParams
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
1912 1913 1914 |
# File 'lib/phraseapp-ruby.rb', line 1912 def locale_id=(val) super(val) end |
#q=(val) ⇒ Object
1916 1917 1918 |
# File 'lib/phraseapp-ruby.rb', line 1916 def q=(val) super(val) end |
#tags=(val) ⇒ Object
1920 1921 1922 |
# File 'lib/phraseapp-ruby.rb', line 1920 def (val) super(val) end |
#validate ⇒ Object
1924 1925 1926 1927 1928 1929 |
# File 'lib/phraseapp-ruby.rb', line 1924 def validate if == nil || == "" raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"tags\" of \"keys_tagParams\" not set") end end |