pulpcore_client 3.11.0.dev01613446453 → 3.11.0.dev01613878485

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.

Potentially problematic release.


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

Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -11
  3. data/docs/AccessPoliciesApi.md +12 -12
  4. data/docs/ArtifactsApi.md +14 -14
  5. data/docs/ContentApi.md +6 -6
  6. data/docs/{ContentGuardsApi.md → ContentguardsApi.md} +15 -15
  7. data/docs/ExportersPulpApi.md +10 -10
  8. data/docs/GroupsApi.md +14 -14
  9. data/docs/ImportersPulpApi.md +10 -10
  10. data/docs/RepositoriesApi.md +12 -12
  11. data/docs/SigningServicesApi.md +2 -2
  12. data/docs/TasksApi.md +46 -46
  13. data/docs/UsersApi.md +44 -44
  14. data/docs/WorkersApi.md +26 -26
  15. data/lib/pulpcore_client.rb +1 -1
  16. data/lib/pulpcore_client/api/access_policies_api.rb +13 -13
  17. data/lib/pulpcore_client/api/artifacts_api.rb +14 -14
  18. data/lib/pulpcore_client/api/content_api.rb +6 -6
  19. data/lib/pulpcore_client/api/{content_guards_api.rb → contentguards_api.rb} +17 -17
  20. data/lib/pulpcore_client/api/exporters_pulp_api.rb +11 -11
  21. data/lib/pulpcore_client/api/groups_api.rb +16 -16
  22. data/lib/pulpcore_client/api/importers_pulp_api.rb +11 -11
  23. data/lib/pulpcore_client/api/repositories_api.rb +13 -13
  24. data/lib/pulpcore_client/api/signing_services_api.rb +2 -2
  25. data/lib/pulpcore_client/api/tasks_api.rb +58 -50
  26. data/lib/pulpcore_client/api/users_api.rb +48 -48
  27. data/lib/pulpcore_client/api/workers_api.rb +28 -28
  28. data/lib/pulpcore_client/version.rb +1 -1
  29. data/spec/api/access_policies_api_spec.rb +6 -6
  30. data/spec/api/artifacts_api_spec.rb +7 -7
  31. data/spec/api/content_api_spec.rb +3 -3
  32. data/spec/api/{content_guards_api_spec.rb → contentguards_api_spec.rb} +12 -12
  33. data/spec/api/exporters_pulp_api_spec.rb +5 -5
  34. data/spec/api/groups_api_spec.rb +7 -7
  35. data/spec/api/importers_pulp_api_spec.rb +5 -5
  36. data/spec/api/repositories_api_spec.rb +6 -6
  37. data/spec/api/signing_services_api_spec.rb +1 -1
  38. data/spec/api/tasks_api_spec.rb +23 -23
  39. data/spec/api/users_api_spec.rb +22 -22
  40. data/spec/api/workers_api_spec.rb +13 -13
  41. metadata +6 -6
@@ -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 name
151
- # @option opts [String] :name__contains name__contains
152
- # @option opts [String] :name__icontains name__icontains
153
- # @option opts [String] :name__in name__in
154
- # @option opts [String] :name__startswith 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 name
170
- # @option opts [String] :name__contains name__contains
171
- # @option opts [String] :name__icontains name__icontains
172
- # @option opts [String] :name__in name__in
173
- # @option opts [String] :name__startswith 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 name
27
- # @option opts [String] :name__contains name__contains
28
- # @option opts [String] :name__icontains name__icontains
29
- # @option opts [String] :name__in name__in
30
- # @option opts [String] :name__startswith 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 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 name
47
- # @option opts [String] :name__contains name__contains
48
- # @option opts [String] :name__icontains name__icontains
49
- # @option opts [String] :name__in name__in
50
- # @option opts [String] :name__startswith 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 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 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 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 child_tasks
86
- # @option opts [String] :created_resources created_resources
87
- # @option opts [String] :finished_at finished_at
88
- # @option opts [String] :finished_at__gt finished_at__gt
89
- # @option opts [String] :finished_at__gte finished_at__gte
90
- # @option opts [String] :finished_at__lt finished_at__lt
91
- # @option opts [String] :finished_at__lte finished_at__lte
92
- # @option opts [String] :finished_at__range finished_at__range
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 name
95
- # @option opts [String] :name__contains 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 parent_task
99
- # @option opts [String] :reserved_resources_record reserved_resources_record
100
- # @option opts [String] :started_at started_at
101
- # @option opts [String] :started_at__gt started_at__gt
102
- # @option opts [String] :started_at__gte started_at__gte
103
- # @option opts [String] :started_at__lt started_at__lt
104
- # @option opts [String] :started_at__lte started_at__lte
105
- # @option opts [String] :started_at__range started_at__range
106
- # @option opts [String] :state state
107
- # @option opts [String] :state__in state__in
108
- # @option opts [String] :task_group task_group
109
- # @option opts [String] :worker worker
110
- # @option opts [String] :worker__in 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. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; 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 &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; 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&#39;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 child_tasks
123
- # @option opts [String] :created_resources created_resources
124
- # @option opts [String] :finished_at finished_at
125
- # @option opts [String] :finished_at__gt finished_at__gt
126
- # @option opts [String] :finished_at__gte finished_at__gte
127
- # @option opts [String] :finished_at__lt finished_at__lt
128
- # @option opts [String] :finished_at__lte finished_at__lte
129
- # @option opts [String] :finished_at__range finished_at__range
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 name
132
- # @option opts [String] :name__contains 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 parent_task
136
- # @option opts [String] :reserved_resources_record reserved_resources_record
137
- # @option opts [String] :started_at started_at
138
- # @option opts [String] :started_at__gt started_at__gt
139
- # @option opts [String] :started_at__gte started_at__gte
140
- # @option opts [String] :started_at__lt started_at__lt
141
- # @option opts [String] :started_at__lte started_at__lte
142
- # @option opts [String] :started_at__range started_at__range
143
- # @option opts [String] :state state
144
- # @option opts [String] :state__in state__in
145
- # @option opts [String] :task_group task_group
146
- # @option opts [String] :worker worker
147
- # @option opts [String] :worker__in 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 email__contains
27
- # @option opts [String] :email__icontains email__icontains
28
- # @option opts [String] :email__iexact email__iexact
29
- # @option opts [String] :email__in email__in
30
- # @option opts [String] :first_name first_name
31
- # @option opts [String] :first_name__contains first_name__contains
32
- # @option opts [String] :first_name__icontains first_name__icontains
33
- # @option opts [String] :first_name__iexact first_name__iexact
34
- # @option opts [String] :first_name__in first_name__in
35
- # @option opts [String] :is_active is_active
36
- # @option opts [String] :is_staff is_staff
37
- # @option opts [String] :last_name last_name
38
- # @option opts [String] :last_name__contains last_name__contains
39
- # @option opts [String] :last_name__icontains last_name__icontains
40
- # @option opts [String] :last_name__iexact last_name__iexact
41
- # @option opts [String] :last_name__in 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 username__contains
47
- # @option opts [String] :username__icontains username__icontains
48
- # @option opts [String] :username__iexact username__iexact
49
- # @option opts [String] :username__in 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 \&quot;tech preview\&quot; and subject to change
60
60
  # @param [Hash] opts the optional parameters
61
- # @option opts [String] :email email
62
- # @option opts [String] :email__contains email__contains
63
- # @option opts [String] :email__icontains email__icontains
64
- # @option opts [String] :email__iexact email__iexact
65
- # @option opts [String] :email__in email__in
66
- # @option opts [String] :first_name first_name
67
- # @option opts [String] :first_name__contains first_name__contains
68
- # @option opts [String] :first_name__icontains first_name__icontains
69
- # @option opts [String] :first_name__iexact first_name__iexact
70
- # @option opts [String] :first_name__in first_name__in
71
- # @option opts [String] :is_active is_active
72
- # @option opts [String] :is_staff is_staff
73
- # @option opts [String] :last_name last_name
74
- # @option opts [String] :last_name__contains last_name__contains
75
- # @option opts [String] :last_name__icontains last_name__icontains
76
- # @option opts [String] :last_name__iexact last_name__iexact
77
- # @option opts [String] :last_name__in 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 username__contains
83
- # @option opts [String] :username__icontains username__icontains
84
- # @option opts [String] :username__iexact username__iexact
85
- # @option opts [String] :username__in 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
 
@@ -22,21 +22,21 @@ module PulpcoreClient
22
22
  # List workers
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
- # @option opts [String] :last_heartbeat last_heartbeat
26
- # @option opts [String] :last_heartbeat__gt last_heartbeat__gt
27
- # @option opts [String] :last_heartbeat__gte last_heartbeat__gte
28
- # @option opts [String] :last_heartbeat__lt last_heartbeat__lt
29
- # @option opts [String] :last_heartbeat__lte last_heartbeat__lte
30
- # @option opts [String] :last_heartbeat__range last_heartbeat__range
25
+ # @option opts [DateTime] :last_heartbeat ISO 8601 formatted dates are supported
26
+ # @option opts [DateTime] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
27
+ # @option opts [DateTime] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
28
+ # @option opts [DateTime] :last_heartbeat__lt Filter results where last_heartbeat is less than value
29
+ # @option opts [DateTime] :last_heartbeat__lte Filter results where last_heartbeat is less than or equal to value
30
+ # @option opts [Array<DateTime>] :last_heartbeat__range Filter results where last_heartbeat is between two comma separated values
31
31
  # @option opts [Integer] :limit Number of results to return per page.
32
- # @option opts [String] :missing missing
33
- # @option opts [String] :name name
34
- # @option opts [String] :name__contains name__contains
35
- # @option opts [String] :name__icontains name__icontains
36
- # @option opts [String] :name__in name__in
37
- # @option opts [String] :name__startswith name__startswith
32
+ # @option opts [Boolean] :missing
33
+ # @option opts [String] :name
34
+ # @option opts [String] :name__contains Filter results where name contains value
35
+ # @option opts [String] :name__icontains Filter results where name contains value
36
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
37
+ # @option opts [String] :name__startswith Filter results where name starts with value
38
38
  # @option opts [Integer] :offset The initial index from which to return the results.
39
- # @option opts [String] :online online
39
+ # @option opts [Boolean] :online
40
40
  # @option opts [String] :ordering Which field to use when ordering the results.
41
41
  # @option opts [String] :fields A list of fields to include in the response.
42
42
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -49,21 +49,21 @@ module PulpcoreClient
49
49
  # List workers
50
50
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; 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 &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; 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&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
51
51
  # @param [Hash] opts the optional parameters
52
- # @option opts [String] :last_heartbeat last_heartbeat
53
- # @option opts [String] :last_heartbeat__gt last_heartbeat__gt
54
- # @option opts [String] :last_heartbeat__gte last_heartbeat__gte
55
- # @option opts [String] :last_heartbeat__lt last_heartbeat__lt
56
- # @option opts [String] :last_heartbeat__lte last_heartbeat__lte
57
- # @option opts [String] :last_heartbeat__range last_heartbeat__range
52
+ # @option opts [DateTime] :last_heartbeat ISO 8601 formatted dates are supported
53
+ # @option opts [DateTime] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
54
+ # @option opts [DateTime] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
55
+ # @option opts [DateTime] :last_heartbeat__lt Filter results where last_heartbeat is less than value
56
+ # @option opts [DateTime] :last_heartbeat__lte Filter results where last_heartbeat is less than or equal to value
57
+ # @option opts [Array<DateTime>] :last_heartbeat__range Filter results where last_heartbeat is between two comma separated values
58
58
  # @option opts [Integer] :limit Number of results to return per page.
59
- # @option opts [String] :missing missing
60
- # @option opts [String] :name name
61
- # @option opts [String] :name__contains name__contains
62
- # @option opts [String] :name__icontains name__icontains
63
- # @option opts [String] :name__in name__in
64
- # @option opts [String] :name__startswith name__startswith
59
+ # @option opts [Boolean] :missing
60
+ # @option opts [String] :name
61
+ # @option opts [String] :name__contains Filter results where name contains value
62
+ # @option opts [String] :name__icontains Filter results where name contains value
63
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
64
+ # @option opts [String] :name__startswith Filter results where name starts with value
65
65
  # @option opts [Integer] :offset The initial index from which to return the results.
66
- # @option opts [String] :online online
66
+ # @option opts [Boolean] :online
67
67
  # @option opts [String] :ordering Which field to use when ordering the results.
68
68
  # @option opts [String] :fields A list of fields to include in the response.
69
69
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -82,13 +82,13 @@ module PulpcoreClient
82
82
  query_params[:'last_heartbeat__gte'] = opts[:'last_heartbeat__gte'] if !opts[:'last_heartbeat__gte'].nil?
83
83
  query_params[:'last_heartbeat__lt'] = opts[:'last_heartbeat__lt'] if !opts[:'last_heartbeat__lt'].nil?
84
84
  query_params[:'last_heartbeat__lte'] = opts[:'last_heartbeat__lte'] if !opts[:'last_heartbeat__lte'].nil?
85
- query_params[:'last_heartbeat__range'] = opts[:'last_heartbeat__range'] if !opts[:'last_heartbeat__range'].nil?
85
+ query_params[:'last_heartbeat__range'] = @api_client.build_collection_param(opts[:'last_heartbeat__range'], :csv) if !opts[:'last_heartbeat__range'].nil?
86
86
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
87
87
  query_params[:'missing'] = opts[:'missing'] if !opts[:'missing'].nil?
88
88
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
89
89
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
90
90
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
91
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
91
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
92
92
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
93
93
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
94
94
  query_params[:'online'] = opts[:'online'] if !opts[:'online'].nil?