# PulpcoreClient::ImportersPulpApi All URIs are relative to *http://localhost:24817* Method | HTTP request | Description ------------- | ------------- | ------------- [**importers_core_pulp_create**](ImportersPulpApi.md#importers_core_pulp_create) | **POST** /pulp/api/v3/importers/core/pulp/ | Create a pulp importer [**importers_core_pulp_delete**](ImportersPulpApi.md#importers_core_pulp_delete) | **DELETE** {pulp_importer_href} | Delete a pulp importer [**importers_core_pulp_list**](ImportersPulpApi.md#importers_core_pulp_list) | **GET** /pulp/api/v3/importers/core/pulp/ | List pulp importers [**importers_core_pulp_partial_update**](ImportersPulpApi.md#importers_core_pulp_partial_update) | **PATCH** {pulp_importer_href} | Update a pulp importer [**importers_core_pulp_read**](ImportersPulpApi.md#importers_core_pulp_read) | **GET** {pulp_importer_href} | Inspect a pulp importer [**importers_core_pulp_update**](ImportersPulpApi.md#importers_core_pulp_update) | **PUT** {pulp_importer_href} | Update a pulp importer ## importers_core_pulp_create > PulpImporterResponse importers_core_pulp_create(pulp_importer) Create a pulp importer ViewSet for PulpImporters. ### Example ```ruby # load the gem require 'pulpcore_client' # setup authorization PulpcoreClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpcoreClient::ImportersPulpApi.new pulp_importer = PulpcoreClient::PulpImporter.new # PulpImporter | begin #Create a pulp importer result = api_instance.importers_core_pulp_create(pulp_importer) p result rescue PulpcoreClient::ApiError => e puts "Exception when calling ImportersPulpApi->importers_core_pulp_create: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pulp_importer** | [**PulpImporter**](PulpImporter.md)| | ### Return type [**PulpImporterResponse**](PulpImporterResponse.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data - **Accept**: application/json ## importers_core_pulp_delete > importers_core_pulp_delete(pulp_importer_href) Delete a pulp importer ViewSet for PulpImporters. ### Example ```ruby # load the gem require 'pulpcore_client' # setup authorization PulpcoreClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpcoreClient::ImportersPulpApi.new pulp_importer_href = 'pulp_importer_href_example' # String | begin #Delete a pulp importer api_instance.importers_core_pulp_delete(pulp_importer_href) rescue PulpcoreClient::ApiError => e puts "Exception when calling ImportersPulpApi->importers_core_pulp_delete: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pulp_importer_href** | **String**| | ### Return type nil (empty response body) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined ## importers_core_pulp_list > PaginatedPulpImporterResponseList importers_core_pulp_list(opts) List pulp importers ViewSet for PulpImporters. ### Example ```ruby # load the gem require 'pulpcore_client' # setup authorization PulpcoreClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpcoreClient::ImportersPulpApi.new opts = { limit: 56, # Integer | Number of results to return per page. name: 'name_example', # String | name__contains: 'name__contains_example', # String | Filter results where name contains value name__icontains: 'name__icontains_example', # String | Filter results where name contains value name__in: ['name__in_example'], # Array | Filter results where name is in a comma-separated list of values name__startswith: 'name__startswith_example', # String | Filter results where name starts with value offset: 56, # Integer | The initial index from which to return the results. ordering: ['ordering_example'], # Array | Ordering fields: ['fields_example'], # Array | A list of fields to include in the response. exclude_fields: ['exclude_fields_example'] # Array | A list of fields to exclude from the response. } begin #List pulp importers result = api_instance.importers_core_pulp_list(opts) p result rescue PulpcoreClient::ApiError => e puts "Exception when calling ImportersPulpApi->importers_core_pulp_list: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **Integer**| Number of results to return per page. | [optional] **name** | **String**| | [optional] **name__contains** | **String**| Filter results where name contains value | [optional] **name__icontains** | **String**| Filter results where name contains value | [optional] **name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional] **name__startswith** | **String**| Filter results where name starts with value | [optional] **offset** | **Integer**| The initial index from which to return the results. | [optional] **ordering** | [**Array<String>**](String.md)| Ordering | [optional] **fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional] **exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional] ### Return type [**PaginatedPulpImporterResponseList**](PaginatedPulpImporterResponseList.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ## importers_core_pulp_partial_update > PulpImporterResponse importers_core_pulp_partial_update(pulp_importer_href, patched_pulp_importer) Update a pulp importer ViewSet for PulpImporters. ### Example ```ruby # load the gem require 'pulpcore_client' # setup authorization PulpcoreClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpcoreClient::ImportersPulpApi.new pulp_importer_href = 'pulp_importer_href_example' # String | patched_pulp_importer = PulpcoreClient::PatchedPulpImporter.new # PatchedPulpImporter | begin #Update a pulp importer result = api_instance.importers_core_pulp_partial_update(pulp_importer_href, patched_pulp_importer) p result rescue PulpcoreClient::ApiError => e puts "Exception when calling ImportersPulpApi->importers_core_pulp_partial_update: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pulp_importer_href** | **String**| | **patched_pulp_importer** | [**PatchedPulpImporter**](PatchedPulpImporter.md)| | ### Return type [**PulpImporterResponse**](PulpImporterResponse.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data - **Accept**: application/json ## importers_core_pulp_read > PulpImporterResponse importers_core_pulp_read(pulp_importer_href, opts) Inspect a pulp importer ViewSet for PulpImporters. ### Example ```ruby # load the gem require 'pulpcore_client' # setup authorization PulpcoreClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpcoreClient::ImportersPulpApi.new pulp_importer_href = 'pulp_importer_href_example' # String | opts = { fields: ['fields_example'], # Array | A list of fields to include in the response. exclude_fields: ['exclude_fields_example'] # Array | A list of fields to exclude from the response. } begin #Inspect a pulp importer result = api_instance.importers_core_pulp_read(pulp_importer_href, opts) p result rescue PulpcoreClient::ApiError => e puts "Exception when calling ImportersPulpApi->importers_core_pulp_read: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pulp_importer_href** | **String**| | **fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional] **exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional] ### Return type [**PulpImporterResponse**](PulpImporterResponse.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ## importers_core_pulp_update > PulpImporterResponse importers_core_pulp_update(pulp_importer_href, pulp_importer) Update a pulp importer ViewSet for PulpImporters. ### Example ```ruby # load the gem require 'pulpcore_client' # setup authorization PulpcoreClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpcoreClient::ImportersPulpApi.new pulp_importer_href = 'pulp_importer_href_example' # String | pulp_importer = PulpcoreClient::PulpImporter.new # PulpImporter | begin #Update a pulp importer result = api_instance.importers_core_pulp_update(pulp_importer_href, pulp_importer) p result rescue PulpcoreClient::ApiError => e puts "Exception when calling ImportersPulpApi->importers_core_pulp_update: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pulp_importer_href** | **String**| | **pulp_importer** | [**PulpImporter**](PulpImporter.md)| | ### Return type [**PulpImporterResponse**](PulpImporterResponse.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data - **Accept**: application/json