=begin #Pulp 3 API #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) The version of the OpenAPI document: v3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.1.3-SNAPSHOT =end require 'spec_helper' require 'json' # Unit tests for PulpFileClient::RemotesFileApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'RemotesFileApi' do before do # run before each test @api_instance = PulpFileClient::RemotesFileApi.new end after do # run after each test end describe 'test an instance of RemotesFileApi' do it 'should create an instance of RemotesFileApi' do expect(@api_instance).to be_instance_of(PulpFileClient::RemotesFileApi) end end # unit tests for create # Create a file remote # FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source. # @param data # @param [Hash] opts the optional parameters # @return [FileRemote] 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 remote # Trigger an asynchronous delete task # @param file_remote_href URI of File Remote. e.g.: /pulp/api/v3/remotes/file/file/1/ # @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 remotes # FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source. # @param [Hash] opts the optional parameters # @option opts [String] :name # @option opts [String] :name__in Filter results where name is in a comma-separated list of values # @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values # @option opts [String] :_last_updated ISO 8601 formatted dates are supported # @option opts [Integer] :limit Number of results to return per page. # @option opts [Integer] :offset The initial index from which to return the results. # @option opts [String] :fields A list of fields to include in the response. # @return [InlineResponse2003] 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 # Partially update a file remote # Trigger an asynchronous partial update task # @param file_remote_href URI of File Remote. e.g.: /pulp/api/v3/remotes/file/file/1/ # @param data # @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 remote # FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source. # @param file_remote_href URI of File Remote. e.g.: /pulp/api/v3/remotes/file/file/1/ # @param [Hash] opts the optional parameters # @option opts [String] :fields A list of fields to include in the response. # @return [FileRemote] 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 sync # Trigger an asynchronous task to sync file content. # @param file_remote_href URI of File Remote. e.g.: /pulp/api/v3/remotes/file/file/1/ # @param data # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'sync 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 remote # Trigger an asynchronous update task # @param file_remote_href URI of File Remote. e.g.: /pulp/api/v3/remotes/file/file/1/ # @param data # @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