=begin #Datadog API V1 Collection #Collection of all Datadog Public endpoints. The version of the OpenAPI document: 1.0 Contact: support@datadoghq.com Generated by: https://openapi-generator.tech Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2020-Present Datadog, Inc. =end require 'spec_helper' require 'json' # Unit tests for DatadogAPIClient::V1::LogsIndexesAPI # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'LogsIndexesAPI' do before do # run before each test @api_instance = DatadogAPIClient::V1::LogsIndexesAPI.new end after do # run after each test end describe 'test an instance of LogsIndexesAPI' do it 'should create an instance of LogsIndexesAPI' do expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::LogsIndexesAPI) end end # unit tests for create_logs_index # Create an index # Creates a new index. Returns the Index object passed in the request body when the request is successful. # @param body Object containing the new index. # @param [Hash] opts the optional parameters # @return [LogsIndex] describe 'create_logs_index 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 get_logs_index # Get an index # Get one log index from your organization. This endpoint takes no JSON arguments. # @param name Name of the log index. # @param [Hash] opts the optional parameters # @return [LogsIndex] describe 'get_logs_index 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 get_logs_index_order # Get indexes order # Get the current order of your log indexes. This endpoint takes no JSON arguments. # @param [Hash] opts the optional parameters # @return [LogsIndexesOrder] describe 'get_logs_index_order 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 list_log_indexes # Get all indexes # The Index object describes the configuration of a log index. This endpoint returns an array of the `LogIndex` objects of your organization. # @param [Hash] opts the optional parameters # @return [LogsIndexListResponse] describe 'list_log_indexes 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 update_logs_index # Update an index # Update an index as identified by its name. Returns the Index object passed in the request body when the request is successful. Using the `PUT` method updates your index’s configuration by **replacing** your current configuration with the new one sent to your Datadog organization. # @param name Name of the log index. # @param body Object containing the new `LogsIndexUpdateRequest`. # @param [Hash] opts the optional parameters # @return [LogsIndex] describe 'update_logs_index 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 update_logs_index_order # Update indexes order # This endpoint updates the index order of your organization. It returns the index order object passed in the request body when the request is successful. # @param body Object containing the new ordered list of index names # @param [Hash] opts the optional parameters # @return [LogsIndexesOrder] describe 'update_logs_index_order test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end