=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::UploadsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'UploadsApi' do before do # run before each test @api_instance = PulpcoreClient::UploadsApi.new end after do # run after each test end describe 'test an instance of UploadsApi' do it 'should create an instance of UploadsApi' do expect(@api_instance).to be_instance_of(PulpcoreClient::UploadsApi) end end # unit tests for uploads_add_role # Add a role for this object to users/groups. # @param upload_href # @param upload # @param [Hash] opts the optional parameters # @return [NestedRoleResponse] describe 'uploads_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 uploads_commit # Finish an Upload # Queues a Task that creates an Artifact, and the Upload gets deleted and cannot be re-used. # @param upload_href # @param upload_commit # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'uploads_commit 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 uploads_create # Create an upload # View for chunked uploads. # @param upload # @param [Hash] opts the optional parameters # @return [UploadResponse] describe 'uploads_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 uploads_delete # Delete an upload # View for chunked uploads. # @param upload_href # @param [Hash] opts the optional parameters # @return [nil] describe 'uploads_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 uploads_list # List uploads # View for chunked uploads. # @param [Hash] opts the optional parameters # @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) * `size` - Size * `-size` - Size (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 [Integer] :size Filter results where size matches value # @option opts [Integer] :size__gt Filter results where size is greater than value # @option opts [Integer] :size__lt Filter results where size is less than value # @option opts [Array] :size__range Filter results where size is between two comma separated values # @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 [PaginatedUploadResponseList] describe 'uploads_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 uploads_list_roles # List roles assigned to this object. # @param upload_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 'uploads_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 uploads_my_permissions # List permissions available to the current user on this object. # @param upload_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 'uploads_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 uploads_read # Inspect an upload # View for chunked uploads. # @param upload_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 [UploadDetailResponse] describe 'uploads_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 uploads_remove_role # Remove a role for this object from users/groups. # @param upload_href # @param upload # @param [Hash] opts the optional parameters # @return [NestedRoleResponse] describe 'uploads_remove_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 uploads_update # Upload a file chunk # Upload a chunk for an upload. # @param content_range The Content-Range header specifies the location of the file chunk within the file. # @param upload_href # @param file A chunk of the uploaded file. # @param [Hash] opts the optional parameters # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available. # @return [UploadResponse] describe 'uploads_update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end