=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::RolesApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'RolesApi' do before do # run before each test @api_instance = PulpFileClient::RolesApi.new end after do # run after each test end describe 'test an instance of RolesApi' do it 'should create an instance of RolesApi' do expect(@api_instance).to be_instance_of(PulpFileClient::RolesApi) end end # unit tests for roles_create # Create a role # ViewSet for Role. # @param role # @param [Hash] opts the optional parameters # @return [RoleResponse] describe 'roles_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 roles_delete # Delete a role # ViewSet for Role. # @param role_href # @param [Hash] opts the optional parameters # @return [nil] describe 'roles_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 roles_list # List roles # ViewSet for Role. # @param [Hash] opts the optional parameters # @option opts [Array] :contains_permission Filter roles that have any of the permissions in the list. # @option opts [String] :description Filter results where description matches value # @option opts [String] :description__contains Filter results where description contains value # @option opts [String] :description__icontains Filter results where description contains value # @option opts [String] :description__iexact Filter results where description matches value # @option opts [String] :for_object_type Filter roles that only have permissions for the specified object HREF. # @option opts [Integer] :limit Number of results to return per page. # @option opts [Boolean] :locked Filter results where locked matches value # @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] :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] :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) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `locked` - Locked * `-locked` - Locked (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 [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 [PaginatedRoleResponseList] describe 'roles_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 roles_partial_update # Update a role # ViewSet for Role. # @param role_href # @param patched_role # @param [Hash] opts the optional parameters # @return [RoleResponse] describe 'roles_partial_update 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 roles_read # Inspect a role # ViewSet for Role. # @param role_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 [RoleResponse] describe 'roles_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 roles_update # Update a role # ViewSet for Role. # @param role_href # @param role # @param [Hash] opts the optional parameters # @return [RoleResponse] describe 'roles_update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end