=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::RepositoryVersionsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'RepositoryVersionsApi' do before do # run before each test @api_instance = PulpcoreClient::RepositoryVersionsApi.new end after do # run after each test end describe 'test an instance of RepositoryVersionsApi' do it 'should create an instance of RepositoryVersionsApi' do expect(@api_instance).to be_instance_of(PulpcoreClient::RepositoryVersionsApi) end end # unit tests for list # List repository versions # A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets. # @param [Hash] opts the optional parameters # @option opts [String] :content Content Unit referenced by HREF # @option opts [String] :content__in Content Unit referenced by HREF # @option opts [Integer] :limit Number of results to return per page. # @option opts [Integer] :number Filter results where number matches value # @option opts [Integer] :number__gt Filter results where number is greater than value # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value # @option opts [Integer] :number__lt Filter results where number is less than value # @option opts [Integer] :number__lte Filter results where number is less than or equal to value # @option opts [Array] :number__range Filter results where number is between two comma separated values # @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending) # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value # @option opts [Array] :pulp_created__range Filter results where pulp_created is between two comma separated values # @option opts [Array] :pulp_href__in Multiple values may be separated by commas. # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters # @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 [PaginatedRepositoryVersionResponseList] describe 'list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end