=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::SlackIntegrationAPI # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'SlackIntegrationAPI' do before do # run before each test @api_instance = DatadogAPIClient::V1::SlackIntegrationAPI.new end after do # run after each test end describe 'test an instance of SlackIntegrationAPI' do it 'should create an instance of SlackIntegrationAPI' do expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::SlackIntegrationAPI) end end # unit tests for create_slack_integration_channel # Create a Slack integration channel # Add a channel to your Datadog-Slack integration. # @param account_name Your Slack account name. # @param body Payload describing Slack channel to be created # @param [Hash] opts the optional parameters # @return [SlackIntegrationChannel] describe 'create_slack_integration_channel 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_slack_integration_channel # Get a Slack integration channel # Get a channel configured for your Datadog-Slack integration. # @param account_name Your Slack account name. # @param channel_name The name of the Slack channel being operated on. # @param [Hash] opts the optional parameters # @return [SlackIntegrationChannel] describe 'get_slack_integration_channel 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_slack_integration_channels # Get all channels in a Slack integration # Get a list of all channels configured for your Datadog-Slack integration. # @param account_name Your Slack account name. # @param [Hash] opts the optional parameters # @return [Array] describe 'get_slack_integration_channels 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 remove_slack_integration_channel # Remove a Slack integration channel # Remove a channel from your Datadog-Slack integration. # @param account_name Your Slack account name. # @param channel_name The name of the Slack channel being operated on. # @param [Hash] opts the optional parameters # @return [nil] describe 'remove_slack_integration_channel 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_slack_integration_channel # Update a Slack integration channel # Update a channel used in your Datadog-Slack integration. # @param account_name Your Slack account name. # @param channel_name The name of the Slack channel being operated on. # @param body Payload describing fields and values to be updated. # @param [Hash] opts the optional parameters # @return [SlackIntegrationChannel] describe 'update_slack_integration_channel test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end