=begin
#CoinAPI Indexes REST API

#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1
Contact: support@apibricks.io
Generated by: https://openapi-generator.tech
Generator version: 7.14.0

=end

require 'spec_helper'
require 'json'

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

  after do
    # run after each test
  end

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

  # unit tests for v1_indexdef_input_data_index_definition_id_all_get
  # Returns all data inputs for a specific index definition
  # @param index_definition_id 
  # @param [Hash] opts the optional parameters
  # @return [Array<IndexesIndexDefinitionInputData>]
  describe 'v1_indexdef_input_data_index_definition_id_all_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

  # unit tests for v1_indexdef_input_data_index_definition_id_get
  # Returns data inputs for certain index definition and time
  # @param index_definition_id 
  # @param [Hash] opts the optional parameters
  # @option opts [Time] :time 
  # @option opts [Boolean] :enabled_only 
  # @option opts [Boolean] :pending_only 
  # @option opts [String] :filter_asset_id 
  # @option opts [Boolean] :with_status_info 
  # @return [Array<IndexesIndexDefinitionSnapshotEntry>]
  describe 'v1_indexdef_input_data_index_definition_id_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

  # unit tests for v1_indexdef_multiasset_get
  # Get all multi-asset weights
  # @param [Hash] opts the optional parameters
  # @return [Array<IndexesIndexMultiAssetWeight>]
  describe 'v1_indexdef_multiasset_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

  # unit tests for v1_indexdef_multiasset_index_id_get
  # Get multi-asset weights for specific index
  # @param index_id 
  # @param [Hash] opts the optional parameters
  # @return [Array<IndexesIndexMultiAssetWeight>]
  describe 'v1_indexdef_multiasset_index_id_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

  # unit tests for v1_indexes_get
  # List indexes
  # @param [Hash] opts the optional parameters
  # @return [Array<IndexesIndexIdentifier>]
  describe 'v1_indexes_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

  # unit tests for v1_indexes_index_definition_id_current_snapshot_get
  # Current Index Values for index definition
  # @param index_definition_id 
  # @param [Hash] opts the optional parameters
  # @return [Array<IndexesIndexDefinitionSnapshotEntry>]
  describe 'v1_indexes_index_definition_id_current_snapshot_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

  # unit tests for v1_indexes_index_definition_id_history_snapshot_get
  # Historical Index Values for index definition
  # @param index_definition_id 
  # @param [Hash] opts the optional parameters
  # @option opts [Time] :time 
  # @return [Array<IndexesIndexDefinitionSnapshotEntry>]
  describe 'v1_indexes_index_definition_id_history_snapshot_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

  # unit tests for v1_indexes_index_id_current_get
  # Current Index Value
  # @param index_id 
  # @param [Hash] opts the optional parameters
  # @return [IndexesIndexValue]
  describe 'v1_indexes_index_id_current_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

  # unit tests for v1_indexes_index_id_history_get
  # Historical Index Value w/Composition
  # @param index_id 
  # @param [Hash] opts the optional parameters
  # @option opts [Time] :time_start 
  # @option opts [Time] :time_end 
  # @option opts [Integer] :limit 
  # @return [Array<IndexesIndexValue>]
  describe 'v1_indexes_index_id_history_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

  # unit tests for v1_indexes_index_id_timeseries_get
  # Timeseries Index Value
  # @param index_id 
  # @param period_id Identifier of requested timeseries period (e.g. &#x60;5SEC&#x60; or &#x60;1DAY&#x60;)
  # @param time_start Timeseries starting time in ISO 8601
  # @param time_end Timeseries ending time in ISO 8601
  # @param [Hash] opts the optional parameters
  # @option opts [Integer] :limit Amount of items to return (optional, mininum is 1, maximum is 100000, default value is 100, if the parameter is used then every 100 output items are counted as one request)
  # @return [Array<IndexesIndexTimeseriesItem>]
  describe 'v1_indexes_index_id_timeseries_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

end
