lib/phraseapp-ruby.rb
def job_locales_list(project_id, job_id, page, per_page, params)
      path = sprintf("/api/v2/projects/%s/jobs/%s/locales", project_id, job_id)
      data_hash = {}
      post_body = nil
  
      if params.present?
        unless params.kind_of?(PhraseApp::RequestParams::JobLocalesListParams)
          raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::JobLocalesListParams")
        end
      end
  
      data_hash = params.to_h
      err = params.validate
      if err != nil
        return nil, err
      end
      reqHelper = PhraseApp::ParamsHelpers::BodyTypeHelper.new(data_hash, post_body)
      rc, err = PhraseApp.send_request_paginated(@credentials, "GET", path, reqHelper.ctype, reqHelper.body, 200, page, per_page)
      if err != nil
        return nil, err
      end
      
      return JSON.load(rc.body).map { |item| PhraseApp::ResponseObjects::JobLocale.new(item) }, err
    end
def job_locales_list(project_id, job_id, page, per_page, params)
      path = sprintf("/api/v2/projects/%s/jobs/%s/locales", project_id, job_id)
      data_hash = {}
      post_body = nil
  
      if params.present?
        unless params.kind_of?(PhraseApp::RequestParams::JobLocalesListParams)
          raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::JobLocalesListParams")
        end
      end
  
      data_hash = params.to_h
      err = params.validate
      if err != nil
        return nil, err
      end
      reqHelper = PhraseApp::ParamsHelpers::BodyTypeHelper.new(data_hash, post_body)
      rc, err = PhraseApp.send_request_paginated(@credentials, "GET", path, reqHelper.ctype, reqHelper.body, 200, page, per_page)
      if err != nil
        return nil, err
      end
      
      return JSON.load(rc.body).map { |item| PhraseApp::ResponseObjects::JobLocale.new(item) }, err
    end
List all job locales for a given job.
 API Path: /api/v2/projects/:project_id/jobs/:job_id/locales
 == Parameters:
 project_id::
   project_id
 job_id::
   job_id
 params::
   Parameters of type PhraseApp::RequestParams::JobLocalesListParams

 == Returns:
   PhraseApp::ResponseObjects::JobLocale
   err