=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::LogsPipelinesAPI # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'LogsPipelinesAPI' do before do # run before each test @api_instance = DatadogAPIClient::V1::LogsPipelinesAPI.new end after do # run after each test end describe 'test an instance of LogsPipelinesAPI' do it 'should create an instance of LogsPipelinesAPI' do expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::LogsPipelinesAPI) end end # unit tests for create_logs_pipeline # Create a pipeline # Create a pipeline in your organization. # @param body Definition of the new pipeline. # @param [Hash] opts the optional parameters # @return [LogsPipeline] describe 'create_logs_pipeline 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 delete_logs_pipeline # Delete a pipeline # Delete a given pipeline from your organization. This endpoint takes no JSON arguments. # @param pipeline_id ID of the pipeline to delete. # @param [Hash] opts the optional parameters # @return [nil] describe 'delete_logs_pipeline 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_pipeline # Get a pipeline # Get a specific pipeline from your organization. This endpoint takes no JSON arguments. # @param pipeline_id ID of the pipeline to get. # @param [Hash] opts the optional parameters # @return [LogsPipeline] describe 'get_logs_pipeline 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_pipeline_order # Get pipeline order # Get the current order of your pipelines. This endpoint takes no JSON arguments. # @param [Hash] opts the optional parameters # @return [LogsPipelinesOrder] describe 'get_logs_pipeline_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_logs_pipelines # Get all pipelines # Get all pipelines from your organization. This endpoint takes no JSON arguments. # @param [Hash] opts the optional parameters # @return [Array] describe 'list_logs_pipelines 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_pipeline # Update a pipeline # Update a given pipeline configuration to change it’s processors or their order. **Note**: Using this method updates your pipeline configuration by **replacing** your current configuration with the new one sent to your Datadog organization. # @param pipeline_id ID of the pipeline to delete. # @param body New definition of the pipeline. # @param [Hash] opts the optional parameters # @return [LogsPipeline] describe 'update_logs_pipeline 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_pipeline_order # Update pipeline order # Update the order of your pipelines. Since logs are processed sequentially, reordering a pipeline may change the structure and content of the data processed by other pipelines and their processors. **Note**: Using the `PUT` method updates your pipeline order by replacing your current order with the new one sent to your Datadog organization. # @param body Object containing the new ordered list of pipeline IDs. # @param [Hash] opts the optional parameters # @return [LogsPipelinesOrder] describe 'update_logs_pipeline_order test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end