Class: PhraseApp::RequestParams::KeysUntagParams

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



1551
1552
1553
# File 'lib/phraseapp-ruby.rb', line 1551

def locale_id=(val)
  super(val)
end

#q=(val) ⇒ Object



1555
1556
1557
# File 'lib/phraseapp-ruby.rb', line 1555

def q=(val)
  super(val)
end

#tags=(val) ⇒ Object



1559
1560
1561
# File 'lib/phraseapp-ruby.rb', line 1559

def tags=(val)
  super(val)
end

#validateObject



1563
1564
1565
1566
1567
1568
# File 'lib/phraseapp-ruby.rb', line 1563

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