pulpcore_client 3.86.0 → 3.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -8
- data/docs/{ApiAppStatusResponse.md → AppStatusResponse.md} +2 -2
- data/docs/ArtifactDistributionResponse.md +11 -11
- data/docs/Purge.md +1 -1
- data/docs/StatusResponse.md +3 -3
- data/docs/TaskResponse.md +3 -1
- data/docs/TasksApi.md +4 -4
- data/docs/WorkersApi.md +10 -10
- data/lib/pulpcore_client/api/tasks_api.rb +5 -5
- data/lib/pulpcore_client/api/workers_api.rb +7 -7
- data/lib/pulpcore_client/models/{api_app_status_response.rb → app_status_response.rb} +3 -4
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +51 -51
- data/lib/pulpcore_client/models/purge.rb +1 -1
- data/lib/pulpcore_client/models/status_response.rb +3 -3
- data/lib/pulpcore_client/models/task_response.rb +14 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +1 -2
- data/spec/api/tasks_api_spec.rb +2 -2
- data/spec/api/workers_api_spec.rb +3 -3
- data/spec/models/{api_app_status_response_spec.rb → app_status_response_spec.rb} +6 -6
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/task_response_spec.rb +6 -0
- metadata +197 -201
- data/docs/ContentAppStatusResponse.md +0 -22
- data/lib/pulpcore_client/models/content_app_status_response.rb +0 -238
- data/spec/models/content_app_status_response_spec.rb +0 -48
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abcfa60d8531199dd508ed048290e1bc7342da51be980cbdda82bb0aba6e5a19
|
4
|
+
data.tar.gz: c97d942ce52795b76369c9931b7625917a798362fc688916ade648ca03e7eacc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17a68bfa977ad276fcb3de9cac2b0966c704e286e8e859b4df3a074fb32c6917d6e33f40eb2fa2359735ea6bbe9aecf782d7d51f878765506c2e052ca473ea66
|
7
|
+
data.tar.gz: 0c7ca448e31d69febf9de82b54309b123fbdc4a14093b83d2288fbd3633b9e800197ff8dc863e031f450ccfa5c468b8af175e587203ab0c829374830f5237e00
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.
|
10
|
+
- Package version: 3.88.0
|
11
11
|
- Generator version: 7.10.0
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
@@ -25,16 +25,16 @@ gem build pulpcore_client.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./pulpcore_client-3.
|
28
|
+
gem install ./pulpcore_client-3.88.0.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
31
|
+
(for development, run `gem install --dev ./pulpcore_client-3.88.0.gem` to install the development dependencies)
|
32
32
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
34
34
|
|
35
35
|
Finally add this to the Gemfile:
|
36
36
|
|
37
|
-
gem 'pulpcore_client', '~> 3.
|
37
|
+
gem 'pulpcore_client', '~> 3.88.0'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -334,21 +334,20 @@ Class | Method | HTTP request | Description
|
|
334
334
|
*PulpcoreClient::VulnReportApi* | [**delete**](docs/VulnReportApi.md#delete) | **DELETE** {vulnerability_report_href} | Delete a vulnerability report
|
335
335
|
*PulpcoreClient::VulnReportApi* | [**list**](docs/VulnReportApi.md#list) | **GET** /pulp/api/v3/vuln_report/ | List vulnerability reports
|
336
336
|
*PulpcoreClient::VulnReportApi* | [**read**](docs/VulnReportApi.md#read) | **GET** {vulnerability_report_href} | Inspect a vulnerability report
|
337
|
-
*PulpcoreClient::WorkersApi* | [**list**](docs/WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List
|
338
|
-
*PulpcoreClient::WorkersApi* | [**read**](docs/WorkersApi.md#read) | **GET** {worker_href} | Inspect
|
337
|
+
*PulpcoreClient::WorkersApi* | [**list**](docs/WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List app statuss
|
338
|
+
*PulpcoreClient::WorkersApi* | [**read**](docs/WorkersApi.md#read) | **GET** {worker_href} | Inspect an app status
|
339
339
|
|
340
340
|
|
341
341
|
## Documentation for Models
|
342
342
|
|
343
343
|
- [PulpcoreClient::AccessPolicy](docs/AccessPolicy.md)
|
344
344
|
- [PulpcoreClient::AccessPolicyResponse](docs/AccessPolicyResponse.md)
|
345
|
-
- [PulpcoreClient::
|
345
|
+
- [PulpcoreClient::AppStatusResponse](docs/AppStatusResponse.md)
|
346
346
|
- [PulpcoreClient::ArtifactDistributionResponse](docs/ArtifactDistributionResponse.md)
|
347
347
|
- [PulpcoreClient::ArtifactResponse](docs/ArtifactResponse.md)
|
348
348
|
- [PulpcoreClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
349
349
|
- [PulpcoreClient::CompositeContentGuard](docs/CompositeContentGuard.md)
|
350
350
|
- [PulpcoreClient::CompositeContentGuardResponse](docs/CompositeContentGuardResponse.md)
|
351
|
-
- [PulpcoreClient::ContentAppStatusResponse](docs/ContentAppStatusResponse.md)
|
352
351
|
- [PulpcoreClient::ContentGuardResponse](docs/ContentGuardResponse.md)
|
353
352
|
- [PulpcoreClient::ContentRedirectContentGuard](docs/ContentRedirectContentGuard.md)
|
354
353
|
- [PulpcoreClient::ContentRedirectContentGuardResponse](docs/ContentRedirectContentGuardResponse.md)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpcoreClient::
|
1
|
+
# PulpcoreClient::AppStatusResponse
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
```ruby
|
14
14
|
require 'pulpcore_client'
|
15
15
|
|
16
|
-
instance = PulpcoreClient::
|
16
|
+
instance = PulpcoreClient::AppStatusResponse.new(
|
17
17
|
name: null,
|
18
18
|
last_heartbeat: null,
|
19
19
|
versions: null
|
@@ -6,15 +6,15 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
8
8
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
9
|
-
| **
|
10
|
-
| **
|
9
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
11
11
|
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
12
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
12
13
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
13
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
14
14
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
15
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
16
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
15
17
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
16
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
17
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
18
18
|
|
19
19
|
## Example
|
20
20
|
|
@@ -24,15 +24,15 @@ require 'pulpcore_client'
|
|
24
24
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
25
25
|
pulp_last_updated: null,
|
26
26
|
base_url: null,
|
27
|
-
|
28
|
-
|
27
|
+
pulp_href: null,
|
28
|
+
pulp_labels: null,
|
29
29
|
no_content_change_since: null,
|
30
|
+
hidden: null,
|
30
31
|
prn: null,
|
31
|
-
pulp_created: null,
|
32
32
|
content_guard: null,
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
name: null,
|
34
|
+
pulp_created: null,
|
35
|
+
base_path: null
|
36
36
|
)
|
37
37
|
```
|
38
38
|
|
data/docs/Purge.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2025-
|
7
|
+
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2025-08-04'] |
|
8
8
|
| **states** | [**Array<StatesEnum>**](StatesEnum.md) | List of task-states to be purged. Only 'final' states are allowed. | [optional] |
|
9
9
|
|
10
10
|
## Example
|
data/docs/StatusResponse.md
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **versions** | [**Array<VersionResponse>**](VersionResponse.md) | Version information of Pulp components | |
|
8
|
-
| **online_workers** | [**Array<
|
9
|
-
| **online_api_apps** | [**Array<
|
10
|
-
| **online_content_apps** | [**Array<
|
8
|
+
| **online_workers** | [**Array<AppStatusResponse>**](AppStatusResponse.md) | List of online workers known to the application. An online worker is actively heartbeating and can respond to new work. | |
|
9
|
+
| **online_api_apps** | [**Array<AppStatusResponse>**](AppStatusResponse.md) | List of online api apps known to the application. An online api app is actively heartbeating and can serve the rest api to clients. | |
|
10
|
+
| **online_content_apps** | [**Array<AppStatusResponse>**](AppStatusResponse.md) | List of online content apps known to the application. An online content app is actively heartbeating and can serve data to clients. | |
|
11
11
|
| **database_connection** | [**DatabaseConnectionResponse**](DatabaseConnectionResponse.md) | Database connection information | |
|
12
12
|
| **redis_connection** | [**RedisConnectionResponse**](RedisConnectionResponse.md) | Redis connection information | [optional] |
|
13
13
|
| **storage** | [**StorageResponse**](StorageResponse.md) | Storage information | [optional] |
|
data/docs/TaskResponse.md
CHANGED
@@ -23,6 +23,7 @@
|
|
23
23
|
| **progress_reports** | [**Array<ProgressReportResponse>**](ProgressReportResponse.md) | | [optional] |
|
24
24
|
| **created_resources** | **Array<String>** | Resources created by this task. | [optional] |
|
25
25
|
| **reserved_resources_record** | **Array<String>** | A list of resources required by that task. | [optional] |
|
26
|
+
| **result** | **Object** | | [optional] |
|
26
27
|
|
27
28
|
## Example
|
28
29
|
|
@@ -48,7 +49,8 @@ instance = PulpcoreClient::TaskResponse.new(
|
|
48
49
|
task_group: null,
|
49
50
|
progress_reports: null,
|
50
51
|
created_resources: null,
|
51
|
-
reserved_resources_record: null
|
52
|
+
reserved_resources_record: null,
|
53
|
+
result: null
|
52
54
|
)
|
53
55
|
```
|
54
56
|
|
data/docs/TasksApi.md
CHANGED
@@ -207,7 +207,7 @@ opts = {
|
|
207
207
|
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
208
208
|
name__ne: 'name__ne_example', # String | Filter results where name not equal to value
|
209
209
|
offset: 56, # Integer | The initial index from which to return the results.
|
210
|
-
ordering: ['-deferred'], # Array<String> | 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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
210
|
+
ordering: ['-deferred'], # Array<String> | 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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
211
211
|
parent_task: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Filter results where parent_task matches value
|
212
212
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
213
213
|
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
@@ -242,7 +242,7 @@ opts = {
|
|
242
242
|
unblocked_at__lt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where unblocked_at is less than value
|
243
243
|
unblocked_at__lte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where unblocked_at is less than or equal to value
|
244
244
|
unblocked_at__range: [Time.now], # Array<Time> | Filter results where unblocked_at is between two comma separated values
|
245
|
-
worker: '
|
245
|
+
worker: 'worker_example', # String |
|
246
246
|
worker__in: ['inner_example'], # Array<String> | Filter results where worker is in a comma-separated list of values
|
247
247
|
worker__isnull: true, # Boolean | Filter results where worker has a null value
|
248
248
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
@@ -300,7 +300,7 @@ end
|
|
300
300
|
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
301
301
|
| **name__ne** | **String** | Filter results where name not equal to value | [optional] |
|
302
302
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
303
|
-
| **ordering** | [**Array<String>**](String.md) | 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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
303
|
+
| **ordering** | [**Array<String>**](String.md) | 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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
304
304
|
| **parent_task** | **String** | Filter results where parent_task matches value | [optional] |
|
305
305
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
306
306
|
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
@@ -335,7 +335,7 @@ end
|
|
335
335
|
| **unblocked_at__lt** | **Time** | Filter results where unblocked_at is less than value | [optional] |
|
336
336
|
| **unblocked_at__lte** | **Time** | Filter results where unblocked_at is less than or equal to value | [optional] |
|
337
337
|
| **unblocked_at__range** | [**Array<Time>**](Time.md) | Filter results where unblocked_at is between two comma separated values | [optional] |
|
338
|
-
| **worker** | **String** |
|
338
|
+
| **worker** | **String** | | [optional] |
|
339
339
|
| **worker__in** | [**Array<String>**](String.md) | Filter results where worker is in a comma-separated list of values | [optional] |
|
340
340
|
| **worker__isnull** | **Boolean** | Filter results where worker has a null value | [optional] |
|
341
341
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
data/docs/WorkersApi.md
CHANGED
@@ -4,15 +4,15 @@ All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**list**](WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List
|
8
|
-
| [**read**](WorkersApi.md#read) | **GET** {worker_href} | Inspect
|
7
|
+
| [**list**](WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List app statuss |
|
8
|
+
| [**read**](WorkersApi.md#read) | **GET** {worker_href} | Inspect an app status |
|
9
9
|
|
10
10
|
|
11
11
|
## list
|
12
12
|
|
13
13
|
> <PaginatedWorkerResponseList> list(opts)
|
14
14
|
|
15
|
-
List
|
15
|
+
List app statuss
|
16
16
|
|
17
17
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
18
18
|
|
@@ -51,7 +51,7 @@ opts = {
|
|
51
51
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
52
52
|
offset: 56, # Integer | The initial index from which to return the results.
|
53
53
|
online: true, # Boolean |
|
54
|
-
ordering: ['-
|
54
|
+
ordering: ['-app_type'], # Array<String> | 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) * `app_type` - App type * `-app_type` - App type (descending) * `name` - Name * `-name` - Name (descending) * `versions` - Versions * `-versions` - Versions (descending) * `ttl` - Ttl * `-ttl` - Ttl (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
55
55
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
56
56
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
57
57
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -61,7 +61,7 @@ opts = {
|
|
61
61
|
}
|
62
62
|
|
63
63
|
begin
|
64
|
-
# List
|
64
|
+
# List app statuss
|
65
65
|
result = api_instance.list(opts)
|
66
66
|
p result
|
67
67
|
rescue PulpcoreClient::ApiError => e
|
@@ -77,7 +77,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
77
77
|
|
78
78
|
```ruby
|
79
79
|
begin
|
80
|
-
# List
|
80
|
+
# List app statuss
|
81
81
|
data, status_code, headers = api_instance.list_with_http_info(opts)
|
82
82
|
p status_code # => 2xx
|
83
83
|
p headers # => { ... }
|
@@ -112,7 +112,7 @@ end
|
|
112
112
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
113
113
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
114
114
|
| **online** | **Boolean** | | [optional] |
|
115
|
-
| **ordering** | [**Array<String>**](String.md) | 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) * `name` - Name * `-name` - Name (descending) * `
|
115
|
+
| **ordering** | [**Array<String>**](String.md) | 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) * `app_type` - App type * `-app_type` - App type (descending) * `name` - Name * `-name` - Name (descending) * `versions` - Versions * `-versions` - Versions (descending) * `ttl` - Ttl * `-ttl` - Ttl (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
116
116
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
117
117
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
118
118
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
@@ -138,7 +138,7 @@ end
|
|
138
138
|
|
139
139
|
> <WorkerResponse> read(worker_href, opts)
|
140
140
|
|
141
|
-
Inspect
|
141
|
+
Inspect an app status
|
142
142
|
|
143
143
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
144
144
|
|
@@ -163,7 +163,7 @@ opts = {
|
|
163
163
|
}
|
164
164
|
|
165
165
|
begin
|
166
|
-
# Inspect
|
166
|
+
# Inspect an app status
|
167
167
|
result = api_instance.read(worker_href, opts)
|
168
168
|
p result
|
169
169
|
rescue PulpcoreClient::ApiError => e
|
@@ -179,7 +179,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
179
179
|
|
180
180
|
```ruby
|
181
181
|
begin
|
182
|
-
# Inspect
|
182
|
+
# Inspect an app status
|
183
183
|
data, status_code, headers = api_instance.read_with_http_info(worker_href, opts)
|
184
184
|
p status_code # => 2xx
|
185
185
|
p headers # => { ... }
|
@@ -183,7 +183,7 @@ module PulpcoreClient
|
|
183
183
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
184
184
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
185
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
186
|
-
# @option opts [Array<String>] :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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
186
|
+
# @option opts [Array<String>] :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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
187
187
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
188
188
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
189
189
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
@@ -218,7 +218,7 @@ module PulpcoreClient
|
|
218
218
|
# @option opts [Time] :unblocked_at__lt Filter results where unblocked_at is less than value
|
219
219
|
# @option opts [Time] :unblocked_at__lte Filter results where unblocked_at is less than or equal to value
|
220
220
|
# @option opts [Array<Time>] :unblocked_at__range Filter results where unblocked_at is between two comma separated values
|
221
|
-
# @option opts [String] :worker
|
221
|
+
# @option opts [String] :worker
|
222
222
|
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
223
223
|
# @option opts [Boolean] :worker__isnull Filter results where worker has a null value
|
224
224
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -252,7 +252,7 @@ module PulpcoreClient
|
|
252
252
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
253
253
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
254
254
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
255
|
-
# @option opts [Array<String>] :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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
255
|
+
# @option opts [Array<String>] :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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
256
256
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
257
257
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
258
258
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
@@ -287,7 +287,7 @@ module PulpcoreClient
|
|
287
287
|
# @option opts [Time] :unblocked_at__lt Filter results where unblocked_at is less than value
|
288
288
|
# @option opts [Time] :unblocked_at__lte Filter results where unblocked_at is less than or equal to value
|
289
289
|
# @option opts [Array<Time>] :unblocked_at__range Filter results where unblocked_at is between two comma separated values
|
290
|
-
# @option opts [String] :worker
|
290
|
+
# @option opts [String] :worker
|
291
291
|
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
292
292
|
# @option opts [Boolean] :worker__isnull Filter results where worker has a null value
|
293
293
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -297,7 +297,7 @@ module PulpcoreClient
|
|
297
297
|
if @api_client.config.debugging
|
298
298
|
@api_client.config.logger.debug 'Calling API: TasksApi.list ...'
|
299
299
|
end
|
300
|
-
allowable_values = ["-deferred", "-enc_args", "-enc_kwargs", "-error", "-finished_at", "-immediate", "-logging_cid", "-name", "-pk", "-profile_options", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "-unblocked_at", "-versions", "deferred", "enc_args", "enc_kwargs", "error", "finished_at", "immediate", "logging_cid", "name", "pk", "profile_options", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state", "unblocked_at", "versions"]
|
300
|
+
allowable_values = ["-deferred", "-enc_args", "-enc_kwargs", "-error", "-finished_at", "-immediate", "-logging_cid", "-name", "-pk", "-profile_options", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-result", "-started_at", "-state", "-unblocked_at", "-versions", "deferred", "enc_args", "enc_kwargs", "error", "finished_at", "immediate", "logging_cid", "name", "pk", "profile_options", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "result", "started_at", "state", "unblocked_at", "versions"]
|
301
301
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
302
302
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
303
303
|
end
|
@@ -19,7 +19,7 @@ module PulpcoreClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# List
|
22
|
+
# List app statuss
|
23
23
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
@@ -43,7 +43,7 @@ module PulpcoreClient
|
|
43
43
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
44
44
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
45
45
|
# @option opts [Boolean] :online
|
46
|
-
# @option opts [Array<String>] :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) * `name` - Name * `-name` - Name (descending) * `
|
46
|
+
# @option opts [Array<String>] :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) * `app_type` - App type * `-app_type` - App type (descending) * `name` - Name * `-name` - Name (descending) * `versions` - Versions * `-versions` - Versions (descending) * `ttl` - Ttl * `-ttl` - Ttl (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
47
47
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
48
48
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
49
49
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -56,7 +56,7 @@ module PulpcoreClient
|
|
56
56
|
data
|
57
57
|
end
|
58
58
|
|
59
|
-
# List
|
59
|
+
# List app statuss
|
60
60
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
61
61
|
# @param [Hash] opts the optional parameters
|
62
62
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
@@ -80,7 +80,7 @@ module PulpcoreClient
|
|
80
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
82
|
# @option opts [Boolean] :online
|
83
|
-
# @option opts [Array<String>] :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) * `name` - Name * `-name` - Name (descending) * `
|
83
|
+
# @option opts [Array<String>] :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) * `app_type` - App type * `-app_type` - App type (descending) * `name` - Name * `-name` - Name (descending) * `versions` - Versions * `-versions` - Versions (descending) * `ttl` - Ttl * `-ttl` - Ttl (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
84
84
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
85
85
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
86
86
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -92,7 +92,7 @@ module PulpcoreClient
|
|
92
92
|
if @api_client.config.debugging
|
93
93
|
@api_client.config.logger.debug 'Calling API: WorkersApi.list ...'
|
94
94
|
end
|
95
|
-
allowable_values = ["-last_heartbeat", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-versions", "last_heartbeat", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "versions"]
|
95
|
+
allowable_values = ["-app_type", "-last_heartbeat", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-ttl", "-versions", "app_type", "last_heartbeat", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "ttl", "versions"]
|
96
96
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
97
97
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
98
98
|
end
|
@@ -164,7 +164,7 @@ module PulpcoreClient
|
|
164
164
|
return data, status_code, headers
|
165
165
|
end
|
166
166
|
|
167
|
-
# Inspect
|
167
|
+
# Inspect an app status
|
168
168
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
169
169
|
# @param worker_href [String]
|
170
170
|
# @param [Hash] opts the optional parameters
|
@@ -177,7 +177,7 @@ module PulpcoreClient
|
|
177
177
|
data
|
178
178
|
end
|
179
179
|
|
180
|
-
# Inspect
|
180
|
+
# Inspect an app status
|
181
181
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
182
182
|
# @param worker_href [String]
|
183
183
|
# @param [Hash] opts the optional parameters
|
@@ -14,8 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module PulpcoreClient
|
17
|
-
|
18
|
-
class ApiAppStatusResponse
|
17
|
+
class AppStatusResponse
|
19
18
|
# The name of the worker.
|
20
19
|
attr_accessor :name
|
21
20
|
|
@@ -58,13 +57,13 @@ module PulpcoreClient
|
|
58
57
|
# @param [Hash] attributes Model attributes in the form of hash
|
59
58
|
def initialize(attributes = {})
|
60
59
|
if (!attributes.is_a?(Hash))
|
61
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::
|
60
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::AppStatusResponse` initialize method"
|
62
61
|
end
|
63
62
|
|
64
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
65
64
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
66
65
|
if (!self.class.attribute_map.key?(k.to_sym))
|
67
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::
|
66
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::AppStatusResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
68
67
|
end
|
69
68
|
h[k.to_sym] = v
|
70
69
|
}
|