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
data/docs/UsersApi.md CHANGED
@@ -32,31 +32,31 @@ end
32
32
 
33
33
  api_instance = PulpcoreClient::UsersApi.new
34
34
  opts = {
35
- email: 'email_example', # String | email
36
- email__contains: 'email__contains_example', # String | email__contains
37
- email__icontains: 'email__icontains_example', # String | email__icontains
38
- email__iexact: 'email__iexact_example', # String | email__iexact
39
- email__in: 'email__in_example', # String | email__in
40
- first_name: 'first_name_example', # String | first_name
41
- first_name__contains: 'first_name__contains_example', # String | first_name__contains
42
- first_name__icontains: 'first_name__icontains_example', # String | first_name__icontains
43
- first_name__iexact: 'first_name__iexact_example', # String | first_name__iexact
44
- first_name__in: 'first_name__in_example', # String | first_name__in
45
- is_active: 'is_active_example', # String | is_active
46
- is_staff: 'is_staff_example', # String | is_staff
47
- last_name: 'last_name_example', # String | last_name
48
- last_name__contains: 'last_name__contains_example', # String | last_name__contains
49
- last_name__icontains: 'last_name__icontains_example', # String | last_name__icontains
50
- last_name__iexact: 'last_name__iexact_example', # String | last_name__iexact
51
- last_name__in: 'last_name__in_example', # String | last_name__in
35
+ email: 'email_example', # String | Filter results where email matches value
36
+ email__contains: 'email__contains_example', # String | Filter results where email contains value
37
+ email__icontains: 'email__icontains_example', # String | Filter results where email contains value
38
+ email__iexact: 'email__iexact_example', # String | Filter results where email matches value
39
+ email__in: ['email__in_example'], # Array<String> | Filter results where email is in a comma-separated list of values
40
+ first_name: 'first_name_example', # String | Filter results where first_name matches value
41
+ first_name__contains: 'first_name__contains_example', # String | Filter results where first_name contains value
42
+ first_name__icontains: 'first_name__icontains_example', # String | Filter results where first_name contains value
43
+ first_name__iexact: 'first_name__iexact_example', # String | Filter results where first_name matches value
44
+ first_name__in: ['first_name__in_example'], # Array<String> | Filter results where first_name is in a comma-separated list of values
45
+ is_active: true, # Boolean | Filter results where is_active matches value
46
+ is_staff: true, # Boolean | Filter results where is_staff matches value
47
+ last_name: 'last_name_example', # String | Filter results where last_name matches value
48
+ last_name__contains: 'last_name__contains_example', # String | Filter results where last_name contains value
49
+ last_name__icontains: 'last_name__icontains_example', # String | Filter results where last_name contains value
50
+ last_name__iexact: 'last_name__iexact_example', # String | Filter results where last_name matches value
51
+ last_name__in: ['last_name__in_example'], # Array<String> | Filter results where last_name is in a comma-separated list of values
52
52
  limit: 56, # Integer | Number of results to return per page.
53
53
  offset: 56, # Integer | The initial index from which to return the results.
54
54
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
55
- username: 'username_example', # String | username
56
- username__contains: 'username__contains_example', # String | username__contains
57
- username__icontains: 'username__icontains_example', # String | username__icontains
58
- username__iexact: 'username__iexact_example', # String | username__iexact
59
- username__in: 'username__in_example', # String | username__in
55
+ username: 'username_example', # String | Filter results where username matches value
56
+ username__contains: 'username__contains_example', # String | Filter results where username contains value
57
+ username__icontains: 'username__icontains_example', # String | Filter results where username contains value
58
+ username__iexact: 'username__iexact_example', # String | Filter results where username matches value
59
+ username__in: ['username__in_example'], # Array<String> | Filter results where username is in a comma-separated list of values
60
60
  fields: 'fields_example', # String | A list of fields to include in the response.
61
61
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
62
62
  }
@@ -75,31 +75,31 @@ end
75
75
 
76
76
  Name | Type | Description | Notes
77
77
  ------------- | ------------- | ------------- | -------------
78
- **email** | **String**| email | [optional]
79
- **email__contains** | **String**| email__contains | [optional]
80
- **email__icontains** | **String**| email__icontains | [optional]
81
- **email__iexact** | **String**| email__iexact | [optional]
82
- **email__in** | **String**| email__in | [optional]
83
- **first_name** | **String**| first_name | [optional]
84
- **first_name__contains** | **String**| first_name__contains | [optional]
85
- **first_name__icontains** | **String**| first_name__icontains | [optional]
86
- **first_name__iexact** | **String**| first_name__iexact | [optional]
87
- **first_name__in** | **String**| first_name__in | [optional]
88
- **is_active** | **String**| is_active | [optional]
89
- **is_staff** | **String**| is_staff | [optional]
90
- **last_name** | **String**| last_name | [optional]
91
- **last_name__contains** | **String**| last_name__contains | [optional]
92
- **last_name__icontains** | **String**| last_name__icontains | [optional]
93
- **last_name__iexact** | **String**| last_name__iexact | [optional]
94
- **last_name__in** | **String**| last_name__in | [optional]
78
+ **email** | [**String**](.md)| Filter results where email matches value | [optional]
79
+ **email__contains** | [**String**](.md)| Filter results where email contains value | [optional]
80
+ **email__icontains** | [**String**](.md)| Filter results where email contains value | [optional]
81
+ **email__iexact** | [**String**](.md)| Filter results where email matches value | [optional]
82
+ **email__in** | [**Array&lt;String&gt;**](String.md)| Filter results where email is in a comma-separated list of values | [optional]
83
+ **first_name** | **String**| Filter results where first_name matches value | [optional]
84
+ **first_name__contains** | **String**| Filter results where first_name contains value | [optional]
85
+ **first_name__icontains** | **String**| Filter results where first_name contains value | [optional]
86
+ **first_name__iexact** | **String**| Filter results where first_name matches value | [optional]
87
+ **first_name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where first_name is in a comma-separated list of values | [optional]
88
+ **is_active** | **Boolean**| Filter results where is_active matches value | [optional]
89
+ **is_staff** | **Boolean**| Filter results where is_staff matches value | [optional]
90
+ **last_name** | **String**| Filter results where last_name matches value | [optional]
91
+ **last_name__contains** | **String**| Filter results where last_name contains value | [optional]
92
+ **last_name__icontains** | **String**| Filter results where last_name contains value | [optional]
93
+ **last_name__iexact** | **String**| Filter results where last_name matches value | [optional]
94
+ **last_name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where last_name is in a comma-separated list of values | [optional]
95
95
  **limit** | **Integer**| Number of results to return per page. | [optional]
96
96
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
97
97
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
98
- **username** | **String**| username | [optional]
99
- **username__contains** | **String**| username__contains | [optional]
100
- **username__icontains** | **String**| username__icontains | [optional]
101
- **username__iexact** | **String**| username__iexact | [optional]
102
- **username__in** | **String**| username__in | [optional]
98
+ **username** | **String**| Filter results where username matches value | [optional]
99
+ **username__contains** | **String**| Filter results where username contains value | [optional]
100
+ **username__icontains** | **String**| Filter results where username contains value | [optional]
101
+ **username__iexact** | **String**| Filter results where username matches value | [optional]
102
+ **username__in** | [**Array&lt;String&gt;**](String.md)| Filter results where username is in a comma-separated list of values | [optional]
103
103
  **fields** | **String**| A list of fields to include in the response. | [optional]
104
104
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
105
105
 
data/docs/WorkersApi.md CHANGED
@@ -31,21 +31,21 @@ end
31
31
 
32
32
  api_instance = PulpcoreClient::WorkersApi.new
33
33
  opts = {
34
- last_heartbeat: 'last_heartbeat_example', # String | last_heartbeat
35
- last_heartbeat__gt: 'last_heartbeat__gt_example', # String | last_heartbeat__gt
36
- last_heartbeat__gte: 'last_heartbeat__gte_example', # String | last_heartbeat__gte
37
- last_heartbeat__lt: 'last_heartbeat__lt_example', # String | last_heartbeat__lt
38
- last_heartbeat__lte: 'last_heartbeat__lte_example', # String | last_heartbeat__lte
39
- last_heartbeat__range: 'last_heartbeat__range_example', # String | last_heartbeat__range
34
+ last_heartbeat: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
35
+ last_heartbeat__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat is greater than value
36
+ last_heartbeat__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat is greater than or equal to value
37
+ last_heartbeat__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat is less than value
38
+ last_heartbeat__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat is less than or equal to value
39
+ last_heartbeat__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where last_heartbeat is between two comma separated values
40
40
  limit: 56, # Integer | Number of results to return per page.
41
- missing: 'missing_example', # String | missing
42
- name: 'name_example', # String | name
43
- name__contains: 'name__contains_example', # String | name__contains
44
- name__icontains: 'name__icontains_example', # String | name__icontains
45
- name__in: 'name__in_example', # String | name__in
46
- name__startswith: 'name__startswith_example', # String | name__startswith
41
+ missing: true, # Boolean |
42
+ name: 'name_example', # String |
43
+ name__contains: 'name__contains_example', # String | Filter results where name contains value
44
+ name__icontains: 'name__icontains_example', # String | Filter results where name contains value
45
+ name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
46
+ name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
47
47
  offset: 56, # Integer | The initial index from which to return the results.
48
- online: 'online_example', # String | online
48
+ online: true, # Boolean |
49
49
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
50
50
  fields: 'fields_example', # String | A list of fields to include in the response.
51
51
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -65,21 +65,21 @@ end
65
65
 
66
66
  Name | Type | Description | Notes
67
67
  ------------- | ------------- | ------------- | -------------
68
- **last_heartbeat** | **String**| last_heartbeat | [optional]
69
- **last_heartbeat__gt** | **String**| last_heartbeat__gt | [optional]
70
- **last_heartbeat__gte** | **String**| last_heartbeat__gte | [optional]
71
- **last_heartbeat__lt** | **String**| last_heartbeat__lt | [optional]
72
- **last_heartbeat__lte** | **String**| last_heartbeat__lte | [optional]
73
- **last_heartbeat__range** | **String**| last_heartbeat__range | [optional]
68
+ **last_heartbeat** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
69
+ **last_heartbeat__gt** | **DateTime**| Filter results where last_heartbeat is greater than value | [optional]
70
+ **last_heartbeat__gte** | **DateTime**| Filter results where last_heartbeat is greater than or equal to value | [optional]
71
+ **last_heartbeat__lt** | **DateTime**| Filter results where last_heartbeat is less than value | [optional]
72
+ **last_heartbeat__lte** | **DateTime**| Filter results where last_heartbeat is less than or equal to value | [optional]
73
+ **last_heartbeat__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where last_heartbeat is between two comma separated values | [optional]
74
74
  **limit** | **Integer**| Number of results to return per page. | [optional]
75
- **missing** | **String**| missing | [optional]
76
- **name** | **String**| name | [optional]
77
- **name__contains** | **String**| name__contains | [optional]
78
- **name__icontains** | **String**| name__icontains | [optional]
79
- **name__in** | **String**| name__in | [optional]
80
- **name__startswith** | **String**| name__startswith | [optional]
75
+ **missing** | **Boolean**| | [optional]
76
+ **name** | **String**| | [optional]
77
+ **name__contains** | **String**| Filter results where name contains value | [optional]
78
+ **name__icontains** | **String**| Filter results where name contains value | [optional]
79
+ **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
80
+ **name__startswith** | **String**| Filter results where name starts with value | [optional]
81
81
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
82
- **online** | **String**| online | [optional]
82
+ **online** | **Boolean**| | [optional]
83
83
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
84
84
  **fields** | **String**| A list of fields to include in the response. | [optional]
85
85
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
@@ -22,15 +22,15 @@ module PulpcoreClient
22
22
  # List access policys
23
23
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :customized customized
25
+ # @option opts [Boolean] :customized
26
26
  # @option opts [Integer] :limit Number of results to return per page.
27
27
  # @option opts [Integer] :offset The initial index from which to return the results.
28
28
  # @option opts [String] :ordering Which field to use when ordering the results.
29
- # @option opts [String] :viewset_name viewset_name
30
- # @option opts [String] :viewset_name__contains viewset_name__contains
31
- # @option opts [String] :viewset_name__icontains viewset_name__icontains
32
- # @option opts [String] :viewset_name__in viewset_name__in
33
- # @option opts [String] :viewset_name__startswith viewset_name__startswith
29
+ # @option opts [String] :viewset_name Filter results where viewset_name matches value
30
+ # @option opts [String] :viewset_name__contains Filter results where viewset_name contains value
31
+ # @option opts [String] :viewset_name__icontains Filter results where viewset_name contains value
32
+ # @option opts [Array<String>] :viewset_name__in Filter results where viewset_name is in a comma-separated list of values
33
+ # @option opts [String] :viewset_name__startswith Filter results where viewset_name starts with value
34
34
  # @option opts [String] :fields A list of fields to include in the response.
35
35
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
36
36
  # @return [PaginatedAccessPolicyResponseList]
@@ -42,15 +42,15 @@ module PulpcoreClient
42
42
  # List access policys
43
43
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
44
44
  # @param [Hash] opts the optional parameters
45
- # @option opts [String] :customized customized
45
+ # @option opts [Boolean] :customized
46
46
  # @option opts [Integer] :limit Number of results to return per page.
47
47
  # @option opts [Integer] :offset The initial index from which to return the results.
48
48
  # @option opts [String] :ordering Which field to use when ordering the results.
49
- # @option opts [String] :viewset_name viewset_name
50
- # @option opts [String] :viewset_name__contains viewset_name__contains
51
- # @option opts [String] :viewset_name__icontains viewset_name__icontains
52
- # @option opts [String] :viewset_name__in viewset_name__in
53
- # @option opts [String] :viewset_name__startswith viewset_name__startswith
49
+ # @option opts [String] :viewset_name Filter results where viewset_name matches value
50
+ # @option opts [String] :viewset_name__contains Filter results where viewset_name contains value
51
+ # @option opts [String] :viewset_name__icontains Filter results where viewset_name contains value
52
+ # @option opts [Array<String>] :viewset_name__in Filter results where viewset_name is in a comma-separated list of values
53
+ # @option opts [String] :viewset_name__startswith Filter results where viewset_name starts with value
54
54
  # @option opts [String] :fields A list of fields to include in the response.
55
55
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
56
56
  # @return [Array<(PaginatedAccessPolicyResponseList, Integer, Hash)>] PaginatedAccessPolicyResponseList data, response status code and response headers
@@ -70,7 +70,7 @@ module PulpcoreClient
70
70
  query_params[:'viewset_name'] = opts[:'viewset_name'] if !opts[:'viewset_name'].nil?
71
71
  query_params[:'viewset_name__contains'] = opts[:'viewset_name__contains'] if !opts[:'viewset_name__contains'].nil?
72
72
  query_params[:'viewset_name__icontains'] = opts[:'viewset_name__icontains'] if !opts[:'viewset_name__icontains'].nil?
73
- query_params[:'viewset_name__in'] = opts[:'viewset_name__in'] if !opts[:'viewset_name__in'].nil?
73
+ query_params[:'viewset_name__in'] = @api_client.build_collection_param(opts[:'viewset_name__in'], :csv) if !opts[:'viewset_name__in'].nil?
74
74
  query_params[:'viewset_name__startswith'] = opts[:'viewset_name__startswith'] if !opts[:'viewset_name__startswith'].nil?
75
75
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
76
76
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
@@ -169,15 +169,15 @@ module PulpcoreClient
169
169
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
170
170
  # @param [Hash] opts the optional parameters
171
171
  # @option opts [Integer] :limit Number of results to return per page.
172
- # @option opts [String] :md5 md5
172
+ # @option opts [String] :md5 Filter results where md5 matches value
173
173
  # @option opts [Integer] :offset The initial index from which to return the results.
174
174
  # @option opts [String] :ordering Which field to use when ordering the results.
175
- # @option opts [String] :repository_version repository_version
176
- # @option opts [String] :sha1 sha1
177
- # @option opts [String] :sha224 sha224
178
- # @option opts [String] :sha256 sha256
179
- # @option opts [String] :sha384 sha384
180
- # @option opts [String] :sha512 sha512
175
+ # @option opts [String] :repository_version Repository Version referenced by HREF
176
+ # @option opts [String] :sha1 Filter results where sha1 matches value
177
+ # @option opts [String] :sha224 Filter results where sha224 matches value
178
+ # @option opts [String] :sha256 Filter results where sha256 matches value
179
+ # @option opts [String] :sha384 Filter results where sha384 matches value
180
+ # @option opts [String] :sha512 Filter results where sha512 matches value
181
181
  # @option opts [String] :fields A list of fields to include in the response.
182
182
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
183
183
  # @return [PaginatedArtifactResponseList]
@@ -190,15 +190,15 @@ module PulpcoreClient
190
190
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&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.
191
191
  # @param [Hash] opts the optional parameters
192
192
  # @option opts [Integer] :limit Number of results to return per page.
193
- # @option opts [String] :md5 md5
193
+ # @option opts [String] :md5 Filter results where md5 matches value
194
194
  # @option opts [Integer] :offset The initial index from which to return the results.
195
195
  # @option opts [String] :ordering Which field to use when ordering the results.
196
- # @option opts [String] :repository_version repository_version
197
- # @option opts [String] :sha1 sha1
198
- # @option opts [String] :sha224 sha224
199
- # @option opts [String] :sha256 sha256
200
- # @option opts [String] :sha384 sha384
201
- # @option opts [String] :sha512 sha512
196
+ # @option opts [String] :repository_version Repository Version referenced by HREF
197
+ # @option opts [String] :sha1 Filter results where sha1 matches value
198
+ # @option opts [String] :sha224 Filter results where sha224 matches value
199
+ # @option opts [String] :sha256 Filter results where sha256 matches value
200
+ # @option opts [String] :sha384 Filter results where sha384 matches value
201
+ # @option opts [String] :sha512 Filter results where sha512 matches value
202
202
  # @option opts [String] :fields A list of fields to include in the response.
203
203
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
204
204
  # @return [Array<(PaginatedArtifactResponseList, Integer, Hash)>] PaginatedArtifactResponseList data, response status code and response headers
@@ -25,9 +25,9 @@ module PulpcoreClient
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
26
  # @option opts [Integer] :offset The initial index from which to return the results.
27
27
  # @option opts [String] :ordering Which field to use when ordering the results.
28
- # @option opts [String] :repository_version repository_version
29
- # @option opts [String] :repository_version_added repository_version_added
30
- # @option opts [String] :repository_version_removed repository_version_removed
28
+ # @option opts [String] :repository_version Repository Version referenced by HREF
29
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
30
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
31
31
  # @option opts [String] :fields A list of fields to include in the response.
32
32
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
33
33
  # @return [PaginatedMultipleArtifactContentResponseList]
@@ -42,9 +42,9 @@ module PulpcoreClient
42
42
  # @option opts [Integer] :limit Number of results to return per page.
43
43
  # @option opts [Integer] :offset The initial index from which to return the results.
44
44
  # @option opts [String] :ordering Which field to use when ordering the results.
45
- # @option opts [String] :repository_version repository_version
46
- # @option opts [String] :repository_version_added repository_version_added
47
- # @option opts [String] :repository_version_removed repository_version_removed
45
+ # @option opts [String] :repository_version Repository Version referenced by HREF
46
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
47
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
48
48
  # @option opts [String] :fields A list of fields to include in the response.
49
49
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
50
50
  # @return [Array<(PaginatedMultipleArtifactContentResponseList, Integer, Hash)>] PaginatedMultipleArtifactContentResponseList data, response status code and response headers
@@ -13,21 +13,21 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'cgi'
14
14
 
15
15
  module PulpcoreClient
16
- class ContentGuardsApi
16
+ class ContentguardsApi
17
17
  attr_accessor :api_client
18
18
 
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
22
  # List content guards
23
- # Endpoint to list all content_guards.
23
+ # Endpoint to list all contentguards.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
- # @option opts [String] :name 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
33
  # @option opts [String] :fields A list of fields to include in the response.
@@ -39,14 +39,14 @@ module PulpcoreClient
39
39
  end
40
40
 
41
41
  # List content guards
42
- # Endpoint to list all content_guards.
42
+ # Endpoint to list all contentguards.
43
43
  # @param [Hash] opts the optional parameters
44
44
  # @option opts [Integer] :limit Number of results to return per page.
45
- # @option opts [String] :name name
46
- # @option opts [String] :name__contains name__contains
47
- # @option opts [String] :name__icontains name__icontains
48
- # @option opts [String] :name__in name__in
49
- # @option opts [String] :name__startswith name__startswith
45
+ # @option opts [String] :name
46
+ # @option opts [String] :name__contains Filter results where name contains value
47
+ # @option opts [String] :name__icontains Filter results where name contains value
48
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
49
+ # @option opts [String] :name__startswith Filter results where name starts with value
50
50
  # @option opts [Integer] :offset The initial index from which to return the results.
51
51
  # @option opts [String] :ordering Which field to use when ordering the results.
52
52
  # @option opts [String] :fields A list of fields to include in the response.
@@ -54,10 +54,10 @@ module PulpcoreClient
54
54
  # @return [Array<(PaginatedContentGuardResponseList, Integer, Hash)>] PaginatedContentGuardResponseList data, response status code and response headers
55
55
  def list_with_http_info(opts = {})
56
56
  if @api_client.config.debugging
57
- @api_client.config.logger.debug 'Calling API: ContentGuardsApi.list ...'
57
+ @api_client.config.logger.debug 'Calling API: ContentguardsApi.list ...'
58
58
  end
59
59
  # resource path
60
- local_var_path = '/pulp/api/v3/content_guards/'
60
+ local_var_path = '/pulp/api/v3/contentguards/'
61
61
 
62
62
  # query parameters
63
63
  query_params = opts[:query_params] || {}
@@ -65,7 +65,7 @@ module PulpcoreClient
65
65
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
66
66
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
67
67
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
68
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
68
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
69
69
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
70
70
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
71
71
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
@@ -100,7 +100,7 @@ module PulpcoreClient
100
100
 
101
101
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug "API called: ContentGuardsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
103
+ @api_client.config.logger.debug "API called: ContentguardsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
104
104
  end
105
105
  return data, status_code, headers
106
106
  end
@@ -147,11 +147,11 @@ module PulpcoreClient
147
147
  # ViewSet for viewing PulpExporters.
148
148
  # @param [Hash] opts the optional parameters
149
149
  # @option opts [Integer] :limit Number of results to return per page.
150
- # @option opts [String] :name 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 viewing PulpExporters.
167
167
  # @param [Hash] opts the optional parameters
168
168
  # @option opts [Integer] :limit Number of results to return per page.
169
- # @option opts [String] :name 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?
@@ -146,14 +146,14 @@ module PulpcoreClient
146
146
  # List groups
147
147
  # ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
148
148
  # @param [Hash] opts the optional parameters
149
- # @option opts [String] :id id
150
- # @option opts [String] :id__in id__in
149
+ # @option opts [Integer] :id Filter results where id matches value
150
+ # @option opts [Array<Integer>] :id__in Filter results where id is in a comma-separated list of values
151
151
  # @option opts [Integer] :limit Number of results to return per page.
152
- # @option opts [String] :name name
153
- # @option opts [String] :name__contains name__contains
154
- # @option opts [String] :name__icontains name__icontains
155
- # @option opts [String] :name__iexact name__iexact
156
- # @option opts [String] :name__in name__in
152
+ # @option opts [String] :name Filter results where name matches value
153
+ # @option opts [String] :name__contains Filter results where name contains value
154
+ # @option opts [String] :name__icontains Filter results where name contains value
155
+ # @option opts [String] :name__iexact Filter results where name matches value
156
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
158
  # @option opts [String] :ordering Which field to use when ordering the results.
159
159
  # @option opts [String] :fields A list of fields to include in the response.
@@ -167,14 +167,14 @@ module PulpcoreClient
167
167
  # List groups
168
168
  # ViewSet for Group. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
169
169
  # @param [Hash] opts the optional parameters
170
- # @option opts [String] :id id
171
- # @option opts [String] :id__in id__in
170
+ # @option opts [Integer] :id Filter results where id matches value
171
+ # @option opts [Array<Integer>] :id__in Filter results where id is in a comma-separated list of values
172
172
  # @option opts [Integer] :limit Number of results to return per page.
173
- # @option opts [String] :name name
174
- # @option opts [String] :name__contains name__contains
175
- # @option opts [String] :name__icontains name__icontains
176
- # @option opts [String] :name__iexact name__iexact
177
- # @option opts [String] :name__in name__in
173
+ # @option opts [String] :name Filter results where name matches value
174
+ # @option opts [String] :name__contains Filter results where name contains value
175
+ # @option opts [String] :name__icontains Filter results where name contains value
176
+ # @option opts [String] :name__iexact Filter results where name matches value
177
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
178
178
  # @option opts [Integer] :offset The initial index from which to return the results.
179
179
  # @option opts [String] :ordering Which field to use when ordering the results.
180
180
  # @option opts [String] :fields A list of fields to include in the response.
@@ -190,13 +190,13 @@ module PulpcoreClient
190
190
  # query parameters
191
191
  query_params = opts[:query_params] || {}
192
192
  query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
193
- query_params[:'id__in'] = opts[:'id__in'] if !opts[:'id__in'].nil?
193
+ query_params[:'id__in'] = @api_client.build_collection_param(opts[:'id__in'], :csv) if !opts[:'id__in'].nil?
194
194
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
195
195
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
196
196
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
197
197
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
198
198
  query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
199
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
199
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
200
200
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
201
201
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
202
202
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
@@ -147,11 +147,11 @@ module PulpcoreClient
147
147
  # ViewSet for PulpImporters.
148
148
  # @param [Hash] opts the optional parameters
149
149
  # @option opts [Integer] :limit Number of results to return per page.
150
- # @option opts [String] :name 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?