openapi_openai 1.2.0 → 1.4.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 (1083) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +50 -46
  3. data/README.md +5 -7
  4. data/bin/byebug +1 -1
  5. data/bin/coderay +1 -1
  6. data/bin/htmldiff +1 -1
  7. data/bin/ldiff +1 -1
  8. data/bin/pry +1 -1
  9. data/bin/racc +1 -1
  10. data/bin/rake +1 -1
  11. data/bin/rspec +1 -1
  12. data/bin/rubocop +1 -1
  13. data/bin/ruby-parse +1 -1
  14. data/bin/ruby-rewrite +1 -1
  15. data/docs/AuditLogActor.md +2 -2
  16. data/docs/CreateAssistantRequestToolResourcesFileSearchVectorStoresInnerChunkingStrategy.md +3 -3
  17. data/docs/CreateChatCompletionRequest.md +1 -1
  18. data/docs/CreateFineTuningJobRequestIntegrationsInner.md +1 -1
  19. data/docs/FineTuneMethod.md +2 -2
  20. data/docs/ModifyAssistantRequest.md +1 -1
  21. data/docs/VectorStoreFileObjectChunkingStrategy.md +2 -2
  22. data/git_push.sh +14 -17
  23. data/lib/openapi_openai/api/assistants_api.rb +20 -20
  24. data/lib/openapi_openai/api/audio_api.rb +1 -1
  25. data/lib/openapi_openai/api/audit_logs_api.rb +1 -1
  26. data/lib/openapi_openai/api/batch_api.rb +3 -3
  27. data/lib/openapi_openai/api/chat_api.rb +1 -1
  28. data/lib/openapi_openai/api/completions_api.rb +1 -1
  29. data/lib/openapi_openai/api/default_api.rb +3 -3
  30. data/lib/openapi_openai/api/embeddings_api.rb +1 -1
  31. data/lib/openapi_openai/api/files_api.rb +4 -4
  32. data/lib/openapi_openai/api/fine_tuning_api.rb +5 -5
  33. data/lib/openapi_openai/api/images_api.rb +1 -1
  34. data/lib/openapi_openai/api/invites_api.rb +3 -3
  35. data/lib/openapi_openai/api/models_api.rb +3 -3
  36. data/lib/openapi_openai/api/moderations_api.rb +1 -1
  37. data/lib/openapi_openai/api/projects_api.rb +18 -18
  38. data/lib/openapi_openai/api/realtime_api.rb +1 -1
  39. data/lib/openapi_openai/api/uploads_api.rb +4 -4
  40. data/lib/openapi_openai/api/usage_api.rb +1 -1
  41. data/lib/openapi_openai/api/users_api.rb +4 -4
  42. data/lib/openapi_openai/api/vector_stores_api.rb +12 -12
  43. data/lib/openapi_openai/api_client.rb +1 -1
  44. data/lib/openapi_openai/api_error.rb +1 -1
  45. data/lib/openapi_openai/api_model_base.rb +1 -1
  46. data/lib/openapi_openai/configuration.rb +1 -1
  47. data/lib/openapi_openai/models/admin_api_key.rb +22 -9
  48. data/lib/openapi_openai/models/admin_api_key_owner.rb +22 -9
  49. data/lib/openapi_openai/models/admin_api_keys_create_request.rb +22 -9
  50. data/lib/openapi_openai/models/admin_api_keys_delete200_response.rb +22 -9
  51. data/lib/openapi_openai/models/api_key_list.rb +22 -9
  52. data/lib/openapi_openai/models/array_of_content_parts_inner.rb +1 -1
  53. data/lib/openapi_openai/models/assistant_object.rb +22 -9
  54. data/lib/openapi_openai/models/assistant_object_tool_resources.rb +22 -9
  55. data/lib/openapi_openai/models/assistant_object_tool_resources_code_interpreter.rb +22 -9
  56. data/lib/openapi_openai/models/assistant_object_tool_resources_file_search.rb +22 -9
  57. data/lib/openapi_openai/models/assistant_object_tools_inner.rb +1 -1
  58. data/lib/openapi_openai/models/assistant_stream_event.rb +1 -1
  59. data/lib/openapi_openai/models/assistant_tools_code.rb +22 -9
  60. data/lib/openapi_openai/models/assistant_tools_file_search.rb +22 -9
  61. data/lib/openapi_openai/models/assistant_tools_file_search_file_search.rb +22 -9
  62. data/lib/openapi_openai/models/assistant_tools_file_search_type_only.rb +22 -9
  63. data/lib/openapi_openai/models/assistant_tools_function.rb +22 -9
  64. data/lib/openapi_openai/models/assistants_api_response_format_option.rb +1 -1
  65. data/lib/openapi_openai/models/assistants_api_tool_choice_option.rb +1 -1
  66. data/lib/openapi_openai/models/assistants_named_tool_choice.rb +22 -9
  67. data/lib/openapi_openai/models/assistants_named_tool_choice_function.rb +22 -9
  68. data/lib/openapi_openai/models/audio_response_format.rb +1 -1
  69. data/lib/openapi_openai/models/audit_log.rb +22 -9
  70. data/lib/openapi_openai/models/audit_log_actor.rb +22 -9
  71. data/lib/openapi_openai/models/audit_log_actor_api_key.rb +22 -9
  72. data/lib/openapi_openai/models/audit_log_actor_service_account.rb +22 -9
  73. data/lib/openapi_openai/models/audit_log_actor_session.rb +22 -9
  74. data/lib/openapi_openai/models/audit_log_actor_user.rb +22 -9
  75. data/lib/openapi_openai/models/audit_log_api_key_created.rb +22 -9
  76. data/lib/openapi_openai/models/audit_log_api_key_created_data.rb +22 -9
  77. data/lib/openapi_openai/models/audit_log_api_key_deleted.rb +22 -9
  78. data/lib/openapi_openai/models/audit_log_api_key_updated.rb +22 -9
  79. data/lib/openapi_openai/models/audit_log_api_key_updated_changes_requested.rb +22 -9
  80. data/lib/openapi_openai/models/audit_log_event_type.rb +1 -1
  81. data/lib/openapi_openai/models/audit_log_invite_accepted.rb +22 -9
  82. data/lib/openapi_openai/models/audit_log_invite_sent.rb +22 -9
  83. data/lib/openapi_openai/models/audit_log_invite_sent_data.rb +22 -9
  84. data/lib/openapi_openai/models/audit_log_login_failed.rb +22 -9
  85. data/lib/openapi_openai/models/audit_log_organization_updated.rb +22 -9
  86. data/lib/openapi_openai/models/audit_log_organization_updated_changes_requested.rb +22 -9
  87. data/lib/openapi_openai/models/audit_log_organization_updated_changes_requested_settings.rb +22 -9
  88. data/lib/openapi_openai/models/audit_log_project.rb +22 -9
  89. data/lib/openapi_openai/models/audit_log_project_archived.rb +22 -9
  90. data/lib/openapi_openai/models/audit_log_project_created.rb +22 -9
  91. data/lib/openapi_openai/models/audit_log_project_created_data.rb +22 -9
  92. data/lib/openapi_openai/models/audit_log_project_updated.rb +22 -9
  93. data/lib/openapi_openai/models/audit_log_project_updated_changes_requested.rb +22 -9
  94. data/lib/openapi_openai/models/audit_log_rate_limit_deleted.rb +22 -9
  95. data/lib/openapi_openai/models/audit_log_rate_limit_updated.rb +22 -9
  96. data/lib/openapi_openai/models/audit_log_rate_limit_updated_changes_requested.rb +22 -9
  97. data/lib/openapi_openai/models/audit_log_service_account_created.rb +22 -9
  98. data/lib/openapi_openai/models/audit_log_service_account_created_data.rb +22 -9
  99. data/lib/openapi_openai/models/audit_log_service_account_deleted.rb +22 -9
  100. data/lib/openapi_openai/models/audit_log_service_account_updated.rb +22 -9
  101. data/lib/openapi_openai/models/audit_log_service_account_updated_changes_requested.rb +22 -9
  102. data/lib/openapi_openai/models/audit_log_user_added.rb +22 -9
  103. data/lib/openapi_openai/models/audit_log_user_added_data.rb +22 -9
  104. data/lib/openapi_openai/models/audit_log_user_deleted.rb +22 -9
  105. data/lib/openapi_openai/models/audit_log_user_updated.rb +22 -9
  106. data/lib/openapi_openai/models/audit_log_user_updated_changes_requested.rb +22 -9
  107. data/lib/openapi_openai/models/auto_chunking_strategy_request_param.rb +22 -9
  108. data/lib/openapi_openai/models/batch.rb +22 -9
  109. data/lib/openapi_openai/models/batch_errors.rb +22 -9
  110. data/lib/openapi_openai/models/batch_errors_data_inner.rb +22 -9
  111. data/lib/openapi_openai/models/batch_request_counts.rb +22 -9
  112. data/lib/openapi_openai/models/batch_request_input.rb +22 -9
  113. data/lib/openapi_openai/models/batch_request_output.rb +22 -9
  114. data/lib/openapi_openai/models/batch_request_output_error.rb +22 -9
  115. data/lib/openapi_openai/models/batch_request_output_response.rb +22 -9
  116. data/lib/openapi_openai/models/chat_completion_function_call_option.rb +22 -9
  117. data/lib/openapi_openai/models/chat_completion_functions.rb +22 -9
  118. data/lib/openapi_openai/models/chat_completion_message_tool_call.rb +22 -9
  119. data/lib/openapi_openai/models/chat_completion_message_tool_call_chunk.rb +22 -9
  120. data/lib/openapi_openai/models/chat_completion_message_tool_call_chunk_function.rb +22 -9
  121. data/lib/openapi_openai/models/chat_completion_message_tool_call_function.rb +22 -9
  122. data/lib/openapi_openai/models/chat_completion_named_tool_choice.rb +22 -9
  123. data/lib/openapi_openai/models/chat_completion_request_assistant_message.rb +22 -9
  124. data/lib/openapi_openai/models/chat_completion_request_assistant_message_audio.rb +22 -9
  125. data/lib/openapi_openai/models/chat_completion_request_assistant_message_content.rb +1 -1
  126. data/lib/openapi_openai/models/chat_completion_request_assistant_message_content_part.rb +1 -1
  127. data/lib/openapi_openai/models/chat_completion_request_assistant_message_function_call.rb +22 -9
  128. data/lib/openapi_openai/models/chat_completion_request_developer_message.rb +22 -9
  129. data/lib/openapi_openai/models/chat_completion_request_developer_message_content.rb +1 -1
  130. data/lib/openapi_openai/models/chat_completion_request_function_message.rb +22 -9
  131. data/lib/openapi_openai/models/chat_completion_request_message.rb +1 -1
  132. data/lib/openapi_openai/models/chat_completion_request_message_content_part_audio.rb +22 -9
  133. data/lib/openapi_openai/models/chat_completion_request_message_content_part_audio_input_audio.rb +22 -9
  134. data/lib/openapi_openai/models/chat_completion_request_message_content_part_image.rb +22 -9
  135. data/lib/openapi_openai/models/chat_completion_request_message_content_part_image_image_url.rb +22 -9
  136. data/lib/openapi_openai/models/chat_completion_request_message_content_part_refusal.rb +22 -9
  137. data/lib/openapi_openai/models/chat_completion_request_message_content_part_text.rb +22 -9
  138. data/lib/openapi_openai/models/chat_completion_request_system_message.rb +22 -9
  139. data/lib/openapi_openai/models/chat_completion_request_system_message_content.rb +1 -1
  140. data/lib/openapi_openai/models/chat_completion_request_tool_message.rb +22 -9
  141. data/lib/openapi_openai/models/chat_completion_request_tool_message_content.rb +1 -1
  142. data/lib/openapi_openai/models/chat_completion_request_user_message.rb +22 -9
  143. data/lib/openapi_openai/models/chat_completion_request_user_message_content.rb +1 -1
  144. data/lib/openapi_openai/models/chat_completion_request_user_message_content_part.rb +1 -1
  145. data/lib/openapi_openai/models/chat_completion_response_message.rb +22 -9
  146. data/lib/openapi_openai/models/chat_completion_response_message_audio.rb +22 -9
  147. data/lib/openapi_openai/models/chat_completion_response_message_function_call.rb +22 -9
  148. data/lib/openapi_openai/models/chat_completion_role.rb +1 -1
  149. data/lib/openapi_openai/models/chat_completion_stream_options.rb +22 -9
  150. data/lib/openapi_openai/models/chat_completion_stream_response_delta.rb +22 -9
  151. data/lib/openapi_openai/models/chat_completion_stream_response_delta_function_call.rb +22 -9
  152. data/lib/openapi_openai/models/chat_completion_token_logprob.rb +22 -9
  153. data/lib/openapi_openai/models/chat_completion_token_logprob_top_logprobs_inner.rb +22 -9
  154. data/lib/openapi_openai/models/chat_completion_tool.rb +22 -9
  155. data/lib/openapi_openai/models/chat_completion_tool_choice_option.rb +1 -1
  156. data/lib/openapi_openai/models/chunking_strategy_request_param.rb +1 -1
  157. data/lib/openapi_openai/models/complete_upload_request.rb +22 -9
  158. data/lib/openapi_openai/models/completion_usage.rb +22 -9
  159. data/lib/openapi_openai/models/completion_usage_completion_tokens_details.rb +22 -9
  160. data/lib/openapi_openai/models/completion_usage_prompt_tokens_details.rb +22 -9
  161. data/lib/openapi_openai/models/costs_result.rb +22 -9
  162. data/lib/openapi_openai/models/costs_result_amount.rb +22 -9
  163. data/lib/openapi_openai/models/create_assistant_request.rb +22 -9
  164. data/lib/openapi_openai/models/create_assistant_request_model.rb +1 -1
  165. data/lib/openapi_openai/models/create_assistant_request_tool_resources.rb +22 -9
  166. data/lib/openapi_openai/models/create_assistant_request_tool_resources_code_interpreter.rb +22 -9
  167. data/lib/openapi_openai/models/create_assistant_request_tool_resources_file_search.rb +22 -9
  168. data/lib/openapi_openai/models/create_assistant_request_tool_resources_file_search_vector_stores_inner.rb +22 -9
  169. data/lib/openapi_openai/models/create_assistant_request_tool_resources_file_search_vector_stores_inner_chunking_strategy.rb +2 -2
  170. data/lib/openapi_openai/models/create_batch_request.rb +22 -9
  171. data/lib/openapi_openai/models/create_chat_completion_function_response.rb +22 -9
  172. data/lib/openapi_openai/models/create_chat_completion_function_response_choices_inner.rb +22 -9
  173. data/lib/openapi_openai/models/create_chat_completion_request.rb +23 -9
  174. data/lib/openapi_openai/models/create_chat_completion_request_audio.rb +22 -9
  175. data/lib/openapi_openai/models/create_chat_completion_request_function_call.rb +1 -1
  176. data/lib/openapi_openai/models/create_chat_completion_request_model.rb +1 -1
  177. data/lib/openapi_openai/models/create_chat_completion_request_response_format.rb +1 -1
  178. data/lib/openapi_openai/models/create_chat_completion_request_stop.rb +1 -1
  179. data/lib/openapi_openai/models/create_chat_completion_response.rb +22 -9
  180. data/lib/openapi_openai/models/create_chat_completion_response_choices_inner.rb +22 -9
  181. data/lib/openapi_openai/models/create_chat_completion_response_choices_inner_logprobs.rb +22 -9
  182. data/lib/openapi_openai/models/create_chat_completion_stream_response.rb +22 -9
  183. data/lib/openapi_openai/models/create_chat_completion_stream_response_choices_inner.rb +22 -9
  184. data/lib/openapi_openai/models/create_chat_completion_stream_response_usage.rb +22 -9
  185. data/lib/openapi_openai/models/create_completion_request.rb +22 -9
  186. data/lib/openapi_openai/models/create_completion_request_model.rb +1 -1
  187. data/lib/openapi_openai/models/create_completion_request_prompt.rb +1 -1
  188. data/lib/openapi_openai/models/create_completion_request_stop.rb +1 -1
  189. data/lib/openapi_openai/models/create_completion_response.rb +22 -9
  190. data/lib/openapi_openai/models/create_completion_response_choices_inner.rb +22 -9
  191. data/lib/openapi_openai/models/create_completion_response_choices_inner_logprobs.rb +22 -9
  192. data/lib/openapi_openai/models/create_embedding_request.rb +22 -9
  193. data/lib/openapi_openai/models/create_embedding_request_input.rb +1 -1
  194. data/lib/openapi_openai/models/create_embedding_request_model.rb +1 -1
  195. data/lib/openapi_openai/models/create_embedding_response.rb +22 -9
  196. data/lib/openapi_openai/models/create_embedding_response_usage.rb +22 -9
  197. data/lib/openapi_openai/models/create_fine_tuning_job_request.rb +22 -9
  198. data/lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters.rb +22 -9
  199. data/lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters_batch_size.rb +1 -1
  200. data/lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters_learning_rate_multiplier.rb +1 -1
  201. data/lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters_n_epochs.rb +1 -1
  202. data/lib/openapi_openai/models/create_fine_tuning_job_request_integrations_inner.rb +23 -9
  203. data/lib/openapi_openai/models/create_fine_tuning_job_request_integrations_inner_wandb.rb +22 -9
  204. data/lib/openapi_openai/models/create_fine_tuning_job_request_model.rb +1 -1
  205. data/lib/openapi_openai/models/create_image_edit_request_model.rb +1 -1
  206. data/lib/openapi_openai/models/create_image_request.rb +22 -9
  207. data/lib/openapi_openai/models/create_image_request_model.rb +1 -1
  208. data/lib/openapi_openai/models/create_message_request.rb +22 -9
  209. data/lib/openapi_openai/models/create_message_request_attachments_inner.rb +22 -9
  210. data/lib/openapi_openai/models/create_message_request_attachments_inner_tools_inner.rb +1 -1
  211. data/lib/openapi_openai/models/create_message_request_content.rb +1 -1
  212. data/lib/openapi_openai/models/create_moderation_request.rb +22 -9
  213. data/lib/openapi_openai/models/create_moderation_request_input.rb +1 -1
  214. data/lib/openapi_openai/models/create_moderation_request_input_one_of_inner.rb +1 -1
  215. data/lib/openapi_openai/models/create_moderation_request_input_one_of_inner_one_of.rb +22 -9
  216. data/lib/openapi_openai/models/create_moderation_request_input_one_of_inner_one_of1.rb +22 -9
  217. data/lib/openapi_openai/models/create_moderation_request_input_one_of_inner_one_of_image_url.rb +22 -9
  218. data/lib/openapi_openai/models/create_moderation_request_model.rb +1 -1
  219. data/lib/openapi_openai/models/create_moderation_response.rb +22 -9
  220. data/lib/openapi_openai/models/create_moderation_response_results_inner.rb +22 -9
  221. data/lib/openapi_openai/models/create_moderation_response_results_inner_categories.rb +22 -9
  222. data/lib/openapi_openai/models/create_moderation_response_results_inner_category_applied_input_types.rb +22 -9
  223. data/lib/openapi_openai/models/create_moderation_response_results_inner_category_scores.rb +22 -9
  224. data/lib/openapi_openai/models/create_run_request.rb +22 -9
  225. data/lib/openapi_openai/models/create_run_request_model.rb +1 -1
  226. data/lib/openapi_openai/models/create_speech_request.rb +22 -9
  227. data/lib/openapi_openai/models/create_speech_request_model.rb +1 -1
  228. data/lib/openapi_openai/models/create_thread_and_run_request.rb +22 -9
  229. data/lib/openapi_openai/models/create_thread_and_run_request_tool_resources.rb +22 -9
  230. data/lib/openapi_openai/models/create_thread_and_run_request_tools_inner.rb +1 -1
  231. data/lib/openapi_openai/models/create_thread_request.rb +22 -9
  232. data/lib/openapi_openai/models/create_thread_request_tool_resources.rb +22 -9
  233. data/lib/openapi_openai/models/create_thread_request_tool_resources_file_search.rb +22 -9
  234. data/lib/openapi_openai/models/create_thread_request_tool_resources_file_search_vector_stores_inner.rb +22 -9
  235. data/lib/openapi_openai/models/create_transcription200_response.rb +1 -1
  236. data/lib/openapi_openai/models/create_transcription_request_model.rb +1 -1
  237. data/lib/openapi_openai/models/create_transcription_response_json.rb +22 -9
  238. data/lib/openapi_openai/models/create_transcription_response_verbose_json.rb +22 -9
  239. data/lib/openapi_openai/models/create_translation200_response.rb +1 -1
  240. data/lib/openapi_openai/models/create_translation_response_json.rb +22 -9
  241. data/lib/openapi_openai/models/create_translation_response_verbose_json.rb +22 -9
  242. data/lib/openapi_openai/models/create_upload_request.rb +22 -9
  243. data/lib/openapi_openai/models/create_vector_store_file_batch_request.rb +22 -9
  244. data/lib/openapi_openai/models/create_vector_store_file_request.rb +22 -9
  245. data/lib/openapi_openai/models/create_vector_store_request.rb +22 -9
  246. data/lib/openapi_openai/models/create_vector_store_request_chunking_strategy.rb +1 -1
  247. data/lib/openapi_openai/models/default_project_error_response.rb +22 -9
  248. data/lib/openapi_openai/models/delete_assistant_response.rb +22 -9
  249. data/lib/openapi_openai/models/delete_file_response.rb +22 -9
  250. data/lib/openapi_openai/models/delete_message_response.rb +22 -9
  251. data/lib/openapi_openai/models/delete_model_response.rb +22 -9
  252. data/lib/openapi_openai/models/delete_thread_response.rb +22 -9
  253. data/lib/openapi_openai/models/delete_vector_store_file_response.rb +22 -9
  254. data/lib/openapi_openai/models/delete_vector_store_response.rb +22 -9
  255. data/lib/openapi_openai/models/done_event.rb +22 -9
  256. data/lib/openapi_openai/models/embedding.rb +22 -9
  257. data/lib/openapi_openai/models/error.rb +22 -9
  258. data/lib/openapi_openai/models/error_event.rb +22 -9
  259. data/lib/openapi_openai/models/error_response.rb +22 -9
  260. data/lib/openapi_openai/models/file_search_ranking_options.rb +22 -9
  261. data/lib/openapi_openai/models/fine_tune_chat_completion_request_assistant_message.rb +22 -9
  262. data/lib/openapi_openai/models/fine_tune_chat_request_input.rb +22 -9
  263. data/lib/openapi_openai/models/fine_tune_chat_request_input_messages_inner.rb +1 -1
  264. data/lib/openapi_openai/models/fine_tune_completion_request_input.rb +22 -9
  265. data/lib/openapi_openai/models/fine_tune_dpo_method.rb +22 -9
  266. data/lib/openapi_openai/models/fine_tune_dpo_method_hyperparameters.rb +22 -9
  267. data/lib/openapi_openai/models/fine_tune_dpo_method_hyperparameters_batch_size.rb +1 -1
  268. data/lib/openapi_openai/models/fine_tune_dpo_method_hyperparameters_beta.rb +1 -1
  269. data/lib/openapi_openai/models/fine_tune_dpo_method_hyperparameters_learning_rate_multiplier.rb +1 -1
  270. data/lib/openapi_openai/models/fine_tune_dpo_method_hyperparameters_n_epochs.rb +1 -1
  271. data/lib/openapi_openai/models/fine_tune_method.rb +22 -9
  272. data/lib/openapi_openai/models/fine_tune_preference_request_input.rb +22 -9
  273. data/lib/openapi_openai/models/fine_tune_preference_request_input_input.rb +22 -9
  274. data/lib/openapi_openai/models/fine_tune_preference_request_input_preferred_completion_inner.rb +1 -1
  275. data/lib/openapi_openai/models/fine_tune_supervised_method.rb +22 -9
  276. data/lib/openapi_openai/models/fine_tune_supervised_method_hyperparameters.rb +22 -9
  277. data/lib/openapi_openai/models/fine_tuning_integration.rb +22 -9
  278. data/lib/openapi_openai/models/fine_tuning_job.rb +22 -9
  279. data/lib/openapi_openai/models/fine_tuning_job_checkpoint.rb +22 -9
  280. data/lib/openapi_openai/models/fine_tuning_job_checkpoint_metrics.rb +22 -9
  281. data/lib/openapi_openai/models/fine_tuning_job_error.rb +22 -9
  282. data/lib/openapi_openai/models/fine_tuning_job_event.rb +22 -9
  283. data/lib/openapi_openai/models/fine_tuning_job_hyperparameters.rb +22 -9
  284. data/lib/openapi_openai/models/fine_tuning_job_integrations_inner.rb +1 -1
  285. data/lib/openapi_openai/models/function_object.rb +22 -9
  286. data/lib/openapi_openai/models/image.rb +22 -9
  287. data/lib/openapi_openai/models/images_response.rb +22 -9
  288. data/lib/openapi_openai/models/invite.rb +22 -9
  289. data/lib/openapi_openai/models/invite_delete_response.rb +22 -9
  290. data/lib/openapi_openai/models/invite_list_response.rb +22 -9
  291. data/lib/openapi_openai/models/invite_projects_inner.rb +22 -9
  292. data/lib/openapi_openai/models/invite_request.rb +22 -9
  293. data/lib/openapi_openai/models/invite_request_projects_inner.rb +22 -9
  294. data/lib/openapi_openai/models/list_assistants_response.rb +22 -9
  295. data/lib/openapi_openai/models/list_audit_logs_effective_at_parameter.rb +22 -9
  296. data/lib/openapi_openai/models/list_audit_logs_response.rb +22 -9
  297. data/lib/openapi_openai/models/list_batches_response.rb +22 -9
  298. data/lib/openapi_openai/models/list_files_response.rb +22 -9
  299. data/lib/openapi_openai/models/list_fine_tuning_job_checkpoints_response.rb +22 -9
  300. data/lib/openapi_openai/models/list_fine_tuning_job_events_response.rb +22 -9
  301. data/lib/openapi_openai/models/list_messages_response.rb +22 -9
  302. data/lib/openapi_openai/models/list_models_response.rb +22 -9
  303. data/lib/openapi_openai/models/list_paginated_fine_tuning_jobs_response.rb +22 -9
  304. data/lib/openapi_openai/models/list_run_steps_response.rb +22 -9
  305. data/lib/openapi_openai/models/list_runs_response.rb +22 -9
  306. data/lib/openapi_openai/models/list_threads_response.rb +22 -9
  307. data/lib/openapi_openai/models/list_vector_store_files_response.rb +22 -9
  308. data/lib/openapi_openai/models/list_vector_stores_response.rb +22 -9
  309. data/lib/openapi_openai/models/message_content_image_file_object.rb +22 -9
  310. data/lib/openapi_openai/models/message_content_image_file_object_image_file.rb +22 -9
  311. data/lib/openapi_openai/models/message_content_image_url_object.rb +22 -9
  312. data/lib/openapi_openai/models/message_content_image_url_object_image_url.rb +22 -9
  313. data/lib/openapi_openai/models/message_content_refusal_object.rb +22 -9
  314. data/lib/openapi_openai/models/message_content_text_annotations_file_citation_object.rb +22 -9
  315. data/lib/openapi_openai/models/message_content_text_annotations_file_citation_object_file_citation.rb +22 -9
  316. data/lib/openapi_openai/models/message_content_text_annotations_file_path_object.rb +22 -9
  317. data/lib/openapi_openai/models/message_content_text_annotations_file_path_object_file_path.rb +22 -9
  318. data/lib/openapi_openai/models/message_content_text_object.rb +22 -9
  319. data/lib/openapi_openai/models/message_content_text_object_text.rb +22 -9
  320. data/lib/openapi_openai/models/message_content_text_object_text_annotations_inner.rb +1 -1
  321. data/lib/openapi_openai/models/message_delta_content_image_file_object.rb +22 -9
  322. data/lib/openapi_openai/models/message_delta_content_image_file_object_image_file.rb +22 -9
  323. data/lib/openapi_openai/models/message_delta_content_image_url_object.rb +22 -9
  324. data/lib/openapi_openai/models/message_delta_content_image_url_object_image_url.rb +22 -9
  325. data/lib/openapi_openai/models/message_delta_content_refusal_object.rb +22 -9
  326. data/lib/openapi_openai/models/message_delta_content_text_annotations_file_citation_object.rb +22 -9
  327. data/lib/openapi_openai/models/message_delta_content_text_annotations_file_citation_object_file_citation.rb +22 -9
  328. data/lib/openapi_openai/models/message_delta_content_text_annotations_file_path_object.rb +22 -9
  329. data/lib/openapi_openai/models/message_delta_content_text_annotations_file_path_object_file_path.rb +22 -9
  330. data/lib/openapi_openai/models/message_delta_content_text_object.rb +22 -9
  331. data/lib/openapi_openai/models/message_delta_content_text_object_text.rb +22 -9
  332. data/lib/openapi_openai/models/message_delta_content_text_object_text_annotations_inner.rb +1 -1
  333. data/lib/openapi_openai/models/message_delta_object.rb +22 -9
  334. data/lib/openapi_openai/models/message_delta_object_delta.rb +22 -9
  335. data/lib/openapi_openai/models/message_delta_object_delta_content_inner.rb +1 -1
  336. data/lib/openapi_openai/models/message_object.rb +22 -9
  337. data/lib/openapi_openai/models/message_object_content_inner.rb +1 -1
  338. data/lib/openapi_openai/models/message_object_incomplete_details.rb +22 -9
  339. data/lib/openapi_openai/models/message_request_content_text_object.rb +22 -9
  340. data/lib/openapi_openai/models/message_stream_event.rb +1 -1
  341. data/lib/openapi_openai/models/message_stream_event_one_of.rb +22 -9
  342. data/lib/openapi_openai/models/message_stream_event_one_of1.rb +22 -9
  343. data/lib/openapi_openai/models/message_stream_event_one_of2.rb +22 -9
  344. data/lib/openapi_openai/models/message_stream_event_one_of3.rb +22 -9
  345. data/lib/openapi_openai/models/message_stream_event_one_of4.rb +22 -9
  346. data/lib/openapi_openai/models/model.rb +22 -9
  347. data/lib/openapi_openai/models/modify_assistant_request.rb +23 -9
  348. data/lib/openapi_openai/models/modify_assistant_request_tool_resources.rb +22 -9
  349. data/lib/openapi_openai/models/modify_assistant_request_tool_resources_code_interpreter.rb +22 -9
  350. data/lib/openapi_openai/models/modify_assistant_request_tool_resources_file_search.rb +22 -9
  351. data/lib/openapi_openai/models/modify_message_request.rb +22 -9
  352. data/lib/openapi_openai/models/modify_run_request.rb +22 -9
  353. data/lib/openapi_openai/models/modify_thread_request.rb +22 -9
  354. data/lib/openapi_openai/models/modify_thread_request_tool_resources.rb +22 -9
  355. data/lib/openapi_openai/models/modify_thread_request_tool_resources_file_search.rb +22 -9
  356. data/lib/openapi_openai/models/open_ai_file.rb +22 -9
  357. data/lib/openapi_openai/models/other_chunking_strategy_response_param.rb +22 -9
  358. data/lib/openapi_openai/models/prediction_content.rb +22 -9
  359. data/lib/openapi_openai/models/prediction_content_content.rb +1 -1
  360. data/lib/openapi_openai/models/project.rb +22 -9
  361. data/lib/openapi_openai/models/project_api_key.rb +22 -9
  362. data/lib/openapi_openai/models/project_api_key_delete_response.rb +22 -9
  363. data/lib/openapi_openai/models/project_api_key_list_response.rb +22 -9
  364. data/lib/openapi_openai/models/project_api_key_owner.rb +22 -9
  365. data/lib/openapi_openai/models/project_create_request.rb +22 -9
  366. data/lib/openapi_openai/models/project_list_response.rb +22 -9
  367. data/lib/openapi_openai/models/project_rate_limit.rb +22 -9
  368. data/lib/openapi_openai/models/project_rate_limit_list_response.rb +22 -9
  369. data/lib/openapi_openai/models/project_rate_limit_update_request.rb +22 -9
  370. data/lib/openapi_openai/models/project_service_account.rb +22 -9
  371. data/lib/openapi_openai/models/project_service_account_api_key.rb +22 -9
  372. data/lib/openapi_openai/models/project_service_account_create_request.rb +22 -9
  373. data/lib/openapi_openai/models/project_service_account_create_response.rb +22 -9
  374. data/lib/openapi_openai/models/project_service_account_delete_response.rb +22 -9
  375. data/lib/openapi_openai/models/project_service_account_list_response.rb +22 -9
  376. data/lib/openapi_openai/models/project_update_request.rb +22 -9
  377. data/lib/openapi_openai/models/project_user.rb +22 -9
  378. data/lib/openapi_openai/models/project_user_create_request.rb +22 -9
  379. data/lib/openapi_openai/models/project_user_delete_response.rb +22 -9
  380. data/lib/openapi_openai/models/project_user_list_response.rb +22 -9
  381. data/lib/openapi_openai/models/project_user_update_request.rb +22 -9
  382. data/lib/openapi_openai/models/realtime_client_event_conversation_item_create.rb +22 -9
  383. data/lib/openapi_openai/models/realtime_client_event_conversation_item_delete.rb +22 -9
  384. data/lib/openapi_openai/models/realtime_client_event_conversation_item_truncate.rb +22 -9
  385. data/lib/openapi_openai/models/realtime_client_event_input_audio_buffer_append.rb +22 -9
  386. data/lib/openapi_openai/models/realtime_client_event_input_audio_buffer_clear.rb +22 -9
  387. data/lib/openapi_openai/models/realtime_client_event_input_audio_buffer_commit.rb +22 -9
  388. data/lib/openapi_openai/models/realtime_client_event_response_cancel.rb +22 -9
  389. data/lib/openapi_openai/models/realtime_client_event_response_create.rb +22 -9
  390. data/lib/openapi_openai/models/realtime_client_event_session_update.rb +22 -9
  391. data/lib/openapi_openai/models/realtime_conversation_item.rb +22 -9
  392. data/lib/openapi_openai/models/realtime_conversation_item_content_inner.rb +22 -9
  393. data/lib/openapi_openai/models/realtime_response.rb +22 -9
  394. data/lib/openapi_openai/models/realtime_response_create_params.rb +22 -9
  395. data/lib/openapi_openai/models/realtime_response_create_params_conversation.rb +1 -1
  396. data/lib/openapi_openai/models/realtime_response_create_params_max_response_output_tokens.rb +1 -1
  397. data/lib/openapi_openai/models/realtime_response_create_params_tools_inner.rb +22 -9
  398. data/lib/openapi_openai/models/realtime_response_status_details.rb +22 -9
  399. data/lib/openapi_openai/models/realtime_response_status_details_error.rb +22 -9
  400. data/lib/openapi_openai/models/realtime_response_usage.rb +22 -9
  401. data/lib/openapi_openai/models/realtime_response_usage_input_token_details.rb +22 -9
  402. data/lib/openapi_openai/models/realtime_response_usage_output_token_details.rb +22 -9
  403. data/lib/openapi_openai/models/realtime_server_event_conversation_created.rb +22 -9
  404. data/lib/openapi_openai/models/realtime_server_event_conversation_created_conversation.rb +22 -9
  405. data/lib/openapi_openai/models/realtime_server_event_conversation_item_created.rb +22 -9
  406. data/lib/openapi_openai/models/realtime_server_event_conversation_item_deleted.rb +22 -9
  407. data/lib/openapi_openai/models/realtime_server_event_conversation_item_input_audio_transcription_completed.rb +22 -9
  408. data/lib/openapi_openai/models/realtime_server_event_conversation_item_input_audio_transcription_failed.rb +22 -9
  409. data/lib/openapi_openai/models/realtime_server_event_conversation_item_input_audio_transcription_failed_error.rb +22 -9
  410. data/lib/openapi_openai/models/realtime_server_event_conversation_item_truncated.rb +22 -9
  411. data/lib/openapi_openai/models/realtime_server_event_error.rb +22 -9
  412. data/lib/openapi_openai/models/realtime_server_event_error_error.rb +22 -9
  413. data/lib/openapi_openai/models/realtime_server_event_input_audio_buffer_cleared.rb +22 -9
  414. data/lib/openapi_openai/models/realtime_server_event_input_audio_buffer_committed.rb +22 -9
  415. data/lib/openapi_openai/models/realtime_server_event_input_audio_buffer_speech_started.rb +22 -9
  416. data/lib/openapi_openai/models/realtime_server_event_input_audio_buffer_speech_stopped.rb +22 -9
  417. data/lib/openapi_openai/models/realtime_server_event_rate_limits_updated.rb +22 -9
  418. data/lib/openapi_openai/models/realtime_server_event_rate_limits_updated_rate_limits_inner.rb +22 -9
  419. data/lib/openapi_openai/models/realtime_server_event_response_audio_delta.rb +22 -9
  420. data/lib/openapi_openai/models/realtime_server_event_response_audio_done.rb +22 -9
  421. data/lib/openapi_openai/models/realtime_server_event_response_audio_transcript_delta.rb +22 -9
  422. data/lib/openapi_openai/models/realtime_server_event_response_audio_transcript_done.rb +22 -9
  423. data/lib/openapi_openai/models/realtime_server_event_response_content_part_added.rb +22 -9
  424. data/lib/openapi_openai/models/realtime_server_event_response_content_part_added_part.rb +22 -9
  425. data/lib/openapi_openai/models/realtime_server_event_response_content_part_done.rb +22 -9
  426. data/lib/openapi_openai/models/realtime_server_event_response_content_part_done_part.rb +22 -9
  427. data/lib/openapi_openai/models/realtime_server_event_response_created.rb +22 -9
  428. data/lib/openapi_openai/models/realtime_server_event_response_done.rb +22 -9
  429. data/lib/openapi_openai/models/realtime_server_event_response_function_call_arguments_delta.rb +22 -9
  430. data/lib/openapi_openai/models/realtime_server_event_response_function_call_arguments_done.rb +22 -9
  431. data/lib/openapi_openai/models/realtime_server_event_response_output_item_added.rb +22 -9
  432. data/lib/openapi_openai/models/realtime_server_event_response_output_item_done.rb +22 -9
  433. data/lib/openapi_openai/models/realtime_server_event_response_text_delta.rb +22 -9
  434. data/lib/openapi_openai/models/realtime_server_event_response_text_done.rb +22 -9
  435. data/lib/openapi_openai/models/realtime_server_event_session_created.rb +22 -9
  436. data/lib/openapi_openai/models/realtime_server_event_session_updated.rb +22 -9
  437. data/lib/openapi_openai/models/realtime_session.rb +22 -9
  438. data/lib/openapi_openai/models/realtime_session_create_request.rb +22 -9
  439. data/lib/openapi_openai/models/realtime_session_create_request_turn_detection.rb +22 -9
  440. data/lib/openapi_openai/models/realtime_session_create_response.rb +22 -9
  441. data/lib/openapi_openai/models/realtime_session_create_response_client_secret.rb +22 -9
  442. data/lib/openapi_openai/models/realtime_session_create_response_turn_detection.rb +22 -9
  443. data/lib/openapi_openai/models/realtime_session_input_audio_transcription.rb +22 -9
  444. data/lib/openapi_openai/models/realtime_session_model.rb +1 -1
  445. data/lib/openapi_openai/models/realtime_session_turn_detection.rb +22 -9
  446. data/lib/openapi_openai/models/response_format_json_object.rb +22 -9
  447. data/lib/openapi_openai/models/response_format_json_schema.rb +22 -9
  448. data/lib/openapi_openai/models/response_format_json_schema_json_schema.rb +22 -9
  449. data/lib/openapi_openai/models/response_format_text.rb +22 -9
  450. data/lib/openapi_openai/models/run_completion_usage.rb +22 -9
  451. data/lib/openapi_openai/models/run_object.rb +22 -9
  452. data/lib/openapi_openai/models/run_object_incomplete_details.rb +22 -9
  453. data/lib/openapi_openai/models/run_object_last_error.rb +22 -9
  454. data/lib/openapi_openai/models/run_object_required_action.rb +22 -9
  455. data/lib/openapi_openai/models/run_object_required_action_submit_tool_outputs.rb +22 -9
  456. data/lib/openapi_openai/models/run_step_completion_usage.rb +22 -9
  457. data/lib/openapi_openai/models/run_step_delta_object.rb +22 -9
  458. data/lib/openapi_openai/models/run_step_delta_object_delta.rb +22 -9
  459. data/lib/openapi_openai/models/run_step_delta_object_delta_step_details.rb +1 -1
  460. data/lib/openapi_openai/models/run_step_delta_step_details_message_creation_object.rb +22 -9
  461. data/lib/openapi_openai/models/run_step_delta_step_details_message_creation_object_message_creation.rb +22 -9
  462. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_object.rb +22 -9
  463. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter.rb +22 -9
  464. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter_outputs_inner.rb +1 -1
  465. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_output_image_object.rb +22 -9
  466. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_output_image_object_image.rb +22 -9
  467. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_output_logs_object.rb +22 -9
  468. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_file_search_object.rb +22 -9
  469. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_function_object.rb +22 -9
  470. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_function_object_function.rb +22 -9
  471. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_object.rb +22 -9
  472. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_object_tool_calls_inner.rb +1 -1
  473. data/lib/openapi_openai/models/run_step_details_message_creation_object.rb +22 -9
  474. data/lib/openapi_openai/models/run_step_details_message_creation_object_message_creation.rb +22 -9
  475. data/lib/openapi_openai/models/run_step_details_tool_calls_code_object.rb +22 -9
  476. data/lib/openapi_openai/models/run_step_details_tool_calls_code_object_code_interpreter.rb +22 -9
  477. data/lib/openapi_openai/models/run_step_details_tool_calls_code_object_code_interpreter_outputs_inner.rb +1 -1
  478. data/lib/openapi_openai/models/run_step_details_tool_calls_code_output_image_object.rb +22 -9
  479. data/lib/openapi_openai/models/run_step_details_tool_calls_code_output_image_object_image.rb +22 -9
  480. data/lib/openapi_openai/models/run_step_details_tool_calls_code_output_logs_object.rb +22 -9
  481. data/lib/openapi_openai/models/run_step_details_tool_calls_file_search_object.rb +22 -9
  482. data/lib/openapi_openai/models/run_step_details_tool_calls_file_search_object_file_search.rb +22 -9
  483. data/lib/openapi_openai/models/run_step_details_tool_calls_file_search_ranking_options_object.rb +22 -9
  484. data/lib/openapi_openai/models/run_step_details_tool_calls_file_search_result_object.rb +22 -9
  485. data/lib/openapi_openai/models/run_step_details_tool_calls_file_search_result_object_content_inner.rb +22 -9
  486. data/lib/openapi_openai/models/run_step_details_tool_calls_function_object.rb +22 -9
  487. data/lib/openapi_openai/models/run_step_details_tool_calls_function_object_function.rb +22 -9
  488. data/lib/openapi_openai/models/run_step_details_tool_calls_object.rb +22 -9
  489. data/lib/openapi_openai/models/run_step_details_tool_calls_object_tool_calls_inner.rb +1 -1
  490. data/lib/openapi_openai/models/run_step_object.rb +22 -9
  491. data/lib/openapi_openai/models/run_step_object_last_error.rb +22 -9
  492. data/lib/openapi_openai/models/run_step_object_step_details.rb +1 -1
  493. data/lib/openapi_openai/models/run_step_stream_event.rb +1 -1
  494. data/lib/openapi_openai/models/run_step_stream_event_one_of.rb +22 -9
  495. data/lib/openapi_openai/models/run_step_stream_event_one_of1.rb +22 -9
  496. data/lib/openapi_openai/models/run_step_stream_event_one_of2.rb +22 -9
  497. data/lib/openapi_openai/models/run_step_stream_event_one_of3.rb +22 -9
  498. data/lib/openapi_openai/models/run_step_stream_event_one_of4.rb +22 -9
  499. data/lib/openapi_openai/models/run_step_stream_event_one_of5.rb +22 -9
  500. data/lib/openapi_openai/models/run_step_stream_event_one_of6.rb +22 -9
  501. data/lib/openapi_openai/models/run_stream_event.rb +1 -1
  502. data/lib/openapi_openai/models/run_stream_event_one_of.rb +22 -9
  503. data/lib/openapi_openai/models/run_stream_event_one_of1.rb +22 -9
  504. data/lib/openapi_openai/models/run_stream_event_one_of2.rb +22 -9
  505. data/lib/openapi_openai/models/run_stream_event_one_of3.rb +22 -9
  506. data/lib/openapi_openai/models/run_stream_event_one_of4.rb +22 -9
  507. data/lib/openapi_openai/models/run_stream_event_one_of5.rb +22 -9
  508. data/lib/openapi_openai/models/run_stream_event_one_of6.rb +22 -9
  509. data/lib/openapi_openai/models/run_stream_event_one_of7.rb +22 -9
  510. data/lib/openapi_openai/models/run_stream_event_one_of8.rb +22 -9
  511. data/lib/openapi_openai/models/run_stream_event_one_of9.rb +22 -9
  512. data/lib/openapi_openai/models/run_tool_call_object.rb +22 -9
  513. data/lib/openapi_openai/models/run_tool_call_object_function.rb +22 -9
  514. data/lib/openapi_openai/models/static_chunking_strategy.rb +22 -9
  515. data/lib/openapi_openai/models/static_chunking_strategy_request_param.rb +22 -9
  516. data/lib/openapi_openai/models/static_chunking_strategy_static.rb +22 -9
  517. data/lib/openapi_openai/models/submit_tool_outputs_run_request.rb +22 -9
  518. data/lib/openapi_openai/models/submit_tool_outputs_run_request_tool_outputs_inner.rb +22 -9
  519. data/lib/openapi_openai/models/thread_object.rb +22 -9
  520. data/lib/openapi_openai/models/thread_stream_event.rb +22 -9
  521. data/lib/openapi_openai/models/transcription_segment.rb +22 -9
  522. data/lib/openapi_openai/models/transcription_word.rb +22 -9
  523. data/lib/openapi_openai/models/truncation_object.rb +22 -9
  524. data/lib/openapi_openai/models/update_vector_store_request.rb +22 -9
  525. data/lib/openapi_openai/models/upload.rb +22 -9
  526. data/lib/openapi_openai/models/upload_part.rb +22 -9
  527. data/lib/openapi_openai/models/usage_audio_speeches_result.rb +22 -9
  528. data/lib/openapi_openai/models/usage_audio_transcriptions_result.rb +22 -9
  529. data/lib/openapi_openai/models/usage_code_interpreter_sessions_result.rb +22 -9
  530. data/lib/openapi_openai/models/usage_completions_result.rb +22 -9
  531. data/lib/openapi_openai/models/usage_embeddings_result.rb +22 -9
  532. data/lib/openapi_openai/models/usage_images_result.rb +22 -9
  533. data/lib/openapi_openai/models/usage_moderations_result.rb +22 -9
  534. data/lib/openapi_openai/models/usage_response.rb +22 -9
  535. data/lib/openapi_openai/models/usage_time_bucket.rb +22 -9
  536. data/lib/openapi_openai/models/usage_time_bucket_result_inner.rb +1 -1
  537. data/lib/openapi_openai/models/usage_vector_stores_result.rb +22 -9
  538. data/lib/openapi_openai/models/user.rb +22 -9
  539. data/lib/openapi_openai/models/user_delete_response.rb +22 -9
  540. data/lib/openapi_openai/models/user_list_response.rb +22 -9
  541. data/lib/openapi_openai/models/user_role_update_request.rb +22 -9
  542. data/lib/openapi_openai/models/vector_store_expiration_after.rb +22 -9
  543. data/lib/openapi_openai/models/vector_store_file_batch_object.rb +22 -9
  544. data/lib/openapi_openai/models/vector_store_file_batch_object_file_counts.rb +22 -9
  545. data/lib/openapi_openai/models/vector_store_file_object.rb +22 -9
  546. data/lib/openapi_openai/models/vector_store_file_object_chunking_strategy.rb +2 -2
  547. data/lib/openapi_openai/models/vector_store_file_object_last_error.rb +22 -9
  548. data/lib/openapi_openai/models/vector_store_object.rb +22 -9
  549. data/lib/openapi_openai/models/vector_store_object_file_counts.rb +22 -9
  550. data/lib/openapi_openai/version.rb +2 -2
  551. data/lib/openapi_openai.rb +1 -3
  552. data/openapi_openai.gemspec +1 -1
  553. data/spec/api/assistants_api_spec.rb +1 -1
  554. data/spec/api/audio_api_spec.rb +1 -1
  555. data/spec/api/audit_logs_api_spec.rb +1 -1
  556. data/spec/api/batch_api_spec.rb +1 -1
  557. data/spec/api/chat_api_spec.rb +1 -1
  558. data/spec/api/completions_api_spec.rb +1 -1
  559. data/spec/api/default_api_spec.rb +1 -1
  560. data/spec/api/embeddings_api_spec.rb +1 -1
  561. data/spec/api/files_api_spec.rb +1 -1
  562. data/spec/api/fine_tuning_api_spec.rb +1 -1
  563. data/spec/api/images_api_spec.rb +1 -1
  564. data/spec/api/invites_api_spec.rb +1 -1
  565. data/spec/api/models_api_spec.rb +1 -1
  566. data/spec/api/moderations_api_spec.rb +1 -1
  567. data/spec/api/projects_api_spec.rb +1 -1
  568. data/spec/api/realtime_api_spec.rb +1 -1
  569. data/spec/api/uploads_api_spec.rb +1 -1
  570. data/spec/api/usage_api_spec.rb +1 -1
  571. data/spec/api/users_api_spec.rb +1 -1
  572. data/spec/api/vector_stores_api_spec.rb +1 -1
  573. data/spec/models/admin_api_key_owner_spec.rb +1 -1
  574. data/spec/models/admin_api_key_spec.rb +1 -1
  575. data/spec/models/admin_api_keys_create_request_spec.rb +1 -1
  576. data/spec/models/admin_api_keys_delete200_response_spec.rb +1 -1
  577. data/spec/models/api_key_list_spec.rb +1 -1
  578. data/spec/models/array_of_content_parts_inner_spec.rb +1 -1
  579. data/spec/models/assistant_object_spec.rb +1 -1
  580. data/spec/models/assistant_object_tool_resources_code_interpreter_spec.rb +1 -1
  581. data/spec/models/assistant_object_tool_resources_file_search_spec.rb +1 -1
  582. data/spec/models/assistant_object_tool_resources_spec.rb +1 -1
  583. data/spec/models/assistant_object_tools_inner_spec.rb +1 -1
  584. data/spec/models/assistant_stream_event_spec.rb +1 -1
  585. data/spec/models/assistant_tools_code_spec.rb +1 -1
  586. data/spec/models/assistant_tools_file_search_file_search_spec.rb +1 -1
  587. data/spec/models/assistant_tools_file_search_spec.rb +1 -1
  588. data/spec/models/assistant_tools_file_search_type_only_spec.rb +1 -1
  589. data/spec/models/assistant_tools_function_spec.rb +1 -1
  590. data/spec/models/assistants_api_response_format_option_spec.rb +1 -1
  591. data/spec/models/assistants_api_tool_choice_option_spec.rb +1 -1
  592. data/spec/models/assistants_named_tool_choice_function_spec.rb +1 -1
  593. data/spec/models/assistants_named_tool_choice_spec.rb +1 -1
  594. data/spec/models/audio_response_format_spec.rb +1 -1
  595. data/spec/models/audit_log_actor_api_key_spec.rb +1 -1
  596. data/spec/models/audit_log_actor_service_account_spec.rb +1 -1
  597. data/spec/models/audit_log_actor_session_spec.rb +1 -1
  598. data/spec/models/audit_log_actor_spec.rb +1 -1
  599. data/spec/models/audit_log_actor_user_spec.rb +1 -1
  600. data/spec/models/audit_log_api_key_created_data_spec.rb +1 -1
  601. data/spec/models/audit_log_api_key_created_spec.rb +1 -1
  602. data/spec/models/audit_log_api_key_deleted_spec.rb +1 -1
  603. data/spec/models/audit_log_api_key_updated_changes_requested_spec.rb +1 -1
  604. data/spec/models/audit_log_api_key_updated_spec.rb +1 -1
  605. data/spec/models/audit_log_event_type_spec.rb +1 -1
  606. data/spec/models/audit_log_invite_accepted_spec.rb +1 -1
  607. data/spec/models/audit_log_invite_sent_data_spec.rb +1 -1
  608. data/spec/models/audit_log_invite_sent_spec.rb +1 -1
  609. data/spec/models/audit_log_login_failed_spec.rb +1 -1
  610. data/spec/models/audit_log_organization_updated_changes_requested_settings_spec.rb +1 -1
  611. data/spec/models/audit_log_organization_updated_changes_requested_spec.rb +1 -1
  612. data/spec/models/audit_log_organization_updated_spec.rb +1 -1
  613. data/spec/models/audit_log_project_archived_spec.rb +1 -1
  614. data/spec/models/audit_log_project_created_data_spec.rb +1 -1
  615. data/spec/models/audit_log_project_created_spec.rb +1 -1
  616. data/spec/models/audit_log_project_spec.rb +1 -1
  617. data/spec/models/audit_log_project_updated_changes_requested_spec.rb +1 -1
  618. data/spec/models/audit_log_project_updated_spec.rb +1 -1
  619. data/spec/models/audit_log_rate_limit_deleted_spec.rb +1 -1
  620. data/spec/models/audit_log_rate_limit_updated_changes_requested_spec.rb +1 -1
  621. data/spec/models/audit_log_rate_limit_updated_spec.rb +1 -1
  622. data/spec/models/audit_log_service_account_created_data_spec.rb +1 -1
  623. data/spec/models/audit_log_service_account_created_spec.rb +1 -1
  624. data/spec/models/audit_log_service_account_deleted_spec.rb +1 -1
  625. data/spec/models/audit_log_service_account_updated_changes_requested_spec.rb +1 -1
  626. data/spec/models/audit_log_service_account_updated_spec.rb +1 -1
  627. data/spec/models/audit_log_spec.rb +1 -1
  628. data/spec/models/audit_log_user_added_data_spec.rb +1 -1
  629. data/spec/models/audit_log_user_added_spec.rb +1 -1
  630. data/spec/models/audit_log_user_deleted_spec.rb +1 -1
  631. data/spec/models/audit_log_user_updated_changes_requested_spec.rb +1 -1
  632. data/spec/models/audit_log_user_updated_spec.rb +1 -1
  633. data/spec/models/auto_chunking_strategy_request_param_spec.rb +1 -1
  634. data/spec/models/batch_errors_data_inner_spec.rb +1 -1
  635. data/spec/models/batch_errors_spec.rb +1 -1
  636. data/spec/models/batch_request_counts_spec.rb +1 -1
  637. data/spec/models/batch_request_input_spec.rb +1 -1
  638. data/spec/models/batch_request_output_error_spec.rb +1 -1
  639. data/spec/models/batch_request_output_response_spec.rb +1 -1
  640. data/spec/models/batch_request_output_spec.rb +1 -1
  641. data/spec/models/batch_spec.rb +1 -1
  642. data/spec/models/chat_completion_function_call_option_spec.rb +1 -1
  643. data/spec/models/chat_completion_functions_spec.rb +1 -1
  644. data/spec/models/chat_completion_message_tool_call_chunk_function_spec.rb +1 -1
  645. data/spec/models/chat_completion_message_tool_call_chunk_spec.rb +1 -1
  646. data/spec/models/chat_completion_message_tool_call_function_spec.rb +1 -1
  647. data/spec/models/chat_completion_message_tool_call_spec.rb +1 -1
  648. data/spec/models/chat_completion_named_tool_choice_spec.rb +1 -1
  649. data/spec/models/chat_completion_request_assistant_message_audio_spec.rb +1 -1
  650. data/spec/models/chat_completion_request_assistant_message_content_part_spec.rb +1 -1
  651. data/spec/models/chat_completion_request_assistant_message_content_spec.rb +1 -1
  652. data/spec/models/chat_completion_request_assistant_message_function_call_spec.rb +1 -1
  653. data/spec/models/chat_completion_request_assistant_message_spec.rb +1 -1
  654. data/spec/models/chat_completion_request_developer_message_content_spec.rb +1 -1
  655. data/spec/models/chat_completion_request_developer_message_spec.rb +1 -1
  656. data/spec/models/chat_completion_request_function_message_spec.rb +1 -1
  657. data/spec/models/chat_completion_request_message_content_part_audio_input_audio_spec.rb +1 -1
  658. data/spec/models/chat_completion_request_message_content_part_audio_spec.rb +1 -1
  659. data/spec/models/chat_completion_request_message_content_part_image_image_url_spec.rb +1 -1
  660. data/spec/models/chat_completion_request_message_content_part_image_spec.rb +1 -1
  661. data/spec/models/chat_completion_request_message_content_part_refusal_spec.rb +1 -1
  662. data/spec/models/chat_completion_request_message_content_part_text_spec.rb +1 -1
  663. data/spec/models/chat_completion_request_message_spec.rb +1 -1
  664. data/spec/models/chat_completion_request_system_message_content_spec.rb +1 -1
  665. data/spec/models/chat_completion_request_system_message_spec.rb +1 -1
  666. data/spec/models/chat_completion_request_tool_message_content_spec.rb +1 -1
  667. data/spec/models/chat_completion_request_tool_message_spec.rb +1 -1
  668. data/spec/models/chat_completion_request_user_message_content_part_spec.rb +1 -1
  669. data/spec/models/chat_completion_request_user_message_content_spec.rb +1 -1
  670. data/spec/models/chat_completion_request_user_message_spec.rb +1 -1
  671. data/spec/models/chat_completion_response_message_audio_spec.rb +1 -1
  672. data/spec/models/chat_completion_response_message_function_call_spec.rb +1 -1
  673. data/spec/models/chat_completion_response_message_spec.rb +1 -1
  674. data/spec/models/chat_completion_role_spec.rb +1 -1
  675. data/spec/models/chat_completion_stream_options_spec.rb +1 -1
  676. data/spec/models/chat_completion_stream_response_delta_function_call_spec.rb +1 -1
  677. data/spec/models/chat_completion_stream_response_delta_spec.rb +1 -1
  678. data/spec/models/chat_completion_token_logprob_spec.rb +1 -1
  679. data/spec/models/chat_completion_token_logprob_top_logprobs_inner_spec.rb +1 -1
  680. data/spec/models/chat_completion_tool_choice_option_spec.rb +1 -1
  681. data/spec/models/chat_completion_tool_spec.rb +1 -1
  682. data/spec/models/chunking_strategy_request_param_spec.rb +1 -1
  683. data/spec/models/complete_upload_request_spec.rb +1 -1
  684. data/spec/models/completion_usage_completion_tokens_details_spec.rb +1 -1
  685. data/spec/models/completion_usage_prompt_tokens_details_spec.rb +1 -1
  686. data/spec/models/completion_usage_spec.rb +1 -1
  687. data/spec/models/costs_result_amount_spec.rb +1 -1
  688. data/spec/models/costs_result_spec.rb +1 -1
  689. data/spec/models/create_assistant_request_model_spec.rb +1 -1
  690. data/spec/models/create_assistant_request_spec.rb +1 -1
  691. data/spec/models/create_assistant_request_tool_resources_code_interpreter_spec.rb +1 -1
  692. data/spec/models/create_assistant_request_tool_resources_file_search_spec.rb +1 -1
  693. data/spec/models/create_assistant_request_tool_resources_file_search_vector_stores_inner_chunking_strategy_spec.rb +1 -1
  694. data/spec/models/create_assistant_request_tool_resources_file_search_vector_stores_inner_spec.rb +1 -1
  695. data/spec/models/create_assistant_request_tool_resources_spec.rb +1 -1
  696. data/spec/models/create_batch_request_spec.rb +1 -1
  697. data/spec/models/create_chat_completion_function_response_choices_inner_spec.rb +1 -1
  698. data/spec/models/create_chat_completion_function_response_spec.rb +1 -1
  699. data/spec/models/create_chat_completion_request_audio_spec.rb +1 -1
  700. data/spec/models/create_chat_completion_request_function_call_spec.rb +1 -1
  701. data/spec/models/create_chat_completion_request_model_spec.rb +1 -1
  702. data/spec/models/create_chat_completion_request_response_format_spec.rb +1 -1
  703. data/spec/models/create_chat_completion_request_spec.rb +1 -1
  704. data/spec/models/create_chat_completion_request_stop_spec.rb +1 -1
  705. data/spec/models/create_chat_completion_response_choices_inner_logprobs_spec.rb +1 -1
  706. data/spec/models/create_chat_completion_response_choices_inner_spec.rb +1 -1
  707. data/spec/models/create_chat_completion_response_spec.rb +1 -1
  708. data/spec/models/create_chat_completion_stream_response_choices_inner_spec.rb +1 -1
  709. data/spec/models/create_chat_completion_stream_response_spec.rb +1 -1
  710. data/spec/models/create_chat_completion_stream_response_usage_spec.rb +1 -1
  711. data/spec/models/create_completion_request_model_spec.rb +1 -1
  712. data/spec/models/create_completion_request_prompt_spec.rb +1 -1
  713. data/spec/models/create_completion_request_spec.rb +1 -1
  714. data/spec/models/create_completion_request_stop_spec.rb +1 -1
  715. data/spec/models/create_completion_response_choices_inner_logprobs_spec.rb +1 -1
  716. data/spec/models/create_completion_response_choices_inner_spec.rb +1 -1
  717. data/spec/models/create_completion_response_spec.rb +1 -1
  718. data/spec/models/create_embedding_request_input_spec.rb +1 -1
  719. data/spec/models/create_embedding_request_model_spec.rb +1 -1
  720. data/spec/models/create_embedding_request_spec.rb +1 -1
  721. data/spec/models/create_embedding_response_spec.rb +1 -1
  722. data/spec/models/create_embedding_response_usage_spec.rb +1 -1
  723. data/spec/models/create_fine_tuning_job_request_hyperparameters_batch_size_spec.rb +1 -1
  724. data/spec/models/create_fine_tuning_job_request_hyperparameters_learning_rate_multiplier_spec.rb +1 -1
  725. data/spec/models/create_fine_tuning_job_request_hyperparameters_n_epochs_spec.rb +1 -1
  726. data/spec/models/create_fine_tuning_job_request_hyperparameters_spec.rb +1 -1
  727. data/spec/models/create_fine_tuning_job_request_integrations_inner_spec.rb +1 -1
  728. data/spec/models/create_fine_tuning_job_request_integrations_inner_wandb_spec.rb +1 -1
  729. data/spec/models/create_fine_tuning_job_request_model_spec.rb +1 -1
  730. data/spec/models/create_fine_tuning_job_request_spec.rb +1 -1
  731. data/spec/models/create_image_edit_request_model_spec.rb +1 -1
  732. data/spec/models/create_image_request_model_spec.rb +1 -1
  733. data/spec/models/create_image_request_spec.rb +1 -1
  734. data/spec/models/create_message_request_attachments_inner_spec.rb +1 -1
  735. data/spec/models/create_message_request_attachments_inner_tools_inner_spec.rb +1 -1
  736. data/spec/models/create_message_request_content_spec.rb +1 -1
  737. data/spec/models/create_message_request_spec.rb +1 -1
  738. data/spec/models/create_moderation_request_input_one_of_inner_one_of1_spec.rb +1 -1
  739. data/spec/models/create_moderation_request_input_one_of_inner_one_of_image_url_spec.rb +1 -1
  740. data/spec/models/create_moderation_request_input_one_of_inner_one_of_spec.rb +1 -1
  741. data/spec/models/create_moderation_request_input_one_of_inner_spec.rb +1 -1
  742. data/spec/models/create_moderation_request_input_spec.rb +1 -1
  743. data/spec/models/create_moderation_request_model_spec.rb +1 -1
  744. data/spec/models/create_moderation_request_spec.rb +1 -1
  745. data/spec/models/create_moderation_response_results_inner_categories_spec.rb +1 -1
  746. data/spec/models/create_moderation_response_results_inner_category_applied_input_types_spec.rb +1 -1
  747. data/spec/models/create_moderation_response_results_inner_category_scores_spec.rb +1 -1
  748. data/spec/models/create_moderation_response_results_inner_spec.rb +1 -1
  749. data/spec/models/create_moderation_response_spec.rb +1 -1
  750. data/spec/models/create_run_request_model_spec.rb +1 -1
  751. data/spec/models/create_run_request_spec.rb +1 -1
  752. data/spec/models/create_speech_request_model_spec.rb +1 -1
  753. data/spec/models/create_speech_request_spec.rb +1 -1
  754. data/spec/models/create_thread_and_run_request_spec.rb +1 -1
  755. data/spec/models/create_thread_and_run_request_tool_resources_spec.rb +1 -1
  756. data/spec/models/create_thread_and_run_request_tools_inner_spec.rb +1 -1
  757. data/spec/models/create_thread_request_spec.rb +1 -1
  758. data/spec/models/create_thread_request_tool_resources_file_search_spec.rb +1 -1
  759. data/spec/models/create_thread_request_tool_resources_file_search_vector_stores_inner_spec.rb +1 -1
  760. data/spec/models/create_thread_request_tool_resources_spec.rb +1 -1
  761. data/spec/models/create_transcription200_response_spec.rb +1 -1
  762. data/spec/models/create_transcription_request_model_spec.rb +1 -1
  763. data/spec/models/create_transcription_response_json_spec.rb +1 -1
  764. data/spec/models/create_transcription_response_verbose_json_spec.rb +1 -1
  765. data/spec/models/create_translation200_response_spec.rb +1 -1
  766. data/spec/models/create_translation_response_json_spec.rb +1 -1
  767. data/spec/models/create_translation_response_verbose_json_spec.rb +1 -1
  768. data/spec/models/create_upload_request_spec.rb +1 -1
  769. data/spec/models/create_vector_store_file_batch_request_spec.rb +1 -1
  770. data/spec/models/create_vector_store_file_request_spec.rb +1 -1
  771. data/spec/models/create_vector_store_request_chunking_strategy_spec.rb +1 -1
  772. data/spec/models/create_vector_store_request_spec.rb +1 -1
  773. data/spec/models/default_project_error_response_spec.rb +1 -1
  774. data/spec/models/delete_assistant_response_spec.rb +1 -1
  775. data/spec/models/delete_file_response_spec.rb +1 -1
  776. data/spec/models/delete_message_response_spec.rb +1 -1
  777. data/spec/models/delete_model_response_spec.rb +1 -1
  778. data/spec/models/delete_thread_response_spec.rb +1 -1
  779. data/spec/models/delete_vector_store_file_response_spec.rb +1 -1
  780. data/spec/models/delete_vector_store_response_spec.rb +1 -1
  781. data/spec/models/done_event_spec.rb +1 -1
  782. data/spec/models/embedding_spec.rb +1 -1
  783. data/spec/models/error_event_spec.rb +1 -1
  784. data/spec/models/error_response_spec.rb +1 -1
  785. data/spec/models/error_spec.rb +1 -1
  786. data/spec/models/file_search_ranking_options_spec.rb +1 -1
  787. data/spec/models/fine_tune_chat_completion_request_assistant_message_spec.rb +1 -1
  788. data/spec/models/fine_tune_chat_request_input_messages_inner_spec.rb +1 -1
  789. data/spec/models/fine_tune_chat_request_input_spec.rb +1 -1
  790. data/spec/models/fine_tune_completion_request_input_spec.rb +1 -1
  791. data/spec/models/fine_tune_dpo_method_hyperparameters_batch_size_spec.rb +1 -1
  792. data/spec/models/fine_tune_dpo_method_hyperparameters_beta_spec.rb +1 -1
  793. data/spec/models/fine_tune_dpo_method_hyperparameters_learning_rate_multiplier_spec.rb +1 -1
  794. data/spec/models/fine_tune_dpo_method_hyperparameters_n_epochs_spec.rb +1 -1
  795. data/spec/models/fine_tune_dpo_method_hyperparameters_spec.rb +1 -1
  796. data/spec/models/fine_tune_dpo_method_spec.rb +1 -1
  797. data/spec/models/fine_tune_method_spec.rb +1 -1
  798. data/spec/models/fine_tune_preference_request_input_input_spec.rb +1 -1
  799. data/spec/models/fine_tune_preference_request_input_preferred_completion_inner_spec.rb +1 -1
  800. data/spec/models/fine_tune_preference_request_input_spec.rb +1 -1
  801. data/spec/models/fine_tune_supervised_method_hyperparameters_spec.rb +1 -1
  802. data/spec/models/fine_tune_supervised_method_spec.rb +1 -1
  803. data/spec/models/fine_tuning_integration_spec.rb +1 -1
  804. data/spec/models/fine_tuning_job_checkpoint_metrics_spec.rb +1 -1
  805. data/spec/models/fine_tuning_job_checkpoint_spec.rb +1 -1
  806. data/spec/models/fine_tuning_job_error_spec.rb +1 -1
  807. data/spec/models/fine_tuning_job_event_spec.rb +1 -1
  808. data/spec/models/fine_tuning_job_hyperparameters_spec.rb +1 -1
  809. data/spec/models/fine_tuning_job_integrations_inner_spec.rb +1 -1
  810. data/spec/models/fine_tuning_job_spec.rb +1 -1
  811. data/spec/models/function_object_spec.rb +1 -1
  812. data/spec/models/image_spec.rb +1 -1
  813. data/spec/models/images_response_spec.rb +1 -1
  814. data/spec/models/invite_delete_response_spec.rb +1 -1
  815. data/spec/models/invite_list_response_spec.rb +1 -1
  816. data/spec/models/invite_projects_inner_spec.rb +1 -1
  817. data/spec/models/invite_request_projects_inner_spec.rb +1 -1
  818. data/spec/models/invite_request_spec.rb +1 -1
  819. data/spec/models/invite_spec.rb +1 -1
  820. data/spec/models/list_assistants_response_spec.rb +1 -1
  821. data/spec/models/list_audit_logs_effective_at_parameter_spec.rb +1 -1
  822. data/spec/models/list_audit_logs_response_spec.rb +1 -1
  823. data/spec/models/list_batches_response_spec.rb +1 -1
  824. data/spec/models/list_files_response_spec.rb +1 -1
  825. data/spec/models/list_fine_tuning_job_checkpoints_response_spec.rb +1 -1
  826. data/spec/models/list_fine_tuning_job_events_response_spec.rb +1 -1
  827. data/spec/models/list_messages_response_spec.rb +1 -1
  828. data/spec/models/list_models_response_spec.rb +1 -1
  829. data/spec/models/list_paginated_fine_tuning_jobs_response_spec.rb +1 -1
  830. data/spec/models/list_run_steps_response_spec.rb +1 -1
  831. data/spec/models/list_runs_response_spec.rb +1 -1
  832. data/spec/models/list_threads_response_spec.rb +1 -1
  833. data/spec/models/list_vector_store_files_response_spec.rb +1 -1
  834. data/spec/models/list_vector_stores_response_spec.rb +1 -1
  835. data/spec/models/message_content_image_file_object_image_file_spec.rb +1 -1
  836. data/spec/models/message_content_image_file_object_spec.rb +1 -1
  837. data/spec/models/message_content_image_url_object_image_url_spec.rb +1 -1
  838. data/spec/models/message_content_image_url_object_spec.rb +1 -1
  839. data/spec/models/message_content_refusal_object_spec.rb +1 -1
  840. data/spec/models/message_content_text_annotations_file_citation_object_file_citation_spec.rb +1 -1
  841. data/spec/models/message_content_text_annotations_file_citation_object_spec.rb +1 -1
  842. data/spec/models/message_content_text_annotations_file_path_object_file_path_spec.rb +1 -1
  843. data/spec/models/message_content_text_annotations_file_path_object_spec.rb +1 -1
  844. data/spec/models/message_content_text_object_spec.rb +1 -1
  845. data/spec/models/message_content_text_object_text_annotations_inner_spec.rb +1 -1
  846. data/spec/models/message_content_text_object_text_spec.rb +1 -1
  847. data/spec/models/message_delta_content_image_file_object_image_file_spec.rb +1 -1
  848. data/spec/models/message_delta_content_image_file_object_spec.rb +1 -1
  849. data/spec/models/message_delta_content_image_url_object_image_url_spec.rb +1 -1
  850. data/spec/models/message_delta_content_image_url_object_spec.rb +1 -1
  851. data/spec/models/message_delta_content_refusal_object_spec.rb +1 -1
  852. data/spec/models/message_delta_content_text_annotations_file_citation_object_file_citation_spec.rb +1 -1
  853. data/spec/models/message_delta_content_text_annotations_file_citation_object_spec.rb +1 -1
  854. data/spec/models/message_delta_content_text_annotations_file_path_object_file_path_spec.rb +1 -1
  855. data/spec/models/message_delta_content_text_annotations_file_path_object_spec.rb +1 -1
  856. data/spec/models/message_delta_content_text_object_spec.rb +1 -1
  857. data/spec/models/message_delta_content_text_object_text_annotations_inner_spec.rb +1 -1
  858. data/spec/models/message_delta_content_text_object_text_spec.rb +1 -1
  859. data/spec/models/message_delta_object_delta_content_inner_spec.rb +1 -1
  860. data/spec/models/message_delta_object_delta_spec.rb +1 -1
  861. data/spec/models/message_delta_object_spec.rb +1 -1
  862. data/spec/models/message_object_content_inner_spec.rb +1 -1
  863. data/spec/models/message_object_incomplete_details_spec.rb +1 -1
  864. data/spec/models/message_object_spec.rb +1 -1
  865. data/spec/models/message_request_content_text_object_spec.rb +1 -1
  866. data/spec/models/message_stream_event_one_of1_spec.rb +1 -1
  867. data/spec/models/message_stream_event_one_of2_spec.rb +1 -1
  868. data/spec/models/message_stream_event_one_of3_spec.rb +1 -1
  869. data/spec/models/message_stream_event_one_of4_spec.rb +1 -1
  870. data/spec/models/message_stream_event_one_of_spec.rb +1 -1
  871. data/spec/models/message_stream_event_spec.rb +1 -1
  872. data/spec/models/model_spec.rb +1 -1
  873. data/spec/models/modify_assistant_request_spec.rb +1 -1
  874. data/spec/models/modify_assistant_request_tool_resources_code_interpreter_spec.rb +1 -1
  875. data/spec/models/modify_assistant_request_tool_resources_file_search_spec.rb +1 -1
  876. data/spec/models/modify_assistant_request_tool_resources_spec.rb +1 -1
  877. data/spec/models/modify_message_request_spec.rb +1 -1
  878. data/spec/models/modify_run_request_spec.rb +1 -1
  879. data/spec/models/modify_thread_request_spec.rb +1 -1
  880. data/spec/models/modify_thread_request_tool_resources_file_search_spec.rb +1 -1
  881. data/spec/models/modify_thread_request_tool_resources_spec.rb +1 -1
  882. data/spec/models/open_ai_file_spec.rb +1 -1
  883. data/spec/models/other_chunking_strategy_response_param_spec.rb +1 -1
  884. data/spec/models/prediction_content_content_spec.rb +1 -1
  885. data/spec/models/prediction_content_spec.rb +1 -1
  886. data/spec/models/project_api_key_delete_response_spec.rb +1 -1
  887. data/spec/models/project_api_key_list_response_spec.rb +1 -1
  888. data/spec/models/project_api_key_owner_spec.rb +1 -1
  889. data/spec/models/project_api_key_spec.rb +1 -1
  890. data/spec/models/project_create_request_spec.rb +1 -1
  891. data/spec/models/project_list_response_spec.rb +1 -1
  892. data/spec/models/project_rate_limit_list_response_spec.rb +1 -1
  893. data/spec/models/project_rate_limit_spec.rb +1 -1
  894. data/spec/models/project_rate_limit_update_request_spec.rb +1 -1
  895. data/spec/models/project_service_account_api_key_spec.rb +1 -1
  896. data/spec/models/project_service_account_create_request_spec.rb +1 -1
  897. data/spec/models/project_service_account_create_response_spec.rb +1 -1
  898. data/spec/models/project_service_account_delete_response_spec.rb +1 -1
  899. data/spec/models/project_service_account_list_response_spec.rb +1 -1
  900. data/spec/models/project_service_account_spec.rb +1 -1
  901. data/spec/models/project_spec.rb +1 -1
  902. data/spec/models/project_update_request_spec.rb +1 -1
  903. data/spec/models/project_user_create_request_spec.rb +1 -1
  904. data/spec/models/project_user_delete_response_spec.rb +1 -1
  905. data/spec/models/project_user_list_response_spec.rb +1 -1
  906. data/spec/models/project_user_spec.rb +1 -1
  907. data/spec/models/project_user_update_request_spec.rb +1 -1
  908. data/spec/models/realtime_client_event_conversation_item_create_spec.rb +1 -1
  909. data/spec/models/realtime_client_event_conversation_item_delete_spec.rb +1 -1
  910. data/spec/models/realtime_client_event_conversation_item_truncate_spec.rb +1 -1
  911. data/spec/models/realtime_client_event_input_audio_buffer_append_spec.rb +1 -1
  912. data/spec/models/realtime_client_event_input_audio_buffer_clear_spec.rb +1 -1
  913. data/spec/models/realtime_client_event_input_audio_buffer_commit_spec.rb +1 -1
  914. data/spec/models/realtime_client_event_response_cancel_spec.rb +1 -1
  915. data/spec/models/realtime_client_event_response_create_spec.rb +1 -1
  916. data/spec/models/realtime_client_event_session_update_spec.rb +1 -1
  917. data/spec/models/realtime_conversation_item_content_inner_spec.rb +1 -1
  918. data/spec/models/realtime_conversation_item_spec.rb +1 -1
  919. data/spec/models/realtime_response_create_params_conversation_spec.rb +1 -1
  920. data/spec/models/realtime_response_create_params_max_response_output_tokens_spec.rb +1 -1
  921. data/spec/models/realtime_response_create_params_spec.rb +1 -1
  922. data/spec/models/realtime_response_create_params_tools_inner_spec.rb +1 -1
  923. data/spec/models/realtime_response_spec.rb +1 -1
  924. data/spec/models/realtime_response_status_details_error_spec.rb +1 -1
  925. data/spec/models/realtime_response_status_details_spec.rb +1 -1
  926. data/spec/models/realtime_response_usage_input_token_details_spec.rb +1 -1
  927. data/spec/models/realtime_response_usage_output_token_details_spec.rb +1 -1
  928. data/spec/models/realtime_response_usage_spec.rb +1 -1
  929. data/spec/models/realtime_server_event_conversation_created_conversation_spec.rb +1 -1
  930. data/spec/models/realtime_server_event_conversation_created_spec.rb +1 -1
  931. data/spec/models/realtime_server_event_conversation_item_created_spec.rb +1 -1
  932. data/spec/models/realtime_server_event_conversation_item_deleted_spec.rb +1 -1
  933. data/spec/models/realtime_server_event_conversation_item_input_audio_transcription_completed_spec.rb +1 -1
  934. data/spec/models/realtime_server_event_conversation_item_input_audio_transcription_failed_error_spec.rb +1 -1
  935. data/spec/models/realtime_server_event_conversation_item_input_audio_transcription_failed_spec.rb +1 -1
  936. data/spec/models/realtime_server_event_conversation_item_truncated_spec.rb +1 -1
  937. data/spec/models/realtime_server_event_error_error_spec.rb +1 -1
  938. data/spec/models/realtime_server_event_error_spec.rb +1 -1
  939. data/spec/models/realtime_server_event_input_audio_buffer_cleared_spec.rb +1 -1
  940. data/spec/models/realtime_server_event_input_audio_buffer_committed_spec.rb +1 -1
  941. data/spec/models/realtime_server_event_input_audio_buffer_speech_started_spec.rb +1 -1
  942. data/spec/models/realtime_server_event_input_audio_buffer_speech_stopped_spec.rb +1 -1
  943. data/spec/models/realtime_server_event_rate_limits_updated_rate_limits_inner_spec.rb +1 -1
  944. data/spec/models/realtime_server_event_rate_limits_updated_spec.rb +1 -1
  945. data/spec/models/realtime_server_event_response_audio_delta_spec.rb +1 -1
  946. data/spec/models/realtime_server_event_response_audio_done_spec.rb +1 -1
  947. data/spec/models/realtime_server_event_response_audio_transcript_delta_spec.rb +1 -1
  948. data/spec/models/realtime_server_event_response_audio_transcript_done_spec.rb +1 -1
  949. data/spec/models/realtime_server_event_response_content_part_added_part_spec.rb +1 -1
  950. data/spec/models/realtime_server_event_response_content_part_added_spec.rb +1 -1
  951. data/spec/models/realtime_server_event_response_content_part_done_part_spec.rb +1 -1
  952. data/spec/models/realtime_server_event_response_content_part_done_spec.rb +1 -1
  953. data/spec/models/realtime_server_event_response_created_spec.rb +1 -1
  954. data/spec/models/realtime_server_event_response_done_spec.rb +1 -1
  955. data/spec/models/realtime_server_event_response_function_call_arguments_delta_spec.rb +1 -1
  956. data/spec/models/realtime_server_event_response_function_call_arguments_done_spec.rb +1 -1
  957. data/spec/models/realtime_server_event_response_output_item_added_spec.rb +1 -1
  958. data/spec/models/realtime_server_event_response_output_item_done_spec.rb +1 -1
  959. data/spec/models/realtime_server_event_response_text_delta_spec.rb +1 -1
  960. data/spec/models/realtime_server_event_response_text_done_spec.rb +1 -1
  961. data/spec/models/realtime_server_event_session_created_spec.rb +1 -1
  962. data/spec/models/realtime_server_event_session_updated_spec.rb +1 -1
  963. data/spec/models/realtime_session_create_request_spec.rb +1 -1
  964. data/spec/models/realtime_session_create_request_turn_detection_spec.rb +1 -1
  965. data/spec/models/realtime_session_create_response_client_secret_spec.rb +1 -1
  966. data/spec/models/realtime_session_create_response_spec.rb +1 -1
  967. data/spec/models/realtime_session_create_response_turn_detection_spec.rb +1 -1
  968. data/spec/models/realtime_session_input_audio_transcription_spec.rb +1 -1
  969. data/spec/models/realtime_session_model_spec.rb +1 -1
  970. data/spec/models/realtime_session_spec.rb +1 -1
  971. data/spec/models/realtime_session_turn_detection_spec.rb +1 -1
  972. data/spec/models/response_format_json_object_spec.rb +1 -1
  973. data/spec/models/response_format_json_schema_json_schema_spec.rb +1 -1
  974. data/spec/models/response_format_json_schema_spec.rb +1 -1
  975. data/spec/models/response_format_text_spec.rb +1 -1
  976. data/spec/models/run_completion_usage_spec.rb +1 -1
  977. data/spec/models/run_object_incomplete_details_spec.rb +1 -1
  978. data/spec/models/run_object_last_error_spec.rb +1 -1
  979. data/spec/models/run_object_required_action_spec.rb +1 -1
  980. data/spec/models/run_object_required_action_submit_tool_outputs_spec.rb +1 -1
  981. data/spec/models/run_object_spec.rb +1 -1
  982. data/spec/models/run_step_completion_usage_spec.rb +1 -1
  983. data/spec/models/run_step_delta_object_delta_spec.rb +1 -1
  984. data/spec/models/run_step_delta_object_delta_step_details_spec.rb +1 -1
  985. data/spec/models/run_step_delta_object_spec.rb +1 -1
  986. data/spec/models/run_step_delta_step_details_message_creation_object_message_creation_spec.rb +1 -1
  987. data/spec/models/run_step_delta_step_details_message_creation_object_spec.rb +1 -1
  988. data/spec/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter_outputs_inner_spec.rb +1 -1
  989. data/spec/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter_spec.rb +1 -1
  990. data/spec/models/run_step_delta_step_details_tool_calls_code_object_spec.rb +1 -1
  991. data/spec/models/run_step_delta_step_details_tool_calls_code_output_image_object_image_spec.rb +1 -1
  992. data/spec/models/run_step_delta_step_details_tool_calls_code_output_image_object_spec.rb +1 -1
  993. data/spec/models/run_step_delta_step_details_tool_calls_code_output_logs_object_spec.rb +1 -1
  994. data/spec/models/run_step_delta_step_details_tool_calls_file_search_object_spec.rb +1 -1
  995. data/spec/models/run_step_delta_step_details_tool_calls_function_object_function_spec.rb +1 -1
  996. data/spec/models/run_step_delta_step_details_tool_calls_function_object_spec.rb +1 -1
  997. data/spec/models/run_step_delta_step_details_tool_calls_object_spec.rb +1 -1
  998. data/spec/models/run_step_delta_step_details_tool_calls_object_tool_calls_inner_spec.rb +1 -1
  999. data/spec/models/run_step_details_message_creation_object_message_creation_spec.rb +1 -1
  1000. data/spec/models/run_step_details_message_creation_object_spec.rb +1 -1
  1001. data/spec/models/run_step_details_tool_calls_code_object_code_interpreter_outputs_inner_spec.rb +1 -1
  1002. data/spec/models/run_step_details_tool_calls_code_object_code_interpreter_spec.rb +1 -1
  1003. data/spec/models/run_step_details_tool_calls_code_object_spec.rb +1 -1
  1004. data/spec/models/run_step_details_tool_calls_code_output_image_object_image_spec.rb +1 -1
  1005. data/spec/models/run_step_details_tool_calls_code_output_image_object_spec.rb +1 -1
  1006. data/spec/models/run_step_details_tool_calls_code_output_logs_object_spec.rb +1 -1
  1007. data/spec/models/run_step_details_tool_calls_file_search_object_file_search_spec.rb +1 -1
  1008. data/spec/models/run_step_details_tool_calls_file_search_object_spec.rb +1 -1
  1009. data/spec/models/run_step_details_tool_calls_file_search_ranking_options_object_spec.rb +1 -1
  1010. data/spec/models/run_step_details_tool_calls_file_search_result_object_content_inner_spec.rb +1 -1
  1011. data/spec/models/run_step_details_tool_calls_file_search_result_object_spec.rb +1 -1
  1012. data/spec/models/run_step_details_tool_calls_function_object_function_spec.rb +1 -1
  1013. data/spec/models/run_step_details_tool_calls_function_object_spec.rb +1 -1
  1014. data/spec/models/run_step_details_tool_calls_object_spec.rb +1 -1
  1015. data/spec/models/run_step_details_tool_calls_object_tool_calls_inner_spec.rb +1 -1
  1016. data/spec/models/run_step_object_last_error_spec.rb +1 -1
  1017. data/spec/models/run_step_object_spec.rb +1 -1
  1018. data/spec/models/run_step_object_step_details_spec.rb +1 -1
  1019. data/spec/models/run_step_stream_event_one_of1_spec.rb +1 -1
  1020. data/spec/models/run_step_stream_event_one_of2_spec.rb +1 -1
  1021. data/spec/models/run_step_stream_event_one_of3_spec.rb +1 -1
  1022. data/spec/models/run_step_stream_event_one_of4_spec.rb +1 -1
  1023. data/spec/models/run_step_stream_event_one_of5_spec.rb +1 -1
  1024. data/spec/models/run_step_stream_event_one_of6_spec.rb +1 -1
  1025. data/spec/models/run_step_stream_event_one_of_spec.rb +1 -1
  1026. data/spec/models/run_step_stream_event_spec.rb +1 -1
  1027. data/spec/models/run_stream_event_one_of1_spec.rb +1 -1
  1028. data/spec/models/run_stream_event_one_of2_spec.rb +1 -1
  1029. data/spec/models/run_stream_event_one_of3_spec.rb +1 -1
  1030. data/spec/models/run_stream_event_one_of4_spec.rb +1 -1
  1031. data/spec/models/run_stream_event_one_of5_spec.rb +1 -1
  1032. data/spec/models/run_stream_event_one_of6_spec.rb +1 -1
  1033. data/spec/models/run_stream_event_one_of7_spec.rb +1 -1
  1034. data/spec/models/run_stream_event_one_of8_spec.rb +1 -1
  1035. data/spec/models/run_stream_event_one_of9_spec.rb +1 -1
  1036. data/spec/models/run_stream_event_one_of_spec.rb +1 -1
  1037. data/spec/models/run_stream_event_spec.rb +1 -1
  1038. data/spec/models/run_tool_call_object_function_spec.rb +1 -1
  1039. data/spec/models/run_tool_call_object_spec.rb +1 -1
  1040. data/spec/models/static_chunking_strategy_request_param_spec.rb +1 -1
  1041. data/spec/models/static_chunking_strategy_spec.rb +1 -1
  1042. data/spec/models/static_chunking_strategy_static_spec.rb +1 -1
  1043. data/spec/models/submit_tool_outputs_run_request_spec.rb +1 -1
  1044. data/spec/models/submit_tool_outputs_run_request_tool_outputs_inner_spec.rb +1 -1
  1045. data/spec/models/thread_object_spec.rb +1 -1
  1046. data/spec/models/thread_stream_event_spec.rb +1 -1
  1047. data/spec/models/transcription_segment_spec.rb +1 -1
  1048. data/spec/models/transcription_word_spec.rb +1 -1
  1049. data/spec/models/truncation_object_spec.rb +1 -1
  1050. data/spec/models/update_vector_store_request_spec.rb +1 -1
  1051. data/spec/models/upload_part_spec.rb +1 -1
  1052. data/spec/models/upload_spec.rb +1 -1
  1053. data/spec/models/usage_audio_speeches_result_spec.rb +1 -1
  1054. data/spec/models/usage_audio_transcriptions_result_spec.rb +1 -1
  1055. data/spec/models/usage_code_interpreter_sessions_result_spec.rb +1 -1
  1056. data/spec/models/usage_completions_result_spec.rb +1 -1
  1057. data/spec/models/usage_embeddings_result_spec.rb +1 -1
  1058. data/spec/models/usage_images_result_spec.rb +1 -1
  1059. data/spec/models/usage_moderations_result_spec.rb +1 -1
  1060. data/spec/models/usage_response_spec.rb +1 -1
  1061. data/spec/models/usage_time_bucket_result_inner_spec.rb +1 -1
  1062. data/spec/models/usage_time_bucket_spec.rb +1 -1
  1063. data/spec/models/usage_vector_stores_result_spec.rb +1 -1
  1064. data/spec/models/user_delete_response_spec.rb +1 -1
  1065. data/spec/models/user_list_response_spec.rb +1 -1
  1066. data/spec/models/user_role_update_request_spec.rb +1 -1
  1067. data/spec/models/user_spec.rb +1 -1
  1068. data/spec/models/vector_store_expiration_after_spec.rb +1 -1
  1069. data/spec/models/vector_store_file_batch_object_file_counts_spec.rb +1 -1
  1070. data/spec/models/vector_store_file_batch_object_spec.rb +1 -1
  1071. data/spec/models/vector_store_file_object_chunking_strategy_spec.rb +1 -1
  1072. data/spec/models/vector_store_file_object_last_error_spec.rb +1 -1
  1073. data/spec/models/vector_store_file_object_spec.rb +1 -1
  1074. data/spec/models/vector_store_object_file_counts_spec.rb +1 -1
  1075. data/spec/models/vector_store_object_spec.rb +1 -1
  1076. data/spec/spec_helper.rb +1 -1
  1077. metadata +481 -492
  1078. data/docs/AutoChunkingStrategy.md +0 -18
  1079. data/docs/StaticChunkingStrategyResponseParam.md +0 -20
  1080. data/lib/openapi_openai/models/auto_chunking_strategy.rb +0 -190
  1081. data/lib/openapi_openai/models/static_chunking_strategy_response_param.rb +0 -215
  1082. data/spec/models/auto_chunking_strategy_spec.rb +0 -40
  1083. data/spec/models/static_chunking_strategy_response_param_spec.rb +0 -46
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.3.0
7
7
  Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.18.0
9
+ Generator version: 7.26.0
10
10
 
11
11
  =end
12
12
 
@@ -110,6 +110,16 @@ module OpenApiOpenAIClient
110
110
  ])
111
111
  end
112
112
 
113
+ # Returns attribute type mapping
114
+ def self.acceptable_openapi_types
115
+ openapi_types
116
+ end
117
+
118
+ # Returns the nullable attributes
119
+ def self.acceptable_openapi_nullable
120
+ openapi_nullable
121
+ end
122
+
113
123
  # Initializes the object
114
124
  # @param [Hash] attributes Model attributes in the form of hash
115
125
  def initialize(attributes = {})
@@ -345,18 +355,20 @@ module OpenApiOpenAIClient
345
355
  def self.build_from_hash(attributes)
346
356
  return nil unless attributes.is_a?(Hash)
347
357
  attributes = attributes.transform_keys(&:to_sym)
358
+ # include attributes inherited from allOf parents (the nearest declaration wins)
359
+ map = acceptable_attribute_map
348
360
  transformed_hash = {}
349
- openapi_types.each_pair do |key, type|
350
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
361
+ acceptable_openapi_types.each_pair do |key, type|
362
+ if attributes.key?(map[key]) && attributes[map[key]].nil?
351
363
  transformed_hash["#{key}"] = nil
352
364
  elsif type =~ /\AArray<(.*)>/i
353
365
  # check to ensure the input is an array given that the attribute
354
366
  # is documented as an array but the input is not
355
- if attributes[attribute_map[key]].is_a?(Array)
356
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
367
+ if attributes[map[key]].is_a?(Array)
368
+ transformed_hash["#{key}"] = attributes[map[key]].map { |v| _deserialize($1, v) }
357
369
  end
358
- elsif !attributes[attribute_map[key]].nil?
359
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
370
+ elsif !attributes[map[key]].nil?
371
+ transformed_hash["#{key}"] = _deserialize(type, attributes[map[key]])
360
372
  end
361
373
  end
362
374
  new(transformed_hash)
@@ -366,10 +378,11 @@ module OpenApiOpenAIClient
366
378
  # @return [Hash] Returns the object in the form of hash
367
379
  def to_hash
368
380
  hash = {}
369
- self.class.attribute_map.each_pair do |attr, param|
381
+ # include attributes inherited from allOf parents (the nearest declaration wins)
382
+ self.class.acceptable_attribute_map.each_pair do |attr, param|
370
383
  value = self.send(attr)
371
384
  if value.nil?
372
- is_nullable = self.class.openapi_nullable.include?(attr)
385
+ is_nullable = self.class.acceptable_openapi_nullable.include?(attr)
373
386
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
374
387
  end
375
388
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.3.0
7
7
  Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.18.0
9
+ Generator version: 7.26.0
10
10
 
11
11
  =end
12
12
 
@@ -86,6 +86,16 @@ module OpenApiOpenAIClient
86
86
  ])
87
87
  end
88
88
 
89
+ # Returns attribute type mapping
90
+ def self.acceptable_openapi_types
91
+ openapi_types
92
+ end
93
+
94
+ # Returns the nullable attributes
95
+ def self.acceptable_openapi_nullable
96
+ openapi_nullable
97
+ end
98
+
89
99
  # Initializes the object
90
100
  # @param [Hash] attributes Model attributes in the form of hash
91
101
  def initialize(attributes = {})
@@ -233,18 +243,20 @@ module OpenApiOpenAIClient
233
243
  def self.build_from_hash(attributes)
234
244
  return nil unless attributes.is_a?(Hash)
235
245
  attributes = attributes.transform_keys(&:to_sym)
246
+ # include attributes inherited from allOf parents (the nearest declaration wins)
247
+ map = acceptable_attribute_map
236
248
  transformed_hash = {}
237
- openapi_types.each_pair do |key, type|
238
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
249
+ acceptable_openapi_types.each_pair do |key, type|
250
+ if attributes.key?(map[key]) && attributes[map[key]].nil?
239
251
  transformed_hash["#{key}"] = nil
240
252
  elsif type =~ /\AArray<(.*)>/i
241
253
  # check to ensure the input is an array given that the attribute
242
254
  # is documented as an array but the input is not
243
- if attributes[attribute_map[key]].is_a?(Array)
244
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
255
+ if attributes[map[key]].is_a?(Array)
256
+ transformed_hash["#{key}"] = attributes[map[key]].map { |v| _deserialize($1, v) }
245
257
  end
246
- elsif !attributes[attribute_map[key]].nil?
247
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
258
+ elsif !attributes[map[key]].nil?
259
+ transformed_hash["#{key}"] = _deserialize(type, attributes[map[key]])
248
260
  end
249
261
  end
250
262
  new(transformed_hash)
@@ -254,10 +266,11 @@ module OpenApiOpenAIClient
254
266
  # @return [Hash] Returns the object in the form of hash
255
267
  def to_hash
256
268
  hash = {}
257
- self.class.attribute_map.each_pair do |attr, param|
269
+ # include attributes inherited from allOf parents (the nearest declaration wins)
270
+ self.class.acceptable_attribute_map.each_pair do |attr, param|
258
271
  value = self.send(attr)
259
272
  if value.nil?
260
- is_nullable = self.class.openapi_nullable.include?(attr)
273
+ is_nullable = self.class.acceptable_openapi_nullable.include?(attr)
261
274
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
262
275
  end
263
276
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.3.0
7
7
  Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.18.0
9
+ Generator version: 7.26.0
10
10
 
11
11
  =end
12
12
 
@@ -104,6 +104,16 @@ module OpenApiOpenAIClient
104
104
  ])
105
105
  end
106
106
 
107
+ # Returns attribute type mapping
108
+ def self.acceptable_openapi_types
109
+ openapi_types
110
+ end
111
+
112
+ # Returns the nullable attributes
113
+ def self.acceptable_openapi_nullable
114
+ openapi_nullable
115
+ end
116
+
107
117
  # Initializes the object
108
118
  # @param [Hash] attributes Model attributes in the form of hash
109
119
  def initialize(attributes = {})
@@ -249,18 +259,20 @@ module OpenApiOpenAIClient
249
259
  def self.build_from_hash(attributes)
250
260
  return nil unless attributes.is_a?(Hash)
251
261
  attributes = attributes.transform_keys(&:to_sym)
262
+ # include attributes inherited from allOf parents (the nearest declaration wins)
263
+ map = acceptable_attribute_map
252
264
  transformed_hash = {}
253
- openapi_types.each_pair do |key, type|
254
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
265
+ acceptable_openapi_types.each_pair do |key, type|
266
+ if attributes.key?(map[key]) && attributes[map[key]].nil?
255
267
  transformed_hash["#{key}"] = nil
256
268
  elsif type =~ /\AArray<(.*)>/i
257
269
  # check to ensure the input is an array given that the attribute
258
270
  # is documented as an array but the input is not
259
- if attributes[attribute_map[key]].is_a?(Array)
260
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
271
+ if attributes[map[key]].is_a?(Array)
272
+ transformed_hash["#{key}"] = attributes[map[key]].map { |v| _deserialize($1, v) }
261
273
  end
262
- elsif !attributes[attribute_map[key]].nil?
263
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
274
+ elsif !attributes[map[key]].nil?
275
+ transformed_hash["#{key}"] = _deserialize(type, attributes[map[key]])
264
276
  end
265
277
  end
266
278
  new(transformed_hash)
@@ -270,10 +282,11 @@ module OpenApiOpenAIClient
270
282
  # @return [Hash] Returns the object in the form of hash
271
283
  def to_hash
272
284
  hash = {}
273
- self.class.attribute_map.each_pair do |attr, param|
285
+ # include attributes inherited from allOf parents (the nearest declaration wins)
286
+ self.class.acceptable_attribute_map.each_pair do |attr, param|
274
287
  value = self.send(attr)
275
288
  if value.nil?
276
- is_nullable = self.class.openapi_nullable.include?(attr)
289
+ is_nullable = self.class.acceptable_openapi_nullable.include?(attr)
277
290
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
278
291
  end
279
292
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.3.0
7
7
  Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.18.0
9
+ Generator version: 7.26.0
10
10
 
11
11
  =end
12
12
 
@@ -104,6 +104,16 @@ module OpenApiOpenAIClient
104
104
  ])
105
105
  end
106
106
 
107
+ # Returns attribute type mapping
108
+ def self.acceptable_openapi_types
109
+ openapi_types
110
+ end
111
+
112
+ # Returns the nullable attributes
113
+ def self.acceptable_openapi_nullable
114
+ openapi_nullable
115
+ end
116
+
107
117
  # Initializes the object
108
118
  # @param [Hash] attributes Model attributes in the form of hash
109
119
  def initialize(attributes = {})
@@ -249,18 +259,20 @@ module OpenApiOpenAIClient
249
259
  def self.build_from_hash(attributes)
250
260
  return nil unless attributes.is_a?(Hash)
251
261
  attributes = attributes.transform_keys(&:to_sym)
262
+ # include attributes inherited from allOf parents (the nearest declaration wins)
263
+ map = acceptable_attribute_map
252
264
  transformed_hash = {}
253
- openapi_types.each_pair do |key, type|
254
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
265
+ acceptable_openapi_types.each_pair do |key, type|
266
+ if attributes.key?(map[key]) && attributes[map[key]].nil?
255
267
  transformed_hash["#{key}"] = nil
256
268
  elsif type =~ /\AArray<(.*)>/i
257
269
  # check to ensure the input is an array given that the attribute
258
270
  # is documented as an array but the input is not
259
- if attributes[attribute_map[key]].is_a?(Array)
260
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
271
+ if attributes[map[key]].is_a?(Array)
272
+ transformed_hash["#{key}"] = attributes[map[key]].map { |v| _deserialize($1, v) }
261
273
  end
262
- elsif !attributes[attribute_map[key]].nil?
263
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
274
+ elsif !attributes[map[key]].nil?
275
+ transformed_hash["#{key}"] = _deserialize(type, attributes[map[key]])
264
276
  end
265
277
  end
266
278
  new(transformed_hash)
@@ -270,10 +282,11 @@ module OpenApiOpenAIClient
270
282
  # @return [Hash] Returns the object in the form of hash
271
283
  def to_hash
272
284
  hash = {}
273
- self.class.attribute_map.each_pair do |attr, param|
285
+ # include attributes inherited from allOf parents (the nearest declaration wins)
286
+ self.class.acceptable_attribute_map.each_pair do |attr, param|
274
287
  value = self.send(attr)
275
288
  if value.nil?
276
- is_nullable = self.class.openapi_nullable.include?(attr)
289
+ is_nullable = self.class.acceptable_openapi_nullable.include?(attr)
277
290
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
278
291
  end
279
292
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.3.0
7
7
  Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.18.0
9
+ Generator version: 7.26.0
10
10
 
11
11
  =end
12
12
 
@@ -81,6 +81,16 @@ module OpenApiOpenAIClient
81
81
  ])
82
82
  end
83
83
 
84
+ # Returns attribute type mapping
85
+ def self.acceptable_openapi_types
86
+ openapi_types
87
+ end
88
+
89
+ # Returns the nullable attributes
90
+ def self.acceptable_openapi_nullable
91
+ openapi_nullable
92
+ end
93
+
84
94
  # Initializes the object
85
95
  # @param [Hash] attributes Model attributes in the form of hash
86
96
  def initialize(attributes = {})
@@ -189,18 +199,20 @@ module OpenApiOpenAIClient
189
199
  def self.build_from_hash(attributes)
190
200
  return nil unless attributes.is_a?(Hash)
191
201
  attributes = attributes.transform_keys(&:to_sym)
202
+ # include attributes inherited from allOf parents (the nearest declaration wins)
203
+ map = acceptable_attribute_map
192
204
  transformed_hash = {}
193
- openapi_types.each_pair do |key, type|
194
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
205
+ acceptable_openapi_types.each_pair do |key, type|
206
+ if attributes.key?(map[key]) && attributes[map[key]].nil?
195
207
  transformed_hash["#{key}"] = nil
196
208
  elsif type =~ /\AArray<(.*)>/i
197
209
  # check to ensure the input is an array given that the attribute
198
210
  # is documented as an array but the input is not
199
- if attributes[attribute_map[key]].is_a?(Array)
200
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
211
+ if attributes[map[key]].is_a?(Array)
212
+ transformed_hash["#{key}"] = attributes[map[key]].map { |v| _deserialize($1, v) }
201
213
  end
202
- elsif !attributes[attribute_map[key]].nil?
203
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
214
+ elsif !attributes[map[key]].nil?
215
+ transformed_hash["#{key}"] = _deserialize(type, attributes[map[key]])
204
216
  end
205
217
  end
206
218
  new(transformed_hash)
@@ -210,10 +222,11 @@ module OpenApiOpenAIClient
210
222
  # @return [Hash] Returns the object in the form of hash
211
223
  def to_hash
212
224
  hash = {}
213
- self.class.attribute_map.each_pair do |attr, param|
225
+ # include attributes inherited from allOf parents (the nearest declaration wins)
226
+ self.class.acceptable_attribute_map.each_pair do |attr, param|
214
227
  value = self.send(attr)
215
228
  if value.nil?
216
- is_nullable = self.class.openapi_nullable.include?(attr)
229
+ is_nullable = self.class.acceptable_openapi_nullable.include?(attr)
217
230
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
218
231
  end
219
232
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.3.0
7
7
  Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.18.0
9
+ Generator version: 7.26.0
10
10
 
11
11
  =end
12
12
 
@@ -130,6 +130,16 @@ module OpenApiOpenAIClient
130
130
  ])
131
131
  end
132
132
 
133
+ # Returns attribute type mapping
134
+ def self.acceptable_openapi_types
135
+ openapi_types
136
+ end
137
+
138
+ # Returns the nullable attributes
139
+ def self.acceptable_openapi_nullable
140
+ openapi_nullable
141
+ end
142
+
133
143
  # Initializes the object
134
144
  # @param [Hash] attributes Model attributes in the form of hash
135
145
  def initialize(attributes = {})
@@ -317,18 +327,20 @@ module OpenApiOpenAIClient
317
327
  def self.build_from_hash(attributes)
318
328
  return nil unless attributes.is_a?(Hash)
319
329
  attributes = attributes.transform_keys(&:to_sym)
330
+ # include attributes inherited from allOf parents (the nearest declaration wins)
331
+ map = acceptable_attribute_map
320
332
  transformed_hash = {}
321
- openapi_types.each_pair do |key, type|
322
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
333
+ acceptable_openapi_types.each_pair do |key, type|
334
+ if attributes.key?(map[key]) && attributes[map[key]].nil?
323
335
  transformed_hash["#{key}"] = nil
324
336
  elsif type =~ /\AArray<(.*)>/i
325
337
  # check to ensure the input is an array given that the attribute
326
338
  # is documented as an array but the input is not
327
- if attributes[attribute_map[key]].is_a?(Array)
328
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
339
+ if attributes[map[key]].is_a?(Array)
340
+ transformed_hash["#{key}"] = attributes[map[key]].map { |v| _deserialize($1, v) }
329
341
  end
330
- elsif !attributes[attribute_map[key]].nil?
331
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
342
+ elsif !attributes[map[key]].nil?
343
+ transformed_hash["#{key}"] = _deserialize(type, attributes[map[key]])
332
344
  end
333
345
  end
334
346
  new(transformed_hash)
@@ -338,10 +350,11 @@ module OpenApiOpenAIClient
338
350
  # @return [Hash] Returns the object in the form of hash
339
351
  def to_hash
340
352
  hash = {}
341
- self.class.attribute_map.each_pair do |attr, param|
353
+ # include attributes inherited from allOf parents (the nearest declaration wins)
354
+ self.class.acceptable_attribute_map.each_pair do |attr, param|
342
355
  value = self.send(attr)
343
356
  if value.nil?
344
- is_nullable = self.class.openapi_nullable.include?(attr)
357
+ is_nullable = self.class.acceptable_openapi_nullable.include?(attr)
345
358
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
346
359
  end
347
360
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.3.0
7
7
  Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.18.0
9
+ Generator version: 7.26.0
10
10
 
11
11
  =end
12
12
 
@@ -104,6 +104,16 @@ module OpenApiOpenAIClient
104
104
  ])
105
105
  end
106
106
 
107
+ # Returns attribute type mapping
108
+ def self.acceptable_openapi_types
109
+ openapi_types
110
+ end
111
+
112
+ # Returns the nullable attributes
113
+ def self.acceptable_openapi_nullable
114
+ openapi_nullable
115
+ end
116
+
107
117
  # Initializes the object
108
118
  # @param [Hash] attributes Model attributes in the form of hash
109
119
  def initialize(attributes = {})
@@ -249,18 +259,20 @@ module OpenApiOpenAIClient
249
259
  def self.build_from_hash(attributes)
250
260
  return nil unless attributes.is_a?(Hash)
251
261
  attributes = attributes.transform_keys(&:to_sym)
262
+ # include attributes inherited from allOf parents (the nearest declaration wins)
263
+ map = acceptable_attribute_map
252
264
  transformed_hash = {}
253
- openapi_types.each_pair do |key, type|
254
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
265
+ acceptable_openapi_types.each_pair do |key, type|
266
+ if attributes.key?(map[key]) && attributes[map[key]].nil?
255
267
  transformed_hash["#{key}"] = nil
256
268
  elsif type =~ /\AArray<(.*)>/i
257
269
  # check to ensure the input is an array given that the attribute
258
270
  # is documented as an array but the input is not
259
- if attributes[attribute_map[key]].is_a?(Array)
260
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
271
+ if attributes[map[key]].is_a?(Array)
272
+ transformed_hash["#{key}"] = attributes[map[key]].map { |v| _deserialize($1, v) }
261
273
  end
262
- elsif !attributes[attribute_map[key]].nil?
263
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
274
+ elsif !attributes[map[key]].nil?
275
+ transformed_hash["#{key}"] = _deserialize(type, attributes[map[key]])
264
276
  end
265
277
  end
266
278
  new(transformed_hash)
@@ -270,10 +282,11 @@ module OpenApiOpenAIClient
270
282
  # @return [Hash] Returns the object in the form of hash
271
283
  def to_hash
272
284
  hash = {}
273
- self.class.attribute_map.each_pair do |attr, param|
285
+ # include attributes inherited from allOf parents (the nearest declaration wins)
286
+ self.class.acceptable_attribute_map.each_pair do |attr, param|
274
287
  value = self.send(attr)
275
288
  if value.nil?
276
- is_nullable = self.class.openapi_nullable.include?(attr)
289
+ is_nullable = self.class.acceptable_openapi_nullable.include?(attr)
277
290
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
278
291
  end
279
292
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.3.0
7
7
  Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.18.0
9
+ Generator version: 7.26.0
10
10
 
11
11
  =end
12
12
 
@@ -116,6 +116,16 @@ module OpenApiOpenAIClient
116
116
  ])
117
117
  end
118
118
 
119
+ # Returns attribute type mapping
120
+ def self.acceptable_openapi_types
121
+ openapi_types
122
+ end
123
+
124
+ # Returns the nullable attributes
125
+ def self.acceptable_openapi_nullable
126
+ openapi_nullable
127
+ end
128
+
119
129
  # Initializes the object
120
130
  # @param [Hash] attributes Model attributes in the form of hash
121
131
  def initialize(attributes = {})
@@ -271,18 +281,20 @@ module OpenApiOpenAIClient
271
281
  def self.build_from_hash(attributes)
272
282
  return nil unless attributes.is_a?(Hash)
273
283
  attributes = attributes.transform_keys(&:to_sym)
284
+ # include attributes inherited from allOf parents (the nearest declaration wins)
285
+ map = acceptable_attribute_map
274
286
  transformed_hash = {}
275
- openapi_types.each_pair do |key, type|
276
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
287
+ acceptable_openapi_types.each_pair do |key, type|
288
+ if attributes.key?(map[key]) && attributes[map[key]].nil?
277
289
  transformed_hash["#{key}"] = nil
278
290
  elsif type =~ /\AArray<(.*)>/i
279
291
  # check to ensure the input is an array given that the attribute
280
292
  # is documented as an array but the input is not
281
- if attributes[attribute_map[key]].is_a?(Array)
282
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
293
+ if attributes[map[key]].is_a?(Array)
294
+ transformed_hash["#{key}"] = attributes[map[key]].map { |v| _deserialize($1, v) }
283
295
  end
284
- elsif !attributes[attribute_map[key]].nil?
285
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
296
+ elsif !attributes[map[key]].nil?
297
+ transformed_hash["#{key}"] = _deserialize(type, attributes[map[key]])
286
298
  end
287
299
  end
288
300
  new(transformed_hash)
@@ -292,10 +304,11 @@ module OpenApiOpenAIClient
292
304
  # @return [Hash] Returns the object in the form of hash
293
305
  def to_hash
294
306
  hash = {}
295
- self.class.attribute_map.each_pair do |attr, param|
307
+ # include attributes inherited from allOf parents (the nearest declaration wins)
308
+ self.class.acceptable_attribute_map.each_pair do |attr, param|
296
309
  value = self.send(attr)
297
310
  if value.nil?
298
- is_nullable = self.class.openapi_nullable.include?(attr)
311
+ is_nullable = self.class.acceptable_openapi_nullable.include?(attr)
299
312
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
300
313
  end
301
314
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.3.0
7
7
  Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.18.0
9
+ Generator version: 7.26.0
10
10
 
11
11
  =end
12
12
 
@@ -104,6 +104,16 @@ module OpenApiOpenAIClient
104
104
  ])
105
105
  end
106
106
 
107
+ # Returns attribute type mapping
108
+ def self.acceptable_openapi_types
109
+ openapi_types
110
+ end
111
+
112
+ # Returns the nullable attributes
113
+ def self.acceptable_openapi_nullable
114
+ openapi_nullable
115
+ end
116
+
107
117
  # Initializes the object
108
118
  # @param [Hash] attributes Model attributes in the form of hash
109
119
  def initialize(attributes = {})
@@ -249,18 +259,20 @@ module OpenApiOpenAIClient
249
259
  def self.build_from_hash(attributes)
250
260
  return nil unless attributes.is_a?(Hash)
251
261
  attributes = attributes.transform_keys(&:to_sym)
262
+ # include attributes inherited from allOf parents (the nearest declaration wins)
263
+ map = acceptable_attribute_map
252
264
  transformed_hash = {}
253
- openapi_types.each_pair do |key, type|
254
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
265
+ acceptable_openapi_types.each_pair do |key, type|
266
+ if attributes.key?(map[key]) && attributes[map[key]].nil?
255
267
  transformed_hash["#{key}"] = nil
256
268
  elsif type =~ /\AArray<(.*)>/i
257
269
  # check to ensure the input is an array given that the attribute
258
270
  # is documented as an array but the input is not
259
- if attributes[attribute_map[key]].is_a?(Array)
260
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
271
+ if attributes[map[key]].is_a?(Array)
272
+ transformed_hash["#{key}"] = attributes[map[key]].map { |v| _deserialize($1, v) }
261
273
  end
262
- elsif !attributes[attribute_map[key]].nil?
263
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
274
+ elsif !attributes[map[key]].nil?
275
+ transformed_hash["#{key}"] = _deserialize(type, attributes[map[key]])
264
276
  end
265
277
  end
266
278
  new(transformed_hash)
@@ -270,10 +282,11 @@ module OpenApiOpenAIClient
270
282
  # @return [Hash] Returns the object in the form of hash
271
283
  def to_hash
272
284
  hash = {}
273
- self.class.attribute_map.each_pair do |attr, param|
285
+ # include attributes inherited from allOf parents (the nearest declaration wins)
286
+ self.class.acceptable_attribute_map.each_pair do |attr, param|
274
287
  value = self.send(attr)
275
288
  if value.nil?
276
- is_nullable = self.class.openapi_nullable.include?(attr)
289
+ is_nullable = self.class.acceptable_openapi_nullable.include?(attr)
277
290
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
278
291
  end
279
292
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.3.0
7
7
  Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.18.0
9
+ Generator version: 7.26.0
10
10
 
11
11
  =end
12
12
 
@@ -81,6 +81,16 @@ module OpenApiOpenAIClient
81
81
  ])
82
82
  end
83
83
 
84
+ # Returns attribute type mapping
85
+ def self.acceptable_openapi_types
86
+ openapi_types
87
+ end
88
+
89
+ # Returns the nullable attributes
90
+ def self.acceptable_openapi_nullable
91
+ openapi_nullable
92
+ end
93
+
84
94
  # Initializes the object
85
95
  # @param [Hash] attributes Model attributes in the form of hash
86
96
  def initialize(attributes = {})
@@ -230,18 +240,20 @@ module OpenApiOpenAIClient
230
240
  def self.build_from_hash(attributes)
231
241
  return nil unless attributes.is_a?(Hash)
232
242
  attributes = attributes.transform_keys(&:to_sym)
243
+ # include attributes inherited from allOf parents (the nearest declaration wins)
244
+ map = acceptable_attribute_map
233
245
  transformed_hash = {}
234
- openapi_types.each_pair do |key, type|
235
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
246
+ acceptable_openapi_types.each_pair do |key, type|
247
+ if attributes.key?(map[key]) && attributes[map[key]].nil?
236
248
  transformed_hash["#{key}"] = nil
237
249
  elsif type =~ /\AArray<(.*)>/i
238
250
  # check to ensure the input is an array given that the attribute
239
251
  # is documented as an array but the input is not
240
- if attributes[attribute_map[key]].is_a?(Array)
241
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
252
+ if attributes[map[key]].is_a?(Array)
253
+ transformed_hash["#{key}"] = attributes[map[key]].map { |v| _deserialize($1, v) }
242
254
  end
243
- elsif !attributes[attribute_map[key]].nil?
244
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
255
+ elsif !attributes[map[key]].nil?
256
+ transformed_hash["#{key}"] = _deserialize(type, attributes[map[key]])
245
257
  end
246
258
  end
247
259
  new(transformed_hash)
@@ -251,10 +263,11 @@ module OpenApiOpenAIClient
251
263
  # @return [Hash] Returns the object in the form of hash
252
264
  def to_hash
253
265
  hash = {}
254
- self.class.attribute_map.each_pair do |attr, param|
266
+ # include attributes inherited from allOf parents (the nearest declaration wins)
267
+ self.class.acceptable_attribute_map.each_pair do |attr, param|
255
268
  value = self.send(attr)
256
269
  if value.nil?
257
- is_nullable = self.class.openapi_nullable.include?(attr)
270
+ is_nullable = self.class.acceptable_openapi_nullable.include?(attr)
258
271
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
259
272
  end
260
273