=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.2 =end require 'spec_helper' require 'json' # Unit tests for PulpcoreClient::RepositoriesVersionsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'RepositoriesVersionsApi' do before do # run before each test @api_instance = PulpcoreClient::RepositoriesVersionsApi.new end after do # run after each test end describe 'test an instance of RepositoriesVersionsApi' do it 'should create an instance of RepositoriesVersionsApi' do expect(@api_instance).to be_instance_of(PulpcoreClient::RepositoriesVersionsApi) end end # unit tests for create # Create a repository version # Trigger an asynchronous task to create a new repository version. # @param repository_href URI of Repository. e.g.: /pulp/api/v3/repositories/1/ # @param data # @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 repository version # Trigger an asynchronous task to delete a repositroy version. # @param repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/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 repository versions # @param repository_href URI of Repository. e.g.: /pulp/api/v3/repositories/1/ # @param [Hash] opts the optional parameters # @option opts [String] :ordering Which field to use when ordering the results. # @option opts [Float] :number # @option opts [Float] :number__lt Filter results where number is less than value # @option opts [Float] :number__lte Filter results where number is less than or equal to value # @option opts [Float] :number__gt Filter results where number is greater than value # @option opts [Float] :number__gte Filter results where number is greater than or equal to value # @option opts [Float] :number__range Filter results where number is between two comma separated values # @option opts [String] :_created__lt Filter results where _created is less than value # @option opts [String] :_created__lte Filter results where _created is less than or equal to value # @option opts [String] :_created__gt Filter results where _created is greater than value # @option opts [String] :_created__gte Filter results where _created is greater than or equal to value # @option opts [String] :_created__range Filter results where _created is between two comma separated values # @option opts [String] :content Content Unit referenced by HREF # @option opts [String] :_created 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 [InlineResponse2002] 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 read # Inspect a repository version # @param repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/ # @param [Hash] opts the optional parameters # @option opts [String] :fields A list of fields to include in the response. # @return [RepositoryVersion] describe 'read test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end