zitadel-client 4.1.0.beta.6 → 4.1.0.beta.8

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 (251) hide show
  1. checksums.yaml +4 -4
  2. data/lib/zitadel/client/api/action_service_api.rb +22 -22
  3. data/lib/zitadel/client/api/beta_action_service_api.rb +22 -22
  4. data/lib/zitadel/client/api/beta_app_service_api.rb +28 -28
  5. data/lib/zitadel/client/api/beta_authorization_service_api.rb +12 -12
  6. data/lib/zitadel/client/api/beta_instance_service_api.rb +20 -20
  7. data/lib/zitadel/client/api/beta_internal_permission_service_api.rb +8 -8
  8. data/lib/zitadel/client/api/beta_o_i_d_c_service_api.rb +1 -1
  9. data/lib/zitadel/client/api/beta_organization_service_api.rb +28 -28
  10. data/lib/zitadel/client/api/beta_project_service_api.rb +34 -34
  11. data/lib/zitadel/client/api/beta_session_service_api.rb +5 -5
  12. data/lib/zitadel/client/api/beta_settings_service_api.rb +11 -11
  13. data/lib/zitadel/client/api/beta_telemetry_service_api.rb +2 -2
  14. data/lib/zitadel/client/api/beta_user_service_api.rb +77 -77
  15. data/lib/zitadel/client/api/beta_web_key_service_api.rb +8 -8
  16. data/lib/zitadel/client/api/feature_service_api.rb +24 -24
  17. data/lib/zitadel/client/api/identity_provider_service_api.rb +2 -2
  18. data/lib/zitadel/client/api/o_i_d_c_service_api.rb +6 -6
  19. data/lib/zitadel/client/api/organization_service_api.rb +4 -4
  20. data/lib/zitadel/client/api/s_a_m_l_service_api.rb +1 -1
  21. data/lib/zitadel/client/api/session_service_api.rb +5 -5
  22. data/lib/zitadel/client/api/settings_service_api.rb +17 -17
  23. data/lib/zitadel/client/api/user_service_api.rb +125 -125
  24. data/lib/zitadel/client/api/web_key_service_api.rb +8 -8
  25. data/lib/zitadel/client/models/action_service_any.rb +7 -5
  26. data/lib/zitadel/client/models/action_service_connect_error.rb +10 -7
  27. data/lib/zitadel/client/models/action_service_delete_target_request.rb +0 -12
  28. data/lib/zitadel/client/models/beta_action_service_any.rb +7 -5
  29. data/lib/zitadel/client/models/beta_action_service_connect_error.rb +10 -7
  30. data/lib/zitadel/client/models/beta_action_service_delete_target_request.rb +0 -12
  31. data/lib/zitadel/client/models/beta_app_service_any.rb +7 -5
  32. data/lib/zitadel/client/models/beta_app_service_connect_error.rb +10 -7
  33. data/lib/zitadel/client/models/beta_app_service_create_application_request.rb +0 -12
  34. data/lib/zitadel/client/models/beta_app_service_get_application_request.rb +0 -12
  35. data/lib/zitadel/client/models/beta_app_service_update_application_request.rb +0 -12
  36. data/lib/zitadel/client/models/beta_authorization_service_any.rb +7 -5
  37. data/lib/zitadel/client/models/beta_authorization_service_connect_error.rb +10 -7
  38. data/lib/zitadel/client/models/beta_feature_service_any.rb +7 -5
  39. data/lib/zitadel/client/models/beta_feature_service_connect_error.rb +10 -7
  40. data/lib/zitadel/client/models/beta_feature_service_improved_performance.rb +1 -2
  41. data/lib/zitadel/client/models/beta_instance_service_add_trusted_domain_request.rb +0 -12
  42. data/lib/zitadel/client/models/beta_instance_service_any.rb +7 -5
  43. data/lib/zitadel/client/models/beta_instance_service_connect_error.rb +10 -7
  44. data/lib/zitadel/client/models/beta_instance_service_remove_trusted_domain_request.rb +0 -12
  45. data/lib/zitadel/client/models/beta_internal_permission_service_any.rb +7 -5
  46. data/lib/zitadel/client/models/beta_internal_permission_service_connect_error.rb +10 -7
  47. data/lib/zitadel/client/models/beta_o_i_d_c_service_any.rb +7 -5
  48. data/lib/zitadel/client/models/beta_o_i_d_c_service_connect_error.rb +10 -7
  49. data/lib/zitadel/client/models/beta_organization_service_add_human_user_request.rb +0 -24
  50. data/lib/zitadel/client/models/beta_organization_service_add_organization_domain_request.rb +0 -24
  51. data/lib/zitadel/client/models/beta_organization_service_any.rb +7 -5
  52. data/lib/zitadel/client/models/beta_organization_service_connect_error.rb +10 -7
  53. data/lib/zitadel/client/models/beta_organization_service_create_organization_request.rb +0 -12
  54. data/lib/zitadel/client/models/beta_organization_service_create_organization_response.rb +0 -12
  55. data/lib/zitadel/client/models/beta_organization_service_delete_organization_domain_request.rb +0 -24
  56. data/lib/zitadel/client/models/beta_organization_service_delete_organization_metadata_request.rb +0 -12
  57. data/lib/zitadel/client/models/beta_organization_service_delete_organization_request.rb +0 -12
  58. data/lib/zitadel/client/models/beta_organization_service_generate_organization_domain_validation_request.rb +0 -24
  59. data/lib/zitadel/client/models/beta_organization_service_hashed_password.rb +0 -12
  60. data/lib/zitadel/client/models/beta_organization_service_list_organization_domains_request.rb +0 -12
  61. data/lib/zitadel/client/models/beta_organization_service_list_organization_metadata_request.rb +0 -12
  62. data/lib/zitadel/client/models/beta_organization_service_password.rb +0 -12
  63. data/lib/zitadel/client/models/beta_organization_service_set_human_email.rb +0 -12
  64. data/lib/zitadel/client/models/beta_organization_service_set_human_profile.rb +0 -24
  65. data/lib/zitadel/client/models/beta_organization_service_set_metadata_entry.rb +0 -24
  66. data/lib/zitadel/client/models/beta_organization_service_set_organization_metadata_request.rb +0 -12
  67. data/lib/zitadel/client/models/beta_organization_service_update_organization_request.rb +0 -24
  68. data/lib/zitadel/client/models/beta_organization_service_verify_organization_domain_request.rb +0 -12
  69. data/lib/zitadel/client/models/beta_project_service_activate_project_grant_request.rb +0 -24
  70. data/lib/zitadel/client/models/beta_project_service_activate_project_request.rb +0 -12
  71. data/lib/zitadel/client/models/beta_project_service_add_project_role_request.rb +0 -36
  72. data/lib/zitadel/client/models/beta_project_service_admin.rb +227 -0
  73. data/lib/zitadel/client/models/beta_project_service_any.rb +7 -5
  74. data/lib/zitadel/client/models/beta_project_service_connect_error.rb +10 -7
  75. data/lib/zitadel/client/models/beta_project_service_create_project_grant_request.rb +0 -24
  76. data/lib/zitadel/client/models/beta_project_service_create_project_request.rb +14 -14
  77. data/lib/zitadel/client/models/beta_project_service_deactivate_project_grant_request.rb +0 -24
  78. data/lib/zitadel/client/models/beta_project_service_deactivate_project_request.rb +0 -12
  79. data/lib/zitadel/client/models/beta_project_service_delete_project_grant_request.rb +0 -24
  80. data/lib/zitadel/client/models/beta_project_service_delete_project_request.rb +0 -12
  81. data/lib/zitadel/client/models/beta_project_service_list_project_roles_request.rb +0 -12
  82. data/lib/zitadel/client/models/beta_project_service_remove_project_role_request.rb +0 -24
  83. data/lib/zitadel/client/models/beta_project_service_update_project_grant_request.rb +0 -24
  84. data/lib/zitadel/client/models/beta_project_service_update_project_request.rb +0 -12
  85. data/lib/zitadel/client/models/beta_project_service_update_project_role_request.rb +0 -26
  86. data/lib/zitadel/client/models/beta_session_service_any.rb +7 -5
  87. data/lib/zitadel/client/models/beta_session_service_check_web_auth_n.rb +0 -12
  88. data/lib/zitadel/client/models/beta_session_service_connect_error.rb +10 -7
  89. data/lib/zitadel/client/models/beta_session_service_web_auth_n.rb +0 -24
  90. data/lib/zitadel/client/models/beta_settings_service_any.rb +7 -5
  91. data/lib/zitadel/client/models/beta_settings_service_connect_error.rb +10 -7
  92. data/lib/zitadel/client/models/beta_telemetry_service_any.rb +7 -5
  93. data/lib/zitadel/client/models/beta_telemetry_service_connect_error.rb +10 -7
  94. data/lib/zitadel/client/models/beta_user_service_add_human_user_request.rb +0 -24
  95. data/lib/zitadel/client/models/beta_user_service_add_i_d_p_link_request.rb +0 -12
  96. data/lib/zitadel/client/models/beta_user_service_add_o_t_p_email_request.rb +0 -12
  97. data/lib/zitadel/client/models/beta_user_service_add_o_t_p_s_m_s_request.rb +0 -12
  98. data/lib/zitadel/client/models/beta_user_service_any.rb +7 -5
  99. data/lib/zitadel/client/models/beta_user_service_connect_error.rb +10 -7
  100. data/lib/zitadel/client/models/beta_user_service_create_passkey_registration_link_request.rb +0 -12
  101. data/lib/zitadel/client/models/beta_user_service_deactivate_user_request.rb +0 -12
  102. data/lib/zitadel/client/models/beta_user_service_delete_user_request.rb +0 -12
  103. data/lib/zitadel/client/models/beta_user_service_display_name_query.rb +0 -12
  104. data/lib/zitadel/client/models/beta_user_service_email_query.rb +0 -12
  105. data/lib/zitadel/client/models/beta_user_service_first_name_query.rb +0 -12
  106. data/lib/zitadel/client/models/beta_user_service_get_user_by_i_d_request.rb +0 -12
  107. data/lib/zitadel/client/models/beta_user_service_hashed_password.rb +0 -12
  108. data/lib/zitadel/client/models/beta_user_service_last_name_query.rb +0 -12
  109. data/lib/zitadel/client/models/beta_user_service_list_authentication_method_types_request.rb +0 -12
  110. data/lib/zitadel/client/models/beta_user_service_lock_user_request.rb +0 -12
  111. data/lib/zitadel/client/models/beta_user_service_login_name_query.rb +0 -12
  112. data/lib/zitadel/client/models/beta_user_service_nick_name_query.rb +0 -12
  113. data/lib/zitadel/client/models/beta_user_service_organization_id_query.rb +0 -12
  114. data/lib/zitadel/client/models/beta_user_service_passkey_registration_code.rb +0 -24
  115. data/lib/zitadel/client/models/beta_user_service_password.rb +0 -12
  116. data/lib/zitadel/client/models/beta_user_service_password_reset_request.rb +0 -12
  117. data/lib/zitadel/client/models/beta_user_service_phone_query.rb +0 -12
  118. data/lib/zitadel/client/models/beta_user_service_reactivate_user_request.rb +0 -12
  119. data/lib/zitadel/client/models/beta_user_service_register_passkey_request.rb +0 -12
  120. data/lib/zitadel/client/models/beta_user_service_register_t_o_t_p_request.rb +0 -12
  121. data/lib/zitadel/client/models/beta_user_service_register_u2_f_request.rb +0 -12
  122. data/lib/zitadel/client/models/beta_user_service_remove_o_t_p_email_request.rb +0 -12
  123. data/lib/zitadel/client/models/beta_user_service_remove_o_t_p_s_m_s_request.rb +0 -12
  124. data/lib/zitadel/client/models/beta_user_service_remove_phone_request.rb +0 -12
  125. data/lib/zitadel/client/models/beta_user_service_remove_t_o_t_p_request.rb +0 -12
  126. data/lib/zitadel/client/models/beta_user_service_resend_email_code_request.rb +0 -12
  127. data/lib/zitadel/client/models/beta_user_service_resend_phone_code_request.rb +0 -12
  128. data/lib/zitadel/client/models/beta_user_service_set_email_request.rb +0 -24
  129. data/lib/zitadel/client/models/beta_user_service_set_human_email.rb +0 -12
  130. data/lib/zitadel/client/models/beta_user_service_set_human_profile.rb +0 -24
  131. data/lib/zitadel/client/models/beta_user_service_set_metadata_entry.rb +0 -24
  132. data/lib/zitadel/client/models/beta_user_service_set_password_request.rb +0 -12
  133. data/lib/zitadel/client/models/beta_user_service_set_phone_request.rb +0 -24
  134. data/lib/zitadel/client/models/beta_user_service_state_query.rb +0 -12
  135. data/lib/zitadel/client/models/beta_user_service_type_query.rb +0 -12
  136. data/lib/zitadel/client/models/beta_user_service_unlock_user_request.rb +0 -12
  137. data/lib/zitadel/client/models/beta_user_service_user_name_query.rb +0 -12
  138. data/lib/zitadel/client/models/beta_user_service_verify_email_request.rb +0 -24
  139. data/lib/zitadel/client/models/beta_user_service_verify_passkey_registration_request.rb +0 -48
  140. data/lib/zitadel/client/models/beta_user_service_verify_phone_request.rb +0 -24
  141. data/lib/zitadel/client/models/beta_user_service_verify_t_o_t_p_registration_request.rb +0 -24
  142. data/lib/zitadel/client/models/beta_user_service_verify_u2_f_registration_request.rb +0 -48
  143. data/lib/zitadel/client/models/beta_web_key_service_activate_web_key_request.rb +0 -12
  144. data/lib/zitadel/client/models/beta_web_key_service_any.rb +7 -5
  145. data/lib/zitadel/client/models/beta_web_key_service_connect_error.rb +10 -7
  146. data/lib/zitadel/client/models/beta_web_key_service_delete_web_key_request.rb +0 -12
  147. data/lib/zitadel/client/models/feature_service_any.rb +7 -5
  148. data/lib/zitadel/client/models/feature_service_connect_error.rb +10 -7
  149. data/lib/zitadel/client/models/feature_service_get_instance_features_response.rb +1 -10
  150. data/lib/zitadel/client/models/feature_service_get_system_features_response.rb +1 -10
  151. data/lib/zitadel/client/models/feature_service_improved_performance.rb +1 -2
  152. data/lib/zitadel/client/models/feature_service_set_instance_features_request.rb +1 -11
  153. data/lib/zitadel/client/models/feature_service_set_system_features_request.rb +1 -11
  154. data/lib/zitadel/client/models/identity_provider_service_any.rb +7 -5
  155. data/lib/zitadel/client/models/identity_provider_service_connect_error.rb +10 -7
  156. data/lib/zitadel/client/models/identity_provider_service_s_a_m_l_config.rb +14 -5
  157. data/lib/zitadel/client/models/identity_provider_service_s_a_m_l_signature_algorithm.rb +43 -0
  158. data/lib/zitadel/client/models/o_i_d_c_service_any.rb +7 -5
  159. data/lib/zitadel/client/models/o_i_d_c_service_connect_error.rb +10 -7
  160. data/lib/zitadel/client/models/organization_service_add_human_user_request.rb +0 -24
  161. data/lib/zitadel/client/models/organization_service_add_organization_request.rb +0 -12
  162. data/lib/zitadel/client/models/organization_service_any.rb +7 -5
  163. data/lib/zitadel/client/models/organization_service_connect_error.rb +10 -7
  164. data/lib/zitadel/client/models/organization_service_hashed_password.rb +0 -12
  165. data/lib/zitadel/client/models/organization_service_organization_domain_query.rb +0 -12
  166. data/lib/zitadel/client/models/organization_service_organization_i_d_query.rb +0 -12
  167. data/lib/zitadel/client/models/organization_service_organization_name_query.rb +0 -12
  168. data/lib/zitadel/client/models/organization_service_password.rb +0 -12
  169. data/lib/zitadel/client/models/organization_service_set_human_email.rb +0 -12
  170. data/lib/zitadel/client/models/organization_service_set_human_profile.rb +0 -24
  171. data/lib/zitadel/client/models/organization_service_set_metadata_entry.rb +0 -24
  172. data/lib/zitadel/client/models/s_a_m_l_service_any.rb +7 -5
  173. data/lib/zitadel/client/models/s_a_m_l_service_connect_error.rb +10 -7
  174. data/lib/zitadel/client/models/session_service_any.rb +7 -5
  175. data/lib/zitadel/client/models/session_service_check_web_auth_n.rb +0 -12
  176. data/lib/zitadel/client/models/session_service_connect_error.rb +10 -7
  177. data/lib/zitadel/client/models/session_service_expiration_date_query.rb +247 -0
  178. data/lib/zitadel/client/models/session_service_search_query.rb +10 -1
  179. data/lib/zitadel/client/models/session_service_web_auth_n.rb +0 -24
  180. data/lib/zitadel/client/models/settings_service_any.rb +7 -5
  181. data/lib/zitadel/client/models/settings_service_connect_error.rb +10 -7
  182. data/lib/zitadel/client/models/user_service_add_human_user_request.rb +0 -24
  183. data/lib/zitadel/client/models/user_service_add_i_d_p_link_request.rb +0 -12
  184. data/lib/zitadel/client/models/user_service_add_o_t_p_email_request.rb +0 -12
  185. data/lib/zitadel/client/models/user_service_add_o_t_p_s_m_s_request.rb +0 -12
  186. data/lib/zitadel/client/models/user_service_any.rb +7 -5
  187. data/lib/zitadel/client/models/user_service_byte_filter_method.rb +41 -0
  188. data/lib/zitadel/client/models/user_service_connect_error.rb +10 -7
  189. data/lib/zitadel/client/models/user_service_create_invite_code_request.rb +0 -12
  190. data/lib/zitadel/client/models/user_service_create_passkey_registration_link_request.rb +0 -12
  191. data/lib/zitadel/client/models/user_service_deactivate_user_request.rb +0 -12
  192. data/lib/zitadel/client/models/user_service_delete_user_request.rb +0 -12
  193. data/lib/zitadel/client/models/user_service_display_name_query.rb +0 -12
  194. data/lib/zitadel/client/models/user_service_email_query.rb +0 -12
  195. data/lib/zitadel/client/models/user_service_first_name_query.rb +0 -12
  196. data/lib/zitadel/client/models/user_service_get_user_by_i_d_request.rb +0 -12
  197. data/lib/zitadel/client/models/user_service_hashed_password.rb +0 -12
  198. data/lib/zitadel/client/models/user_service_human_m_f_a_init_skipped_request.rb +0 -12
  199. data/lib/zitadel/client/models/user_service_last_name_query.rb +0 -12
  200. data/lib/zitadel/client/models/user_service_list_authentication_factors_request.rb +0 -12
  201. data/lib/zitadel/client/models/user_service_list_authentication_method_types_request.rb +0 -12
  202. data/lib/zitadel/client/models/user_service_list_passkeys_request.rb +0 -12
  203. data/lib/zitadel/client/models/user_service_list_user_metadata_request.rb +0 -12
  204. data/lib/zitadel/client/models/user_service_lock_user_request.rb +0 -12
  205. data/lib/zitadel/client/models/user_service_login_name_query.rb +0 -12
  206. data/lib/zitadel/client/models/user_service_metadata_value_filter.rb +246 -0
  207. data/lib/zitadel/client/models/user_service_nick_name_query.rb +0 -12
  208. data/lib/zitadel/client/models/user_service_organization_id_query.rb +0 -12
  209. data/lib/zitadel/client/models/user_service_passkey_registration_code.rb +0 -24
  210. data/lib/zitadel/client/models/user_service_password.rb +0 -12
  211. data/lib/zitadel/client/models/user_service_password_reset_request.rb +0 -12
  212. data/lib/zitadel/client/models/user_service_phone_query.rb +0 -12
  213. data/lib/zitadel/client/models/user_service_reactivate_user_request.rb +0 -12
  214. data/lib/zitadel/client/models/user_service_register_passkey_request.rb +0 -12
  215. data/lib/zitadel/client/models/user_service_register_t_o_t_p_request.rb +0 -12
  216. data/lib/zitadel/client/models/user_service_register_u2_f_request.rb +0 -12
  217. data/lib/zitadel/client/models/user_service_remove_i_d_p_link_request.rb +0 -36
  218. data/lib/zitadel/client/models/user_service_remove_o_t_p_email_request.rb +0 -12
  219. data/lib/zitadel/client/models/user_service_remove_o_t_p_s_m_s_request.rb +0 -12
  220. data/lib/zitadel/client/models/user_service_remove_passkey_request.rb +0 -24
  221. data/lib/zitadel/client/models/user_service_remove_phone_request.rb +0 -12
  222. data/lib/zitadel/client/models/user_service_remove_t_o_t_p_request.rb +0 -12
  223. data/lib/zitadel/client/models/user_service_remove_u2_f_request.rb +0 -24
  224. data/lib/zitadel/client/models/user_service_resend_email_code_request.rb +0 -12
  225. data/lib/zitadel/client/models/user_service_resend_invite_code_request.rb +0 -12
  226. data/lib/zitadel/client/models/user_service_resend_phone_code_request.rb +0 -12
  227. data/lib/zitadel/client/models/user_service_search_query.rb +19 -1
  228. data/lib/zitadel/client/models/user_service_send_email_code_request.rb +0 -12
  229. data/lib/zitadel/client/models/user_service_set_email_request.rb +0 -24
  230. data/lib/zitadel/client/models/user_service_set_human_email.rb +0 -12
  231. data/lib/zitadel/client/models/user_service_set_human_profile.rb +0 -24
  232. data/lib/zitadel/client/models/user_service_set_metadata_entry.rb +0 -24
  233. data/lib/zitadel/client/models/user_service_set_password_request.rb +0 -12
  234. data/lib/zitadel/client/models/user_service_set_phone_request.rb +0 -24
  235. data/lib/zitadel/client/models/user_service_set_user_metadata_request.rb +0 -12
  236. data/lib/zitadel/client/models/user_service_state_query.rb +0 -12
  237. data/lib/zitadel/client/models/user_service_type_query.rb +0 -12
  238. data/lib/zitadel/client/models/user_service_unlock_user_request.rb +0 -12
  239. data/lib/zitadel/client/models/user_service_user_name_query.rb +0 -12
  240. data/lib/zitadel/client/models/user_service_verify_email_request.rb +0 -24
  241. data/lib/zitadel/client/models/user_service_verify_invite_code_request.rb +0 -24
  242. data/lib/zitadel/client/models/user_service_verify_passkey_registration_request.rb +0 -48
  243. data/lib/zitadel/client/models/user_service_verify_phone_request.rb +0 -24
  244. data/lib/zitadel/client/models/user_service_verify_t_o_t_p_registration_request.rb +0 -24
  245. data/lib/zitadel/client/models/user_service_verify_u2_f_registration_request.rb +0 -48
  246. data/lib/zitadel/client/models/web_key_service_activate_web_key_request.rb +0 -12
  247. data/lib/zitadel/client/models/web_key_service_any.rb +7 -5
  248. data/lib/zitadel/client/models/web_key_service_connect_error.rb +10 -7
  249. data/lib/zitadel/client/models/web_key_service_delete_web_key_request.rb +0 -12
  250. data/lib/zitadel/client/version.rb +1 -1
  251. metadata +7 -2
@@ -22,7 +22,8 @@ module Zitadel::Client::Models
22
22
  # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
23
23
  attr_accessor :message
24
24
 
25
- attr_accessor :detail
25
+ # A list of messages that carry the error details. There is no limit on the number of messages.
26
+ attr_accessor :details
26
27
 
27
28
  class EnumAttributeValidator
28
29
  attr_reader :datatype
@@ -51,7 +52,7 @@ module Zitadel::Client::Models
51
52
  {
52
53
  :'code' => :'code',
53
54
  :'message' => :'message',
54
- :'detail' => :'detail'
55
+ :'details' => :'details'
55
56
  }
56
57
  end
57
58
 
@@ -70,7 +71,7 @@ module Zitadel::Client::Models
70
71
  {
71
72
  :'code' => :'String',
72
73
  :'message' => :'String',
73
- :'detail' => :'SessionServiceAny'
74
+ :'details' => :'Array<SessionServiceAny>'
74
75
  }
75
76
  end
76
77
 
@@ -106,8 +107,10 @@ module Zitadel::Client::Models
106
107
  self.message = attributes[:'message']
107
108
  end
108
109
 
109
- if attributes.key?(:'detail')
110
- self.detail = attributes[:'detail']
110
+ if attributes.key?(:'details')
111
+ if (value = attributes[:'details']).is_a?(Array)
112
+ self.details = value
113
+ end
111
114
  end
112
115
  end
113
116
 
@@ -128,7 +131,7 @@ module Zitadel::Client::Models
128
131
  self.class == o.class &&
129
132
  code == o.code &&
130
133
  message == o.message &&
131
- detail == o.detail
134
+ details == o.details
132
135
  end
133
136
 
134
137
  # @see the `==` method
@@ -140,7 +143,7 @@ module Zitadel::Client::Models
140
143
  # Calculates hash code according to all attributes.
141
144
  # @return [Integer] Hash code
142
145
  def hash
143
- [code, message, detail].hash
146
+ [code, message, details].hash
144
147
  end
145
148
 
146
149
  # Builds the object from hash
@@ -0,0 +1,247 @@
1
+ =begin
2
+ #Zitadel SDK
3
+
4
+ #The Zitadel SDK is a convenience wrapper around the Zitadel APIs to assist you in integrating with your Zitadel environment. This SDK enables you to handle resources, settings, and configurations within the Zitadel platform.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.14.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Zitadel::Client::Models
17
+ class SessionServiceExpirationDateQuery
18
+ # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # Examples Example 1: Compute Timestamp from POSIX `time()`. Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0); Example 2: Compute Timestamp from POSIX `gettimeofday()`. struct timeval tv; gettimeofday(&tv, NULL); Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.tv_usec * 1000); Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. long millis = System.currentTimeMillis(); Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .setNanos((int) ((millis % 1000) * 1000000)).build(); Example 5: Compute Timestamp from Java `Instant.now()`. Instant now = Instant.now(); Timestamp timestamp = Timestamp.newBuilder().setSeconds(now.getEpochSecond()) .setNanos(now.getNano()).build(); Example 6: Compute Timestamp from current time in Python. timestamp = Timestamp() timestamp.GetCurrentTime() # JSON Mapping In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" where {year} is always expressed using four digits while {month}, {day}, {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone is required. A proto3 JSON serializer should always use UTC (as indicated by \"Z\") when printing the Timestamp type and a proto3 JSON parser should be able to accept both UTC and other timezones (as indicated by an offset). For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past 01:30 UTC on January 15, 2017. In JavaScript, one can convert a Date object to this format using the standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) method. In Python, a standard `datetime.datetime` object can be converted to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda Time's [`ISODateTimeFormat.dateTime()`]( http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() ) to obtain a formatter capable of generating timestamps in this format.
19
+ attr_accessor :expiration_date
20
+
21
+ attr_accessor :method
22
+
23
+ class EnumAttributeValidator
24
+ attr_reader :datatype
25
+ attr_reader :allowable_values
26
+
27
+ def initialize(datatype, allowable_values)
28
+ @allowable_values = allowable_values.map do |value|
29
+ case datatype.to_s
30
+ when /Integer/i
31
+ value.to_i
32
+ when /Float/i
33
+ value.to_f
34
+ else
35
+ value
36
+ end
37
+ end
38
+ end
39
+
40
+ def valid?(value)
41
+ !value || allowable_values.include?(value)
42
+ end
43
+ end
44
+
45
+ # Attribute mapping from ruby-style variable name to JSON key.
46
+ def self.attribute_map
47
+ {
48
+ :'expiration_date' => :'expirationDate',
49
+ :'method' => :'method'
50
+ }
51
+ end
52
+
53
+ # Returns attribute mapping this model knows about
54
+ def self.acceptable_attribute_map
55
+ attribute_map
56
+ end
57
+
58
+ # Returns all the JSON keys this model knows about
59
+ def self.acceptable_attributes
60
+ acceptable_attribute_map.values
61
+ end
62
+
63
+ # Attribute type mapping.
64
+ def self.openapi_types
65
+ {
66
+ :'expiration_date' => :'Time',
67
+ :'method' => :'SessionServiceTimestampQueryMethod'
68
+ }
69
+ end
70
+
71
+ # List of attributes with nullable: true
72
+ def self.openapi_nullable
73
+ Set.new([
74
+ ])
75
+ end
76
+
77
+ # Initializes the object
78
+ # @param [Hash] attributes Models attributes in the form of hash
79
+ def initialize(attributes = {})
80
+ if (!attributes.is_a?(Hash))
81
+ # MODIFIED: Updated class name in error message
82
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Zitadel::Client::Models::SessionServiceExpirationDateQuery` initialize method"
83
+ end
84
+
85
+ # check to see if the attribute exists and convert string to symbol for hash key
86
+ acceptable_attribute_map = self.class.acceptable_attribute_map
87
+ attributes = attributes.each_with_object({}) { |(k, v), h|
88
+ if (!acceptable_attribute_map.key?(k.to_sym))
89
+ # MODIFIED: Updated class name in error message
90
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Zitadel::Client::Models::SessionServiceExpirationDateQuery`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
91
+ end
92
+ h[k.to_sym] = v
93
+ }
94
+
95
+ if attributes.key?(:'expiration_date')
96
+ self.expiration_date = attributes[:'expiration_date']
97
+ end
98
+
99
+ if attributes.key?(:'method')
100
+ self.method = attributes[:'method']
101
+ end
102
+ end
103
+
104
+ # Checks equality by comparing each attribute.
105
+ # @param [Object] Object to be compared
106
+ def ==(o)
107
+ return true if self.equal?(o)
108
+ self.class == o.class &&
109
+ expiration_date == o.expiration_date &&
110
+ method == o.method
111
+ end
112
+
113
+ # @see the `==` method
114
+ # @param [Object] Object to be compared
115
+ def eql?(o)
116
+ self == o
117
+ end
118
+
119
+ # Calculates hash code according to all attributes.
120
+ # @return [Integer] Hash code
121
+ def hash
122
+ [expiration_date, method].hash
123
+ end
124
+
125
+ # Builds the object from hash
126
+ # @param [Hash] attributes Models attributes in the form of hash
127
+ # @return [Object] Returns the model itself
128
+ def self.build_from_hash(attributes)
129
+ return nil unless attributes.is_a?(Hash)
130
+ attributes = attributes.transform_keys(&:to_sym)
131
+ transformed_hash = {}
132
+ openapi_types.each_pair do |key, type|
133
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
134
+ transformed_hash["#{key}"] = nil
135
+ elsif type =~ /\AArray<(.*)>/i
136
+ # check to ensure the input is an array given that the attribute
137
+ # is documented as an array but the input is not
138
+ if attributes[attribute_map[key]].is_a?(Array)
139
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
140
+ end
141
+ elsif !attributes[attribute_map[key]].nil?
142
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
143
+ end
144
+ end
145
+ new(transformed_hash) # `new` will call the initialize method of the specific model class.
146
+ end
147
+
148
+ # Deserializes the data based on type
149
+ # @param string type Data type
150
+ # @param string value Value to be deserialized
151
+ # @return [Object] Deserialized data
152
+ def self._deserialize(type, value)
153
+ case type.to_sym
154
+ when :Time
155
+ Time.parse(value)
156
+ when :Date
157
+ Date.parse(value)
158
+ when :String
159
+ value.to_s
160
+ when :Integer
161
+ value.to_i
162
+ when :Float
163
+ value.to_f
164
+ when :Boolean
165
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
166
+ true
167
+ else
168
+ false
169
+ end
170
+ when :Object
171
+ # generic object (usually a Hash), return directly
172
+ value
173
+ when /\AArray<(?<inner_type>.+)>\z/
174
+ inner_type = Regexp.last_match[:inner_type]
175
+ value.map { |v| _deserialize(inner_type, v) }
176
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
177
+ k_type = Regexp.last_match[:k_type]
178
+ v_type = Regexp.last_match[:v_type]
179
+ {}.tap do |hash|
180
+ value.each do |k, v|
181
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
182
+ end
183
+ end
184
+ else # model
185
+ # models (e.g. Pet) or oneOf/anyOf constructs that resolve to a model name
186
+ # MODIFIED: Ensure model is looked up in the Models namespace
187
+ # 'type' here is expected to be the simple class name (e.g., "User", "OrderDetails")
188
+ klass = Zitadel::Client::Models.const_get(type)
189
+ # The `klass.build` method is for oneOf/anyOf types (defined in partial_oneof_module.mustache / partial_anyof_module.mustache)
190
+ # The `klass.build_from_hash` is for regular model types (defined in this base_object.mustache itself)
191
+ if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_allOf)
192
+ klass.build(value) # For oneOf/anyOf/allOf, delegate to their specific build method
193
+ else
194
+ klass.build_from_hash(value) # For regular models
195
+ end
196
+ end
197
+ end
198
+
199
+ # Returns the string representation of the object
200
+ # @return [String] String presentation of the object
201
+ def to_s
202
+ to_hash.to_s
203
+ end
204
+
205
+ # to_body is an alias to to_hash (backward compatibility)
206
+ # @return [Hash] Returns the object in the form of hash
207
+ def to_body
208
+ to_hash
209
+ end
210
+
211
+ # Returns the object in the form of hash
212
+ # @return [Hash] Returns the object in the form of hash
213
+ def to_hash
214
+ hash = {} # Calls super.to_hash if parent exists
215
+ self.class.attribute_map.each_pair do |attr, param|
216
+ value = self.send(attr)
217
+ if value.nil?
218
+ is_nullable = self.class.openapi_nullable.include?(attr)
219
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
220
+ end
221
+
222
+ hash[param] = _to_hash(value)
223
+ end
224
+ hash
225
+ end
226
+
227
+ # Outputs non-array value in the form of hash
228
+ # For object, use to_hash. Otherwise, just return the value
229
+ # @param [Object] value Any valid value
230
+ # @return [Hash] Returns the value in the form of hash
231
+ def _to_hash(value)
232
+ if value.is_a?(Array)
233
+ value.compact.map { |v| _to_hash(v) }
234
+ elsif value.is_a?(Hash)
235
+ {}.tap do |hash|
236
+ value.each { |k, v| hash[k] = _to_hash(v) }
237
+ end
238
+ elsif value.respond_to? :to_hash
239
+ value.to_hash
240
+ else
241
+ value
242
+ end
243
+ end
244
+
245
+ end
246
+
247
+ end
@@ -19,6 +19,8 @@ module Zitadel::Client::Models
19
19
 
20
20
  attr_accessor :creator_query
21
21
 
22
+ attr_accessor :expiration_date_query
23
+
22
24
  attr_accessor :ids_query
23
25
 
24
26
  attr_accessor :user_agent_query
@@ -30,6 +32,7 @@ module Zitadel::Client::Models
30
32
  {
31
33
  :'creation_date_query' => :'creationDateQuery',
32
34
  :'creator_query' => :'creatorQuery',
35
+ :'expiration_date_query' => :'expirationDateQuery',
33
36
  :'ids_query' => :'idsQuery',
34
37
  :'user_agent_query' => :'userAgentQuery',
35
38
  :'user_id_query' => :'userIdQuery'
@@ -51,6 +54,7 @@ module Zitadel::Client::Models
51
54
  {
52
55
  :'creation_date_query' => :'SessionServiceCreationDateQuery',
53
56
  :'creator_query' => :'SessionServiceCreatorQuery',
57
+ :'expiration_date_query' => :'SessionServiceExpirationDateQuery',
54
58
  :'ids_query' => :'SessionServiceIDsQuery',
55
59
  :'user_agent_query' => :'SessionServiceUserAgentQuery',
56
60
  :'user_id_query' => :'SessionServiceUserIDQuery'
@@ -89,6 +93,10 @@ module Zitadel::Client::Models
89
93
  self.creator_query = attributes[:'creator_query']
90
94
  end
91
95
 
96
+ if attributes.key?(:'expiration_date_query')
97
+ self.expiration_date_query = attributes[:'expiration_date_query']
98
+ end
99
+
92
100
  if attributes.key?(:'ids_query')
93
101
  self.ids_query = attributes[:'ids_query']
94
102
  end
@@ -109,6 +117,7 @@ module Zitadel::Client::Models
109
117
  self.class == o.class &&
110
118
  creation_date_query == o.creation_date_query &&
111
119
  creator_query == o.creator_query &&
120
+ expiration_date_query == o.expiration_date_query &&
112
121
  ids_query == o.ids_query &&
113
122
  user_agent_query == o.user_agent_query &&
114
123
  user_id_query == o.user_id_query
@@ -123,7 +132,7 @@ module Zitadel::Client::Models
123
132
  # Calculates hash code according to all attributes.
124
133
  # @return [Integer] Hash code
125
134
  def hash
126
- [creation_date_query, creator_query, ids_query, user_agent_query, user_id_query].hash
135
+ [creation_date_query, creator_query, expiration_date_query, ids_query, user_agent_query, user_id_query].hash
127
136
  end
128
137
 
129
138
  # Builds the object from hash
@@ -93,37 +93,13 @@ module Zitadel::Client::Models
93
93
 
94
94
  if attributes.key?(:'domain')
95
95
  self.domain = attributes[:'domain']
96
- else
97
- self.domain = nil
98
96
  end
99
97
 
100
98
  if attributes.key?(:'user_verification_requirement')
101
99
  self.user_verification_requirement = attributes[:'user_verification_requirement']
102
- else
103
- self.user_verification_requirement = nil
104
100
  end
105
101
  end
106
102
 
107
- # Custom attribute writer method with validation
108
- # @param [String] domain Value to be assigned
109
- def domain=(domain)
110
- if domain.nil?
111
- fail ArgumentError, 'domain cannot be nil'
112
- end
113
-
114
- @domain = domain
115
- end
116
-
117
- # Custom attribute writer method with validation
118
- # @param [SessionServiceUserVerificationRequirement] user_verification_requirement Value to be assigned
119
- def user_verification_requirement=(user_verification_requirement)
120
- if user_verification_requirement.nil?
121
- fail ArgumentError, 'user_verification_requirement cannot be nil'
122
- end
123
-
124
- @user_verification_requirement = user_verification_requirement
125
- end
126
-
127
103
  # Checks equality by comparing each attribute.
128
104
  # @param [Object] Object to be compared
129
105
  def ==(o)
@@ -14,12 +14,15 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Zitadel::Client::Models
17
- # Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
17
+ # Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.
18
18
  class SettingsServiceAny
19
+ # A URL that acts as a globally unique identifier for the type of the serialized message. For example: `type.googleapis.com/google.rpc.ErrorInfo`. This is used to determine the schema of the data in the `value` field and is the discriminator for the `debug` field.
19
20
  attr_accessor :type
20
21
 
22
+ # The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the `type` field.
21
23
  attr_accessor :value
22
24
 
25
+ # Deserialized error detail payload. The 'type' field indicates the schema. This field is for easier debugging and should not be relied upon for application logic.
23
26
  attr_accessor :debug
24
27
 
25
28
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,13 +49,14 @@ module Zitadel::Client::Models
46
49
  {
47
50
  :'type' => :'String',
48
51
  :'value' => :'File',
49
- :'debug' => :'Hash<String, Object>'
52
+ :'debug' => :'Object'
50
53
  }
51
54
  end
52
55
 
53
56
  # List of attributes with nullable: true
54
57
  def self.openapi_nullable
55
58
  Set.new([
59
+ :'debug'
56
60
  ])
57
61
  end
58
62
 
@@ -83,9 +87,7 @@ module Zitadel::Client::Models
83
87
  end
84
88
 
85
89
  if attributes.key?(:'debug')
86
- if (value = attributes[:'debug']).is_a?(Hash)
87
- self.debug = value
88
- end
90
+ self.debug = attributes[:'debug']
89
91
  end
90
92
  end
91
93
 
@@ -22,7 +22,8 @@ module Zitadel::Client::Models
22
22
  # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
23
23
  attr_accessor :message
24
24
 
25
- attr_accessor :detail
25
+ # A list of messages that carry the error details. There is no limit on the number of messages.
26
+ attr_accessor :details
26
27
 
27
28
  class EnumAttributeValidator
28
29
  attr_reader :datatype
@@ -51,7 +52,7 @@ module Zitadel::Client::Models
51
52
  {
52
53
  :'code' => :'code',
53
54
  :'message' => :'message',
54
- :'detail' => :'detail'
55
+ :'details' => :'details'
55
56
  }
56
57
  end
57
58
 
@@ -70,7 +71,7 @@ module Zitadel::Client::Models
70
71
  {
71
72
  :'code' => :'String',
72
73
  :'message' => :'String',
73
- :'detail' => :'SettingsServiceAny'
74
+ :'details' => :'Array<SettingsServiceAny>'
74
75
  }
75
76
  end
76
77
 
@@ -106,8 +107,10 @@ module Zitadel::Client::Models
106
107
  self.message = attributes[:'message']
107
108
  end
108
109
 
109
- if attributes.key?(:'detail')
110
- self.detail = attributes[:'detail']
110
+ if attributes.key?(:'details')
111
+ if (value = attributes[:'details']).is_a?(Array)
112
+ self.details = value
113
+ end
111
114
  end
112
115
  end
113
116
 
@@ -128,7 +131,7 @@ module Zitadel::Client::Models
128
131
  self.class == o.class &&
129
132
  code == o.code &&
130
133
  message == o.message &&
131
- detail == o.detail
134
+ details == o.details
132
135
  end
133
136
 
134
137
  # @see the `==` method
@@ -140,7 +143,7 @@ module Zitadel::Client::Models
140
143
  # Calculates hash code according to all attributes.
141
144
  # @return [Integer] Hash code
142
145
  def hash
143
- [code, message, detail].hash
146
+ [code, message, details].hash
144
147
  end
145
148
 
146
149
  # Builds the object from hash
@@ -125,14 +125,10 @@ module Zitadel::Client::Models
125
125
 
126
126
  if attributes.key?(:'profile')
127
127
  self.profile = attributes[:'profile']
128
- else
129
- self.profile = nil
130
128
  end
131
129
 
132
130
  if attributes.key?(:'email')
133
131
  self.email = attributes[:'email']
134
- else
135
- self.email = nil
136
132
  end
137
133
 
138
134
  if attributes.key?(:'phone')
@@ -164,26 +160,6 @@ module Zitadel::Client::Models
164
160
  end
165
161
  end
166
162
 
167
- # Custom attribute writer method with validation
168
- # @param [UserServiceSetHumanProfile] profile Value to be assigned
169
- def profile=(profile)
170
- if profile.nil?
171
- fail ArgumentError, 'profile cannot be nil'
172
- end
173
-
174
- @profile = profile
175
- end
176
-
177
- # Custom attribute writer method with validation
178
- # @param [UserServiceSetHumanEmail] email Value to be assigned
179
- def email=(email)
180
- if email.nil?
181
- fail ArgumentError, 'email cannot be nil'
182
- end
183
-
184
- @email = email
185
- end
186
-
187
163
  # Checks equality by comparing each attribute.
188
164
  # @param [Object] Object to be compared
189
165
  def ==(o)
@@ -71,8 +71,6 @@ module Zitadel::Client::Models
71
71
 
72
72
  if attributes.key?(:'user_id')
73
73
  self.user_id = attributes[:'user_id']
74
- else
75
- self.user_id = nil
76
74
  end
77
75
 
78
76
  if attributes.key?(:'idp_link')
@@ -80,16 +78,6 @@ module Zitadel::Client::Models
80
78
  end
81
79
  end
82
80
 
83
- # Custom attribute writer method with validation
84
- # @param [String] user_id Value to be assigned
85
- def user_id=(user_id)
86
- if user_id.nil?
87
- fail ArgumentError, 'user_id cannot be nil'
88
- end
89
-
90
- @user_id = user_id
91
- end
92
-
93
81
  # Checks equality by comparing each attribute.
94
82
  # @param [Object] Object to be compared
95
83
  def ==(o)
@@ -67,21 +67,9 @@ module Zitadel::Client::Models
67
67
 
68
68
  if attributes.key?(:'user_id')
69
69
  self.user_id = attributes[:'user_id']
70
- else
71
- self.user_id = nil
72
70
  end
73
71
  end
74
72
 
75
- # Custom attribute writer method with validation
76
- # @param [String] user_id Value to be assigned
77
- def user_id=(user_id)
78
- if user_id.nil?
79
- fail ArgumentError, 'user_id cannot be nil'
80
- end
81
-
82
- @user_id = user_id
83
- end
84
-
85
73
  # Checks equality by comparing each attribute.
86
74
  # @param [Object] Object to be compared
87
75
  def ==(o)
@@ -67,21 +67,9 @@ module Zitadel::Client::Models
67
67
 
68
68
  if attributes.key?(:'user_id')
69
69
  self.user_id = attributes[:'user_id']
70
- else
71
- self.user_id = nil
72
70
  end
73
71
  end
74
72
 
75
- # Custom attribute writer method with validation
76
- # @param [String] user_id Value to be assigned
77
- def user_id=(user_id)
78
- if user_id.nil?
79
- fail ArgumentError, 'user_id cannot be nil'
80
- end
81
-
82
- @user_id = user_id
83
- end
84
-
85
73
  # Checks equality by comparing each attribute.
86
74
  # @param [Object] Object to be compared
87
75
  def ==(o)
@@ -14,12 +14,15 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Zitadel::Client::Models
17
- # Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
17
+ # Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.
18
18
  class UserServiceAny
19
+ # A URL that acts as a globally unique identifier for the type of the serialized message. For example: `type.googleapis.com/google.rpc.ErrorInfo`. This is used to determine the schema of the data in the `value` field and is the discriminator for the `debug` field.
19
20
  attr_accessor :type
20
21
 
22
+ # The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the `type` field.
21
23
  attr_accessor :value
22
24
 
25
+ # Deserialized error detail payload. The 'type' field indicates the schema. This field is for easier debugging and should not be relied upon for application logic.
23
26
  attr_accessor :debug
24
27
 
25
28
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,13 +49,14 @@ module Zitadel::Client::Models
46
49
  {
47
50
  :'type' => :'String',
48
51
  :'value' => :'File',
49
- :'debug' => :'Hash<String, Object>'
52
+ :'debug' => :'Object'
50
53
  }
51
54
  end
52
55
 
53
56
  # List of attributes with nullable: true
54
57
  def self.openapi_nullable
55
58
  Set.new([
59
+ :'debug'
56
60
  ])
57
61
  end
58
62
 
@@ -83,9 +87,7 @@ module Zitadel::Client::Models
83
87
  end
84
88
 
85
89
  if attributes.key?(:'debug')
86
- if (value = attributes[:'debug']).is_a?(Hash)
87
- self.debug = value
88
- end
90
+ self.debug = attributes[:'debug']
89
91
  end
90
92
  end
91
93