pulpcore_client 3.10.0 → 3.11.0.post0

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.
Files changed (44) 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/StatusApi.md +1 -1
  13. data/docs/TasksApi.md +46 -46
  14. data/docs/UsersApi.md +44 -44
  15. data/docs/WorkersApi.md +26 -26
  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/status_api.rb +2 -2
  26. data/lib/pulpcore_client/api/tasks_api.rb +58 -50
  27. data/lib/pulpcore_client/api/users_api.rb +48 -48
  28. data/lib/pulpcore_client/api/workers_api.rb +28 -28
  29. data/lib/pulpcore_client/version.rb +1 -1
  30. data/lib/pulpcore_client.rb +1 -1
  31. data/spec/api/access_policies_api_spec.rb +6 -6
  32. data/spec/api/artifacts_api_spec.rb +7 -7
  33. data/spec/api/content_api_spec.rb +3 -3
  34. data/spec/api/{content_guards_api_spec.rb → contentguards_api_spec.rb} +12 -12
  35. data/spec/api/exporters_pulp_api_spec.rb +5 -5
  36. data/spec/api/groups_api_spec.rb +7 -7
  37. data/spec/api/importers_pulp_api_spec.rb +5 -5
  38. data/spec/api/repositories_api_spec.rb +6 -6
  39. data/spec/api/signing_services_api_spec.rb +1 -1
  40. data/spec/api/status_api_spec.rb +1 -1
  41. data/spec/api/tasks_api_spec.rb +23 -23
  42. data/spec/api/users_api_spec.rb +22 -22
  43. data/spec/api/workers_api_spec.rb +13 -13
  44. metadata +78 -78
@@ -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.
@@ -20,7 +20,7 @@ module PulpcoreClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # Inspect status of Pulp
23
- # Returns app information including the version of pulpcore and loaded pulp plugins, known workers, database connection status, and messaging connection status
23
+ # Returns status and app information about Pulp. Information includes: * version of pulpcore and loaded pulp plugins * known workers * known content apps * database connection status * redis connection status * disk usage information
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [StatusResponse]
26
26
  def status_read(opts = {})
@@ -29,7 +29,7 @@ module PulpcoreClient
29
29
  end
30
30
 
31
31
  # Inspect status of Pulp
32
- # Returns app information including the version of pulpcore and loaded pulp plugins, known workers, database connection status, and messaging connection status
32
+ # Returns status and app information about Pulp. Information includes: * version of pulpcore and loaded pulp plugins * known workers * known content apps * database connection status * redis connection status * disk usage information
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(StatusResponse, Integer, Hash)>] StatusResponse data, response status code and response headers
35
35
  def status_read_with_http_info(opts = {})
@@ -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?
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.10.0'
14
+ VERSION = '3.11.0.post0'
15
15
  end
@@ -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/content_guards_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'
@@ -36,15 +36,15 @@ describe 'AccessPoliciesApi' do
36
36
  # List access policys
37
37
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
38
38
  # @param [Hash] opts the optional parameters
39
- # @option opts [String] :customized customized
39
+ # @option opts [Boolean] :customized
40
40
  # @option opts [Integer] :limit Number of results to return per page.
41
41
  # @option opts [Integer] :offset The initial index from which to return the results.
42
42
  # @option opts [String] :ordering Which field to use when ordering the results.
43
- # @option opts [String] :viewset_name viewset_name
44
- # @option opts [String] :viewset_name__contains viewset_name__contains
45
- # @option opts [String] :viewset_name__icontains viewset_name__icontains
46
- # @option opts [String] :viewset_name__in viewset_name__in
47
- # @option opts [String] :viewset_name__startswith viewset_name__startswith
43
+ # @option opts [String] :viewset_name Filter results where viewset_name matches value
44
+ # @option opts [String] :viewset_name__contains Filter results where viewset_name contains value
45
+ # @option opts [String] :viewset_name__icontains Filter results where viewset_name contains value
46
+ # @option opts [Array<String>] :viewset_name__in Filter results where viewset_name is in a comma-separated list of values
47
+ # @option opts [String] :viewset_name__startswith Filter results where viewset_name starts with value
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 [PaginatedAccessPolicyResponseList]
@@ -68,15 +68,15 @@ describe 'ArtifactsApi' do
68
68
  # 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.
69
69
  # @param [Hash] opts the optional parameters
70
70
  # @option opts [Integer] :limit Number of results to return per page.
71
- # @option opts [String] :md5 md5
71
+ # @option opts [String] :md5 Filter results where md5 matches value
72
72
  # @option opts [Integer] :offset The initial index from which to return the results.
73
73
  # @option opts [String] :ordering Which field to use when ordering the results.
74
- # @option opts [String] :repository_version repository_version
75
- # @option opts [String] :sha1 sha1
76
- # @option opts [String] :sha224 sha224
77
- # @option opts [String] :sha256 sha256
78
- # @option opts [String] :sha384 sha384
79
- # @option opts [String] :sha512 sha512
74
+ # @option opts [String] :repository_version Repository Version referenced by HREF
75
+ # @option opts [String] :sha1 Filter results where sha1 matches value
76
+ # @option opts [String] :sha224 Filter results where sha224 matches value
77
+ # @option opts [String] :sha256 Filter results where sha256 matches value
78
+ # @option opts [String] :sha384 Filter results where sha384 matches value
79
+ # @option opts [String] :sha512 Filter results where sha512 matches value
80
80
  # @option opts [String] :fields A list of fields to include in the response.
81
81
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
82
82
  # @return [PaginatedArtifactResponseList]
@@ -39,9 +39,9 @@ describe 'ContentApi' do
39
39
  # @option opts [Integer] :limit Number of results to return per page.
40
40
  # @option opts [Integer] :offset The initial index from which to return the results.
41
41
  # @option opts [String] :ordering Which field to use when ordering the results.
42
- # @option opts [String] :repository_version repository_version
43
- # @option opts [String] :repository_version_added repository_version_added
44
- # @option opts [String] :repository_version_removed repository_version_removed
42
+ # @option opts [String] :repository_version Repository Version referenced by HREF
43
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
44
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
45
45
  # @option opts [String] :fields A list of fields to include in the response.
46
46
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
47
47
  # @return [PaginatedMultipleArtifactContentResponseList]
@@ -13,35 +13,35 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for PulpcoreClient::ContentGuardsApi
16
+ # Unit tests for PulpcoreClient::ContentguardsApi
17
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
- describe 'ContentGuardsApi' do
19
+ describe 'ContentguardsApi' do
20
20
  before do
21
21
  # run before each test
22
- @api_instance = PulpcoreClient::ContentGuardsApi.new
22
+ @api_instance = PulpcoreClient::ContentguardsApi.new
23
23
  end
24
24
 
25
25
  after do
26
26
  # run after each test
27
27
  end
28
28
 
29
- describe 'test an instance of ContentGuardsApi' do
30
- it 'should create an instance of ContentGuardsApi' do
31
- expect(@api_instance).to be_instance_of(PulpcoreClient::ContentGuardsApi)
29
+ describe 'test an instance of ContentguardsApi' do
30
+ it 'should create an instance of ContentguardsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::ContentguardsApi)
32
32
  end
33
33
  end
34
34
 
35
35
  # unit tests for list
36
36
  # List content guards
37
- # Endpoint to list all content_guards.
37
+ # Endpoint to list all contentguards.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [Integer] :limit Number of results to return per page.
40
- # @option opts [String] :name name
41
- # @option opts [String] :name__contains name__contains
42
- # @option opts [String] :name__icontains name__icontains
43
- # @option opts [String] :name__in name__in
44
- # @option opts [String] :name__startswith name__startswith
40
+ # @option opts [String] :name
41
+ # @option opts [String] :name__contains Filter results where name contains value
42
+ # @option opts [String] :name__icontains Filter results where name contains value
43
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
44
+ # @option opts [String] :name__startswith Filter results where name starts with value
45
45
  # @option opts [Integer] :offset The initial index from which to return the results.
46
46
  # @option opts [String] :ordering Which field to use when ordering the results.
47
47
  # @option opts [String] :fields A list of fields to include in the response.
@@ -61,11 +61,11 @@ describe 'ExportersPulpApi' do
61
61
  # ViewSet for viewing PulpExporters.
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [Integer] :limit Number of results to return per page.
64
- # @option opts [String] :name name
65
- # @option opts [String] :name__contains name__contains
66
- # @option opts [String] :name__icontains name__icontains
67
- # @option opts [String] :name__in name__in
68
- # @option opts [String] :name__startswith name__startswith
64
+ # @option opts [String] :name
65
+ # @option opts [String] :name__contains Filter results where name contains value
66
+ # @option opts [String] :name__icontains Filter results where name contains value
67
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
+ # @option opts [String] :name__startswith Filter results where name starts with value
69
69
  # @option opts [Integer] :offset The initial index from which to return the results.
70
70
  # @option opts [String] :ordering Which field to use when ordering the results.
71
71
  # @option opts [String] :fields A list of fields to include in the response.
@@ -60,14 +60,14 @@ describe 'GroupsApi' do
60
60
  # List groups
61
61
  # ViewSet for Group. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
62
62
  # @param [Hash] opts the optional parameters
63
- # @option opts [String] :id id
64
- # @option opts [String] :id__in id__in
63
+ # @option opts [Integer] :id Filter results where id matches value
64
+ # @option opts [Array<Integer>] :id__in Filter results where id is in a comma-separated list of values
65
65
  # @option opts [Integer] :limit Number of results to return per page.
66
- # @option opts [String] :name name
67
- # @option opts [String] :name__contains name__contains
68
- # @option opts [String] :name__icontains name__icontains
69
- # @option opts [String] :name__iexact name__iexact
70
- # @option opts [String] :name__in name__in
66
+ # @option opts [String] :name Filter results where name matches value
67
+ # @option opts [String] :name__contains Filter results where name contains value
68
+ # @option opts [String] :name__icontains Filter results where name contains value
69
+ # @option opts [String] :name__iexact Filter results where name matches value
70
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
71
71
  # @option opts [Integer] :offset The initial index from which to return the results.
72
72
  # @option opts [String] :ordering Which field to use when ordering the results.
73
73
  # @option opts [String] :fields A list of fields to include in the response.