=begin #Pulp 3 API #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) The version of the OpenAPI document: v3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.1.2 =end require 'spec_helper' require 'json' # Unit tests for PulpcoreClient::TasksApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'TasksApi' do before do # run before each test @api_instance = PulpcoreClient::TasksApi.new end after do # run after each test end describe 'test an instance of TasksApi' do it 'should create an instance of TasksApi' do expect(@api_instance).to be_instance_of(PulpcoreClient::TasksApi) end end # unit tests for delete # Delete a task # @param task_href URI of Task. e.g.: /pulp/api/v3/tasks/1/ # @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 tasks # @param [Hash] opts the optional parameters # @option opts [String] :ordering Which field to use when ordering the results. # @option opts [String] :state # @option opts [String] :state__in Filter results where state is in a comma-separated list of values # @option opts [String] :worker Foreign Key referenced by HREF # @option opts [String] :worker__in Filter results where worker is in a comma-separated list of values # @option opts [String] :name__contains Filter results where name contains value # @option opts [String] :started_at__lt Filter results where started_at is less than value # @option opts [String] :started_at__lte Filter results where started_at is less than or equal to value # @option opts [String] :started_at__gt Filter results where started_at is greater than value # @option opts [String] :started_at__gte Filter results where started_at is greater than or equal to value # @option opts [String] :started_at__range Filter results where started_at is between two comma separated values # @option opts [String] :finished_at__lt Filter results where finished_at is less than value # @option opts [String] :finished_at__lte Filter results where finished_at is less than or equal to value # @option opts [String] :finished_at__gt Filter results where finished_at is greater than value # @option opts [String] :finished_at__gte Filter results where finished_at is greater than or equal to value # @option opts [String] :finished_at__range Filter results where finished_at is between two comma separated values # @option opts [String] :parent Foreign Key referenced by HREF # @option opts [String] :reserved_resources_record # @option opts [String] :created_resources # @option opts [String] :name # @option opts [String] :started_at ISO 8601 formatted dates are supported # @option opts [String] :finished_at ISO 8601 formatted dates are supported # @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] :fields A list of fields to include in the response. # @return [InlineResponse2003] 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 read # Inspect a task # @param task_href URI of Task. e.g.: /pulp/api/v3/tasks/1/ # @param [Hash] opts the optional parameters # @option opts [String] :fields A list of fields to include in the response. # @return [Task] 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 tasks_cancel # Cancel a task # This operation cancels a task. # @param task_href URI of Task. e.g.: /pulp/api/v3/tasks/1/ # @param data # @param [Hash] opts the optional parameters # @return [Task] describe 'tasks_cancel test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end