=begin #Pulp 3 API #Fetch, Upload, Organize, and Distribute Software Packages The version of the OpenAPI document: v3 Contact: pulp-list@redhat.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 =end require 'spec_helper' require 'json' # Unit tests for PulpcoreClient::DomainsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'DomainsApi' do before do # run before each test @api_instance = PulpcoreClient::DomainsApi.new end after do # run after each test end describe 'test an instance of DomainsApi' do it 'should create an instance of DomainsApi' do expect(@api_instance).to be_instance_of(PulpcoreClient::DomainsApi) end end # unit tests for domains_create # Create a domain # ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change # @param domain # @param [Hash] opts the optional parameters # @return [DomainResponse] describe 'domains_create 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 domains_delete # Delete a domain # Trigger an asynchronous delete task # @param domain_href # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'domains_delete 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 domains_list # List domains # ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change # @param [Hash] opts the optional parameters # @option opts [Integer] :limit Number of results to return per page. # @option opts [String] :name Filter results where name matches value # @option opts [String] :name__contains Filter results where name contains value # @option opts [String] :name__icontains Filter results where name contains value # @option opts [Array] :name__in Filter results where name is in a comma-separated list of values # @option opts [String] :name__startswith Filter results where name starts with value # @option opts [Integer] :offset The initial index from which to return the results. # @option opts [Array] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `storage_class` - Storage class * `-storage_class` - Storage class (descending) * `storage_settings` - Storage settings * `-storage_settings` - Storage settings (descending) * `redirect_to_object_storage` - Redirect to object storage * `-redirect_to_object_storage` - Redirect to object storage (descending) * `hide_guarded_distributions` - Hide guarded distributions * `-hide_guarded_distributions` - Hide guarded distributions (descending) * `pk` - Pk * `-pk` - Pk (descending) # @option opts [Array] :pulp_href__in Multiple values may be separated by commas. # @option opts [Array] :pulp_id__in Multiple values may be separated by commas. # @option opts [Array] :fields A list of fields to include in the response. # @option opts [Array] :exclude_fields A list of fields to exclude from the response. # @return [PaginatedDomainResponseList] describe 'domains_list 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 domains_partial_update # Update a domain # Trigger an asynchronous partial update task # @param domain_href # @param patched_domain # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'domains_partial_update 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 domains_read # Inspect a domain # ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change # @param domain_href # @param [Hash] opts the optional parameters # @option opts [Array] :fields A list of fields to include in the response. # @option opts [Array] :exclude_fields A list of fields to exclude from the response. # @return [DomainResponse] describe 'domains_read 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 domains_update # Update a domain # Trigger an asynchronous update task # @param domain_href # @param domain # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'domains_update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end