=begin #Datadog API V2 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 OpenAPI Generator version: 5.0.0-SNAPSHOT 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::V2::LogsMetricsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'LogsMetricsApi' do before do # run before each test @api_instance = DatadogAPIClient::V2::LogsMetricsApi.new end after do # run after each test end describe 'test an instance of LogsMetricsApi' do it 'should create an instance of LogsMetricsApi' do expect(@api_instance).to be_instance_of(DatadogAPIClient::V2::LogsMetricsApi) end end # unit tests for create_logs_metric # Create a log-based metric # Create a metric based on your ingested logs in your organization. Returns the log-based metric object from the request body when the request is successful. # @param body The definition of the new log-based metric. # @param [Hash] opts the optional parameters # @return [LogsMetricResponse] describe 'create_logs_metric 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_metric # Delete a log-based metric # Delete a specific log-based metric from your organization. # @param metric_id The name of the log-based metric. # @param [Hash] opts the optional parameters # @return [nil] describe 'delete_logs_metric 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_metric # Get a log-based metric # Get a specific log-based metric from your organization. # @param metric_id The name of the log-based metric. # @param [Hash] opts the optional parameters # @return [LogsMetricResponse] describe 'get_logs_metric 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_metrics # Get all log-based metrics # Get the list of configured log-based metrics with their definitions. # @param [Hash] opts the optional parameters # @return [LogsMetricsResponse] describe 'list_logs_metrics 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_metric # Update a log-based metric # Update a specific log-based metric from your organization. Returns the log-based metric object from the request body when the request is successful. # @param metric_id The name of the log-based metric. # @param body New definition of the log-based metric. # @param [Hash] opts the optional parameters # @return [LogsMetricResponse] describe 'update_logs_metric test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end