=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::RepositoriesApi
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'RepositoriesApi' do
  before do
    # run before each test
    @api_instance = PulpcoreClient::RepositoriesApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of RepositoriesApi' do
    it 'should create an instance of RepositoriesApi' do
      expect(@api_instance).to be_instance_of(PulpcoreClient::RepositoriesApi)
    end
  end

  # unit tests for list
  # List repositories
  # Endpoint to list all repositories.
  # @param [Hash] opts the optional parameters
  # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
  # @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 [String] :name__iexact Filter results where name matches value
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
  # @option opts [String] :name__iregex Filter results where name matches regex value
  # @option opts [String] :name__istartswith Filter results where name starts with value
  # @option opts [String] :name__regex Filter results where name matches regex value
  # @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<String>] :ordering Ordering  * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
  # @option opts [String] :pulp_label_select Filter labels by search string
  # @option opts [String] :pulp_type Pulp type  * &#x60;core.openpgp&#x60; - core.openpgp * &#x60;file.file&#x60; - file.file
  # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.  * &#x60;core.openpgp&#x60; - core.openpgp * &#x60;file.file&#x60; - file.file
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
  # @option opts [String] :remote Foreign Key referenced by HREF
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
  # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
  # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
  # @option opts [String] :with_content Content Unit referenced by HREF/PRN
  # @option opts [Array<String>] :fields A list of fields to include in the response.
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
  # @return [PaginatedRepositoryResponseList]
  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