=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.2.3 =end require 'spec_helper' require 'json' # Unit tests for PulpFileClient::DistributionsFileApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'DistributionsFileApi' do before do # run before each test @api_instance = PulpFileClient::DistributionsFileApi.new end after do # run after each test end describe 'test an instance of DistributionsFileApi' do it 'should create an instance of DistributionsFileApi' do expect(@api_instance).to be_instance_of(PulpFileClient::DistributionsFileApi) end end # unit tests for create # Create a file distribution # Trigger an asynchronous create task # @param file_file_distribution # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe '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 delete # Delete a file distribution # Trigger an asynchronous delete task # @param file_file_distribution_href # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe '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 list # List file distributions # FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content. # @param [Hash] opts the optional parameters # @option opts [String] :base_path base_path # @option opts [String] :base_path__contains base_path__contains # @option opts [String] :base_path__icontains base_path__icontains # @option opts [String] :base_path__in base_path__in # @option opts [Integer] :limit Number of results to return per page. # @option opts [String] :name name # @option opts [String] :name__in name__in # @option opts [Integer] :offset The initial index from which to return the results. # @option opts [String] :ordering Which field to use when ordering the results. # @option opts [String] :fields A list of fields to include in the response. # @option opts [String] :exclude_fields A list of fields to exclude from the response. # @return [InlineResponse2001] describe '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 partial_update # Update a file distribution # Trigger an asynchronous partial update task # @param file_file_distribution_href # @param patchedfile_file_distribution # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe '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 read # Inspect a file distribution # FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content. # @param file_file_distribution_href # @param [Hash] opts the optional parameters # @option opts [String] :fields A list of fields to include in the response. # @option opts [String] :exclude_fields A list of fields to exclude from the response. # @return [FileFileDistributionResponse] describe '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 update # Update a file distribution # Trigger an asynchronous update task # @param file_file_distribution_href # @param file_file_distribution # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end