Class: PhraseApp::RequestParams::KeysTagParams

Inherits:
OpenStruct
  • Object
show all
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



1385
1386
1387
# File 'lib/phraseapp-ruby.rb', line 1385

def locale_id=(val)
  super(val)
end

#q=(val) ⇒ Object



1389
1390
1391
# File 'lib/phraseapp-ruby.rb', line 1389

def q=(val)
  super(val)
end

#tags=(val) ⇒ Object



1393
1394
1395
# File 'lib/phraseapp-ruby.rb', line 1393

def tags=(val)
  super(val)
end

#validateObject



1397
1398
1399
1400
1401
1402
# File 'lib/phraseapp-ruby.rb', line 1397

def validate
  
  if tags == nil || tags == "" 
    raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"tags\" of \"keys_tagParams\" not set")
  end
end