Sha256: b98f306b091b50cfbc05f33d64266fb7bd75e8def06164ad1e990a8f7f4f2159

Contents?: true

Size: 1.53 KB

Versions: 1

Compression:

Stored size: 1.53 KB

Contents

=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::ServiceChecksAPI
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'ServiceChecksAPI' do
  before do
    # run before each test
    @api_instance = DatadogAPIClient::V1::ServiceChecksAPI.new
  end

  after do
    # run after each test
  end

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

  # unit tests for submit_service_check
  # Submit a Service Check
  # Submit a list of Service Checks.  **Notes**: - A valid API key is required. - Service checks can be submitted up to 10 minutes in the past.
  # @param body Service Check request body.
  # @param [Hash] opts the optional parameters
  # @return [IntakePayloadAccepted]
  describe 'submit_service_check test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.6.0 spec/v1/api/service_checks_api_spec.rb