Class: PhraseApp::RequestParams::KeysUntagParams

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/phraseapp-ruby.rb

Overview

KeysUntagParams

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 remove from the matching collection of keys

Instance Method Summary collapse

Instance Method Details

#branch=(val) ⇒ Object



2615
2616
2617
# File 'lib/phraseapp-ruby.rb', line 2615

def branch=(val)
  super(val)
end

#locale_id=(val) ⇒ Object



2619
2620
2621
# File 'lib/phraseapp-ruby.rb', line 2619

def locale_id=(val)
  super(val)
end

#q=(val) ⇒ Object



2623
2624
2625
# File 'lib/phraseapp-ruby.rb', line 2623

def q=(val)
  super(val)
end

#tags=(val) ⇒ Object



2627
2628
2629
# File 'lib/phraseapp-ruby.rb', line 2627

def tags=(val)
  super(val)
end

#validateObject



2631
2632
2633
2634
2635
2636
# File 'lib/phraseapp-ruby.rb', line 2631

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