=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::AccessPoliciesApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'AccessPoliciesApi' do before do # run before each test @api_instance = PulpcoreClient::AccessPoliciesApi.new end after do # run after each test end describe 'test an instance of AccessPoliciesApi' do it 'should create an instance of AccessPoliciesApi' do expect(@api_instance).to be_instance_of(PulpcoreClient::AccessPoliciesApi) end end # unit tests for list # List access policys # ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change # @param [Hash] opts the optional parameters # @option opts [Boolean] :customized Filter results where customized matches value # @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) * `creation_hooks` - Creation hooks * `-creation_hooks` - Creation hooks (descending) * `statements` - Statements * `-statements` - Statements (descending) * `viewset_name` - Viewset name * `-viewset_name` - Viewset name (descending) * `customized` - Customized * `-customized` - Customized (descending) * `queryset_scoping` - Queryset scoping * `-queryset_scoping` - Queryset scoping (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] :viewset_name Filter results where viewset_name matches value # @option opts [String] :viewset_name__contains Filter results where viewset_name contains value # @option opts [String] :viewset_name__icontains Filter results where viewset_name contains value # @option opts [Array] :viewset_name__in Filter results where viewset_name is in a comma-separated list of values # @option opts [String] :viewset_name__startswith Filter results where viewset_name starts with value # @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 [PaginatedAccessPolicyResponseList] 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 access policy # ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change # @param access_policy_href # @param patched_access_policy # @param [Hash] opts the optional parameters # @return [AccessPolicyResponse] 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 read # Inspect an access policy # ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change # @param access_policy_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 [AccessPolicyResponse] 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 reset # Reset the access policy to its uncustomized default value. # @param access_policy_href # @param [Hash] opts the optional parameters # @return [AccessPolicyResponse] describe 'reset 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 access policy # ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change # @param access_policy_href # @param access_policy # @param [Hash] opts the optional parameters # @return [AccessPolicyResponse] 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