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
@@ -146,14 +146,14 @@ module PulpcoreClient
|
|
146
146
|
# List groups
|
147
147
|
# ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
|
-
# @option opts [
|
150
|
-
# @option opts [
|
149
|
+
# @option opts [Integer] :id Filter results where id matches value
|
150
|
+
# @option opts [Array<Integer>] :id__in Filter results where id is in a comma-separated list of values
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
-
# @option opts [String] :name name
|
153
|
-
# @option opts [String] :name__contains
|
154
|
-
# @option opts [String] :name__icontains
|
155
|
-
# @option opts [String] :name__iexact
|
156
|
-
# @option opts [String] :name__in
|
152
|
+
# @option opts [String] :name Filter results where name matches value
|
153
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
154
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
155
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
156
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
158
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
159
159
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -167,14 +167,14 @@ module PulpcoreClient
|
|
167
167
|
# List groups
|
168
168
|
# ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
169
169
|
# @param [Hash] opts the optional parameters
|
170
|
-
# @option opts [
|
171
|
-
# @option opts [
|
170
|
+
# @option opts [Integer] :id Filter results where id matches value
|
171
|
+
# @option opts [Array<Integer>] :id__in Filter results where id is in a comma-separated list of values
|
172
172
|
# @option opts [Integer] :limit Number of results to return per page.
|
173
|
-
# @option opts [String] :name name
|
174
|
-
# @option opts [String] :name__contains
|
175
|
-
# @option opts [String] :name__icontains
|
176
|
-
# @option opts [String] :name__iexact
|
177
|
-
# @option opts [String] :name__in
|
173
|
+
# @option opts [String] :name Filter results where name matches value
|
174
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
175
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
176
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
177
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
178
178
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
179
179
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
180
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -190,13 +190,13 @@ module PulpcoreClient
|
|
190
190
|
# query parameters
|
191
191
|
query_params = opts[:query_params] || {}
|
192
192
|
query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
|
193
|
-
query_params[:'id__in'] = opts[:'id__in'] if !opts[:'id__in'].nil?
|
193
|
+
query_params[:'id__in'] = @api_client.build_collection_param(opts[:'id__in'], :csv) if !opts[:'id__in'].nil?
|
194
194
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
195
195
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
196
196
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
197
197
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
198
198
|
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
199
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
199
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
200
200
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
201
201
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
202
202
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
@@ -147,11 +147,11 @@ module PulpcoreClient
|
|
147
147
|
# ViewSet for PulpImporters.
|
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 PulpImporters.
|
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?
|
@@ -23,14 +23,14 @@ module PulpcoreClient
|
|
23
23
|
# Endpoint to list all repositories.
|
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
|
-
# @option opts [String] :pulp_label_select
|
33
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
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 [PaginatedRepositoryResponseList]
|
@@ -43,14 +43,14 @@ module PulpcoreClient
|
|
43
43
|
# Endpoint to list all repositories.
|
44
44
|
# @param [Hash] opts the optional parameters
|
45
45
|
# @option opts [Integer] :limit Number of results to return per page.
|
46
|
-
# @option opts [String] :name
|
47
|
-
# @option opts [String] :name__contains
|
48
|
-
# @option opts [String] :name__icontains
|
49
|
-
# @option opts [String] :name__in
|
50
|
-
# @option opts [String] :name__startswith
|
46
|
+
# @option opts [String] :name
|
47
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
48
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
49
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
50
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
51
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
52
52
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
53
|
-
# @option opts [String] :pulp_label_select
|
53
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
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<(PaginatedRepositoryResponseList, Integer, Hash)>] PaginatedRepositoryResponseList data, response status code and response headers
|
@@ -67,7 +67,7 @@ module PulpcoreClient
|
|
67
67
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
68
68
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
69
69
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
70
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
70
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
71
71
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
72
72
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
73
73
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -23,7 +23,7 @@ module PulpcoreClient
|
|
23
23
|
# A ViewSet that supports browsing of existing signing services.
|
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
|
26
|
+
# @option opts [String] :name
|
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
29
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -38,7 +38,7 @@ module PulpcoreClient
|
|
38
38
|
# A ViewSet that supports browsing of existing signing services.
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
41
|
-
# @option opts [String] :name
|
41
|
+
# @option opts [String] :name
|
42
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
43
43
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
44
44
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -82,32 +82,32 @@ module PulpcoreClient
|
|
82
82
|
# List tasks
|
83
83
|
# 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.
|
84
84
|
# @param [Hash] opts the optional parameters
|
85
|
-
# @option opts [String] :child_tasks
|
86
|
-
# @option opts [String] :created_resources
|
87
|
-
# @option opts [
|
88
|
-
# @option opts [
|
89
|
-
# @option opts [
|
90
|
-
# @option opts [
|
91
|
-
# @option opts [
|
92
|
-
# @option opts [
|
85
|
+
# @option opts [String] :child_tasks Foreign Key referenced by HREF
|
86
|
+
# @option opts [String] :created_resources
|
87
|
+
# @option opts [DateTime] :finished_at ISO 8601 formatted dates are supported
|
88
|
+
# @option opts [DateTime] :finished_at__gt Filter results where finished_at is greater than value
|
89
|
+
# @option opts [DateTime] :finished_at__gte Filter results where finished_at is greater than or equal to value
|
90
|
+
# @option opts [DateTime] :finished_at__lt Filter results where finished_at is less than value
|
91
|
+
# @option opts [DateTime] :finished_at__lte Filter results where finished_at is less than or equal to value
|
92
|
+
# @option opts [Array<DateTime>] :finished_at__range Filter results where finished_at is between two comma separated values
|
93
93
|
# @option opts [Integer] :limit Number of results to return per page.
|
94
|
-
# @option opts [String] :name
|
95
|
-
# @option opts [String] :name__contains
|
94
|
+
# @option opts [String] :name
|
95
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
96
96
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
97
97
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
98
|
-
# @option opts [String] :parent_task
|
99
|
-
# @option opts [String] :reserved_resources_record
|
100
|
-
# @option opts [
|
101
|
-
# @option opts [
|
102
|
-
# @option opts [
|
103
|
-
# @option opts [
|
104
|
-
# @option opts [
|
105
|
-
# @option opts [
|
106
|
-
# @option opts [String] :state
|
107
|
-
# @option opts [String] :state__in
|
108
|
-
# @option opts [String] :task_group
|
109
|
-
# @option opts [String] :worker
|
110
|
-
# @option opts [String] :worker__in
|
98
|
+
# @option opts [String] :parent_task Foreign Key referenced by HREF
|
99
|
+
# @option opts [String] :reserved_resources_record
|
100
|
+
# @option opts [DateTime] :started_at ISO 8601 formatted dates are supported
|
101
|
+
# @option opts [DateTime] :started_at__gt Filter results where started_at is greater than value
|
102
|
+
# @option opts [DateTime] :started_at__gte Filter results where started_at is greater than or equal to value
|
103
|
+
# @option opts [DateTime] :started_at__lt Filter results where started_at is less than value
|
104
|
+
# @option opts [DateTime] :started_at__lte Filter results where started_at is less than or equal to value
|
105
|
+
# @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
|
106
|
+
# @option opts [String] :state
|
107
|
+
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
108
|
+
# @option opts [String] :task_group Foreign Key referenced by HREF
|
109
|
+
# @option opts [String] :worker Foreign Key referenced by HREF
|
110
|
+
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
111
111
|
# @option opts [String] :fields A list of fields to include in the response.
|
112
112
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
113
113
|
# @return [PaginatedTaskResponseList]
|
@@ -119,32 +119,32 @@ module PulpcoreClient
|
|
119
119
|
# List tasks
|
120
120
|
# 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.
|
121
121
|
# @param [Hash] opts the optional parameters
|
122
|
-
# @option opts [String] :child_tasks
|
123
|
-
# @option opts [String] :created_resources
|
124
|
-
# @option opts [
|
125
|
-
# @option opts [
|
126
|
-
# @option opts [
|
127
|
-
# @option opts [
|
128
|
-
# @option opts [
|
129
|
-
# @option opts [
|
122
|
+
# @option opts [String] :child_tasks Foreign Key referenced by HREF
|
123
|
+
# @option opts [String] :created_resources
|
124
|
+
# @option opts [DateTime] :finished_at ISO 8601 formatted dates are supported
|
125
|
+
# @option opts [DateTime] :finished_at__gt Filter results where finished_at is greater than value
|
126
|
+
# @option opts [DateTime] :finished_at__gte Filter results where finished_at is greater than or equal to value
|
127
|
+
# @option opts [DateTime] :finished_at__lt Filter results where finished_at is less than value
|
128
|
+
# @option opts [DateTime] :finished_at__lte Filter results where finished_at is less than or equal to value
|
129
|
+
# @option opts [Array<DateTime>] :finished_at__range Filter results where finished_at is between two comma separated values
|
130
130
|
# @option opts [Integer] :limit Number of results to return per page.
|
131
|
-
# @option opts [String] :name
|
132
|
-
# @option opts [String] :name__contains
|
131
|
+
# @option opts [String] :name
|
132
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
133
133
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
134
134
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
135
|
-
# @option opts [String] :parent_task
|
136
|
-
# @option opts [String] :reserved_resources_record
|
137
|
-
# @option opts [
|
138
|
-
# @option opts [
|
139
|
-
# @option opts [
|
140
|
-
# @option opts [
|
141
|
-
# @option opts [
|
142
|
-
# @option opts [
|
143
|
-
# @option opts [String] :state
|
144
|
-
# @option opts [String] :state__in
|
145
|
-
# @option opts [String] :task_group
|
146
|
-
# @option opts [String] :worker
|
147
|
-
# @option opts [String] :worker__in
|
135
|
+
# @option opts [String] :parent_task Foreign Key referenced by HREF
|
136
|
+
# @option opts [String] :reserved_resources_record
|
137
|
+
# @option opts [DateTime] :started_at ISO 8601 formatted dates are supported
|
138
|
+
# @option opts [DateTime] :started_at__gt Filter results where started_at is greater than value
|
139
|
+
# @option opts [DateTime] :started_at__gte Filter results where started_at is greater than or equal to value
|
140
|
+
# @option opts [DateTime] :started_at__lt Filter results where started_at is less than value
|
141
|
+
# @option opts [DateTime] :started_at__lte Filter results where started_at is less than or equal to value
|
142
|
+
# @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
|
143
|
+
# @option opts [String] :state
|
144
|
+
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
145
|
+
# @option opts [String] :task_group Foreign Key referenced by HREF
|
146
|
+
# @option opts [String] :worker Foreign Key referenced by HREF
|
147
|
+
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
148
148
|
# @option opts [String] :fields A list of fields to include in the response.
|
149
149
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
150
150
|
# @return [Array<(PaginatedTaskResponseList, Integer, Hash)>] PaginatedTaskResponseList data, response status code and response headers
|
@@ -152,6 +152,14 @@ module PulpcoreClient
|
|
152
152
|
if @api_client.config.debugging
|
153
153
|
@api_client.config.logger.debug 'Calling API: TasksApi.list ...'
|
154
154
|
end
|
155
|
+
allowable_values = ["canceled", "completed", "failed", "running", "skipped", "waiting"]
|
156
|
+
if @api_client.config.client_side_validation && opts[:'state'] && !allowable_values.include?(opts[:'state'])
|
157
|
+
fail ArgumentError, "invalid value for \"state\", must be one of #{allowable_values}"
|
158
|
+
end
|
159
|
+
allowable_values = ["canceled", "completed", "failed", "running", "skipped", "waiting"]
|
160
|
+
if @api_client.config.client_side_validation && opts[:'state__in'] && !opts[:'state__in'].all? { |item| allowable_values.include?(item) }
|
161
|
+
fail ArgumentError, "invalid value for \"state__in\", must include one of #{allowable_values}"
|
162
|
+
end
|
155
163
|
# resource path
|
156
164
|
local_var_path = '/pulp/api/v3/tasks/'
|
157
165
|
|
@@ -164,7 +172,7 @@ module PulpcoreClient
|
|
164
172
|
query_params[:'finished_at__gte'] = opts[:'finished_at__gte'] if !opts[:'finished_at__gte'].nil?
|
165
173
|
query_params[:'finished_at__lt'] = opts[:'finished_at__lt'] if !opts[:'finished_at__lt'].nil?
|
166
174
|
query_params[:'finished_at__lte'] = opts[:'finished_at__lte'] if !opts[:'finished_at__lte'].nil?
|
167
|
-
query_params[:'finished_at__range'] = opts[:'finished_at__range'] if !opts[:'finished_at__range'].nil?
|
175
|
+
query_params[:'finished_at__range'] = @api_client.build_collection_param(opts[:'finished_at__range'], :csv) if !opts[:'finished_at__range'].nil?
|
168
176
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
169
177
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
170
178
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
@@ -177,12 +185,12 @@ module PulpcoreClient
|
|
177
185
|
query_params[:'started_at__gte'] = opts[:'started_at__gte'] if !opts[:'started_at__gte'].nil?
|
178
186
|
query_params[:'started_at__lt'] = opts[:'started_at__lt'] if !opts[:'started_at__lt'].nil?
|
179
187
|
query_params[:'started_at__lte'] = opts[:'started_at__lte'] if !opts[:'started_at__lte'].nil?
|
180
|
-
query_params[:'started_at__range'] = opts[:'started_at__range'] if !opts[:'started_at__range'].nil?
|
188
|
+
query_params[:'started_at__range'] = @api_client.build_collection_param(opts[:'started_at__range'], :csv) if !opts[:'started_at__range'].nil?
|
181
189
|
query_params[:'state'] = opts[:'state'] if !opts[:'state'].nil?
|
182
|
-
query_params[:'state__in'] = opts[:'state__in'] if !opts[:'state__in'].nil?
|
190
|
+
query_params[:'state__in'] = @api_client.build_collection_param(opts[:'state__in'], :csv) if !opts[:'state__in'].nil?
|
183
191
|
query_params[:'task_group'] = opts[:'task_group'] if !opts[:'task_group'].nil?
|
184
192
|
query_params[:'worker'] = opts[:'worker'] if !opts[:'worker'].nil?
|
185
|
-
query_params[:'worker__in'] = opts[:'worker__in'] if !opts[:'worker__in'].nil?
|
193
|
+
query_params[:'worker__in'] = @api_client.build_collection_param(opts[:'worker__in'], :csv) if !opts[:'worker__in'].nil?
|
186
194
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
187
195
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
188
196
|
|
@@ -22,31 +22,31 @@ module PulpcoreClient
|
|
22
22
|
# List users
|
23
23
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :email email
|
26
|
-
# @option opts [String] :email__contains
|
27
|
-
# @option opts [String] :email__icontains
|
28
|
-
# @option opts [String] :email__iexact
|
29
|
-
# @option opts [String] :email__in
|
30
|
-
# @option opts [String] :first_name first_name
|
31
|
-
# @option opts [String] :first_name__contains
|
32
|
-
# @option opts [String] :first_name__icontains
|
33
|
-
# @option opts [String] :first_name__iexact
|
34
|
-
# @option opts [String] :first_name__in
|
35
|
-
# @option opts [
|
36
|
-
# @option opts [
|
37
|
-
# @option opts [String] :last_name last_name
|
38
|
-
# @option opts [String] :last_name__contains
|
39
|
-
# @option opts [String] :last_name__icontains
|
40
|
-
# @option opts [String] :last_name__iexact
|
41
|
-
# @option opts [String] :last_name__in
|
25
|
+
# @option opts [String] :email Filter results where email matches value
|
26
|
+
# @option opts [String] :email__contains Filter results where email contains value
|
27
|
+
# @option opts [String] :email__icontains Filter results where email contains value
|
28
|
+
# @option opts [String] :email__iexact Filter results where email matches value
|
29
|
+
# @option opts [Array<String>] :email__in Filter results where email is in a comma-separated list of values
|
30
|
+
# @option opts [String] :first_name Filter results where first_name matches value
|
31
|
+
# @option opts [String] :first_name__contains Filter results where first_name contains value
|
32
|
+
# @option opts [String] :first_name__icontains Filter results where first_name contains value
|
33
|
+
# @option opts [String] :first_name__iexact Filter results where first_name matches value
|
34
|
+
# @option opts [Array<String>] :first_name__in Filter results where first_name is in a comma-separated list of values
|
35
|
+
# @option opts [Boolean] :is_active Filter results where is_active matches value
|
36
|
+
# @option opts [Boolean] :is_staff Filter results where is_staff matches value
|
37
|
+
# @option opts [String] :last_name Filter results where last_name matches value
|
38
|
+
# @option opts [String] :last_name__contains Filter results where last_name contains value
|
39
|
+
# @option opts [String] :last_name__icontains Filter results where last_name contains value
|
40
|
+
# @option opts [String] :last_name__iexact Filter results where last_name matches value
|
41
|
+
# @option opts [Array<String>] :last_name__in Filter results where last_name is in a comma-separated list of values
|
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] :username username
|
46
|
-
# @option opts [String] :username__contains
|
47
|
-
# @option opts [String] :username__icontains
|
48
|
-
# @option opts [String] :username__iexact
|
49
|
-
# @option opts [String] :username__in
|
45
|
+
# @option opts [String] :username Filter results where username matches value
|
46
|
+
# @option opts [String] :username__contains Filter results where username contains value
|
47
|
+
# @option opts [String] :username__icontains Filter results where username contains value
|
48
|
+
# @option opts [String] :username__iexact Filter results where username matches value
|
49
|
+
# @option opts [Array<String>] :username__in Filter results where username is in a comma-separated list of values
|
50
50
|
# @option opts [String] :fields A list of fields to include in the response.
|
51
51
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
52
52
|
# @return [PaginatedUserResponseList]
|
@@ -58,31 +58,31 @@ module PulpcoreClient
|
|
58
58
|
# List users
|
59
59
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
|
-
# @option opts [String] :email email
|
62
|
-
# @option opts [String] :email__contains
|
63
|
-
# @option opts [String] :email__icontains
|
64
|
-
# @option opts [String] :email__iexact
|
65
|
-
# @option opts [String] :email__in
|
66
|
-
# @option opts [String] :first_name first_name
|
67
|
-
# @option opts [String] :first_name__contains
|
68
|
-
# @option opts [String] :first_name__icontains
|
69
|
-
# @option opts [String] :first_name__iexact
|
70
|
-
# @option opts [String] :first_name__in
|
71
|
-
# @option opts [
|
72
|
-
# @option opts [
|
73
|
-
# @option opts [String] :last_name last_name
|
74
|
-
# @option opts [String] :last_name__contains
|
75
|
-
# @option opts [String] :last_name__icontains
|
76
|
-
# @option opts [String] :last_name__iexact
|
77
|
-
# @option opts [String] :last_name__in
|
61
|
+
# @option opts [String] :email Filter results where email matches value
|
62
|
+
# @option opts [String] :email__contains Filter results where email contains value
|
63
|
+
# @option opts [String] :email__icontains Filter results where email contains value
|
64
|
+
# @option opts [String] :email__iexact Filter results where email matches value
|
65
|
+
# @option opts [Array<String>] :email__in Filter results where email is in a comma-separated list of values
|
66
|
+
# @option opts [String] :first_name Filter results where first_name matches value
|
67
|
+
# @option opts [String] :first_name__contains Filter results where first_name contains value
|
68
|
+
# @option opts [String] :first_name__icontains Filter results where first_name contains value
|
69
|
+
# @option opts [String] :first_name__iexact Filter results where first_name matches value
|
70
|
+
# @option opts [Array<String>] :first_name__in Filter results where first_name is in a comma-separated list of values
|
71
|
+
# @option opts [Boolean] :is_active Filter results where is_active matches value
|
72
|
+
# @option opts [Boolean] :is_staff Filter results where is_staff matches value
|
73
|
+
# @option opts [String] :last_name Filter results where last_name matches value
|
74
|
+
# @option opts [String] :last_name__contains Filter results where last_name contains value
|
75
|
+
# @option opts [String] :last_name__icontains Filter results where last_name contains value
|
76
|
+
# @option opts [String] :last_name__iexact Filter results where last_name matches value
|
77
|
+
# @option opts [Array<String>] :last_name__in Filter results where last_name is in a comma-separated list of values
|
78
78
|
# @option opts [Integer] :limit Number of results to return per page.
|
79
79
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
80
80
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
81
|
-
# @option opts [String] :username username
|
82
|
-
# @option opts [String] :username__contains
|
83
|
-
# @option opts [String] :username__icontains
|
84
|
-
# @option opts [String] :username__iexact
|
85
|
-
# @option opts [String] :username__in
|
81
|
+
# @option opts [String] :username Filter results where username matches value
|
82
|
+
# @option opts [String] :username__contains Filter results where username contains value
|
83
|
+
# @option opts [String] :username__icontains Filter results where username contains value
|
84
|
+
# @option opts [String] :username__iexact Filter results where username matches value
|
85
|
+
# @option opts [Array<String>] :username__in Filter results where username is in a comma-separated list of values
|
86
86
|
# @option opts [String] :fields A list of fields to include in the response.
|
87
87
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
88
88
|
# @return [Array<(PaginatedUserResponseList, Integer, Hash)>] PaginatedUserResponseList data, response status code and response headers
|
@@ -99,19 +99,19 @@ module PulpcoreClient
|
|
99
99
|
query_params[:'email__contains'] = opts[:'email__contains'] if !opts[:'email__contains'].nil?
|
100
100
|
query_params[:'email__icontains'] = opts[:'email__icontains'] if !opts[:'email__icontains'].nil?
|
101
101
|
query_params[:'email__iexact'] = opts[:'email__iexact'] if !opts[:'email__iexact'].nil?
|
102
|
-
query_params[:'email__in'] = opts[:'email__in'] if !opts[:'email__in'].nil?
|
102
|
+
query_params[:'email__in'] = @api_client.build_collection_param(opts[:'email__in'], :csv) if !opts[:'email__in'].nil?
|
103
103
|
query_params[:'first_name'] = opts[:'first_name'] if !opts[:'first_name'].nil?
|
104
104
|
query_params[:'first_name__contains'] = opts[:'first_name__contains'] if !opts[:'first_name__contains'].nil?
|
105
105
|
query_params[:'first_name__icontains'] = opts[:'first_name__icontains'] if !opts[:'first_name__icontains'].nil?
|
106
106
|
query_params[:'first_name__iexact'] = opts[:'first_name__iexact'] if !opts[:'first_name__iexact'].nil?
|
107
|
-
query_params[:'first_name__in'] = opts[:'first_name__in'] if !opts[:'first_name__in'].nil?
|
107
|
+
query_params[:'first_name__in'] = @api_client.build_collection_param(opts[:'first_name__in'], :csv) if !opts[:'first_name__in'].nil?
|
108
108
|
query_params[:'is_active'] = opts[:'is_active'] if !opts[:'is_active'].nil?
|
109
109
|
query_params[:'is_staff'] = opts[:'is_staff'] if !opts[:'is_staff'].nil?
|
110
110
|
query_params[:'last_name'] = opts[:'last_name'] if !opts[:'last_name'].nil?
|
111
111
|
query_params[:'last_name__contains'] = opts[:'last_name__contains'] if !opts[:'last_name__contains'].nil?
|
112
112
|
query_params[:'last_name__icontains'] = opts[:'last_name__icontains'] if !opts[:'last_name__icontains'].nil?
|
113
113
|
query_params[:'last_name__iexact'] = opts[:'last_name__iexact'] if !opts[:'last_name__iexact'].nil?
|
114
|
-
query_params[:'last_name__in'] = opts[:'last_name__in'] if !opts[:'last_name__in'].nil?
|
114
|
+
query_params[:'last_name__in'] = @api_client.build_collection_param(opts[:'last_name__in'], :csv) if !opts[:'last_name__in'].nil?
|
115
115
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
116
116
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
117
117
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -119,7 +119,7 @@ module PulpcoreClient
|
|
119
119
|
query_params[:'username__contains'] = opts[:'username__contains'] if !opts[:'username__contains'].nil?
|
120
120
|
query_params[:'username__icontains'] = opts[:'username__icontains'] if !opts[:'username__icontains'].nil?
|
121
121
|
query_params[:'username__iexact'] = opts[:'username__iexact'] if !opts[:'username__iexact'].nil?
|
122
|
-
query_params[:'username__in'] = opts[:'username__in'] if !opts[:'username__in'].nil?
|
122
|
+
query_params[:'username__in'] = @api_client.build_collection_param(opts[:'username__in'], :csv) if !opts[:'username__in'].nil?
|
123
123
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
124
124
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
125
125
|
|