=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 PulpRpmClient::ContentAdvisoriesApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'ContentAdvisoriesApi' do before do # run before each test @api_instance = PulpRpmClient::ContentAdvisoriesApi.new end after do # run after each test end describe 'test an instance of ContentAdvisoriesApi' do it 'should create an instance of ContentAdvisoriesApi' do expect(@api_instance).to be_instance_of(PulpRpmClient::ContentAdvisoriesApi) end end # unit tests for create # Create an update record # Trigger an asynchronous task to create content,optionally create new repository version. # @param [Hash] opts the optional parameters # @option opts [String] :repository A URI of a repository the new content unit should be associated with. # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit. # @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 list # List update records # A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord. # @param [Hash] opts the optional parameters # @option opts [String] :id Filter results where id matches value # @option opts [Array] :id__in Filter results where id is in a comma-separated list of values # @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 [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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `id` - Id * `-id` - Id (descending) * `updated_date` - Updated date * `-updated_date` - Updated date (descending) * `description` - Description * `-description` - Description (descending) * `issued_date` - Issued date * `-issued_date` - Issued date (descending) * `fromstr` - Fromstr * `-fromstr` - Fromstr (descending) * `status` - Status * `-status` - Status (descending) * `title` - Title * `-title` - Title (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `type` - Type * `-type` - Type (descending) * `severity` - Severity * `-severity` - Severity (descending) * `solution` - Solution * `-solution` - Solution (descending) * `release` - Release * `-release` - Release (descending) * `rights` - Rights * `-rights` - Rights (descending) * `reboot_suggested` - Reboot suggested * `-reboot_suggested` - Reboot suggested (descending) * `pushcount` - Pushcount * `-pushcount` - Pushcount (descending) * `digest` - Digest * `-digest` - Digest (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] :q # @option opts [String] :repository_version Repository Version referenced by HREF # @option opts [String] :repository_version_added Repository Version referenced by HREF # @option opts [String] :repository_version_removed Repository Version referenced by HREF # @option opts [String] :severity Filter results where severity matches value # @option opts [Array] :severity__in Filter results where severity is in a comma-separated list of values # @option opts [String] :severity__ne Filter results where severity not equal to value # @option opts [String] :status Filter results where status matches value # @option opts [Array] :status__in Filter results where status is in a comma-separated list of values # @option opts [String] :status__ne Filter results where status not equal to value # @option opts [String] :type Filter results where type matches value # @option opts [Array] :type__in Filter results where type is in a comma-separated list of values # @option opts [String] :type__ne Filter results where type not equal to value # @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 [PaginatedrpmUpdateRecordResponseList] 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 an update record # A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord. # @param rpm_update_record_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 [RpmUpdateRecordResponse] 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