=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 PulpFileClient::PublicationsFileApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'PublicationsFileApi' do before do # run before each test @api_instance = PulpFileClient::PublicationsFileApi.new end after do # run after each test end describe 'test an instance of PublicationsFileApi' do it 'should create an instance of PublicationsFileApi' do expect(@api_instance).to be_instance_of(PulpFileClient::PublicationsFileApi) end end # unit tests for publications_file_file_add_role # Add a role # Add a role for this object to users/groups. # @param file_file_publication_href # @param nested_role # @param [Hash] opts the optional parameters # @return [NestedRoleResponse] describe 'publications_file_file_add_role 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 publications_file_file_create # Create a file publication # Trigger an asynchronous task to publish file content. # @param file_file_publication # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'publications_file_file_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 publications_file_file_delete # Delete a file publication # A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API. # @param file_file_publication_href # @param [Hash] opts the optional parameters # @return [nil] describe 'publications_file_file_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 publications_file_file_list # List file publications # A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API. # @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] :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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (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 [Array] :pulp_id__in Multiple values may be separated by commas. # @option opts [String] :q # @option opts [String] :repository Repository referenced by HREF # @option opts [String] :repository_version Repository Version referenced by HREF # @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 [PaginatedfileFilePublicationResponseList] describe 'publications_file_file_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 publications_file_file_list_roles # List roles # List roles assigned to this object. # @param file_file_publication_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 [ObjectRolesResponse] describe 'publications_file_file_list_roles 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 publications_file_file_my_permissions # List user permissions # List permissions available to the current user on this object. # @param file_file_publication_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 [MyPermissionsResponse] describe 'publications_file_file_my_permissions 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 publications_file_file_read # Inspect a file publication # A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API. # @param file_file_publication_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 [FileFilePublicationResponse] describe 'publications_file_file_read 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 publications_file_file_remove_role # Remove a role # Remove a role for this object from users/groups. # @param file_file_publication_href # @param nested_role # @param [Hash] opts the optional parameters # @return [NestedRoleResponse] describe 'publications_file_file_remove_role test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end