pulp_gem_client 0.6.1 → 0.7.0

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 (136) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -8
  3. data/docs/AsyncOperationResponse.md +8 -7
  4. data/docs/ContentGemApi.md +268 -66
  5. data/docs/ContentSummaryResponse.md +12 -11
  6. data/docs/DistributionsGemApi.md +388 -183
  7. data/docs/GemGemContentResponse.md +34 -29
  8. data/docs/GemGemDistribution.md +22 -21
  9. data/docs/GemGemDistributionResponse.md +34 -29
  10. data/docs/GemGemPublication.md +10 -9
  11. data/docs/GemGemPublicationResponse.md +18 -15
  12. data/docs/GemGemRemote.md +54 -53
  13. data/docs/GemGemRemoteResponse.md +54 -51
  14. data/docs/GemGemRemoteResponseHiddenFieldsInner.md +20 -0
  15. data/docs/GemGemRepository.md +16 -15
  16. data/docs/GemGemRepositoryResponse.md +28 -25
  17. data/docs/MyPermissionsResponse.md +8 -7
  18. data/docs/NestedRole.md +12 -11
  19. data/docs/NestedRoleResponse.md +12 -11
  20. data/docs/ObjectRolesResponse.md +8 -7
  21. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  22. data/docs/PaginatedgemGemContentResponseList.md +14 -13
  23. data/docs/PaginatedgemGemDistributionResponseList.md +14 -13
  24. data/docs/PaginatedgemGemPublicationResponseList.md +14 -13
  25. data/docs/PaginatedgemGemRemoteResponseList.md +14 -13
  26. data/docs/PaginatedgemGemRepositoryResponseList.md +14 -13
  27. data/docs/PatchedgemGemDistribution.md +22 -21
  28. data/docs/PatchedgemGemRemote.md +54 -53
  29. data/docs/PatchedgemGemRepository.md +16 -15
  30. data/docs/PolicyEnum.md +4 -5
  31. data/docs/PublicationsGemApi.md +271 -132
  32. data/docs/RemotesGemApi.md +392 -185
  33. data/docs/Repair.md +8 -7
  34. data/docs/RepositoriesGemApi.md +449 -210
  35. data/docs/RepositoriesGemVersionsApi.md +155 -83
  36. data/docs/RepositoryAddRemoveContent.md +12 -11
  37. data/docs/RepositorySyncURL.md +10 -9
  38. data/docs/RepositoryVersionResponse.md +22 -19
  39. data/docs/SetLabel.md +10 -9
  40. data/docs/SetLabelResponse.md +10 -9
  41. data/docs/UnsetLabel.md +8 -7
  42. data/docs/UnsetLabelResponse.md +10 -9
  43. data/lib/pulp_gem_client/api/content_gem_api.rb +188 -25
  44. data/lib/pulp_gem_client/api/distributions_gem_api.rb +94 -58
  45. data/lib/pulp_gem_client/api/publications_gem_api.rb +81 -58
  46. data/lib/pulp_gem_client/api/remotes_gem_api.rb +109 -70
  47. data/lib/pulp_gem_client/api/repositories_gem_api.rb +116 -72
  48. data/lib/pulp_gem_client/api/repositories_gem_versions_api.rb +50 -37
  49. data/lib/pulp_gem_client/api_client.rb +137 -102
  50. data/lib/pulp_gem_client/api_error.rb +2 -1
  51. data/lib/pulp_gem_client/configuration.rb +162 -21
  52. data/lib/pulp_gem_client/models/async_operation_response.rb +32 -22
  53. data/lib/pulp_gem_client/models/content_summary_response.rb +36 -22
  54. data/lib/pulp_gem_client/models/gem_gem_content_response.rb +57 -25
  55. data/lib/pulp_gem_client/models/gem_gem_distribution.rb +34 -22
  56. data/lib/pulp_gem_client/models/gem_gem_distribution_response.rb +57 -25
  57. data/lib/pulp_gem_client/models/gem_gem_publication.rb +30 -22
  58. data/lib/pulp_gem_client/models/gem_gem_publication_response.rb +43 -25
  59. data/lib/pulp_gem_client/models/gem_gem_remote.rb +56 -22
  60. data/lib/pulp_gem_client/models/gem_gem_remote_response.rb +70 -26
  61. data/lib/pulp_gem_client/models/{gem_gem_remote_response_hidden_fields.rb → gem_gem_remote_response_hidden_fields_inner.rb} +37 -25
  62. data/lib/pulp_gem_client/models/gem_gem_repository.rb +32 -22
  63. data/lib/pulp_gem_client/models/gem_gem_repository_response.rb +45 -25
  64. data/lib/pulp_gem_client/models/my_permissions_response.rb +32 -22
  65. data/lib/pulp_gem_client/models/nested_role.rb +32 -22
  66. data/lib/pulp_gem_client/models/nested_role_response.rb +32 -22
  67. data/lib/pulp_gem_client/models/object_roles_response.rb +32 -22
  68. data/lib/pulp_gem_client/models/paginated_repository_version_response_list.rb +34 -22
  69. data/lib/pulp_gem_client/models/paginatedgem_gem_content_response_list.rb +34 -22
  70. data/lib/pulp_gem_client/models/paginatedgem_gem_distribution_response_list.rb +34 -22
  71. data/lib/pulp_gem_client/models/paginatedgem_gem_publication_response_list.rb +34 -22
  72. data/lib/pulp_gem_client/models/paginatedgem_gem_remote_response_list.rb +34 -22
  73. data/lib/pulp_gem_client/models/paginatedgem_gem_repository_response_list.rb +34 -22
  74. data/lib/pulp_gem_client/models/patchedgem_gem_distribution.rb +40 -24
  75. data/lib/pulp_gem_client/models/patchedgem_gem_remote.rb +62 -24
  76. data/lib/pulp_gem_client/models/patchedgem_gem_repository.rb +35 -23
  77. data/lib/pulp_gem_client/models/policy_enum.rb +8 -4
  78. data/lib/pulp_gem_client/models/repair.rb +30 -22
  79. data/lib/pulp_gem_client/models/repository_add_remove_content.rb +31 -23
  80. data/lib/pulp_gem_client/models/repository_sync_url.rb +30 -22
  81. data/lib/pulp_gem_client/models/repository_version_response.rb +44 -26
  82. data/lib/pulp_gem_client/models/set_label.rb +34 -22
  83. data/lib/pulp_gem_client/models/set_label_response.rb +34 -22
  84. data/lib/pulp_gem_client/models/unset_label.rb +33 -23
  85. data/lib/pulp_gem_client/models/unset_label_response.rb +33 -23
  86. data/lib/pulp_gem_client/version.rb +2 -2
  87. data/lib/pulp_gem_client.rb +2 -3
  88. data/pulp_gem_client.gemspec +9 -6
  89. data/spec/api/content_gem_api_spec.rb +38 -9
  90. data/spec/api/distributions_gem_api_spec.rb +15 -14
  91. data/spec/api/publications_gem_api_spec.rb +22 -20
  92. data/spec/api/remotes_gem_api_spec.rb +22 -20
  93. data/spec/api/repositories_gem_api_spec.rb +19 -18
  94. data/spec/api/repositories_gem_versions_api_spec.rb +16 -14
  95. data/spec/models/async_operation_response_spec.rb +7 -12
  96. data/spec/models/content_summary_response_spec.rb +9 -14
  97. data/spec/models/gem_gem_content_response_spec.rb +30 -23
  98. data/spec/models/gem_gem_distribution_response_spec.rb +30 -23
  99. data/spec/models/gem_gem_distribution_spec.rb +14 -19
  100. data/spec/models/gem_gem_publication_response_spec.rb +17 -16
  101. data/spec/models/gem_gem_publication_spec.rb +8 -13
  102. data/spec/models/{gem_gem_remote_response_hidden_fields_spec.rb → gem_gem_remote_response_hidden_fields_inner_spec.rb} +11 -16
  103. data/spec/models/gem_gem_remote_response_spec.rb +35 -34
  104. data/spec/models/gem_gem_remote_spec.rb +30 -35
  105. data/spec/models/gem_gem_repository_response_spec.rb +22 -21
  106. data/spec/models/gem_gem_repository_spec.rb +11 -16
  107. data/spec/models/my_permissions_response_spec.rb +7 -12
  108. data/spec/models/nested_role_response_spec.rb +9 -14
  109. data/spec/models/nested_role_spec.rb +9 -14
  110. data/spec/models/object_roles_response_spec.rb +7 -12
  111. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  112. data/spec/models/paginatedgem_gem_content_response_list_spec.rb +10 -15
  113. data/spec/models/paginatedgem_gem_distribution_response_list_spec.rb +10 -15
  114. data/spec/models/paginatedgem_gem_publication_response_list_spec.rb +10 -15
  115. data/spec/models/paginatedgem_gem_remote_response_list_spec.rb +10 -15
  116. data/spec/models/paginatedgem_gem_repository_response_list_spec.rb +10 -15
  117. data/spec/models/patchedgem_gem_distribution_spec.rb +14 -19
  118. data/spec/models/patchedgem_gem_remote_spec.rb +30 -35
  119. data/spec/models/patchedgem_gem_repository_spec.rb +11 -16
  120. data/spec/models/policy_enum_spec.rb +6 -11
  121. data/spec/models/repair_spec.rb +7 -12
  122. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  123. data/spec/models/repository_sync_url_spec.rb +8 -13
  124. data/spec/models/repository_version_response_spec.rb +19 -18
  125. data/spec/models/set_label_response_spec.rb +8 -13
  126. data/spec/models/set_label_spec.rb +8 -13
  127. data/spec/models/unset_label_response_spec.rb +8 -13
  128. data/spec/models/unset_label_spec.rb +7 -12
  129. data/spec/spec_helper.rb +1 -1
  130. metadata +83 -63
  131. data/docs/GemGemContent.md +0 -21
  132. data/docs/GemGemRemoteResponseHiddenFields.md +0 -19
  133. data/lib/pulp_gem_client/models/gem_gem_content.rb +0 -228
  134. data/spec/api_client_spec.rb +0 -188
  135. data/spec/configuration_spec.rb +0 -42
  136. data/spec/models/gem_gem_content_spec.rb +0 -53
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -57,23 +57,27 @@ module PulpGemClient
57
57
  # header parameters
58
58
  header_params = opts[:header_params] || {}
59
59
  # HTTP header 'Accept' (if needed)
60
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
60
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
61
61
  # HTTP header 'Content-Type'
62
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
62
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
63
+ if !content_type.nil?
64
+ header_params['Content-Type'] = content_type
65
+ end
63
66
 
64
67
  # form parameters
65
68
  form_params = opts[:form_params] || {}
66
69
 
67
70
  # http body (model)
68
- post_body = opts[:body] || @api_client.object_to_http_body(nested_role)
71
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(nested_role)
69
72
 
70
73
  # return_type
71
- return_type = opts[:return_type] || 'NestedRoleResponse'
74
+ return_type = opts[:debug_return_type] || 'NestedRoleResponse'
72
75
 
73
76
  # auth_names
74
- auth_names = opts[:auth_names] || ['basicAuth']
77
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
75
78
 
76
79
  new_options = opts.merge(
80
+ :operation => :"RemotesGemApi.add_role",
77
81
  :header_params => header_params,
78
82
  :query_params => query_params,
79
83
  :form_params => form_params,
@@ -121,23 +125,27 @@ module PulpGemClient
121
125
  # header parameters
122
126
  header_params = opts[:header_params] || {}
123
127
  # HTTP header 'Accept' (if needed)
124
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
128
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
125
129
  # HTTP header 'Content-Type'
126
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
130
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
131
+ if !content_type.nil?
132
+ header_params['Content-Type'] = content_type
133
+ end
127
134
 
128
135
  # form parameters
129
136
  form_params = opts[:form_params] || {}
130
137
 
131
138
  # http body (model)
132
- post_body = opts[:body] || @api_client.object_to_http_body(gem_gem_remote)
139
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(gem_gem_remote)
133
140
 
134
141
  # return_type
135
- return_type = opts[:return_type] || 'GemGemRemoteResponse'
142
+ return_type = opts[:debug_return_type] || 'GemGemRemoteResponse'
136
143
 
137
144
  # auth_names
138
- auth_names = opts[:auth_names] || ['basicAuth']
145
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
139
146
 
140
147
  new_options = opts.merge(
148
+ :operation => :"RemotesGemApi.create",
141
149
  :header_params => header_params,
142
150
  :query_params => query_params,
143
151
  :form_params => form_params,
@@ -185,21 +193,22 @@ module PulpGemClient
185
193
  # header parameters
186
194
  header_params = opts[:header_params] || {}
187
195
  # HTTP header 'Accept' (if needed)
188
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
196
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
189
197
 
190
198
  # form parameters
191
199
  form_params = opts[:form_params] || {}
192
200
 
193
201
  # http body (model)
194
- post_body = opts[:body]
202
+ post_body = opts[:debug_body]
195
203
 
196
204
  # return_type
197
- return_type = opts[:return_type] || 'AsyncOperationResponse'
205
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
198
206
 
199
207
  # auth_names
200
- auth_names = opts[:auth_names] || ['basicAuth']
208
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
201
209
 
202
210
  new_options = opts.merge(
211
+ :operation => :"RemotesGemApi.delete",
203
212
  :header_params => header_params,
204
213
  :query_params => query_params,
205
214
  :form_params => form_params,
@@ -230,16 +239,18 @@ module PulpGemClient
230
239
  # @option opts [String] :name__startswith Filter results where name starts with value
231
240
  # @option opts [Integer] :offset The initial index from which to return the results.
232
241
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
242
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
233
243
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
234
244
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
235
245
  # @option opts [String] :pulp_label_select Filter labels by search string
236
- # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
237
- # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
238
- # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
239
- # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
240
- # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
241
- # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
242
- # @option opts [String] :q
246
+ # @option opts [Time] :pulp_last_updated Filter results where pulp_last_updated matches value
247
+ # @option opts [Time] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
248
+ # @option opts [Time] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
249
+ # @option opts [Boolean] :pulp_last_updated__isnull Filter results where pulp_last_updated has a null value
250
+ # @option opts [Time] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
251
+ # @option opts [Time] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
252
+ # @option opts [Array<Time>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
253
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
243
254
  # @option opts [Array<String>] :fields A list of fields to include in the response.
244
255
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
245
256
  # @return [PaginatedgemGemRemoteResponseList]
@@ -263,16 +274,18 @@ module PulpGemClient
263
274
  # @option opts [String] :name__startswith Filter results where name starts with value
264
275
  # @option opts [Integer] :offset The initial index from which to return the results.
265
276
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
277
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
266
278
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
267
279
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
268
280
  # @option opts [String] :pulp_label_select Filter labels by search string
269
- # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
270
- # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
271
- # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
272
- # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
273
- # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
274
- # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
275
- # @option opts [String] :q
281
+ # @option opts [Time] :pulp_last_updated Filter results where pulp_last_updated matches value
282
+ # @option opts [Time] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
283
+ # @option opts [Time] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
284
+ # @option opts [Boolean] :pulp_last_updated__isnull Filter results where pulp_last_updated has a null value
285
+ # @option opts [Time] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
286
+ # @option opts [Time] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
287
+ # @option opts [Array<Time>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
288
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
276
289
  # @option opts [Array<String>] :fields A list of fields to include in the response.
277
290
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
278
291
  # @return [Array<(PaginatedgemGemRemoteResponseList, Integer, Hash)>] PaginatedgemGemRemoteResponseList data, response status code and response headers
@@ -301,12 +314,14 @@ module PulpGemClient
301
314
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
302
315
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
303
316
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
317
+ query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
304
318
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
305
319
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
306
320
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
307
321
  query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
308
322
  query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
309
323
  query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
324
+ query_params[:'pulp_last_updated__isnull'] = opts[:'pulp_last_updated__isnull'] if !opts[:'pulp_last_updated__isnull'].nil?
310
325
  query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
311
326
  query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
312
327
  query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
@@ -317,21 +332,22 @@ module PulpGemClient
317
332
  # header parameters
318
333
  header_params = opts[:header_params] || {}
319
334
  # HTTP header 'Accept' (if needed)
320
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
335
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
321
336
 
322
337
  # form parameters
323
338
  form_params = opts[:form_params] || {}
324
339
 
325
340
  # http body (model)
326
- post_body = opts[:body]
341
+ post_body = opts[:debug_body]
327
342
 
328
343
  # return_type
329
- return_type = opts[:return_type] || 'PaginatedgemGemRemoteResponseList'
344
+ return_type = opts[:debug_return_type] || 'PaginatedgemGemRemoteResponseList'
330
345
 
331
346
  # auth_names
332
- auth_names = opts[:auth_names] || ['basicAuth']
347
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
333
348
 
334
349
  new_options = opts.merge(
350
+ :operation => :"RemotesGemApi.list",
335
351
  :header_params => header_params,
336
352
  :query_params => query_params,
337
353
  :form_params => form_params,
@@ -385,21 +401,22 @@ module PulpGemClient
385
401
  # header parameters
386
402
  header_params = opts[:header_params] || {}
387
403
  # HTTP header 'Accept' (if needed)
388
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
404
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
389
405
 
390
406
  # form parameters
391
407
  form_params = opts[:form_params] || {}
392
408
 
393
409
  # http body (model)
394
- post_body = opts[:body]
410
+ post_body = opts[:debug_body]
395
411
 
396
412
  # return_type
397
- return_type = opts[:return_type] || 'ObjectRolesResponse'
413
+ return_type = opts[:debug_return_type] || 'ObjectRolesResponse'
398
414
 
399
415
  # auth_names
400
- auth_names = opts[:auth_names] || ['basicAuth']
416
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
401
417
 
402
418
  new_options = opts.merge(
419
+ :operation => :"RemotesGemApi.list_roles",
403
420
  :header_params => header_params,
404
421
  :query_params => query_params,
405
422
  :form_params => form_params,
@@ -453,21 +470,22 @@ module PulpGemClient
453
470
  # header parameters
454
471
  header_params = opts[:header_params] || {}
455
472
  # HTTP header 'Accept' (if needed)
456
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
473
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
457
474
 
458
475
  # form parameters
459
476
  form_params = opts[:form_params] || {}
460
477
 
461
478
  # http body (model)
462
- post_body = opts[:body]
479
+ post_body = opts[:debug_body]
463
480
 
464
481
  # return_type
465
- return_type = opts[:return_type] || 'MyPermissionsResponse'
482
+ return_type = opts[:debug_return_type] || 'MyPermissionsResponse'
466
483
 
467
484
  # auth_names
468
- auth_names = opts[:auth_names] || ['basicAuth']
485
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
469
486
 
470
487
  new_options = opts.merge(
488
+ :operation => :"RemotesGemApi.my_permissions",
471
489
  :header_params => header_params,
472
490
  :query_params => query_params,
473
491
  :form_params => form_params,
@@ -521,23 +539,27 @@ module PulpGemClient
521
539
  # header parameters
522
540
  header_params = opts[:header_params] || {}
523
541
  # HTTP header 'Accept' (if needed)
524
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
542
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
525
543
  # HTTP header 'Content-Type'
526
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
544
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
545
+ if !content_type.nil?
546
+ header_params['Content-Type'] = content_type
547
+ end
527
548
 
528
549
  # form parameters
529
550
  form_params = opts[:form_params] || {}
530
551
 
531
552
  # http body (model)
532
- post_body = opts[:body] || @api_client.object_to_http_body(patchedgem_gem_remote)
553
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedgem_gem_remote)
533
554
 
534
555
  # return_type
535
- return_type = opts[:return_type] || 'AsyncOperationResponse'
556
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
536
557
 
537
558
  # auth_names
538
- auth_names = opts[:auth_names] || ['basicAuth']
559
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
539
560
 
540
561
  new_options = opts.merge(
562
+ :operation => :"RemotesGemApi.partial_update",
541
563
  :header_params => header_params,
542
564
  :query_params => query_params,
543
565
  :form_params => form_params,
@@ -591,21 +613,22 @@ module PulpGemClient
591
613
  # header parameters
592
614
  header_params = opts[:header_params] || {}
593
615
  # HTTP header 'Accept' (if needed)
594
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
616
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
595
617
 
596
618
  # form parameters
597
619
  form_params = opts[:form_params] || {}
598
620
 
599
621
  # http body (model)
600
- post_body = opts[:body]
622
+ post_body = opts[:debug_body]
601
623
 
602
624
  # return_type
603
- return_type = opts[:return_type] || 'GemGemRemoteResponse'
625
+ return_type = opts[:debug_return_type] || 'GemGemRemoteResponse'
604
626
 
605
627
  # auth_names
606
- auth_names = opts[:auth_names] || ['basicAuth']
628
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
607
629
 
608
630
  new_options = opts.merge(
631
+ :operation => :"RemotesGemApi.read",
609
632
  :header_params => header_params,
610
633
  :query_params => query_params,
611
634
  :form_params => form_params,
@@ -659,23 +682,27 @@ module PulpGemClient
659
682
  # header parameters
660
683
  header_params = opts[:header_params] || {}
661
684
  # HTTP header 'Accept' (if needed)
662
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
685
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
663
686
  # HTTP header 'Content-Type'
664
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
687
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
688
+ if !content_type.nil?
689
+ header_params['Content-Type'] = content_type
690
+ end
665
691
 
666
692
  # form parameters
667
693
  form_params = opts[:form_params] || {}
668
694
 
669
695
  # http body (model)
670
- post_body = opts[:body] || @api_client.object_to_http_body(nested_role)
696
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(nested_role)
671
697
 
672
698
  # return_type
673
- return_type = opts[:return_type] || 'NestedRoleResponse'
699
+ return_type = opts[:debug_return_type] || 'NestedRoleResponse'
674
700
 
675
701
  # auth_names
676
- auth_names = opts[:auth_names] || ['basicAuth']
702
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
677
703
 
678
704
  new_options = opts.merge(
705
+ :operation => :"RemotesGemApi.remove_role",
679
706
  :header_params => header_params,
680
707
  :query_params => query_params,
681
708
  :form_params => form_params,
@@ -729,23 +756,27 @@ module PulpGemClient
729
756
  # header parameters
730
757
  header_params = opts[:header_params] || {}
731
758
  # HTTP header 'Accept' (if needed)
732
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
759
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
733
760
  # HTTP header 'Content-Type'
734
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
761
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
762
+ if !content_type.nil?
763
+ header_params['Content-Type'] = content_type
764
+ end
735
765
 
736
766
  # form parameters
737
767
  form_params = opts[:form_params] || {}
738
768
 
739
769
  # http body (model)
740
- post_body = opts[:body] || @api_client.object_to_http_body(set_label)
770
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
741
771
 
742
772
  # return_type
743
- return_type = opts[:return_type] || 'SetLabelResponse'
773
+ return_type = opts[:debug_return_type] || 'SetLabelResponse'
744
774
 
745
775
  # auth_names
746
- auth_names = opts[:auth_names] || ['basicAuth']
776
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
747
777
 
748
778
  new_options = opts.merge(
779
+ :operation => :"RemotesGemApi.set_label",
749
780
  :header_params => header_params,
750
781
  :query_params => query_params,
751
782
  :form_params => form_params,
@@ -799,23 +830,27 @@ module PulpGemClient
799
830
  # header parameters
800
831
  header_params = opts[:header_params] || {}
801
832
  # HTTP header 'Accept' (if needed)
802
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
833
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
803
834
  # HTTP header 'Content-Type'
804
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
835
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
836
+ if !content_type.nil?
837
+ header_params['Content-Type'] = content_type
838
+ end
805
839
 
806
840
  # form parameters
807
841
  form_params = opts[:form_params] || {}
808
842
 
809
843
  # http body (model)
810
- post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
844
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
811
845
 
812
846
  # return_type
813
- return_type = opts[:return_type] || 'UnsetLabelResponse'
847
+ return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
814
848
 
815
849
  # auth_names
816
- auth_names = opts[:auth_names] || ['basicAuth']
850
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
817
851
 
818
852
  new_options = opts.merge(
853
+ :operation => :"RemotesGemApi.unset_label",
819
854
  :header_params => header_params,
820
855
  :query_params => query_params,
821
856
  :form_params => form_params,
@@ -869,23 +904,27 @@ module PulpGemClient
869
904
  # header parameters
870
905
  header_params = opts[:header_params] || {}
871
906
  # HTTP header 'Accept' (if needed)
872
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
907
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
873
908
  # HTTP header 'Content-Type'
874
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
909
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
910
+ if !content_type.nil?
911
+ header_params['Content-Type'] = content_type
912
+ end
875
913
 
876
914
  # form parameters
877
915
  form_params = opts[:form_params] || {}
878
916
 
879
917
  # http body (model)
880
- post_body = opts[:body] || @api_client.object_to_http_body(gem_gem_remote)
918
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(gem_gem_remote)
881
919
 
882
920
  # return_type
883
- return_type = opts[:return_type] || 'AsyncOperationResponse'
921
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
884
922
 
885
923
  # auth_names
886
- auth_names = opts[:auth_names] || ['basicAuth']
924
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
887
925
 
888
926
  new_options = opts.merge(
927
+ :operation => :"RemotesGemApi.update",
889
928
  :header_params => header_params,
890
929
  :query_params => query_params,
891
930
  :form_params => form_params,