=begin
#BJR API V1

#API specification for the BJR job server.

The version of the OpenAPI document: v1

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.1.1-SNAPSHOT

=end

require 'spec_helper'
require 'json'

# Unit tests for BJR::JobServerApi
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'JobServerApi' do
  before do
    # run before each test
    @api_instance = BJR::JobServerApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of JobServerApi' do
    it 'should create an instance of JobServerApi' do
      expect(@api_instance).to be_instance_of(BJR::JobServerApi)
    end
  end

  # unit tests for get_busy_thread_count
  # Retrieve the count of busy workers across worker pods/nodes
  # Retrieve the count of busy workers across worker pods/nodes
  # @param [Hash] opts the optional parameters
  # @return [BusyThreadCountMessage]
  describe 'get_busy_thread_count test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  # unit tests for quiesce_node
  # Quiesce a single worker pod/node
  # Quiesce a single worker pod/node
  # @param host The hostname of the worker pod/node to quiesce
  # @param [Hash] opts the optional parameters
  # @return [GenericMessage]
  describe 'quiesce_node test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  # unit tests for recent_jobs
  # List of recent jobs
  # Get a list of the most recently run jobs
  # @param [Hash] opts the optional parameters
  # @option opts [Integer] :count The number of jobs to return (max 20)
  # @return [JobArrayMessage]
  describe 'recent_jobs test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  # unit tests for stats_by_day
  # Job statistics by day
  # Get daily job statistics
  # @param [Hash] opts the optional parameters
  # @option opts [String] :start_date The start date from which to get daily metrics from
  # @option opts [String] :end_date The end date from which to get daily metrics from
  # @option opts [Integer] :per_page 
  # @option opts [Integer] :page 
  # @option opts [String] :timezone 
  # @return [JobStatMessage]
  describe 'stats_by_day test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  # unit tests for stats_by_hour
  # Job statistics by hour
  # Get hourly job statistics for the day
  # @param [Hash] opts the optional parameters
  # @option opts [String] :start_date The start date from which to get hourly metrics from
  # @option opts [String] :end_date The end date from which to get hourly metrics from
  # @option opts [Integer] :per_page 
  # @option opts [Integer] :page 
  # @option opts [String] :timezone 
  # @return [JobStatMessage]
  describe 'stats_by_hour test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  # unit tests for stats_by_minute
  # Job statistics by minute
  # Get minutely job statistics
  # @param [Hash] opts the optional parameters
  # @option opts [String] :start_date The start date from which to get minutely metrics from
  # @option opts [String] :end_date The end date from which to get minutely metrics from
  # @option opts [Integer] :per_page 
  # @option opts [Integer] :page 
  # @option opts [String] :timezone 
  # @return [JobStatMessage]
  describe 'stats_by_minute test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  # unit tests for stats_by_week
  # Job statistics by week
  # Get weekly job statistics
  # @param [Hash] opts the optional parameters
  # @option opts [String] :start_date The start date from which to get weekly metrics from
  # @option opts [String] :end_date The end date from which to get weekly metrics from
  # @option opts [Integer] :per_page 
  # @option opts [Integer] :page 
  # @option opts [String] :timezone 
  # @return [JobStatMessage]
  describe 'stats_by_week test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  # unit tests for todays_stats
  # Todays Stats
  # Get the high level job statistics for today
  # @param [Hash] opts the optional parameters
  # @option opts [String] :timezone 
  # @return [TodaysStatsMessage]
  describe 'todays_stats test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  # unit tests for upcoming_jobs
  # List of upcoming jobs
  # A list of jobs that are about to execute
  # @param [Hash] opts the optional parameters
  # @option opts [Integer] :count The number of jobs to return (max 20)
  # @return [JobArrayMessage]
  describe 'upcoming_jobs test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

end
