volcengine-python-sdk 4.0.27__py2.py3-none-any.whl → 4.0.28__py2.py3-none-any.whl

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.

Potentially problematic release.


This version of volcengine-python-sdk might be problematic. Click here for more details.

Files changed (267) hide show
  1. {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.28.dist-info}/METADATA +1 -1
  2. {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.28.dist-info}/RECORD +267 -8
  3. {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.28.dist-info}/top_level.txt +1 -0
  4. volcenginesdkcore/api_client.py +1 -1
  5. volcenginesdkcore/configuration.py +1 -1
  6. volcenginesdkid/__init__.py +276 -0
  7. volcenginesdkid/api/__init__.py +6 -0
  8. volcenginesdkid/api/id_api.py +7891 -0
  9. volcenginesdkid/models/__init__.py +272 -0
  10. volcenginesdkid/models/api_key_auth_config_for_batch_get_inbound_auth_config_output.py +201 -0
  11. volcenginesdkid/models/api_key_auth_config_for_create_api_key_input.py +201 -0
  12. volcenginesdkid/models/api_key_auth_config_for_create_inbound_auth_config_input.py +201 -0
  13. volcenginesdkid/models/api_key_auth_config_for_create_inbound_auth_config_output.py +201 -0
  14. volcenginesdkid/models/api_key_auth_config_for_get_inbound_auth_config_output.py +201 -0
  15. volcenginesdkid/models/api_key_auth_config_for_list_inbound_auth_configs_output.py +201 -0
  16. volcenginesdkid/models/api_key_auth_config_for_update_inbound_auth_config_input.py +201 -0
  17. volcenginesdkid/models/api_key_credential_provider_for_batch_get_api_key_credential_providers_output.py +201 -0
  18. volcenginesdkid/models/api_key_credential_provider_for_list_api_key_credential_providers_output.py +201 -0
  19. volcenginesdkid/models/api_key_metadata_for_batch_get_inbound_auth_config_output.py +149 -0
  20. volcenginesdkid/models/api_key_metadata_for_create_api_key_credential_provider_input.py +149 -0
  21. volcenginesdkid/models/api_key_metadata_for_create_api_key_input.py +149 -0
  22. volcenginesdkid/models/api_key_metadata_for_create_inbound_auth_config_input.py +149 -0
  23. volcenginesdkid/models/api_key_metadata_for_create_inbound_auth_config_output.py +149 -0
  24. volcenginesdkid/models/api_key_metadata_for_get_api_key_credential_provider_output.py +149 -0
  25. volcenginesdkid/models/api_key_metadata_for_get_inbound_auth_config_output.py +149 -0
  26. volcenginesdkid/models/api_key_metadata_for_get_resource_api_key_output.py +149 -0
  27. volcenginesdkid/models/api_key_metadata_for_list_inbound_auth_configs_output.py +149 -0
  28. volcenginesdkid/models/api_key_metadata_for_update_api_key_credential_provider_input.py +149 -0
  29. volcenginesdkid/models/api_key_metadata_for_update_inbound_auth_config_input.py +149 -0
  30. volcenginesdkid/models/attach_inbound_auth_config_request.py +151 -0
  31. volcenginesdkid/models/attach_inbound_auth_config_response.py +95 -0
  32. volcenginesdkid/models/authorization_server_metadata_for_create_oauth2_credential_provider_input.py +201 -0
  33. volcenginesdkid/models/authorization_server_metadata_for_get_oauth2_credential_provider_output.py +201 -0
  34. volcenginesdkid/models/authorization_server_metadata_for_update_oauth2_credential_provider_input.py +201 -0
  35. volcenginesdkid/models/batch_get_api_key_credential_providers_request.py +149 -0
  36. volcenginesdkid/models/batch_get_api_key_credential_providers_response.py +123 -0
  37. volcenginesdkid/models/batch_get_inbound_auth_config_request.py +123 -0
  38. volcenginesdkid/models/batch_get_inbound_auth_config_response.py +123 -0
  39. volcenginesdkid/models/batch_get_oauth2_credential_providers_request.py +149 -0
  40. volcenginesdkid/models/batch_get_oauth2_credential_providers_response.py +123 -0
  41. volcenginesdkid/models/check_api_key_request.py +124 -0
  42. volcenginesdkid/models/check_api_key_response.py +95 -0
  43. volcenginesdkid/models/check_permission_request.py +254 -0
  44. volcenginesdkid/models/check_permission_response.py +149 -0
  45. volcenginesdkid/models/config_for_create_oauth2_credential_provider_input.py +331 -0
  46. volcenginesdkid/models/config_for_get_oauth2_credential_provider_output.py +331 -0
  47. volcenginesdkid/models/config_for_update_oauth2_credential_provider_input.py +331 -0
  48. volcenginesdkid/models/create_api_key_credential_provider_request.py +203 -0
  49. volcenginesdkid/models/create_api_key_credential_provider_response.py +175 -0
  50. volcenginesdkid/models/create_api_key_request.py +150 -0
  51. volcenginesdkid/models/create_api_key_response.py +95 -0
  52. volcenginesdkid/models/create_identity_provider_o_auth_request.py +419 -0
  53. volcenginesdkid/models/create_identity_provider_o_auth_response.py +409 -0
  54. volcenginesdkid/models/create_identity_provider_oidc_request.py +365 -0
  55. volcenginesdkid/models/create_identity_provider_oidc_response.py +357 -0
  56. volcenginesdkid/models/create_inbound_auth_config_request.py +254 -0
  57. volcenginesdkid/models/create_inbound_auth_config_response.py +357 -0
  58. volcenginesdkid/models/create_namespace_request.py +149 -0
  59. volcenginesdkid/models/create_namespace_response.py +175 -0
  60. volcenginesdkid/models/create_oauth2_credential_provider_request.py +206 -0
  61. volcenginesdkid/models/create_oauth2_credential_provider_response.py +175 -0
  62. volcenginesdkid/models/create_policy_request.py +149 -0
  63. volcenginesdkid/models/create_policy_response.py +175 -0
  64. volcenginesdkid/models/create_user_pool_client_request.py +230 -0
  65. volcenginesdkid/models/create_user_pool_client_response.py +461 -0
  66. volcenginesdkid/models/create_user_pool_request.py +150 -0
  67. volcenginesdkid/models/create_user_pool_response.py +383 -0
  68. volcenginesdkid/models/create_user_request.py +410 -0
  69. volcenginesdkid/models/create_user_response.py +773 -0
  70. volcenginesdkid/models/create_users_csv_request.py +124 -0
  71. volcenginesdkid/models/create_users_csv_response.py +201 -0
  72. volcenginesdkid/models/create_users_request.py +150 -0
  73. volcenginesdkid/models/create_users_response.py +201 -0
  74. volcenginesdkid/models/create_workload_identity_request.py +228 -0
  75. volcenginesdkid/models/create_workload_identity_response.py +305 -0
  76. volcenginesdkid/models/create_workload_pool_request.py +149 -0
  77. volcenginesdkid/models/create_workload_pool_response.py +253 -0
  78. volcenginesdkid/models/credential_provider_for_list_credential_providers_output.py +253 -0
  79. volcenginesdkid/models/custom_parameters_for_create_oauth2_credential_provider_input.py +123 -0
  80. volcenginesdkid/models/custom_parameters_for_get_oauth2_credential_provider_output.py +123 -0
  81. volcenginesdkid/models/custom_parameters_for_get_resource_oauth2_token_input.py +123 -0
  82. volcenginesdkid/models/custom_parameters_for_update_oauth2_credential_provider_input.py +123 -0
  83. volcenginesdkid/models/data_for_list_identity_providers_o_auth_output.py +409 -0
  84. volcenginesdkid/models/data_for_list_identity_providers_oidc_output.py +357 -0
  85. volcenginesdkid/models/data_for_list_identity_providers_output.py +227 -0
  86. volcenginesdkid/models/data_for_list_policies_output.py +175 -0
  87. volcenginesdkid/models/data_for_list_user_pool_clients_output.py +253 -0
  88. volcenginesdkid/models/data_for_list_user_pools_output.py +279 -0
  89. volcenginesdkid/models/data_for_list_users_output.py +773 -0
  90. volcenginesdkid/models/delete_api_key_credential_provider_request.py +150 -0
  91. volcenginesdkid/models/delete_api_key_credential_provider_response.py +95 -0
  92. volcenginesdkid/models/delete_api_key_request.py +151 -0
  93. volcenginesdkid/models/delete_api_key_response.py +95 -0
  94. volcenginesdkid/models/delete_identity_provider_o_auth_request.py +151 -0
  95. volcenginesdkid/models/delete_identity_provider_o_auth_response.py +123 -0
  96. volcenginesdkid/models/delete_identity_provider_oidc_request.py +151 -0
  97. volcenginesdkid/models/delete_identity_provider_oidc_response.py +123 -0
  98. volcenginesdkid/models/delete_identity_provider_request.py +151 -0
  99. volcenginesdkid/models/delete_identity_provider_response.py +123 -0
  100. volcenginesdkid/models/delete_inbound_auth_config_request.py +124 -0
  101. volcenginesdkid/models/delete_inbound_auth_config_response.py +95 -0
  102. volcenginesdkid/models/delete_namespace_request.py +123 -0
  103. volcenginesdkid/models/delete_namespace_response.py +149 -0
  104. volcenginesdkid/models/delete_oauth2_credential_provider_request.py +150 -0
  105. volcenginesdkid/models/delete_oauth2_credential_provider_response.py +95 -0
  106. volcenginesdkid/models/delete_policy_request.py +149 -0
  107. volcenginesdkid/models/delete_policy_response.py +149 -0
  108. volcenginesdkid/models/delete_user_pool_client_request.py +151 -0
  109. volcenginesdkid/models/delete_user_pool_client_response.py +123 -0
  110. volcenginesdkid/models/delete_user_pool_request.py +124 -0
  111. volcenginesdkid/models/delete_user_pool_response.py +123 -0
  112. volcenginesdkid/models/delete_users_request.py +150 -0
  113. volcenginesdkid/models/delete_users_response.py +201 -0
  114. volcenginesdkid/models/delete_workload_identity_request.py +150 -0
  115. volcenginesdkid/models/delete_workload_identity_response.py +95 -0
  116. volcenginesdkid/models/delete_workload_pool_request.py +123 -0
  117. volcenginesdkid/models/delete_workload_pool_response.py +95 -0
  118. volcenginesdkid/models/detach_inbound_auth_config_request.py +151 -0
  119. volcenginesdkid/models/detach_inbound_auth_config_response.py +95 -0
  120. volcenginesdkid/models/entity_for_check_permission_input.py +149 -0
  121. volcenginesdkid/models/entry_for_create_oauth2_credential_provider_input.py +149 -0
  122. volcenginesdkid/models/entry_for_get_oauth2_credential_provider_output.py +149 -0
  123. volcenginesdkid/models/entry_for_get_resource_oauth2_token_input.py +149 -0
  124. volcenginesdkid/models/entry_for_update_oauth2_credential_provider_input.py +149 -0
  125. volcenginesdkid/models/filter_for_list_identity_providers_input.py +149 -0
  126. volcenginesdkid/models/filter_for_list_user_pool_clients_input.py +175 -0
  127. volcenginesdkid/models/filter_for_list_user_pools_input.py +201 -0
  128. volcenginesdkid/models/filter_for_list_users_input.py +435 -0
  129. volcenginesdkid/models/get_api_key_credential_provider_request.py +150 -0
  130. volcenginesdkid/models/get_api_key_credential_provider_response.py +279 -0
  131. volcenginesdkid/models/get_identity_provider_o_auth_request.py +151 -0
  132. volcenginesdkid/models/get_identity_provider_o_auth_response.py +409 -0
  133. volcenginesdkid/models/get_identity_provider_oidc_request.py +151 -0
  134. volcenginesdkid/models/get_identity_provider_oidc_response.py +357 -0
  135. volcenginesdkid/models/get_inbound_auth_config_request.py +124 -0
  136. volcenginesdkid/models/get_inbound_auth_config_response.py +357 -0
  137. volcenginesdkid/models/get_namespace_request.py +149 -0
  138. volcenginesdkid/models/get_namespace_response.py +201 -0
  139. volcenginesdkid/models/get_oauth2_credential_provider_request.py +150 -0
  140. volcenginesdkid/models/get_oauth2_credential_provider_response.py +305 -0
  141. volcenginesdkid/models/get_policy_request.py +149 -0
  142. volcenginesdkid/models/get_policy_response.py +175 -0
  143. volcenginesdkid/models/get_resource_api_key_request.py +177 -0
  144. volcenginesdkid/models/get_resource_api_key_response.py +149 -0
  145. volcenginesdkid/models/get_resource_oauth2_token_request.py +307 -0
  146. volcenginesdkid/models/get_resource_oauth2_token_response.py +149 -0
  147. volcenginesdkid/models/get_user_csv_template_request.py +124 -0
  148. volcenginesdkid/models/get_user_csv_template_response.py +95 -0
  149. volcenginesdkid/models/get_user_pool_client_request.py +151 -0
  150. volcenginesdkid/models/get_user_pool_client_response.py +461 -0
  151. volcenginesdkid/models/get_user_pool_request.py +124 -0
  152. volcenginesdkid/models/get_user_pool_response.py +383 -0
  153. volcenginesdkid/models/get_user_request.py +151 -0
  154. volcenginesdkid/models/get_user_response.py +773 -0
  155. volcenginesdkid/models/get_workload_access_token_for_jwt_request.py +176 -0
  156. volcenginesdkid/models/get_workload_access_token_for_jwt_response.py +149 -0
  157. volcenginesdkid/models/get_workload_access_token_for_user_id_request.py +176 -0
  158. volcenginesdkid/models/get_workload_access_token_for_user_id_response.py +149 -0
  159. volcenginesdkid/models/get_workload_access_token_request.py +149 -0
  160. volcenginesdkid/models/get_workload_access_token_response.py +149 -0
  161. volcenginesdkid/models/get_workload_identity_request.py +150 -0
  162. volcenginesdkid/models/get_workload_identity_response.py +305 -0
  163. volcenginesdkid/models/get_workload_pool_request.py +149 -0
  164. volcenginesdkid/models/get_workload_pool_response.py +253 -0
  165. volcenginesdkid/models/grant_permission_request.py +228 -0
  166. volcenginesdkid/models/grant_permission_response.py +175 -0
  167. volcenginesdkid/models/id_token_for_create_user_pool_client_output.py +123 -0
  168. volcenginesdkid/models/id_token_for_get_user_pool_client_output.py +123 -0
  169. volcenginesdkid/models/id_token_for_update_user_pool_client_input.py +123 -0
  170. volcenginesdkid/models/id_token_for_update_user_pool_client_output.py +123 -0
  171. volcenginesdkid/models/inbound_auth_config_for_batch_get_inbound_auth_config_output.py +357 -0
  172. volcenginesdkid/models/inbound_auth_config_for_list_inbound_auth_configs_output.py +357 -0
  173. volcenginesdkid/models/jwt_auth_config_for_batch_get_inbound_auth_config_output.py +175 -0
  174. volcenginesdkid/models/jwt_auth_config_for_create_inbound_auth_config_input.py +175 -0
  175. volcenginesdkid/models/jwt_auth_config_for_create_inbound_auth_config_output.py +175 -0
  176. volcenginesdkid/models/jwt_auth_config_for_get_inbound_auth_config_output.py +175 -0
  177. volcenginesdkid/models/jwt_auth_config_for_list_inbound_auth_configs_output.py +175 -0
  178. volcenginesdkid/models/jwt_auth_config_for_update_inbound_auth_config_input.py +175 -0
  179. volcenginesdkid/models/list_api_key_credential_providers_request.py +177 -0
  180. volcenginesdkid/models/list_api_key_credential_providers_response.py +201 -0
  181. volcenginesdkid/models/list_credential_providers_request.py +177 -0
  182. volcenginesdkid/models/list_credential_providers_response.py +201 -0
  183. volcenginesdkid/models/list_identity_providers_o_auth_request.py +124 -0
  184. volcenginesdkid/models/list_identity_providers_o_auth_response.py +201 -0
  185. volcenginesdkid/models/list_identity_providers_oidc_request.py +124 -0
  186. volcenginesdkid/models/list_identity_providers_oidc_response.py +201 -0
  187. volcenginesdkid/models/list_identity_providers_request.py +204 -0
  188. volcenginesdkid/models/list_identity_providers_response.py +201 -0
  189. volcenginesdkid/models/list_inbound_auth_configs_request.py +203 -0
  190. volcenginesdkid/models/list_inbound_auth_configs_response.py +201 -0
  191. volcenginesdkid/models/list_namespaces_request.py +149 -0
  192. volcenginesdkid/models/list_namespaces_response.py +201 -0
  193. volcenginesdkid/models/list_oauth2_credential_providers_request.py +177 -0
  194. volcenginesdkid/models/list_oauth2_credential_providers_response.py +201 -0
  195. volcenginesdkid/models/list_policies_request.py +123 -0
  196. volcenginesdkid/models/list_policies_response.py +123 -0
  197. volcenginesdkid/models/list_user_pool_clients_request.py +256 -0
  198. volcenginesdkid/models/list_user_pool_clients_response.py +201 -0
  199. volcenginesdkid/models/list_user_pools_request.py +229 -0
  200. volcenginesdkid/models/list_user_pools_response.py +201 -0
  201. volcenginesdkid/models/list_users_request.py +256 -0
  202. volcenginesdkid/models/list_users_response.py +201 -0
  203. volcenginesdkid/models/list_workload_identities_request.py +209 -0
  204. volcenginesdkid/models/list_workload_identities_response.py +201 -0
  205. volcenginesdkid/models/list_workload_pools_request.py +157 -0
  206. volcenginesdkid/models/list_workload_pools_response.py +201 -0
  207. volcenginesdkid/models/oauth2_callback_request.py +178 -0
  208. volcenginesdkid/models/oauth2_callback_response.py +123 -0
  209. volcenginesdkid/models/oauth2_credential_provider_for_batch_get_oauth2_credential_providers_output.py +227 -0
  210. volcenginesdkid/models/oauth2_credential_provider_for_list_oauth2_credential_providers_output.py +227 -0
  211. volcenginesdkid/models/oauth2_discovery_for_create_oauth2_credential_provider_input.py +149 -0
  212. volcenginesdkid/models/oauth2_discovery_for_get_oauth2_credential_provider_output.py +149 -0
  213. volcenginesdkid/models/oauth2_discovery_for_update_oauth2_credential_provider_input.py +149 -0
  214. volcenginesdkid/models/operation_for_check_permission_input.py +149 -0
  215. volcenginesdkid/models/operation_for_grant_permission_input.py +175 -0
  216. volcenginesdkid/models/original_caller_for_check_permission_input.py +149 -0
  217. volcenginesdkid/models/original_caller_for_grant_permission_input.py +175 -0
  218. volcenginesdkid/models/parent_for_check_permission_input.py +149 -0
  219. volcenginesdkid/models/principal_for_check_permission_input.py +149 -0
  220. volcenginesdkid/models/principal_for_grant_permission_input.py +175 -0
  221. volcenginesdkid/models/provider_options_for_create_identity_provider_o_auth_input.py +227 -0
  222. volcenginesdkid/models/provider_options_for_create_identity_provider_o_auth_output.py +227 -0
  223. volcenginesdkid/models/provider_options_for_create_identity_provider_oidc_input.py +227 -0
  224. volcenginesdkid/models/provider_options_for_create_identity_provider_oidc_output.py +227 -0
  225. volcenginesdkid/models/provider_options_for_get_identity_provider_o_auth_output.py +227 -0
  226. volcenginesdkid/models/provider_options_for_get_identity_provider_oidc_output.py +227 -0
  227. volcenginesdkid/models/provider_options_for_list_identity_providers_o_auth_output.py +227 -0
  228. volcenginesdkid/models/provider_options_for_list_identity_providers_oidc_output.py +227 -0
  229. volcenginesdkid/models/provider_options_for_update_identity_provider_o_auth_input.py +227 -0
  230. volcenginesdkid/models/provider_options_for_update_identity_provider_o_auth_output.py +227 -0
  231. volcenginesdkid/models/provider_options_for_update_identity_provider_oidc_input.py +227 -0
  232. volcenginesdkid/models/provider_options_for_update_identity_provider_oidc_output.py +227 -0
  233. volcenginesdkid/models/reference_for_check_permission_input.py +149 -0
  234. volcenginesdkid/models/refresh_token_for_create_user_pool_client_output.py +227 -0
  235. volcenginesdkid/models/refresh_token_for_get_user_pool_client_output.py +227 -0
  236. volcenginesdkid/models/refresh_token_for_update_user_pool_client_input.py +227 -0
  237. volcenginesdkid/models/refresh_token_for_update_user_pool_client_output.py +227 -0
  238. volcenginesdkid/models/resource_for_check_permission_input.py +149 -0
  239. volcenginesdkid/models/resource_for_grant_permission_input.py +175 -0
  240. volcenginesdkid/models/update_api_key_credential_provider_request.py +202 -0
  241. volcenginesdkid/models/update_api_key_credential_provider_response.py +227 -0
  242. volcenginesdkid/models/update_identity_provider_o_auth_request.py +440 -0
  243. volcenginesdkid/models/update_identity_provider_o_auth_response.py +409 -0
  244. volcenginesdkid/models/update_identity_provider_oidc_request.py +388 -0
  245. volcenginesdkid/models/update_identity_provider_oidc_response.py +357 -0
  246. volcenginesdkid/models/update_inbound_auth_config_request.py +202 -0
  247. volcenginesdkid/models/update_inbound_auth_config_response.py +95 -0
  248. volcenginesdkid/models/update_namespace_request.py +149 -0
  249. volcenginesdkid/models/update_namespace_response.py +149 -0
  250. volcenginesdkid/models/update_oauth2_credential_provider_request.py +176 -0
  251. volcenginesdkid/models/update_oauth2_credential_provider_response.py +227 -0
  252. volcenginesdkid/models/update_user_pool_client_request.py +359 -0
  253. volcenginesdkid/models/update_user_pool_client_response.py +461 -0
  254. volcenginesdkid/models/update_user_pool_request.py +176 -0
  255. volcenginesdkid/models/update_user_pool_response.py +383 -0
  256. volcenginesdkid/models/update_user_request.py +411 -0
  257. volcenginesdkid/models/update_user_response.py +773 -0
  258. volcenginesdkid/models/update_workload_identity_request.py +202 -0
  259. volcenginesdkid/models/update_workload_identity_response.py +95 -0
  260. volcenginesdkid/models/update_workload_pool_request.py +149 -0
  261. volcenginesdkid/models/update_workload_pool_response.py +95 -0
  262. volcenginesdkid/models/user_for_create_users_input.py +383 -0
  263. volcenginesdkid/models/workload_identity_for_list_workload_identities_output.py +305 -0
  264. volcenginesdkid/models/workload_pool_for_list_workload_pools_output.py +253 -0
  265. {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.28.dist-info}/WHEEL +0 -0
  266. {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.28.dist-info}/licenses/LICENSE.txt +0 -0
  267. {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.28.dist-info}/licenses/NOTICE.md +0 -0
@@ -0,0 +1,150 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ id
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: common-version
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+
14
+ import pprint
15
+ import re # noqa: F401
16
+
17
+ import six
18
+
19
+ from volcenginesdkcore.configuration import Configuration
20
+
21
+
22
+ class CreateApiKeyRequest(object):
23
+ """NOTE: This class is auto generated by the swagger code generator program.
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ swagger_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ swagger_types = {
36
+ 'api_key_auth_config': 'ApiKeyAuthConfigForCreateApiKeyInput',
37
+ 'inbound_auth_config_id': 'str'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'api_key_auth_config': 'ApiKeyAuthConfig',
42
+ 'inbound_auth_config_id': 'InboundAuthConfigId'
43
+ }
44
+
45
+ def __init__(self, api_key_auth_config=None, inbound_auth_config_id=None, _configuration=None): # noqa: E501
46
+ """CreateApiKeyRequest - a model defined in Swagger""" # noqa: E501
47
+ if _configuration is None:
48
+ _configuration = Configuration()
49
+ self._configuration = _configuration
50
+
51
+ self._api_key_auth_config = None
52
+ self._inbound_auth_config_id = None
53
+ self.discriminator = None
54
+
55
+ if api_key_auth_config is not None:
56
+ self.api_key_auth_config = api_key_auth_config
57
+ self.inbound_auth_config_id = inbound_auth_config_id
58
+
59
+ @property
60
+ def api_key_auth_config(self):
61
+ """Gets the api_key_auth_config of this CreateApiKeyRequest. # noqa: E501
62
+
63
+
64
+ :return: The api_key_auth_config of this CreateApiKeyRequest. # noqa: E501
65
+ :rtype: ApiKeyAuthConfigForCreateApiKeyInput
66
+ """
67
+ return self._api_key_auth_config
68
+
69
+ @api_key_auth_config.setter
70
+ def api_key_auth_config(self, api_key_auth_config):
71
+ """Sets the api_key_auth_config of this CreateApiKeyRequest.
72
+
73
+
74
+ :param api_key_auth_config: The api_key_auth_config of this CreateApiKeyRequest. # noqa: E501
75
+ :type: ApiKeyAuthConfigForCreateApiKeyInput
76
+ """
77
+
78
+ self._api_key_auth_config = api_key_auth_config
79
+
80
+ @property
81
+ def inbound_auth_config_id(self):
82
+ """Gets the inbound_auth_config_id of this CreateApiKeyRequest. # noqa: E501
83
+
84
+
85
+ :return: The inbound_auth_config_id of this CreateApiKeyRequest. # noqa: E501
86
+ :rtype: str
87
+ """
88
+ return self._inbound_auth_config_id
89
+
90
+ @inbound_auth_config_id.setter
91
+ def inbound_auth_config_id(self, inbound_auth_config_id):
92
+ """Sets the inbound_auth_config_id of this CreateApiKeyRequest.
93
+
94
+
95
+ :param inbound_auth_config_id: The inbound_auth_config_id of this CreateApiKeyRequest. # noqa: E501
96
+ :type: str
97
+ """
98
+ if self._configuration.client_side_validation and inbound_auth_config_id is None:
99
+ raise ValueError("Invalid value for `inbound_auth_config_id`, must not be `None`") # noqa: E501
100
+
101
+ self._inbound_auth_config_id = inbound_auth_config_id
102
+
103
+ def to_dict(self):
104
+ """Returns the model properties as a dict"""
105
+ result = {}
106
+
107
+ for attr, _ in six.iteritems(self.swagger_types):
108
+ value = getattr(self, attr)
109
+ if isinstance(value, list):
110
+ result[attr] = list(map(
111
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
112
+ value
113
+ ))
114
+ elif hasattr(value, "to_dict"):
115
+ result[attr] = value.to_dict()
116
+ elif isinstance(value, dict):
117
+ result[attr] = dict(map(
118
+ lambda item: (item[0], item[1].to_dict())
119
+ if hasattr(item[1], "to_dict") else item,
120
+ value.items()
121
+ ))
122
+ else:
123
+ result[attr] = value
124
+ if issubclass(CreateApiKeyRequest, dict):
125
+ for key, value in self.items():
126
+ result[key] = value
127
+
128
+ return result
129
+
130
+ def to_str(self):
131
+ """Returns the string representation of the model"""
132
+ return pprint.pformat(self.to_dict())
133
+
134
+ def __repr__(self):
135
+ """For `print` and `pprint`"""
136
+ return self.to_str()
137
+
138
+ def __eq__(self, other):
139
+ """Returns true if both objects are equal"""
140
+ if not isinstance(other, CreateApiKeyRequest):
141
+ return False
142
+
143
+ return self.to_dict() == other.to_dict()
144
+
145
+ def __ne__(self, other):
146
+ """Returns true if both objects are not equal"""
147
+ if not isinstance(other, CreateApiKeyRequest):
148
+ return True
149
+
150
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,95 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ id
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: common-version
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+
14
+ import pprint
15
+ import re # noqa: F401
16
+
17
+ import six
18
+
19
+ from volcenginesdkcore.configuration import Configuration
20
+
21
+
22
+ class CreateApiKeyResponse(object):
23
+ """NOTE: This class is auto generated by the swagger code generator program.
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ swagger_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ swagger_types = {
36
+ }
37
+
38
+ attribute_map = {
39
+ }
40
+
41
+ def __init__(self, _configuration=None): # noqa: E501
42
+ """CreateApiKeyResponse - a model defined in Swagger""" # noqa: E501
43
+ if _configuration is None:
44
+ _configuration = Configuration()
45
+ self._configuration = _configuration
46
+ self.discriminator = None
47
+
48
+ def to_dict(self):
49
+ """Returns the model properties as a dict"""
50
+ result = {}
51
+
52
+ for attr, _ in six.iteritems(self.swagger_types):
53
+ value = getattr(self, attr)
54
+ if isinstance(value, list):
55
+ result[attr] = list(map(
56
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
57
+ value
58
+ ))
59
+ elif hasattr(value, "to_dict"):
60
+ result[attr] = value.to_dict()
61
+ elif isinstance(value, dict):
62
+ result[attr] = dict(map(
63
+ lambda item: (item[0], item[1].to_dict())
64
+ if hasattr(item[1], "to_dict") else item,
65
+ value.items()
66
+ ))
67
+ else:
68
+ result[attr] = value
69
+ if issubclass(CreateApiKeyResponse, dict):
70
+ for key, value in self.items():
71
+ result[key] = value
72
+
73
+ return result
74
+
75
+ def to_str(self):
76
+ """Returns the string representation of the model"""
77
+ return pprint.pformat(self.to_dict())
78
+
79
+ def __repr__(self):
80
+ """For `print` and `pprint`"""
81
+ return self.to_str()
82
+
83
+ def __eq__(self, other):
84
+ """Returns true if both objects are equal"""
85
+ if not isinstance(other, CreateApiKeyResponse):
86
+ return False
87
+
88
+ return self.to_dict() == other.to_dict()
89
+
90
+ def __ne__(self, other):
91
+ """Returns true if both objects are not equal"""
92
+ if not isinstance(other, CreateApiKeyResponse):
93
+ return True
94
+
95
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,419 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ id
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: common-version
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+
14
+ import pprint
15
+ import re # noqa: F401
16
+
17
+ import six
18
+
19
+ from volcenginesdkcore.configuration import Configuration
20
+
21
+
22
+ class CreateIdentityProviderOAuthRequest(object):
23
+ """NOTE: This class is auto generated by the swagger code generator program.
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ swagger_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ swagger_types = {
36
+ 'authorization_endpoint': 'str',
37
+ 'client_id': 'str',
38
+ 'client_secret': 'str',
39
+ 'enabled': 'bool',
40
+ 'id_attribute': 'str',
41
+ 'name': 'str',
42
+ 'provider_options': 'ProviderOptionsForCreateIdentityProviderOAuthInput',
43
+ 'scopes_list': 'list[str]',
44
+ 'token_endpoint': 'str',
45
+ 'use_pkce': 'bool',
46
+ 'user_endpoint': 'str',
47
+ 'user_pool_uid': 'str'
48
+ }
49
+
50
+ attribute_map = {
51
+ 'authorization_endpoint': 'AuthorizationEndpoint',
52
+ 'client_id': 'ClientId',
53
+ 'client_secret': 'ClientSecret',
54
+ 'enabled': 'Enabled',
55
+ 'id_attribute': 'IdAttribute',
56
+ 'name': 'Name',
57
+ 'provider_options': 'ProviderOptions',
58
+ 'scopes_list': 'ScopesList',
59
+ 'token_endpoint': 'TokenEndpoint',
60
+ 'use_pkce': 'UsePkce',
61
+ 'user_endpoint': 'UserEndpoint',
62
+ 'user_pool_uid': 'UserPoolUid'
63
+ }
64
+
65
+ def __init__(self, authorization_endpoint=None, client_id=None, client_secret=None, enabled=None, id_attribute=None, name=None, provider_options=None, scopes_list=None, token_endpoint=None, use_pkce=None, user_endpoint=None, user_pool_uid=None, _configuration=None): # noqa: E501
66
+ """CreateIdentityProviderOAuthRequest - a model defined in Swagger""" # noqa: E501
67
+ if _configuration is None:
68
+ _configuration = Configuration()
69
+ self._configuration = _configuration
70
+
71
+ self._authorization_endpoint = None
72
+ self._client_id = None
73
+ self._client_secret = None
74
+ self._enabled = None
75
+ self._id_attribute = None
76
+ self._name = None
77
+ self._provider_options = None
78
+ self._scopes_list = None
79
+ self._token_endpoint = None
80
+ self._use_pkce = None
81
+ self._user_endpoint = None
82
+ self._user_pool_uid = None
83
+ self.discriminator = None
84
+
85
+ self.authorization_endpoint = authorization_endpoint
86
+ self.client_id = client_id
87
+ self.client_secret = client_secret
88
+ self.enabled = enabled
89
+ self.id_attribute = id_attribute
90
+ self.name = name
91
+ if provider_options is not None:
92
+ self.provider_options = provider_options
93
+ if scopes_list is not None:
94
+ self.scopes_list = scopes_list
95
+ self.token_endpoint = token_endpoint
96
+ self.use_pkce = use_pkce
97
+ self.user_endpoint = user_endpoint
98
+ self.user_pool_uid = user_pool_uid
99
+
100
+ @property
101
+ def authorization_endpoint(self):
102
+ """Gets the authorization_endpoint of this CreateIdentityProviderOAuthRequest. # noqa: E501
103
+
104
+
105
+ :return: The authorization_endpoint of this CreateIdentityProviderOAuthRequest. # noqa: E501
106
+ :rtype: str
107
+ """
108
+ return self._authorization_endpoint
109
+
110
+ @authorization_endpoint.setter
111
+ def authorization_endpoint(self, authorization_endpoint):
112
+ """Sets the authorization_endpoint of this CreateIdentityProviderOAuthRequest.
113
+
114
+
115
+ :param authorization_endpoint: The authorization_endpoint of this CreateIdentityProviderOAuthRequest. # noqa: E501
116
+ :type: str
117
+ """
118
+ if self._configuration.client_side_validation and authorization_endpoint is None:
119
+ raise ValueError("Invalid value for `authorization_endpoint`, must not be `None`") # noqa: E501
120
+
121
+ self._authorization_endpoint = authorization_endpoint
122
+
123
+ @property
124
+ def client_id(self):
125
+ """Gets the client_id of this CreateIdentityProviderOAuthRequest. # noqa: E501
126
+
127
+
128
+ :return: The client_id of this CreateIdentityProviderOAuthRequest. # noqa: E501
129
+ :rtype: str
130
+ """
131
+ return self._client_id
132
+
133
+ @client_id.setter
134
+ def client_id(self, client_id):
135
+ """Sets the client_id of this CreateIdentityProviderOAuthRequest.
136
+
137
+
138
+ :param client_id: The client_id of this CreateIdentityProviderOAuthRequest. # noqa: E501
139
+ :type: str
140
+ """
141
+ if self._configuration.client_side_validation and client_id is None:
142
+ raise ValueError("Invalid value for `client_id`, must not be `None`") # noqa: E501
143
+
144
+ self._client_id = client_id
145
+
146
+ @property
147
+ def client_secret(self):
148
+ """Gets the client_secret of this CreateIdentityProviderOAuthRequest. # noqa: E501
149
+
150
+
151
+ :return: The client_secret of this CreateIdentityProviderOAuthRequest. # noqa: E501
152
+ :rtype: str
153
+ """
154
+ return self._client_secret
155
+
156
+ @client_secret.setter
157
+ def client_secret(self, client_secret):
158
+ """Sets the client_secret of this CreateIdentityProviderOAuthRequest.
159
+
160
+
161
+ :param client_secret: The client_secret of this CreateIdentityProviderOAuthRequest. # noqa: E501
162
+ :type: str
163
+ """
164
+ if self._configuration.client_side_validation and client_secret is None:
165
+ raise ValueError("Invalid value for `client_secret`, must not be `None`") # noqa: E501
166
+
167
+ self._client_secret = client_secret
168
+
169
+ @property
170
+ def enabled(self):
171
+ """Gets the enabled of this CreateIdentityProviderOAuthRequest. # noqa: E501
172
+
173
+
174
+ :return: The enabled of this CreateIdentityProviderOAuthRequest. # noqa: E501
175
+ :rtype: bool
176
+ """
177
+ return self._enabled
178
+
179
+ @enabled.setter
180
+ def enabled(self, enabled):
181
+ """Sets the enabled of this CreateIdentityProviderOAuthRequest.
182
+
183
+
184
+ :param enabled: The enabled of this CreateIdentityProviderOAuthRequest. # noqa: E501
185
+ :type: bool
186
+ """
187
+ if self._configuration.client_side_validation and enabled is None:
188
+ raise ValueError("Invalid value for `enabled`, must not be `None`") # noqa: E501
189
+
190
+ self._enabled = enabled
191
+
192
+ @property
193
+ def id_attribute(self):
194
+ """Gets the id_attribute of this CreateIdentityProviderOAuthRequest. # noqa: E501
195
+
196
+
197
+ :return: The id_attribute of this CreateIdentityProviderOAuthRequest. # noqa: E501
198
+ :rtype: str
199
+ """
200
+ return self._id_attribute
201
+
202
+ @id_attribute.setter
203
+ def id_attribute(self, id_attribute):
204
+ """Sets the id_attribute of this CreateIdentityProviderOAuthRequest.
205
+
206
+
207
+ :param id_attribute: The id_attribute of this CreateIdentityProviderOAuthRequest. # noqa: E501
208
+ :type: str
209
+ """
210
+ if self._configuration.client_side_validation and id_attribute is None:
211
+ raise ValueError("Invalid value for `id_attribute`, must not be `None`") # noqa: E501
212
+
213
+ self._id_attribute = id_attribute
214
+
215
+ @property
216
+ def name(self):
217
+ """Gets the name of this CreateIdentityProviderOAuthRequest. # noqa: E501
218
+
219
+
220
+ :return: The name of this CreateIdentityProviderOAuthRequest. # noqa: E501
221
+ :rtype: str
222
+ """
223
+ return self._name
224
+
225
+ @name.setter
226
+ def name(self, name):
227
+ """Sets the name of this CreateIdentityProviderOAuthRequest.
228
+
229
+
230
+ :param name: The name of this CreateIdentityProviderOAuthRequest. # noqa: E501
231
+ :type: str
232
+ """
233
+ if self._configuration.client_side_validation and name is None:
234
+ raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
235
+
236
+ self._name = name
237
+
238
+ @property
239
+ def provider_options(self):
240
+ """Gets the provider_options of this CreateIdentityProviderOAuthRequest. # noqa: E501
241
+
242
+
243
+ :return: The provider_options of this CreateIdentityProviderOAuthRequest. # noqa: E501
244
+ :rtype: ProviderOptionsForCreateIdentityProviderOAuthInput
245
+ """
246
+ return self._provider_options
247
+
248
+ @provider_options.setter
249
+ def provider_options(self, provider_options):
250
+ """Sets the provider_options of this CreateIdentityProviderOAuthRequest.
251
+
252
+
253
+ :param provider_options: The provider_options of this CreateIdentityProviderOAuthRequest. # noqa: E501
254
+ :type: ProviderOptionsForCreateIdentityProviderOAuthInput
255
+ """
256
+
257
+ self._provider_options = provider_options
258
+
259
+ @property
260
+ def scopes_list(self):
261
+ """Gets the scopes_list of this CreateIdentityProviderOAuthRequest. # noqa: E501
262
+
263
+
264
+ :return: The scopes_list of this CreateIdentityProviderOAuthRequest. # noqa: E501
265
+ :rtype: list[str]
266
+ """
267
+ return self._scopes_list
268
+
269
+ @scopes_list.setter
270
+ def scopes_list(self, scopes_list):
271
+ """Sets the scopes_list of this CreateIdentityProviderOAuthRequest.
272
+
273
+
274
+ :param scopes_list: The scopes_list of this CreateIdentityProviderOAuthRequest. # noqa: E501
275
+ :type: list[str]
276
+ """
277
+
278
+ self._scopes_list = scopes_list
279
+
280
+ @property
281
+ def token_endpoint(self):
282
+ """Gets the token_endpoint of this CreateIdentityProviderOAuthRequest. # noqa: E501
283
+
284
+
285
+ :return: The token_endpoint of this CreateIdentityProviderOAuthRequest. # noqa: E501
286
+ :rtype: str
287
+ """
288
+ return self._token_endpoint
289
+
290
+ @token_endpoint.setter
291
+ def token_endpoint(self, token_endpoint):
292
+ """Sets the token_endpoint of this CreateIdentityProviderOAuthRequest.
293
+
294
+
295
+ :param token_endpoint: The token_endpoint of this CreateIdentityProviderOAuthRequest. # noqa: E501
296
+ :type: str
297
+ """
298
+ if self._configuration.client_side_validation and token_endpoint is None:
299
+ raise ValueError("Invalid value for `token_endpoint`, must not be `None`") # noqa: E501
300
+
301
+ self._token_endpoint = token_endpoint
302
+
303
+ @property
304
+ def use_pkce(self):
305
+ """Gets the use_pkce of this CreateIdentityProviderOAuthRequest. # noqa: E501
306
+
307
+
308
+ :return: The use_pkce of this CreateIdentityProviderOAuthRequest. # noqa: E501
309
+ :rtype: bool
310
+ """
311
+ return self._use_pkce
312
+
313
+ @use_pkce.setter
314
+ def use_pkce(self, use_pkce):
315
+ """Sets the use_pkce of this CreateIdentityProviderOAuthRequest.
316
+
317
+
318
+ :param use_pkce: The use_pkce of this CreateIdentityProviderOAuthRequest. # noqa: E501
319
+ :type: bool
320
+ """
321
+ if self._configuration.client_side_validation and use_pkce is None:
322
+ raise ValueError("Invalid value for `use_pkce`, must not be `None`") # noqa: E501
323
+
324
+ self._use_pkce = use_pkce
325
+
326
+ @property
327
+ def user_endpoint(self):
328
+ """Gets the user_endpoint of this CreateIdentityProviderOAuthRequest. # noqa: E501
329
+
330
+
331
+ :return: The user_endpoint of this CreateIdentityProviderOAuthRequest. # noqa: E501
332
+ :rtype: str
333
+ """
334
+ return self._user_endpoint
335
+
336
+ @user_endpoint.setter
337
+ def user_endpoint(self, user_endpoint):
338
+ """Sets the user_endpoint of this CreateIdentityProviderOAuthRequest.
339
+
340
+
341
+ :param user_endpoint: The user_endpoint of this CreateIdentityProviderOAuthRequest. # noqa: E501
342
+ :type: str
343
+ """
344
+ if self._configuration.client_side_validation and user_endpoint is None:
345
+ raise ValueError("Invalid value for `user_endpoint`, must not be `None`") # noqa: E501
346
+
347
+ self._user_endpoint = user_endpoint
348
+
349
+ @property
350
+ def user_pool_uid(self):
351
+ """Gets the user_pool_uid of this CreateIdentityProviderOAuthRequest. # noqa: E501
352
+
353
+
354
+ :return: The user_pool_uid of this CreateIdentityProviderOAuthRequest. # noqa: E501
355
+ :rtype: str
356
+ """
357
+ return self._user_pool_uid
358
+
359
+ @user_pool_uid.setter
360
+ def user_pool_uid(self, user_pool_uid):
361
+ """Sets the user_pool_uid of this CreateIdentityProviderOAuthRequest.
362
+
363
+
364
+ :param user_pool_uid: The user_pool_uid of this CreateIdentityProviderOAuthRequest. # noqa: E501
365
+ :type: str
366
+ """
367
+ if self._configuration.client_side_validation and user_pool_uid is None:
368
+ raise ValueError("Invalid value for `user_pool_uid`, must not be `None`") # noqa: E501
369
+
370
+ self._user_pool_uid = user_pool_uid
371
+
372
+ def to_dict(self):
373
+ """Returns the model properties as a dict"""
374
+ result = {}
375
+
376
+ for attr, _ in six.iteritems(self.swagger_types):
377
+ value = getattr(self, attr)
378
+ if isinstance(value, list):
379
+ result[attr] = list(map(
380
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
381
+ value
382
+ ))
383
+ elif hasattr(value, "to_dict"):
384
+ result[attr] = value.to_dict()
385
+ elif isinstance(value, dict):
386
+ result[attr] = dict(map(
387
+ lambda item: (item[0], item[1].to_dict())
388
+ if hasattr(item[1], "to_dict") else item,
389
+ value.items()
390
+ ))
391
+ else:
392
+ result[attr] = value
393
+ if issubclass(CreateIdentityProviderOAuthRequest, dict):
394
+ for key, value in self.items():
395
+ result[key] = value
396
+
397
+ return result
398
+
399
+ def to_str(self):
400
+ """Returns the string representation of the model"""
401
+ return pprint.pformat(self.to_dict())
402
+
403
+ def __repr__(self):
404
+ """For `print` and `pprint`"""
405
+ return self.to_str()
406
+
407
+ def __eq__(self, other):
408
+ """Returns true if both objects are equal"""
409
+ if not isinstance(other, CreateIdentityProviderOAuthRequest):
410
+ return False
411
+
412
+ return self.to_dict() == other.to_dict()
413
+
414
+ def __ne__(self, other):
415
+ """Returns true if both objects are not equal"""
416
+ if not isinstance(other, CreateIdentityProviderOAuthRequest):
417
+ return True
418
+
419
+ return self.to_dict() != other.to_dict()