pulpcore_client 3.11.0.dev01613619278 → 3.11.0.dev01614051194
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.
- checksums.yaml +4 -4
- data/README.md +11 -11
- data/docs/AccessPoliciesApi.md +12 -12
- data/docs/ArtifactsApi.md +14 -14
- data/docs/ContentApi.md +6 -6
- data/docs/{ContentGuardsApi.md → ContentguardsApi.md} +15 -15
- data/docs/ExportersPulpApi.md +10 -10
- data/docs/GroupsApi.md +14 -14
- data/docs/ImportersPulpApi.md +10 -10
- data/docs/RepositoriesApi.md +12 -12
- data/docs/SigningServicesApi.md +2 -2
- data/docs/TasksApi.md +46 -46
- data/docs/UsersApi.md +44 -44
- data/docs/WorkerResponse.md +3 -3
- data/docs/WorkersApi.md +26 -26
- data/lib/pulpcore_client.rb +1 -1
- data/lib/pulpcore_client/api/access_policies_api.rb +13 -13
- data/lib/pulpcore_client/api/artifacts_api.rb +14 -14
- data/lib/pulpcore_client/api/content_api.rb +6 -6
- data/lib/pulpcore_client/api/{content_guards_api.rb → contentguards_api.rb} +17 -17
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +11 -11
- data/lib/pulpcore_client/api/groups_api.rb +16 -16
- data/lib/pulpcore_client/api/importers_pulp_api.rb +11 -11
- data/lib/pulpcore_client/api/repositories_api.rb +13 -13
- data/lib/pulpcore_client/api/signing_services_api.rb +2 -2
- data/lib/pulpcore_client/api/tasks_api.rb +58 -50
- data/lib/pulpcore_client/api/users_api.rb +48 -48
- data/lib/pulpcore_client/api/workers_api.rb +28 -28
- data/lib/pulpcore_client/models/worker_response.rb +10 -10
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +6 -6
- data/spec/api/artifacts_api_spec.rb +7 -7
- data/spec/api/content_api_spec.rb +3 -3
- data/spec/api/{content_guards_api_spec.rb → contentguards_api_spec.rb} +12 -12
- data/spec/api/exporters_pulp_api_spec.rb +5 -5
- data/spec/api/groups_api_spec.rb +7 -7
- data/spec/api/importers_pulp_api_spec.rb +5 -5
- data/spec/api/repositories_api_spec.rb +6 -6
- data/spec/api/signing_services_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +23 -23
- data/spec/api/users_api_spec.rb +22 -22
- data/spec/api/workers_api_spec.rb +13 -13
- data/spec/models/worker_response_spec.rb +2 -2
- metadata +6 -6
data/docs/UsersApi.md
CHANGED
@@ -32,31 +32,31 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpcoreClient::UsersApi.new
|
34
34
|
opts = {
|
35
|
-
email: 'email_example', # String | email
|
36
|
-
email__contains: 'email__contains_example', # String |
|
37
|
-
email__icontains: 'email__icontains_example', # String |
|
38
|
-
email__iexact: 'email__iexact_example', # String |
|
39
|
-
email__in: 'email__in_example', # String |
|
40
|
-
first_name: 'first_name_example', # String | first_name
|
41
|
-
first_name__contains: 'first_name__contains_example', # String |
|
42
|
-
first_name__icontains: 'first_name__icontains_example', # String |
|
43
|
-
first_name__iexact: 'first_name__iexact_example', # String |
|
44
|
-
first_name__in: 'first_name__in_example', # String |
|
45
|
-
is_active:
|
46
|
-
is_staff:
|
47
|
-
last_name: 'last_name_example', # String | last_name
|
48
|
-
last_name__contains: 'last_name__contains_example', # String |
|
49
|
-
last_name__icontains: 'last_name__icontains_example', # String |
|
50
|
-
last_name__iexact: 'last_name__iexact_example', # String |
|
51
|
-
last_name__in: 'last_name__in_example', # String |
|
35
|
+
email: 'email_example', # String | Filter results where email matches value
|
36
|
+
email__contains: 'email__contains_example', # String | Filter results where email contains value
|
37
|
+
email__icontains: 'email__icontains_example', # String | Filter results where email contains value
|
38
|
+
email__iexact: 'email__iexact_example', # String | Filter results where email matches value
|
39
|
+
email__in: ['email__in_example'], # Array<String> | Filter results where email is in a comma-separated list of values
|
40
|
+
first_name: 'first_name_example', # String | Filter results where first_name matches value
|
41
|
+
first_name__contains: 'first_name__contains_example', # String | Filter results where first_name contains value
|
42
|
+
first_name__icontains: 'first_name__icontains_example', # String | Filter results where first_name contains value
|
43
|
+
first_name__iexact: 'first_name__iexact_example', # String | Filter results where first_name matches value
|
44
|
+
first_name__in: ['first_name__in_example'], # Array<String> | Filter results where first_name is in a comma-separated list of values
|
45
|
+
is_active: true, # Boolean | Filter results where is_active matches value
|
46
|
+
is_staff: true, # Boolean | Filter results where is_staff matches value
|
47
|
+
last_name: 'last_name_example', # String | Filter results where last_name matches value
|
48
|
+
last_name__contains: 'last_name__contains_example', # String | Filter results where last_name contains value
|
49
|
+
last_name__icontains: 'last_name__icontains_example', # String | Filter results where last_name contains value
|
50
|
+
last_name__iexact: 'last_name__iexact_example', # String | Filter results where last_name matches value
|
51
|
+
last_name__in: ['last_name__in_example'], # Array<String> | Filter results where last_name is in a comma-separated list of values
|
52
52
|
limit: 56, # Integer | Number of results to return per page.
|
53
53
|
offset: 56, # Integer | The initial index from which to return the results.
|
54
54
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
55
|
-
username: 'username_example', # String | username
|
56
|
-
username__contains: 'username__contains_example', # String |
|
57
|
-
username__icontains: 'username__icontains_example', # String |
|
58
|
-
username__iexact: 'username__iexact_example', # String |
|
59
|
-
username__in: 'username__in_example', # String |
|
55
|
+
username: 'username_example', # String | Filter results where username matches value
|
56
|
+
username__contains: 'username__contains_example', # String | Filter results where username contains value
|
57
|
+
username__icontains: 'username__icontains_example', # String | Filter results where username contains value
|
58
|
+
username__iexact: 'username__iexact_example', # String | Filter results where username matches value
|
59
|
+
username__in: ['username__in_example'], # Array<String> | Filter results where username is in a comma-separated list of values
|
60
60
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
61
61
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
62
62
|
}
|
@@ -75,31 +75,31 @@ end
|
|
75
75
|
|
76
76
|
Name | Type | Description | Notes
|
77
77
|
------------- | ------------- | ------------- | -------------
|
78
|
-
**email** | **String
|
79
|
-
**email__contains** | **String
|
80
|
-
**email__icontains** | **String
|
81
|
-
**email__iexact** | **String
|
82
|
-
**email__in** | **String
|
83
|
-
**first_name** | **String**| first_name | [optional]
|
84
|
-
**first_name__contains** | **String**|
|
85
|
-
**first_name__icontains** | **String**|
|
86
|
-
**first_name__iexact** | **String**|
|
87
|
-
**first_name__in** | **String
|
88
|
-
**is_active** | **
|
89
|
-
**is_staff** | **
|
90
|
-
**last_name** | **String**| last_name | [optional]
|
91
|
-
**last_name__contains** | **String**|
|
92
|
-
**last_name__icontains** | **String**|
|
93
|
-
**last_name__iexact** | **String**|
|
94
|
-
**last_name__in** | **String
|
78
|
+
**email** | [**String**](.md)| Filter results where email matches value | [optional]
|
79
|
+
**email__contains** | [**String**](.md)| Filter results where email contains value | [optional]
|
80
|
+
**email__icontains** | [**String**](.md)| Filter results where email contains value | [optional]
|
81
|
+
**email__iexact** | [**String**](.md)| Filter results where email matches value | [optional]
|
82
|
+
**email__in** | [**Array<String>**](String.md)| Filter results where email is in a comma-separated list of values | [optional]
|
83
|
+
**first_name** | **String**| Filter results where first_name matches value | [optional]
|
84
|
+
**first_name__contains** | **String**| Filter results where first_name contains value | [optional]
|
85
|
+
**first_name__icontains** | **String**| Filter results where first_name contains value | [optional]
|
86
|
+
**first_name__iexact** | **String**| Filter results where first_name matches value | [optional]
|
87
|
+
**first_name__in** | [**Array<String>**](String.md)| Filter results where first_name is in a comma-separated list of values | [optional]
|
88
|
+
**is_active** | **Boolean**| Filter results where is_active matches value | [optional]
|
89
|
+
**is_staff** | **Boolean**| Filter results where is_staff matches value | [optional]
|
90
|
+
**last_name** | **String**| Filter results where last_name matches value | [optional]
|
91
|
+
**last_name__contains** | **String**| Filter results where last_name contains value | [optional]
|
92
|
+
**last_name__icontains** | **String**| Filter results where last_name contains value | [optional]
|
93
|
+
**last_name__iexact** | **String**| Filter results where last_name matches value | [optional]
|
94
|
+
**last_name__in** | [**Array<String>**](String.md)| Filter results where last_name is in a comma-separated list of values | [optional]
|
95
95
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
96
96
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
97
97
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
98
|
-
**username** | **String**| username | [optional]
|
99
|
-
**username__contains** | **String**|
|
100
|
-
**username__icontains** | **String**|
|
101
|
-
**username__iexact** | **String**|
|
102
|
-
**username__in** | **String
|
98
|
+
**username** | **String**| Filter results where username matches value | [optional]
|
99
|
+
**username__contains** | **String**| Filter results where username contains value | [optional]
|
100
|
+
**username__icontains** | **String**| Filter results where username contains value | [optional]
|
101
|
+
**username__iexact** | **String**| Filter results where username matches value | [optional]
|
102
|
+
**username__in** | [**Array<String>**](String.md)| Filter results where username is in a comma-separated list of values | [optional]
|
103
103
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
104
104
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
105
105
|
|
data/docs/WorkerResponse.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::WorkerResponse.new(
|
18
|
-
|
17
|
+
instance = PulpcoreClient::WorkerResponse.new(pulp_created: null,
|
18
|
+
pulp_href: null,
|
19
19
|
name: null,
|
20
20
|
last_heartbeat: null)
|
21
21
|
```
|
data/docs/WorkersApi.md
CHANGED
@@ -31,21 +31,21 @@ end
|
|
31
31
|
|
32
32
|
api_instance = PulpcoreClient::WorkersApi.new
|
33
33
|
opts = {
|
34
|
-
last_heartbeat: '
|
35
|
-
last_heartbeat__gt: '
|
36
|
-
last_heartbeat__gte: '
|
37
|
-
last_heartbeat__lt: '
|
38
|
-
last_heartbeat__lte: '
|
39
|
-
last_heartbeat__range: '
|
34
|
+
last_heartbeat: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
35
|
+
last_heartbeat__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat is greater than value
|
36
|
+
last_heartbeat__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat is greater than or equal to value
|
37
|
+
last_heartbeat__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat is less than value
|
38
|
+
last_heartbeat__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat is less than or equal to value
|
39
|
+
last_heartbeat__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where last_heartbeat is between two comma separated values
|
40
40
|
limit: 56, # Integer | Number of results to return per page.
|
41
|
-
missing:
|
42
|
-
name: 'name_example', # String |
|
43
|
-
name__contains: 'name__contains_example', # String |
|
44
|
-
name__icontains: 'name__icontains_example', # String |
|
45
|
-
name__in: 'name__in_example', # String |
|
46
|
-
name__startswith: 'name__startswith_example', # String |
|
41
|
+
missing: true, # Boolean |
|
42
|
+
name: 'name_example', # String |
|
43
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
44
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
45
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
46
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
47
47
|
offset: 56, # Integer | The initial index from which to return the results.
|
48
|
-
online:
|
48
|
+
online: true, # Boolean |
|
49
49
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
50
50
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
51
51
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -65,21 +65,21 @@ end
|
|
65
65
|
|
66
66
|
Name | Type | Description | Notes
|
67
67
|
------------- | ------------- | ------------- | -------------
|
68
|
-
**last_heartbeat** | **
|
69
|
-
**last_heartbeat__gt** | **
|
70
|
-
**last_heartbeat__gte** | **
|
71
|
-
**last_heartbeat__lt** | **
|
72
|
-
**last_heartbeat__lte** | **
|
73
|
-
**last_heartbeat__range** | **
|
68
|
+
**last_heartbeat** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
69
|
+
**last_heartbeat__gt** | **DateTime**| Filter results where last_heartbeat is greater than value | [optional]
|
70
|
+
**last_heartbeat__gte** | **DateTime**| Filter results where last_heartbeat is greater than or equal to value | [optional]
|
71
|
+
**last_heartbeat__lt** | **DateTime**| Filter results where last_heartbeat is less than value | [optional]
|
72
|
+
**last_heartbeat__lte** | **DateTime**| Filter results where last_heartbeat is less than or equal to value | [optional]
|
73
|
+
**last_heartbeat__range** | [**Array<DateTime>**](DateTime.md)| Filter results where last_heartbeat is between two comma separated values | [optional]
|
74
74
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
75
|
-
**missing** | **
|
76
|
-
**name** | **String**|
|
77
|
-
**name__contains** | **String**|
|
78
|
-
**name__icontains** | **String**|
|
79
|
-
**name__in** | **String
|
80
|
-
**name__startswith** | **String**|
|
75
|
+
**missing** | **Boolean**| | [optional]
|
76
|
+
**name** | **String**| | [optional]
|
77
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
78
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
79
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
80
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
81
81
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
82
|
-
**online** | **
|
82
|
+
**online** | **Boolean**| | [optional]
|
83
83
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
84
84
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
85
85
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
data/lib/pulpcore_client.rb
CHANGED
@@ -89,7 +89,7 @@ require 'pulpcore_client/models/worker_response'
|
|
89
89
|
require 'pulpcore_client/api/access_policies_api'
|
90
90
|
require 'pulpcore_client/api/artifacts_api'
|
91
91
|
require 'pulpcore_client/api/content_api'
|
92
|
-
require 'pulpcore_client/api/
|
92
|
+
require 'pulpcore_client/api/contentguards_api'
|
93
93
|
require 'pulpcore_client/api/exporters_core_exports_api'
|
94
94
|
require 'pulpcore_client/api/exporters_pulp_api'
|
95
95
|
require 'pulpcore_client/api/groups_api'
|
@@ -22,15 +22,15 @@ module PulpcoreClient
|
|
22
22
|
# List access policys
|
23
23
|
# ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [
|
25
|
+
# @option opts [Boolean] :customized
|
26
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
27
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
28
28
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
29
|
-
# @option opts [String] :viewset_name viewset_name
|
30
|
-
# @option opts [String] :viewset_name__contains
|
31
|
-
# @option opts [String] :viewset_name__icontains
|
32
|
-
# @option opts [String] :viewset_name__in
|
33
|
-
# @option opts [String] :viewset_name__startswith
|
29
|
+
# @option opts [String] :viewset_name Filter results where viewset_name matches value
|
30
|
+
# @option opts [String] :viewset_name__contains Filter results where viewset_name contains value
|
31
|
+
# @option opts [String] :viewset_name__icontains Filter results where viewset_name contains value
|
32
|
+
# @option opts [Array<String>] :viewset_name__in Filter results where viewset_name is in a comma-separated list of values
|
33
|
+
# @option opts [String] :viewset_name__startswith Filter results where viewset_name starts with value
|
34
34
|
# @option opts [String] :fields A list of fields to include in the response.
|
35
35
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
36
36
|
# @return [PaginatedAccessPolicyResponseList]
|
@@ -42,15 +42,15 @@ module PulpcoreClient
|
|
42
42
|
# List access policys
|
43
43
|
# ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
44
44
|
# @param [Hash] opts the optional parameters
|
45
|
-
# @option opts [
|
45
|
+
# @option opts [Boolean] :customized
|
46
46
|
# @option opts [Integer] :limit Number of results to return per page.
|
47
47
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
48
48
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
49
|
-
# @option opts [String] :viewset_name viewset_name
|
50
|
-
# @option opts [String] :viewset_name__contains
|
51
|
-
# @option opts [String] :viewset_name__icontains
|
52
|
-
# @option opts [String] :viewset_name__in
|
53
|
-
# @option opts [String] :viewset_name__startswith
|
49
|
+
# @option opts [String] :viewset_name Filter results where viewset_name matches value
|
50
|
+
# @option opts [String] :viewset_name__contains Filter results where viewset_name contains value
|
51
|
+
# @option opts [String] :viewset_name__icontains Filter results where viewset_name contains value
|
52
|
+
# @option opts [Array<String>] :viewset_name__in Filter results where viewset_name is in a comma-separated list of values
|
53
|
+
# @option opts [String] :viewset_name__startswith Filter results where viewset_name starts with value
|
54
54
|
# @option opts [String] :fields A list of fields to include in the response.
|
55
55
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
56
56
|
# @return [Array<(PaginatedAccessPolicyResponseList, Integer, Hash)>] PaginatedAccessPolicyResponseList data, response status code and response headers
|
@@ -70,7 +70,7 @@ module PulpcoreClient
|
|
70
70
|
query_params[:'viewset_name'] = opts[:'viewset_name'] if !opts[:'viewset_name'].nil?
|
71
71
|
query_params[:'viewset_name__contains'] = opts[:'viewset_name__contains'] if !opts[:'viewset_name__contains'].nil?
|
72
72
|
query_params[:'viewset_name__icontains'] = opts[:'viewset_name__icontains'] if !opts[:'viewset_name__icontains'].nil?
|
73
|
-
query_params[:'viewset_name__in'] = opts[:'viewset_name__in'] if !opts[:'viewset_name__in'].nil?
|
73
|
+
query_params[:'viewset_name__in'] = @api_client.build_collection_param(opts[:'viewset_name__in'], :csv) if !opts[:'viewset_name__in'].nil?
|
74
74
|
query_params[:'viewset_name__startswith'] = opts[:'viewset_name__startswith'] if !opts[:'viewset_name__startswith'].nil?
|
75
75
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
76
76
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
@@ -169,15 +169,15 @@ module PulpcoreClient
|
|
169
169
|
# 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.
|
170
170
|
# @param [Hash] opts the optional parameters
|
171
171
|
# @option opts [Integer] :limit Number of results to return per page.
|
172
|
-
# @option opts [String] :md5 md5
|
172
|
+
# @option opts [String] :md5 Filter results where md5 matches value
|
173
173
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
174
174
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
175
|
-
# @option opts [String] :repository_version
|
176
|
-
# @option opts [String] :sha1 sha1
|
177
|
-
# @option opts [String] :sha224 sha224
|
178
|
-
# @option opts [String] :sha256 sha256
|
179
|
-
# @option opts [String] :sha384 sha384
|
180
|
-
# @option opts [String] :sha512 sha512
|
175
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
176
|
+
# @option opts [String] :sha1 Filter results where sha1 matches value
|
177
|
+
# @option opts [String] :sha224 Filter results where sha224 matches value
|
178
|
+
# @option opts [String] :sha256 Filter results where sha256 matches value
|
179
|
+
# @option opts [String] :sha384 Filter results where sha384 matches value
|
180
|
+
# @option opts [String] :sha512 Filter results where sha512 matches value
|
181
181
|
# @option opts [String] :fields A list of fields to include in the response.
|
182
182
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
183
183
|
# @return [PaginatedArtifactResponseList]
|
@@ -190,15 +190,15 @@ module PulpcoreClient
|
|
190
190
|
# 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.
|
191
191
|
# @param [Hash] opts the optional parameters
|
192
192
|
# @option opts [Integer] :limit Number of results to return per page.
|
193
|
-
# @option opts [String] :md5 md5
|
193
|
+
# @option opts [String] :md5 Filter results where md5 matches value
|
194
194
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
195
195
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
196
|
-
# @option opts [String] :repository_version
|
197
|
-
# @option opts [String] :sha1 sha1
|
198
|
-
# @option opts [String] :sha224 sha224
|
199
|
-
# @option opts [String] :sha256 sha256
|
200
|
-
# @option opts [String] :sha384 sha384
|
201
|
-
# @option opts [String] :sha512 sha512
|
196
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
197
|
+
# @option opts [String] :sha1 Filter results where sha1 matches value
|
198
|
+
# @option opts [String] :sha224 Filter results where sha224 matches value
|
199
|
+
# @option opts [String] :sha256 Filter results where sha256 matches value
|
200
|
+
# @option opts [String] :sha384 Filter results where sha384 matches value
|
201
|
+
# @option opts [String] :sha512 Filter results where sha512 matches value
|
202
202
|
# @option opts [String] :fields A list of fields to include in the response.
|
203
203
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
204
204
|
# @return [Array<(PaginatedArtifactResponseList, Integer, Hash)>] PaginatedArtifactResponseList data, response status code and response headers
|
@@ -25,9 +25,9 @@ module PulpcoreClient
|
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
27
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
28
|
-
# @option opts [String] :repository_version
|
29
|
-
# @option opts [String] :repository_version_added
|
30
|
-
# @option opts [String] :repository_version_removed
|
28
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
29
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
30
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
31
|
# @option opts [String] :fields A list of fields to include in the response.
|
32
32
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
33
33
|
# @return [PaginatedMultipleArtifactContentResponseList]
|
@@ -42,9 +42,9 @@ module PulpcoreClient
|
|
42
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
43
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
44
44
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
45
|
-
# @option opts [String] :repository_version
|
46
|
-
# @option opts [String] :repository_version_added
|
47
|
-
# @option opts [String] :repository_version_removed
|
45
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
48
|
# @option opts [String] :fields A list of fields to include in the response.
|
49
49
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
50
50
|
# @return [Array<(PaginatedMultipleArtifactContentResponseList, Integer, Hash)>] PaginatedMultipleArtifactContentResponseList data, response status code and response headers
|
@@ -13,21 +13,21 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'cgi'
|
14
14
|
|
15
15
|
module PulpcoreClient
|
16
|
-
class
|
16
|
+
class ContentguardsApi
|
17
17
|
attr_accessor :api_client
|
18
18
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# List content guards
|
23
|
-
# Endpoint to list all
|
23
|
+
# Endpoint to list all contentguards.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
|
-
# @option opts [String] :name
|
27
|
-
# @option opts [String] :name__contains
|
28
|
-
# @option opts [String] :name__icontains
|
29
|
-
# @option opts [String] :name__in
|
30
|
-
# @option opts [String] :name__startswith
|
26
|
+
# @option opts [String] :name
|
27
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
28
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
29
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
30
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
31
31
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
32
32
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
33
33
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -39,14 +39,14 @@ module PulpcoreClient
|
|
39
39
|
end
|
40
40
|
|
41
41
|
# List content guards
|
42
|
-
# Endpoint to list all
|
42
|
+
# Endpoint to list all contentguards.
|
43
43
|
# @param [Hash] opts the optional parameters
|
44
44
|
# @option opts [Integer] :limit Number of results to return per page.
|
45
|
-
# @option opts [String] :name
|
46
|
-
# @option opts [String] :name__contains
|
47
|
-
# @option opts [String] :name__icontains
|
48
|
-
# @option opts [String] :name__in
|
49
|
-
# @option opts [String] :name__startswith
|
45
|
+
# @option opts [String] :name
|
46
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
47
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
48
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
49
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
50
50
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
51
51
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
52
52
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -54,10 +54,10 @@ module PulpcoreClient
|
|
54
54
|
# @return [Array<(PaginatedContentGuardResponseList, Integer, Hash)>] PaginatedContentGuardResponseList data, response status code and response headers
|
55
55
|
def list_with_http_info(opts = {})
|
56
56
|
if @api_client.config.debugging
|
57
|
-
@api_client.config.logger.debug 'Calling API:
|
57
|
+
@api_client.config.logger.debug 'Calling API: ContentguardsApi.list ...'
|
58
58
|
end
|
59
59
|
# resource path
|
60
|
-
local_var_path = '/pulp/api/v3/
|
60
|
+
local_var_path = '/pulp/api/v3/contentguards/'
|
61
61
|
|
62
62
|
# query parameters
|
63
63
|
query_params = opts[:query_params] || {}
|
@@ -65,7 +65,7 @@ module PulpcoreClient
|
|
65
65
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
66
66
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
67
67
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
68
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
68
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
69
69
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
70
70
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
71
71
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -100,7 +100,7 @@ module PulpcoreClient
|
|
100
100
|
|
101
101
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
102
102
|
if @api_client.config.debugging
|
103
|
-
@api_client.config.logger.debug "API called:
|
103
|
+
@api_client.config.logger.debug "API called: ContentguardsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
104
104
|
end
|
105
105
|
return data, status_code, headers
|
106
106
|
end
|
@@ -147,11 +147,11 @@ module PulpcoreClient
|
|
147
147
|
# ViewSet for viewing PulpExporters.
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
149
|
# @option opts [Integer] :limit Number of results to return per page.
|
150
|
-
# @option opts [String] :name
|
151
|
-
# @option opts [String] :name__contains
|
152
|
-
# @option opts [String] :name__icontains
|
153
|
-
# @option opts [String] :name__in
|
154
|
-
# @option opts [String] :name__startswith
|
150
|
+
# @option opts [String] :name
|
151
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
152
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
153
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
154
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
155
155
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
156
156
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
157
157
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -166,11 +166,11 @@ module PulpcoreClient
|
|
166
166
|
# ViewSet for viewing PulpExporters.
|
167
167
|
# @param [Hash] opts the optional parameters
|
168
168
|
# @option opts [Integer] :limit Number of results to return per page.
|
169
|
-
# @option opts [String] :name
|
170
|
-
# @option opts [String] :name__contains
|
171
|
-
# @option opts [String] :name__icontains
|
172
|
-
# @option opts [String] :name__in
|
173
|
-
# @option opts [String] :name__startswith
|
169
|
+
# @option opts [String] :name
|
170
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
171
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
172
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
173
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
174
174
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
175
175
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
176
176
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -189,7 +189,7 @@ module PulpcoreClient
|
|
189
189
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
190
190
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
191
191
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
192
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
192
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
193
193
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
194
194
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
195
195
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|