=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::DistributionsArtifactsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'DistributionsArtifactsApi' do before do # run before each test @api_instance = PulpcoreClient::DistributionsArtifactsApi.new end after do # run after each test end describe 'test an instance of DistributionsArtifactsApi' do it 'should create an instance of DistributionsArtifactsApi' do expect(@api_instance).to be_instance_of(PulpcoreClient::DistributionsArtifactsApi) end end # unit tests for distributions_core_artifacts_list # List artifact distributions # ViewSet for ArtifactDistribution. # @param [Hash] opts the optional parameters # @option opts [String] :base_path Filter results where base_path matches value # @option opts [String] :base_path__contains Filter results where base_path contains value # @option opts [String] :base_path__icontains Filter results where base_path contains value # @option opts [Array] :base_path__in Filter results where base_path is in a comma-separated list of values # @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 [Array] :name__in Filter results where name is in a comma-separated list of values # @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] :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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) # @option opts [Array] :pulp_href__in Multiple values may be separated by commas. # @option opts [Array] :pulp_id__in Multiple values may be separated by commas. # @option opts [String] :pulp_label_select Filter labels by search string # @option opts [String] :repository Filter results where repository matches value # @option opts [Array] :repository__in Filter results where repository is in a comma-separated list of values # @option opts [String] :with_content Filter distributions based on the content served by them # @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 [PaginatedArtifactDistributionResponseList] describe 'distributions_core_artifacts_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 distributions_core_artifacts_read # Inspect an artifact distribution # ViewSet for ArtifactDistribution. # @param artifact_distribution_href # @param [Hash] opts the optional parameters # @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 [ArtifactDistributionResponse] describe 'distributions_core_artifacts_read test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end