=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 =end require 'spec_helper' require 'json' # Unit tests for DatadogAPIClient::V2::IncidentServicesApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'IncidentServicesApi' do before do # run before each test @api_instance = DatadogAPIClient::V2::IncidentServicesApi.new end after do # run after each test end describe 'test an instance of IncidentServicesApi' do it 'should create an instance of IncidentServicesApi' do expect(@api_instance).to be_instance_of(DatadogAPIClient::V2::IncidentServicesApi) end end # unit tests for create_incident_service # Create a new incident service # Creates a new incident service. # @param body Incident Service Payload. # @param [Hash] opts the optional parameters # @return [IncidentServiceResponse] describe 'create_incident_service 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_incident_service # Delete an existing incident service # Deletes an existing incident service. # @param service_id The ID of the incident service. # @param [Hash] opts the optional parameters # @return [nil] describe 'delete_incident_service 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_incident_service # Get details of an incident service # Get details of an incident service. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident services. # @param service_id The ID of the incident service. # @param [Hash] opts the optional parameters # @option opts [String] :include Specifies which types of related objects should be included in the response. # @return [IncidentServiceResponse] describe 'get_incident_service 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_incident_services # Get a list of all incident services # Get all incident services uploaded for the requesting user's organization. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident services. # @param [Hash] opts the optional parameters # @option opts [String] :include Specifies which types of related objects should be included in the response. # @option opts [Integer] :page_size Size for a given page. # @option opts [Integer] :page_offset Specific offset to use as the beginning of the returned page. # @option opts [String] :filter A search query that filters services by name. # @return [IncidentServicesResponse] describe 'list_incident_services 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_incident_service # Update an existing incident service # Updates an existing incident service. Only provide the attributes which should be updated as this request is a partial update. # @param service_id The ID of the incident service. # @param body Incident Service Payload. # @param [Hash] opts the optional parameters # @return [IncidentServiceResponse] describe 'update_incident_service test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end