pulpcore_client 3.3.1 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -14
  3. data/docs/{Artifact.md → ArtifactRead.md} +2 -2
  4. data/docs/ArtifactsApi.md +5 -5
  5. data/docs/ExportersCoreExportsApi.md +13 -13
  6. data/docs/ExportersPulpApi.md +9 -9
  7. data/docs/{Import.md → ImportRead.md} +2 -2
  8. data/docs/ImportersCoreImportsApi.md +13 -13
  9. data/docs/ImportersPulpApi.md +9 -9
  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/OrphansApi.md +1 -1
  21. data/docs/PulpExport.md +12 -6
  22. data/docs/PulpExportRead.md +27 -0
  23. data/docs/PulpExporterRead.md +27 -0
  24. data/docs/PulpImporterRead.md +23 -0
  25. data/docs/{SigningService.md → SigningServiceRead.md} +2 -2
  26. data/docs/SigningServicesApi.md +3 -3
  27. data/docs/StatusApi.md +1 -1
  28. data/docs/{TaskGroup.md → TaskGroupRead.md} +4 -2
  29. data/docs/TaskGroupsApi.md +3 -3
  30. data/docs/TaskRead.md +43 -0
  31. data/docs/TasksApi.md +3 -3
  32. data/docs/{UploadDetail.md → UploadDetailRead.md} +2 -2
  33. data/docs/UploadRead.md +23 -0
  34. data/docs/UploadsApi.md +5 -5
  35. data/docs/Worker.md +3 -3
  36. data/docs/WorkerRead.md +23 -0
  37. data/docs/WorkersApi.md +3 -3
  38. data/lib/pulpcore_client/api/artifacts_api.rb +6 -6
  39. data/lib/pulpcore_client/api/exporters_core_exports_api.rb +21 -21
  40. data/lib/pulpcore_client/api/exporters_pulp_api.rb +12 -12
  41. data/lib/pulpcore_client/api/importers_core_imports_api.rb +21 -21
  42. data/lib/pulpcore_client/api/importers_pulp_api.rb +12 -12
  43. data/lib/pulpcore_client/api/signing_services_api.rb +3 -3
  44. data/lib/pulpcore_client/api/task_groups_api.rb +3 -3
  45. data/lib/pulpcore_client/api/tasks_api.rb +3 -3
  46. data/lib/pulpcore_client/api/uploads_api.rb +6 -6
  47. data/lib/pulpcore_client/api/workers_api.rb +3 -3
  48. data/lib/pulpcore_client/configuration.rb +2 -2
  49. data/lib/pulpcore_client/models/{artifact.rb → artifact_read.rb} +3 -3
  50. data/lib/pulpcore_client/models/{import.rb → import_read.rb} +3 -3
  51. data/lib/pulpcore_client/models/inline_response200.rb +1 -1
  52. data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
  53. data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
  54. data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
  55. data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
  56. data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
  57. data/lib/pulpcore_client/models/inline_response2006.rb +1 -1
  58. data/lib/pulpcore_client/models/inline_response2007.rb +1 -1
  59. data/lib/pulpcore_client/models/inline_response2008.rb +1 -1
  60. data/lib/pulpcore_client/models/inline_response2009.rb +1 -1
  61. data/lib/pulpcore_client/models/pulp_export.rb +59 -49
  62. data/lib/pulpcore_client/models/pulp_export_read.rb +259 -0
  63. data/lib/pulpcore_client/models/pulp_exporter.rb +1 -0
  64. data/lib/pulpcore_client/models/pulp_exporter_read.rb +311 -0
  65. data/lib/pulpcore_client/models/pulp_importer_read.rb +262 -0
  66. data/lib/pulpcore_client/models/{signing_service.rb → signing_service_read.rb} +3 -3
  67. data/lib/pulpcore_client/models/{task_group.rb → task_group_read.rb} +19 -4
  68. data/lib/pulpcore_client/models/task_read.rb +383 -0
  69. data/lib/pulpcore_client/models/{upload_detail.rb → upload_detail_read.rb} +3 -3
  70. data/lib/pulpcore_client/models/upload_read.rb +241 -0
  71. data/lib/pulpcore_client/models/worker.rb +10 -10
  72. data/lib/pulpcore_client/models/worker_read.rb +251 -0
  73. data/lib/pulpcore_client/version.rb +1 -1
  74. data/lib/pulpcore_client.rb +11 -5
  75. data/spec/api/artifacts_api_spec.rb +2 -2
  76. data/spec/api/exporters_core_exports_api_spec.rb +3 -3
  77. data/spec/api/exporters_pulp_api_spec.rb +4 -4
  78. data/spec/api/importers_core_imports_api_spec.rb +3 -3
  79. data/spec/api/importers_pulp_api_spec.rb +4 -4
  80. data/spec/api/signing_services_api_spec.rb +1 -1
  81. data/spec/api/task_groups_api_spec.rb +1 -1
  82. data/spec/api/tasks_api_spec.rb +1 -1
  83. data/spec/api/uploads_api_spec.rb +2 -2
  84. data/spec/api/workers_api_spec.rb +1 -1
  85. data/spec/configuration_spec.rb +3 -3
  86. data/spec/models/{artifact_spec.rb → artifact_read_spec.rb} +6 -6
  87. data/spec/models/{import_spec.rb → import_read_spec.rb} +6 -6
  88. data/spec/models/pulp_export_read_spec.rb +71 -0
  89. data/spec/models/pulp_export_spec.rb +20 -2
  90. data/spec/models/pulp_exporter_read_spec.rb +71 -0
  91. data/spec/models/pulp_importer_read_spec.rb +59 -0
  92. data/spec/models/{signing_service_spec.rb → signing_service_read_spec.rb} +6 -6
  93. data/spec/models/{task_group_spec.rb → task_group_read_spec.rb} +12 -6
  94. data/spec/models/task_read_spec.rb +119 -0
  95. data/spec/models/{upload_detail_spec.rb → upload_detail_read_spec.rb} +6 -6
  96. data/spec/models/upload_read_spec.rb +59 -0
  97. data/spec/models/worker_read_spec.rb +59 -0
  98. data/spec/models/worker_spec.rb +2 -2
  99. metadata +46 -22
data/docs/PulpExport.md CHANGED
@@ -6,11 +6,14 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **task** | **String** | A URI of the task that ran the Export. |
9
+ **task** | **String** | A URI of the task that ran the Export. | [optional]
10
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. |
12
- **sha256** | **String** | The SHA-256 checksum of the exported .tar.gz. | [optional]
13
- **filename** | **String** | The full-path filename of the exported .tar.gz. | [optional]
11
+ **params** | [**Object**](.md) | Any additional parameters that were used to create the export. | [optional] [readonly]
12
+ **full** | **Boolean** | Do a Full (true) or Incremental (false) export. | [optional] [default to true]
13
+ **dry_run** | **Boolean** | Generate report on what would be exported and disk-space required. | [optional] [default to false]
14
+ **versions** | **Array<String>** | List of explicit repo-version hrefs to export | [optional]
15
+ **chunk_size** | **String** | Chunk export-tarfile into pieces of chunk_size bytes.Recognizes units of B/KB/MB/GB/TB. | [optional]
16
+ **output_file_info** | [**Object**](.md) | Dictionary of filename: sha256hash entries for export-output-file(s) | [optional] [readonly]
14
17
 
15
18
  ## Code Sample
16
19
 
@@ -22,8 +25,11 @@ instance = PulpcoreClient::PulpExport.new(pulp_href: null,
22
25
  task: null,
23
26
  exported_resources: null,
24
27
  params: null,
25
- sha256: null,
26
- filename: null)
28
+ full: null,
29
+ dry_run: null,
30
+ versions: null,
31
+ chunk_size: null,
32
+ output_file_info: null)
27
33
  ```
28
34
 
29
35
 
@@ -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)
@@ -1,6 +1,6 @@
1
1
  # PulpcoreClient::SigningServicesApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -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
 
data/docs/StatusApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpcoreClient::StatusApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,4 +1,4 @@
1
- # PulpcoreClient::TaskGroup
1
+ # PulpcoreClient::TaskGroupRead
2
2
 
3
3
  ## Properties
4
4
 
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **description** | **String** | A description of the task group. |
9
+ **all_tasks_dispatched** | **Boolean** | Whether all tasks have been spawned for this task group. |
9
10
  **waiting** | **Integer** | Number of tasks in the 'waiting' state | [optional] [readonly]
10
11
  **skipped** | **Integer** | Number of tasks in the 'skipped' state | [optional] [readonly]
11
12
  **running** | **Integer** | Number of tasks in the 'running' state | [optional] [readonly]
@@ -18,8 +19,9 @@ Name | Type | Description | Notes
18
19
  ```ruby
19
20
  require 'PulpcoreClient'
20
21
 
21
- instance = PulpcoreClient::TaskGroup.new(pulp_href: null,
22
+ instance = PulpcoreClient::TaskGroupRead.new(pulp_href: null,
22
23
  description: null,
24
+ all_tasks_dispatched: null,
23
25
  waiting: null,
24
26
  skipped: null,
25
27
  running: null,
@@ -1,6 +1,6 @@
1
1
  # PulpcoreClient::TaskGroupsApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -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
 
data/docs/TaskRead.md ADDED
@@ -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
+
data/docs/TasksApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpcoreClient::TasksApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -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
+
data/docs/UploadsApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpcoreClient::UploadsApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -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
 
data/docs/Worker.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
7
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
+ **pulp_href** | **String** | | [optional] [readonly]
9
9
  **name** | **String** | The name of the worker. | [optional] [readonly]
10
10
  **last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional] [readonly]
11
11
 
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'PulpcoreClient'
16
16
 
17
- instance = PulpcoreClient::Worker.new(pulp_href: null,
18
- pulp_created: null,
17
+ instance = PulpcoreClient::Worker.new(pulp_created: null,
18
+ pulp_href: null,
19
19
  name: null,
20
20
  last_heartbeat: null)
21
21
  ```
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::WorkerRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
+ **pulp_href** | **String** | | [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_created: null,
18
+ pulp_href: null,
19
+ name: null,
20
+ last_heartbeat: null)
21
+ ```
22
+
23
+
data/docs/WorkersApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpcoreClient::WorkersApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -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
 
@@ -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']
@@ -21,35 +21,35 @@ module PulpcoreClient
21
21
  end
22
22
  # Create a pulp export
23
23
  # Trigger an asynchronous task to export a set of repositories
24
- # @param exporter_pk [String]
24
+ # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
25
25
  # @param data [PulpExport]
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [AsyncOperationResponse]
28
- def create(exporter_pk, data, opts = {})
29
- data, _status_code, _headers = create_with_http_info(exporter_pk, data, opts)
28
+ def create(pulp_exporter_href, data, opts = {})
29
+ data, _status_code, _headers = create_with_http_info(pulp_exporter_href, data, opts)
30
30
  data
31
31
  end
32
32
 
33
33
  # Create a pulp export
34
34
  # Trigger an asynchronous task to export a set of repositories
35
- # @param exporter_pk [String]
35
+ # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
36
36
  # @param data [PulpExport]
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
39
- def create_with_http_info(exporter_pk, data, opts = {})
39
+ def create_with_http_info(pulp_exporter_href, data, opts = {})
40
40
  if @api_client.config.debugging
41
41
  @api_client.config.logger.debug 'Calling API: ExportersCoreExportsApi.create ...'
42
42
  end
43
- # verify the required parameter 'exporter_pk' is set
44
- if @api_client.config.client_side_validation && exporter_pk.nil?
45
- fail ArgumentError, "Missing the required parameter 'exporter_pk' when calling ExportersCoreExportsApi.create"
43
+ # verify the required parameter 'pulp_exporter_href' is set
44
+ if @api_client.config.client_side_validation && pulp_exporter_href.nil?
45
+ fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersCoreExportsApi.create"
46
46
  end
47
47
  # verify the required parameter 'data' is set
48
48
  if @api_client.config.client_side_validation && data.nil?
49
49
  fail ArgumentError, "Missing the required parameter 'data' when calling ExportersCoreExportsApi.create"
50
50
  end
51
51
  # resource path
52
- local_var_path = '/pulp/api/v3/exporters/core/pulp/{exporter_pk}/exports/'.sub('{' + 'exporter_pk' + '}', CGI.escape(exporter_pk.to_s).gsub('%2F', '/'))
52
+ local_var_path = '{pulp_exporter_href}exports/'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_href.to_s).gsub('%2F', '/'))
53
53
 
54
54
  # query parameters
55
55
  query_params = opts[:query_params] || {}
@@ -151,7 +151,7 @@ module PulpcoreClient
151
151
 
152
152
  # List pulp exports
153
153
  # ViewSet for viewing exports from a PulpExporter.
154
- # @param exporter_pk [String]
154
+ # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
155
155
  # @param [Hash] opts the optional parameters
156
156
  # @option opts [String] :ordering Which field to use when ordering the results.
157
157
  # @option opts [Integer] :limit Number of results to return per page.
@@ -159,14 +159,14 @@ module PulpcoreClient
159
159
  # @option opts [String] :fields A list of fields to include in the response.
160
160
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
161
161
  # @return [InlineResponse2002]
162
- def list(exporter_pk, opts = {})
163
- data, _status_code, _headers = list_with_http_info(exporter_pk, opts)
162
+ def list(pulp_exporter_href, opts = {})
163
+ data, _status_code, _headers = list_with_http_info(pulp_exporter_href, opts)
164
164
  data
165
165
  end
166
166
 
167
167
  # List pulp exports
168
168
  # ViewSet for viewing exports from a PulpExporter.
169
- # @param exporter_pk [String]
169
+ # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
170
170
  # @param [Hash] opts the optional parameters
171
171
  # @option opts [String] :ordering Which field to use when ordering the results.
172
172
  # @option opts [Integer] :limit Number of results to return per page.
@@ -174,16 +174,16 @@ module PulpcoreClient
174
174
  # @option opts [String] :fields A list of fields to include in the response.
175
175
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
176
176
  # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
177
- def list_with_http_info(exporter_pk, opts = {})
177
+ def list_with_http_info(pulp_exporter_href, opts = {})
178
178
  if @api_client.config.debugging
179
179
  @api_client.config.logger.debug 'Calling API: ExportersCoreExportsApi.list ...'
180
180
  end
181
- # verify the required parameter 'exporter_pk' is set
182
- if @api_client.config.client_side_validation && exporter_pk.nil?
183
- fail ArgumentError, "Missing the required parameter 'exporter_pk' when calling ExportersCoreExportsApi.list"
181
+ # verify the required parameter 'pulp_exporter_href' is set
182
+ if @api_client.config.client_side_validation && pulp_exporter_href.nil?
183
+ fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersCoreExportsApi.list"
184
184
  end
185
185
  # resource path
186
- local_var_path = '/pulp/api/v3/exporters/core/pulp/{exporter_pk}/exports/'.sub('{' + 'exporter_pk' + '}', CGI.escape(exporter_pk.to_s).gsub('%2F', '/'))
186
+ local_var_path = '{pulp_exporter_href}exports/'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_href.to_s).gsub('%2F', '/'))
187
187
 
188
188
  # query parameters
189
189
  query_params = opts[:query_params] || {}
@@ -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']