=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 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::ServiceAccountsAPI # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'ServiceAccountsAPI' do before do # run before each test @api_instance = DatadogAPIClient::V2::ServiceAccountsAPI.new end after do # run after each test end describe 'test an instance of ServiceAccountsAPI' do it 'should create an instance of ServiceAccountsAPI' do expect(@api_instance).to be_instance_of(DatadogAPIClient::V2::ServiceAccountsAPI) end end # unit tests for create_service_account_application_key # Create an application key for this service account # Create an application key for this service account. # @param service_account_id The ID of the service account. # @param body # @param [Hash] opts the optional parameters # @return [ApplicationKeyResponse] describe 'create_service_account_application_key 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_service_account_application_key # Delete an application key for this service account # Delete an application key owned by this service account. # @param service_account_id The ID of the service account. # @param app_key_id The ID of the application key. # @param [Hash] opts the optional parameters # @return [nil] describe 'delete_service_account_application_key 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_service_account_application_key # Get one application key for this service account # Get an application key owned by this service account. # @param service_account_id The ID of the service account. # @param app_key_id The ID of the application key. # @param [Hash] opts the optional parameters # @return [PartialApplicationKeyResponse] describe 'get_service_account_application_key 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_service_account_application_keys # List application keys for this service account # List all application keys available for this service account. # @param service_account_id The ID of the service account. # @param [Hash] opts the optional parameters # @option opts [Integer] :page_size Size for a given page. # @option opts [Integer] :page_number Specific page number to return. # @option opts [ApplicationKeysSort] :sort Application key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign. # @option opts [String] :filter Filter application keys by the specified string. # @option opts [String] :filter_created_at_start Only include application keys created on or after the specified date. # @option opts [String] :filter_created_at_end Only include application keys created on or before the specified date. # @return [ListApplicationKeysResponse] describe 'list_service_account_application_keys 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_service_account_application_key # Edit an application key for this service account # Edit an application key owned by this service account. # @param service_account_id The ID of the service account. # @param app_key_id The ID of the application key. # @param body # @param [Hash] opts the optional parameters # @return [PartialApplicationKeyResponse] describe 'update_service_account_application_key test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end