pulpcore_client 3.4.0.dev01590354301 → 3.5.0.dev01590700404

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulpcore_client might be problematic. Click here for more details.

Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -9
  3. data/docs/{Artifact.md → ArtifactRead.md} +2 -2
  4. data/docs/ArtifactsApi.md +4 -4
  5. data/docs/ExportersCoreExportsApi.md +2 -2
  6. data/docs/ExportersPulpApi.md +8 -8
  7. data/docs/{Import.md → ImportRead.md} +2 -2
  8. data/docs/ImportersCoreImportsApi.md +2 -2
  9. data/docs/ImportersPulpApi.md +8 -8
  10. data/docs/InlineResponse200.md +1 -1
  11. data/docs/InlineResponse2001.md +1 -1
  12. data/docs/InlineResponse2002.md +1 -1
  13. data/docs/InlineResponse2003.md +1 -1
  14. data/docs/InlineResponse2004.md +1 -1
  15. data/docs/InlineResponse2005.md +1 -1
  16. data/docs/InlineResponse2006.md +1 -1
  17. data/docs/InlineResponse2007.md +1 -1
  18. data/docs/InlineResponse2008.md +1 -1
  19. data/docs/InlineResponse2009.md +1 -1
  20. data/docs/PulpExport.md +10 -4
  21. data/docs/PulpExportRead.md +27 -0
  22. data/docs/PulpExporterRead.md +27 -0
  23. data/docs/PulpImporterRead.md +23 -0
  24. data/docs/{SigningService.md → SigningServiceRead.md} +2 -2
  25. data/docs/SigningServicesApi.md +2 -2
  26. data/docs/{TaskGroup.md → TaskGroupRead.md} +2 -2
  27. data/docs/TaskGroupsApi.md +2 -2
  28. data/docs/TaskRead.md +43 -0
  29. data/docs/TasksApi.md +2 -2
  30. data/docs/{UploadDetail.md → UploadDetailRead.md} +2 -2
  31. data/docs/UploadRead.md +23 -0
  32. data/docs/UploadsApi.md +4 -4
  33. data/docs/WorkerRead.md +23 -0
  34. data/docs/WorkersApi.md +2 -2
  35. data/lib/pulpcore_client.rb +11 -5
  36. data/lib/pulpcore_client/api/artifacts_api.rb +6 -6
  37. data/lib/pulpcore_client/api/exporters_core_exports_api.rb +3 -3
  38. data/lib/pulpcore_client/api/exporters_pulp_api.rb +12 -12
  39. data/lib/pulpcore_client/api/importers_core_imports_api.rb +3 -3
  40. data/lib/pulpcore_client/api/importers_pulp_api.rb +12 -12
  41. data/lib/pulpcore_client/api/signing_services_api.rb +3 -3
  42. data/lib/pulpcore_client/api/task_groups_api.rb +3 -3
  43. data/lib/pulpcore_client/api/tasks_api.rb +3 -3
  44. data/lib/pulpcore_client/api/uploads_api.rb +6 -6
  45. data/lib/pulpcore_client/api/workers_api.rb +3 -3
  46. data/lib/pulpcore_client/models/{artifact.rb → artifact_read.rb} +3 -3
  47. data/lib/pulpcore_client/models/{import.rb → import_read.rb} +3 -3
  48. data/lib/pulpcore_client/models/inline_response200.rb +1 -1
  49. data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
  50. data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
  51. data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
  52. data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
  53. data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
  54. data/lib/pulpcore_client/models/inline_response2006.rb +1 -1
  55. data/lib/pulpcore_client/models/inline_response2007.rb +1 -1
  56. data/lib/pulpcore_client/models/inline_response2008.rb +1 -1
  57. data/lib/pulpcore_client/models/inline_response2009.rb +1 -1
  58. data/lib/pulpcore_client/models/pulp_export.rb +59 -38
  59. data/lib/pulpcore_client/models/pulp_export_read.rb +259 -0
  60. data/lib/pulpcore_client/models/pulp_exporter_read.rb +311 -0
  61. data/lib/pulpcore_client/models/pulp_importer_read.rb +262 -0
  62. data/lib/pulpcore_client/models/{signing_service.rb → signing_service_read.rb} +3 -3
  63. data/lib/pulpcore_client/models/{task_group.rb → task_group_read.rb} +3 -3
  64. data/lib/pulpcore_client/models/task_read.rb +383 -0
  65. data/lib/pulpcore_client/models/{upload_detail.rb → upload_detail_read.rb} +3 -3
  66. data/lib/pulpcore_client/models/upload_read.rb +241 -0
  67. data/lib/pulpcore_client/models/worker_read.rb +251 -0
  68. data/lib/pulpcore_client/version.rb +1 -1
  69. data/spec/api/artifacts_api_spec.rb +2 -2
  70. data/spec/api/exporters_core_exports_api_spec.rb +1 -1
  71. data/spec/api/exporters_pulp_api_spec.rb +4 -4
  72. data/spec/api/importers_core_imports_api_spec.rb +1 -1
  73. data/spec/api/importers_pulp_api_spec.rb +4 -4
  74. data/spec/api/signing_services_api_spec.rb +1 -1
  75. data/spec/api/task_groups_api_spec.rb +1 -1
  76. data/spec/api/tasks_api_spec.rb +1 -1
  77. data/spec/api/uploads_api_spec.rb +2 -2
  78. data/spec/api/workers_api_spec.rb +1 -1
  79. data/spec/models/{artifact_spec.rb → artifact_read_spec.rb} +6 -6
  80. data/spec/models/{import_spec.rb → import_read_spec.rb} +6 -6
  81. data/spec/models/pulp_export_read_spec.rb +71 -0
  82. data/spec/models/pulp_export_spec.rb +20 -2
  83. data/spec/models/pulp_exporter_read_spec.rb +71 -0
  84. data/spec/models/pulp_importer_read_spec.rb +59 -0
  85. data/spec/models/{signing_service_spec.rb → signing_service_read_spec.rb} +6 -6
  86. data/spec/models/{task_group_spec.rb → task_group_read_spec.rb} +6 -6
  87. data/spec/models/task_read_spec.rb +119 -0
  88. data/spec/models/{upload_detail_spec.rb → upload_detail_read_spec.rb} +6 -6
  89. data/spec/models/upload_read_spec.rb +59 -0
  90. data/spec/models/worker_read_spec.rb +59 -0
  91. metadata +46 -22
@@ -0,0 +1,27 @@
1
+ # PulpcoreClient::PulpExportRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **task** | **String** | A URI of the task that ran the Export. | [optional]
10
+ **exported_resources** | **Array<Object>** | Resources that were exported. | [optional] [readonly]
11
+ **params** | [**Object**](.md) | Any additional parameters that were used to create the export. | [optional] [readonly]
12
+ **output_file_info** | [**Object**](.md) | Dictionary of filename: sha256hash entries for export-output-file(s) | [optional] [readonly]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'PulpcoreClient'
18
+
19
+ instance = PulpcoreClient::PulpExportRead.new(pulp_href: null,
20
+ pulp_created: null,
21
+ task: null,
22
+ exported_resources: null,
23
+ params: null,
24
+ output_file_info: null)
25
+ ```
26
+
27
+
@@ -0,0 +1,27 @@
1
+ # PulpcoreClient::PulpExporterRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **name** | **String** | Unique name of the file system exporter. |
10
+ **path** | **String** | File system directory to store exported tar.gzs. |
11
+ **repositories** | **Array<String>** | |
12
+ **last_export** | **String** | Last attempted export for this PulpExporter | [optional]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'PulpcoreClient'
18
+
19
+ instance = PulpcoreClient::PulpExporterRead.new(pulp_href: null,
20
+ pulp_created: null,
21
+ name: null,
22
+ path: null,
23
+ repositories: null,
24
+ last_export: null)
25
+ ```
26
+
27
+
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::PulpImporterRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **name** | **String** | Unique name of the Importer. |
10
+ **repo_mapping** | **Hash<String, String>** | Mapping of repo names in an export file to the repo names in Pulp. For example, if the export has a repo named 'foo' and the repo to import content into was 'bar', the mapping would be \"{'foo': 'bar'}\". | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpcoreClient'
16
+
17
+ instance = PulpcoreClient::PulpImporterRead.new(pulp_href: null,
18
+ pulp_created: null,
19
+ name: null,
20
+ repo_mapping: null)
21
+ ```
22
+
23
+
@@ -1,4 +1,4 @@
1
- # PulpcoreClient::SigningService
1
+ # PulpcoreClient::SigningServiceRead
2
2
 
3
3
  ## Properties
4
4
 
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'PulpcoreClient'
16
16
 
17
- instance = PulpcoreClient::SigningService.new(pulp_href: null,
17
+ instance = PulpcoreClient::SigningServiceRead.new(pulp_href: null,
18
18
  pulp_created: null,
19
19
  name: null,
20
20
  script: null)
@@ -76,7 +76,7 @@ Name | Type | Description | Notes
76
76
 
77
77
  ## read
78
78
 
79
- > SigningService read(signing_service_href, opts)
79
+ > SigningServiceRead read(signing_service_href, opts)
80
80
 
81
81
  Inspect a signing service
82
82
 
@@ -121,7 +121,7 @@ Name | Type | Description | Notes
121
121
 
122
122
  ### Return type
123
123
 
124
- [**SigningService**](SigningService.md)
124
+ [**SigningServiceRead**](SigningServiceRead.md)
125
125
 
126
126
  ### Authorization
127
127
 
@@ -1,4 +1,4 @@
1
- # PulpcoreClient::TaskGroup
1
+ # PulpcoreClient::TaskGroupRead
2
2
 
3
3
  ## Properties
4
4
 
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'PulpcoreClient'
21
21
 
22
- instance = PulpcoreClient::TaskGroup.new(pulp_href: null,
22
+ instance = PulpcoreClient::TaskGroupRead.new(pulp_href: null,
23
23
  description: null,
24
24
  all_tasks_dispatched: null,
25
25
  waiting: null,
@@ -72,7 +72,7 @@ Name | Type | Description | Notes
72
72
 
73
73
  ## read
74
74
 
75
- > TaskGroup read(task_group_href, opts)
75
+ > TaskGroupRead read(task_group_href, opts)
76
76
 
77
77
  Inspect a task group
78
78
 
@@ -115,7 +115,7 @@ Name | Type | Description | Notes
115
115
 
116
116
  ### Return type
117
117
 
118
- [**TaskGroup**](TaskGroup.md)
118
+ [**TaskGroupRead**](TaskGroupRead.md)
119
119
 
120
120
  ### Authorization
121
121
 
@@ -0,0 +1,43 @@
1
+ # PulpcoreClient::TaskRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **state** | **String** | The current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed' and 'canceled'. | [optional] [readonly]
10
+ **name** | **String** | The name of task. |
11
+ **started_at** | **DateTime** | Timestamp of the when this task started execution. | [optional] [readonly]
12
+ **finished_at** | **DateTime** | Timestamp of the when this task stopped execution. | [optional] [readonly]
13
+ **error** | **Hash<String, Object>** | A JSON Object of a fatal error encountered during the execution of this task. | [optional] [readonly]
14
+ **worker** | **String** | The worker associated with this task. This field is empty if a worker is not yet assigned. | [optional] [readonly]
15
+ **parent_task** | **String** | The parent task that spawned this task. | [optional] [readonly]
16
+ **child_tasks** | **Array<String>** | Any tasks spawned by this task. | [optional] [readonly]
17
+ **task_group** | **String** | The task group that this task is a member of. | [optional] [readonly]
18
+ **progress_reports** | [**Array<ProgressReport>**](ProgressReport.md) | | [optional] [readonly]
19
+ **created_resources** | **Array<String>** | Resources created by this task. | [optional] [readonly]
20
+ **reserved_resources_record** | **Array<Object>** | | [optional] [readonly]
21
+
22
+ ## Code Sample
23
+
24
+ ```ruby
25
+ require 'PulpcoreClient'
26
+
27
+ instance = PulpcoreClient::TaskRead.new(pulp_href: null,
28
+ pulp_created: null,
29
+ state: null,
30
+ name: null,
31
+ started_at: null,
32
+ finished_at: null,
33
+ error: null,
34
+ worker: null,
35
+ parent_task: null,
36
+ child_tasks: null,
37
+ task_group: null,
38
+ progress_reports: null,
39
+ created_resources: null,
40
+ reserved_resources_record: null)
41
+ ```
42
+
43
+
@@ -170,7 +170,7 @@ Name | Type | Description | Notes
170
170
 
171
171
  ## read
172
172
 
173
- > Task read(task_href, opts)
173
+ > TaskRead read(task_href, opts)
174
174
 
175
175
  Inspect a task
176
176
 
@@ -213,7 +213,7 @@ Name | Type | Description | Notes
213
213
 
214
214
  ### Return type
215
215
 
216
- [**Task**](Task.md)
216
+ [**TaskRead**](TaskRead.md)
217
217
 
218
218
  ### Authorization
219
219
 
@@ -1,4 +1,4 @@
1
- # PulpcoreClient::UploadDetail
1
+ # PulpcoreClient::UploadDetailRead
2
2
 
3
3
  ## Properties
4
4
 
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  ```ruby
16
16
  require 'PulpcoreClient'
17
17
 
18
- instance = PulpcoreClient::UploadDetail.new(pulp_href: null,
18
+ instance = PulpcoreClient::UploadDetailRead.new(pulp_href: null,
19
19
  pulp_created: null,
20
20
  size: null,
21
21
  completed: null,
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::UploadRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **size** | **Integer** | The size of the upload in bytes. |
10
+ **completed** | **DateTime** | Timestamp when upload is committed. | [optional] [readonly]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpcoreClient'
16
+
17
+ instance = PulpcoreClient::UploadRead.new(pulp_href: null,
18
+ pulp_created: null,
19
+ size: null,
20
+ completed: null)
21
+ ```
22
+
23
+
@@ -70,7 +70,7 @@ Name | Type | Description | Notes
70
70
 
71
71
  ## create
72
72
 
73
- > Upload create(data)
73
+ > UploadRead create(data)
74
74
 
75
75
  Create an upload
76
76
 
@@ -109,7 +109,7 @@ Name | Type | Description | Notes
109
109
 
110
110
  ### Return type
111
111
 
112
- [**Upload**](Upload.md)
112
+ [**UploadRead**](UploadRead.md)
113
113
 
114
114
  ### Authorization
115
115
 
@@ -240,7 +240,7 @@ Name | Type | Description | Notes
240
240
 
241
241
  ## read
242
242
 
243
- > UploadDetail read(upload_href, opts)
243
+ > UploadDetailRead read(upload_href, opts)
244
244
 
245
245
  Inspect an upload
246
246
 
@@ -285,7 +285,7 @@ Name | Type | Description | Notes
285
285
 
286
286
  ### Return type
287
287
 
288
- [**UploadDetail**](UploadDetail.md)
288
+ [**UploadDetailRead**](UploadDetailRead.md)
289
289
 
290
290
  ### Authorization
291
291
 
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::WorkerRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **name** | **String** | The name of the worker. | [optional] [readonly]
10
+ **last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional] [readonly]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpcoreClient'
16
+
17
+ instance = PulpcoreClient::WorkerRead.new(pulp_href: null,
18
+ pulp_created: null,
19
+ name: null,
20
+ last_heartbeat: null)
21
+ ```
22
+
23
+
@@ -92,7 +92,7 @@ Name | Type | Description | Notes
92
92
 
93
93
  ## read
94
94
 
95
- > Worker read(worker_href, opts)
95
+ > WorkerRead read(worker_href, opts)
96
96
 
97
97
  Inspect a worker
98
98
 
@@ -135,7 +135,7 @@ Name | Type | Description | Notes
135
135
 
136
136
  ### Return type
137
137
 
138
- [**Worker**](Worker.md)
138
+ [**WorkerRead**](WorkerRead.md)
139
139
 
140
140
  ### Authorization
141
141
 
@@ -17,11 +17,11 @@ require 'pulpcore_client/version'
17
17
  require 'pulpcore_client/configuration'
18
18
 
19
19
  # Models
20
- require 'pulpcore_client/models/artifact'
20
+ require 'pulpcore_client/models/artifact_read'
21
21
  require 'pulpcore_client/models/async_operation_response'
22
22
  require 'pulpcore_client/models/content_app_status'
23
23
  require 'pulpcore_client/models/database_connection'
24
- require 'pulpcore_client/models/import'
24
+ require 'pulpcore_client/models/import_read'
25
25
  require 'pulpcore_client/models/inline_response200'
26
26
  require 'pulpcore_client/models/inline_response2001'
27
27
  require 'pulpcore_client/models/inline_response2002'
@@ -34,22 +34,28 @@ require 'pulpcore_client/models/inline_response2008'
34
34
  require 'pulpcore_client/models/inline_response2009'
35
35
  require 'pulpcore_client/models/progress_report'
36
36
  require 'pulpcore_client/models/pulp_export'
37
+ require 'pulpcore_client/models/pulp_export_read'
37
38
  require 'pulpcore_client/models/pulp_exporter'
39
+ require 'pulpcore_client/models/pulp_exporter_read'
38
40
  require 'pulpcore_client/models/pulp_import'
39
41
  require 'pulpcore_client/models/pulp_importer'
42
+ require 'pulpcore_client/models/pulp_importer_read'
40
43
  require 'pulpcore_client/models/redis_connection'
41
- require 'pulpcore_client/models/signing_service'
44
+ require 'pulpcore_client/models/signing_service_read'
42
45
  require 'pulpcore_client/models/status'
43
46
  require 'pulpcore_client/models/storage'
44
47
  require 'pulpcore_client/models/task'
45
48
  require 'pulpcore_client/models/task_cancel'
46
- require 'pulpcore_client/models/task_group'
49
+ require 'pulpcore_client/models/task_group_read'
50
+ require 'pulpcore_client/models/task_read'
47
51
  require 'pulpcore_client/models/upload'
48
52
  require 'pulpcore_client/models/upload_chunk'
49
53
  require 'pulpcore_client/models/upload_commit'
50
- require 'pulpcore_client/models/upload_detail'
54
+ require 'pulpcore_client/models/upload_detail_read'
55
+ require 'pulpcore_client/models/upload_read'
51
56
  require 'pulpcore_client/models/version'
52
57
  require 'pulpcore_client/models/worker'
58
+ require 'pulpcore_client/models/worker_read'
53
59
 
54
60
  # APIs
55
61
  require 'pulpcore_client/api/artifacts_api'
@@ -29,7 +29,7 @@ module PulpcoreClient
29
29
  # @option opts [String] :sha256 The SHA-256 checksum of the file if available.
30
30
  # @option opts [String] :sha384 The SHA-384 checksum of the file if available.
31
31
  # @option opts [String] :sha512 The SHA-512 checksum of the file if available.
32
- # @return [Artifact]
32
+ # @return [ArtifactRead]
33
33
  def create(file, opts = {})
34
34
  data, _status_code, _headers = create_with_http_info(file, opts)
35
35
  data
@@ -45,7 +45,7 @@ module PulpcoreClient
45
45
  # @option opts [String] :sha256 The SHA-256 checksum of the file if available.
46
46
  # @option opts [String] :sha384 The SHA-384 checksum of the file if available.
47
47
  # @option opts [String] :sha512 The SHA-512 checksum of the file if available.
48
- # @return [Array<(Artifact, Integer, Hash)>] Artifact data, response status code and response headers
48
+ # @return [Array<(ArtifactRead, Integer, Hash)>] ArtifactRead data, response status code and response headers
49
49
  def create_with_http_info(file, opts = {})
50
50
  if @api_client.config.debugging
51
51
  @api_client.config.logger.debug 'Calling API: ArtifactsApi.create ...'
@@ -106,7 +106,7 @@ module PulpcoreClient
106
106
  post_body = opts[:body]
107
107
 
108
108
  # return_type
109
- return_type = opts[:return_type] || 'Artifact'
109
+ return_type = opts[:return_type] || 'ArtifactRead'
110
110
 
111
111
  # auth_names
112
112
  auth_names = opts[:auth_names] || ['Basic']
@@ -282,7 +282,7 @@ module PulpcoreClient
282
282
  # @param [Hash] opts the optional parameters
283
283
  # @option opts [String] :fields A list of fields to include in the response.
284
284
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
285
- # @return [Artifact]
285
+ # @return [ArtifactRead]
286
286
  def read(artifact_href, opts = {})
287
287
  data, _status_code, _headers = read_with_http_info(artifact_href, opts)
288
288
  data
@@ -293,7 +293,7 @@ module PulpcoreClient
293
293
  # @param [Hash] opts the optional parameters
294
294
  # @option opts [String] :fields A list of fields to include in the response.
295
295
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
296
- # @return [Array<(Artifact, Integer, Hash)>] Artifact data, response status code and response headers
296
+ # @return [Array<(ArtifactRead, Integer, Hash)>] ArtifactRead data, response status code and response headers
297
297
  def read_with_http_info(artifact_href, opts = {})
298
298
  if @api_client.config.debugging
299
299
  @api_client.config.logger.debug 'Calling API: ArtifactsApi.read ...'
@@ -322,7 +322,7 @@ module PulpcoreClient
322
322
  post_body = opts[:body]
323
323
 
324
324
  # return_type
325
- return_type = opts[:return_type] || 'Artifact'
325
+ return_type = opts[:return_type] || 'ArtifactRead'
326
326
 
327
327
  # auth_names
328
328
  auth_names = opts[:auth_names] || ['Basic']
@@ -232,7 +232,7 @@ module PulpcoreClient
232
232
  # @param [Hash] opts the optional parameters
233
233
  # @option opts [String] :fields A list of fields to include in the response.
234
234
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
235
- # @return [PulpExport]
235
+ # @return [PulpExportRead]
236
236
  def read(pulp_export_href, opts = {})
237
237
  data, _status_code, _headers = read_with_http_info(pulp_export_href, opts)
238
238
  data
@@ -244,7 +244,7 @@ module PulpcoreClient
244
244
  # @param [Hash] opts the optional parameters
245
245
  # @option opts [String] :fields A list of fields to include in the response.
246
246
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
247
- # @return [Array<(PulpExport, Integer, Hash)>] PulpExport data, response status code and response headers
247
+ # @return [Array<(PulpExportRead, Integer, Hash)>] PulpExportRead data, response status code and response headers
248
248
  def read_with_http_info(pulp_export_href, opts = {})
249
249
  if @api_client.config.debugging
250
250
  @api_client.config.logger.debug 'Calling API: ExportersCoreExportsApi.read ...'
@@ -273,7 +273,7 @@ module PulpcoreClient
273
273
  post_body = opts[:body]
274
274
 
275
275
  # return_type
276
- return_type = opts[:return_type] || 'PulpExport'
276
+ return_type = opts[:return_type] || 'PulpExportRead'
277
277
 
278
278
  # auth_names
279
279
  auth_names = opts[:auth_names] || ['Basic']