Class: PhraseApp::RequestParams::KeysTagParams
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PhraseApp::RequestParams::KeysTagParams
- Defined in:
- lib/phraseapp-ruby.rb
Overview
KeysTagParams
Parameters:
- branch
-
specify the branch to use
- 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
- #branch=(val) ⇒ Object
- #locale_id=(val) ⇒ Object
- #q=(val) ⇒ Object
- #tags=(val) ⇒ Object
- #validate ⇒ Object
Instance Method Details
#branch=(val) ⇒ Object
2575 2576 2577 |
# File 'lib/phraseapp-ruby.rb', line 2575 def branch=(val) super(val) end |
#locale_id=(val) ⇒ Object
2579 2580 2581 |
# File 'lib/phraseapp-ruby.rb', line 2579 def locale_id=(val) super(val) end |
#q=(val) ⇒ Object
2583 2584 2585 |
# File 'lib/phraseapp-ruby.rb', line 2583 def q=(val) super(val) end |
#tags=(val) ⇒ Object
2587 2588 2589 |
# File 'lib/phraseapp-ruby.rb', line 2587 def (val) super(val) end |
#validate ⇒ Object
2591 2592 2593 2594 2595 2596 |
# File 'lib/phraseapp-ruby.rb', line 2591 def validate if == nil || == "" raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"tags\" of \"keys_tagParams\" not set") end end |