=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::ContentguardsRbacApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'ContentguardsRbacApi' do before do # run before each test @api_instance = PulpcoreClient::ContentguardsRbacApi.new end after do # run after each test end describe 'test an instance of ContentguardsRbacApi' do it 'should create an instance of ContentguardsRbacApi' do expect(@api_instance).to be_instance_of(PulpcoreClient::ContentguardsRbacApi) end end # unit tests for contentguards_core_rbac_add_role # Add a role for this object to users/groups. # @param r_b_a_c_content_guard_href # @param nested_role # @param [Hash] opts the optional parameters # @return [NestedRoleResponse] describe 'contentguards_core_rbac_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 contentguards_core_rbac_create # Create a rbac content guard # Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard. # @param rbac_content_guard # @param [Hash] opts the optional parameters # @return [RBACContentGuardResponse] describe 'contentguards_core_rbac_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 contentguards_core_rbac_delete # Delete a rbac content guard # Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard. # @param r_b_a_c_content_guard_href # @param [Hash] opts the optional parameters # @return [nil] describe 'contentguards_core_rbac_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 contentguards_core_rbac_list # List rbac content guards # Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard. # @param [Hash] opts the optional parameters # @option opts [Integer] :limit Number of results to return per page. # @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 [Array] :name__in Filter results where name is in a comma-separated list of values # @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (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 [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 [PaginatedRBACContentGuardResponseList] describe 'contentguards_core_rbac_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 contentguards_core_rbac_list_roles # List roles assigned to this object. # @param r_b_a_c_content_guard_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 'contentguards_core_rbac_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 contentguards_core_rbac_my_permissions # List permissions available to the current user on this object. # @param r_b_a_c_content_guard_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 'contentguards_core_rbac_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 contentguards_core_rbac_partial_update # Update a rbac content guard # Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard. # @param r_b_a_c_content_guard_href # @param patched_rbac_content_guard # @param [Hash] opts the optional parameters # @return [RBACContentGuardResponse] describe 'contentguards_core_rbac_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 contentguards_core_rbac_read # Inspect a rbac content guard # Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard. # @param r_b_a_c_content_guard_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 [RBACContentGuardResponse] describe 'contentguards_core_rbac_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 contentguards_core_rbac_remove_role # Remove a role for this object from users/groups. # @param r_b_a_c_content_guard_href # @param nested_role # @param [Hash] opts the optional parameters # @return [NestedRoleResponse] describe 'contentguards_core_rbac_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 contentguards_core_rbac_update # Update a rbac content guard # Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard. # @param r_b_a_c_content_guard_href # @param rbac_content_guard # @param [Hash] opts the optional parameters # @return [RBACContentGuardResponse] describe 'contentguards_core_rbac_update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end