=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::UsersApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'UsersApi' do before do # run before each test @api_instance = PulpcoreClient::UsersApi.new end after do # run after each test end describe 'test an instance of UsersApi' do it 'should create an instance of UsersApi' do expect(@api_instance).to be_instance_of(PulpcoreClient::UsersApi) end end # unit tests for create # Create an user # ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change # @param user # @param [Hash] opts the optional parameters # @return [UserResponse] 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 delete # Delete an user # ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change # @param auth_user_href # @param [Hash] opts the optional parameters # @return [nil] describe '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 list # List users # ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change # @param [Hash] opts the optional parameters # @option opts [String] :email Filter results where email matches value # @option opts [String] :email__contains Filter results where email contains value # @option opts [String] :email__icontains Filter results where email contains value # @option opts [String] :email__iexact Filter results where email matches value # @option opts [Array] :email__in Filter results where email is in a comma-separated list of values # @option opts [String] :first_name Filter results where first_name matches value # @option opts [String] :first_name__contains Filter results where first_name contains value # @option opts [String] :first_name__icontains Filter results where first_name contains value # @option opts [String] :first_name__iexact Filter results where first_name matches value # @option opts [Array] :first_name__in Filter results where first_name is in a comma-separated list of values # @option opts [Boolean] :is_active Filter results where is_active matches value # @option opts [Boolean] :is_staff Filter results where is_staff matches value # @option opts [String] :last_name Filter results where last_name matches value # @option opts [String] :last_name__contains Filter results where last_name contains value # @option opts [String] :last_name__icontains Filter results where last_name contains value # @option opts [String] :last_name__iexact Filter results where last_name matches value # @option opts [Array] :last_name__in Filter results where last_name 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 [String] :ordering Which field to use when ordering the results. # @option opts [String] :username Filter results where username matches value # @option opts [String] :username__contains Filter results where username contains value # @option opts [String] :username__icontains Filter results where username contains value # @option opts [String] :username__iexact Filter results where username matches value # @option opts [Array] :username__in Filter results where username is in a comma-separated list of values # @option opts [String] :fields A list of fields to include in the response. # @option opts [String] :exclude_fields A list of fields to exclude from the response. # @return [PaginatedUserResponseList] 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 partial_update # Update an user # ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change # @param auth_user_href # @param patched_user # @param [Hash] opts the optional parameters # @return [UserResponse] describe '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 permissions # List user permissions. # @param auth_user_href # @param [Hash] opts the optional parameters # @option opts [String] :fields A list of fields to include in the response. # @option opts [String] :exclude_fields A list of fields to exclude from the response. # @return [PermissionResponse] describe '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 read # Inspect an user # ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change # @param auth_user_href # @param [Hash] opts the optional parameters # @option opts [String] :fields A list of fields to include in the response. # @option opts [String] :exclude_fields A list of fields to exclude from the response. # @return [UserResponse] describe '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 update # Update an user # ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change # @param auth_user_href # @param user # @param [Hash] opts the optional parameters # @return [UserResponse] describe 'update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end