class PhraseApp::RequestParams::JobsListParams
Parameters:¶ ↑
- assigned_to
-
filter by user assigned to job
- branch
-
specify the branch to use
- owned_by
-
filter by user owning job
- state
-
filter by state of job Valid states are
draft
,in_progress
,completed
Public Instance Methods
assigned_to=(val)
click to toggle source
Calls superclass method
# File lib/phraseapp-ruby.rb, line 2374 def assigned_to=(val) super(val) end
branch=(val)
click to toggle source
Calls superclass method
# File lib/phraseapp-ruby.rb, line 2378 def branch=(val) super(val) end
owned_by=(val)
click to toggle source
Calls superclass method
# File lib/phraseapp-ruby.rb, line 2382 def owned_by=(val) super(val) end
state=(val)
click to toggle source
Calls superclass method
# File lib/phraseapp-ruby.rb, line 2386 def state=(val) super(val) end
validate()
click to toggle source
# File lib/phraseapp-ruby.rb, line 2390 def validate if assigned_to == nil || assigned_to == "" raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"assigned_to\" of \"jobs_listParams\" not set") end if owned_by == nil || owned_by == "" raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"owned_by\" of \"jobs_listParams\" not set") end if state == nil || state == "" raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"state\" of \"jobs_listParams\" not set") end end