volcengine-python-sdk 4.0.15__py2.py3-none-any.whl → 4.0.17__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 (180) hide show
  1. volcengine_python_sdk-4.0.17.dist-info/METADATA +20 -0
  2. {volcengine_python_sdk-4.0.15.dist-info → volcengine_python_sdk-4.0.17.dist-info}/RECORD +179 -31
  3. {volcengine_python_sdk-4.0.15.dist-info → volcengine_python_sdk-4.0.17.dist-info}/WHEEL +1 -1
  4. {volcengine_python_sdk-4.0.15.dist-info → volcengine_python_sdk-4.0.17.dist-info}/top_level.txt +2 -0
  5. volcenginesdkarkruntime/_client.py +1 -1
  6. volcenginesdkbmq/models/item_for_preview_topic_data_output.py +3 -3
  7. volcenginesdkcloudidentity/__init__.py +146 -0
  8. volcenginesdkcloudidentity/api/__init__.py +6 -0
  9. volcenginesdkcloudidentity/api/cloudidentity_api.py +5369 -0
  10. volcenginesdkcloudidentity/models/__init__.py +142 -0
  11. volcenginesdkcloudidentity/models/account_assignment_for_list_account_assignments_output.py +305 -0
  12. volcenginesdkcloudidentity/models/add_inline_policy_to_permission_set_request.py +151 -0
  13. volcenginesdkcloudidentity/models/add_inline_policy_to_permission_set_response.py +95 -0
  14. volcenginesdkcloudidentity/models/add_system_policy_to_permission_set_request.py +151 -0
  15. volcenginesdkcloudidentity/models/add_system_policy_to_permission_set_response.py +95 -0
  16. volcenginesdkcloudidentity/models/add_user_to_group_request.py +151 -0
  17. volcenginesdkcloudidentity/models/add_user_to_group_response.py +95 -0
  18. volcenginesdkcloudidentity/models/attach_policy_to_user_provision_request.py +151 -0
  19. volcenginesdkcloudidentity/models/attach_policy_to_user_provision_response.py +95 -0
  20. volcenginesdkcloudidentity/models/create_account_assignment_request.py +212 -0
  21. volcenginesdkcloudidentity/models/create_account_assignment_response.py +123 -0
  22. volcenginesdkcloudidentity/models/create_external_saml_identity_provider_request.py +124 -0
  23. volcenginesdkcloudidentity/models/create_external_saml_identity_provider_response.py +227 -0
  24. volcenginesdkcloudidentity/models/create_group_request.py +219 -0
  25. volcenginesdkcloudidentity/models/create_group_response.py +305 -0
  26. volcenginesdkcloudidentity/models/create_permission_set_request.py +205 -0
  27. volcenginesdkcloudidentity/models/create_permission_set_response.py +123 -0
  28. volcenginesdkcloudidentity/models/create_scim_server_credential_request.py +95 -0
  29. volcenginesdkcloudidentity/models/create_scim_server_credential_response.py +253 -0
  30. volcenginesdkcloudidentity/models/create_user_provisioning_request.py +339 -0
  31. volcenginesdkcloudidentity/models/create_user_provisioning_response.py +383 -0
  32. volcenginesdkcloudidentity/models/create_user_request.py +246 -0
  33. volcenginesdkcloudidentity/models/create_user_response.py +331 -0
  34. volcenginesdkcloudidentity/models/delete_account_assignment_request.py +245 -0
  35. volcenginesdkcloudidentity/models/delete_account_assignment_response.py +123 -0
  36. volcenginesdkcloudidentity/models/delete_group_request.py +124 -0
  37. volcenginesdkcloudidentity/models/delete_group_response.py +95 -0
  38. volcenginesdkcloudidentity/models/delete_permission_set_request.py +124 -0
  39. volcenginesdkcloudidentity/models/delete_permission_set_response.py +95 -0
  40. volcenginesdkcloudidentity/models/delete_scim_server_credential_request.py +124 -0
  41. volcenginesdkcloudidentity/models/delete_scim_server_credential_response.py +95 -0
  42. volcenginesdkcloudidentity/models/delete_user_provisioning_event_request.py +124 -0
  43. volcenginesdkcloudidentity/models/delete_user_provisioning_event_response.py +95 -0
  44. volcenginesdkcloudidentity/models/delete_user_provisioning_request.py +124 -0
  45. volcenginesdkcloudidentity/models/delete_user_provisioning_response.py +95 -0
  46. volcenginesdkcloudidentity/models/delete_user_request.py +124 -0
  47. volcenginesdkcloudidentity/models/delete_user_response.py +95 -0
  48. volcenginesdkcloudidentity/models/deprovision_permission_set_request.py +151 -0
  49. volcenginesdkcloudidentity/models/deprovision_permission_set_response.py +123 -0
  50. volcenginesdkcloudidentity/models/detach_policy_to_user_provision_request.py +151 -0
  51. volcenginesdkcloudidentity/models/detach_policy_to_user_provision_response.py +95 -0
  52. volcenginesdkcloudidentity/models/disable_portal_login_setting_request.py +124 -0
  53. volcenginesdkcloudidentity/models/disable_portal_login_setting_response.py +95 -0
  54. volcenginesdkcloudidentity/models/disable_service_request.py +95 -0
  55. volcenginesdkcloudidentity/models/disable_service_response.py +95 -0
  56. volcenginesdkcloudidentity/models/enable_portal_login_setting_request.py +124 -0
  57. volcenginesdkcloudidentity/models/enable_portal_login_setting_response.py +95 -0
  58. volcenginesdkcloudidentity/models/enable_service_request.py +95 -0
  59. volcenginesdkcloudidentity/models/enable_service_response.py +95 -0
  60. volcenginesdkcloudidentity/models/get_external_saml_identity_provider_request.py +95 -0
  61. volcenginesdkcloudidentity/models/get_external_saml_identity_provider_response.py +227 -0
  62. volcenginesdkcloudidentity/models/get_group_request.py +124 -0
  63. volcenginesdkcloudidentity/models/get_group_response.py +305 -0
  64. volcenginesdkcloudidentity/models/get_permission_set_request.py +124 -0
  65. volcenginesdkcloudidentity/models/get_permission_set_response.py +279 -0
  66. volcenginesdkcloudidentity/models/get_portal_login_config_request.py +95 -0
  67. volcenginesdkcloudidentity/models/get_portal_login_config_response.py +175 -0
  68. volcenginesdkcloudidentity/models/get_saml_service_provider_request.py +95 -0
  69. volcenginesdkcloudidentity/models/get_saml_service_provider_response.py +175 -0
  70. volcenginesdkcloudidentity/models/get_service_status_request.py +95 -0
  71. volcenginesdkcloudidentity/models/get_service_status_response.py +149 -0
  72. volcenginesdkcloudidentity/models/get_task_status_request.py +124 -0
  73. volcenginesdkcloudidentity/models/get_task_status_response.py +227 -0
  74. volcenginesdkcloudidentity/models/get_user_provisioning_request.py +124 -0
  75. volcenginesdkcloudidentity/models/get_user_provisioning_response.py +435 -0
  76. volcenginesdkcloudidentity/models/get_user_request.py +124 -0
  77. volcenginesdkcloudidentity/models/get_user_response.py +357 -0
  78. volcenginesdkcloudidentity/models/group_for_list_groups_output.py +305 -0
  79. volcenginesdkcloudidentity/models/idp_certificate_for_create_external_saml_identity_provider_output.py +149 -0
  80. volcenginesdkcloudidentity/models/idp_certificate_for_get_external_saml_identity_provider_output.py +149 -0
  81. volcenginesdkcloudidentity/models/instance_for_get_service_status_output.py +227 -0
  82. volcenginesdkcloudidentity/models/list_account_assignments_request.py +260 -0
  83. volcenginesdkcloudidentity/models/list_account_assignments_response.py +201 -0
  84. volcenginesdkcloudidentity/models/list_group_members_request.py +208 -0
  85. volcenginesdkcloudidentity/models/list_group_members_response.py +201 -0
  86. volcenginesdkcloudidentity/models/list_groups_request.py +208 -0
  87. volcenginesdkcloudidentity/models/list_groups_response.py +201 -0
  88. volcenginesdkcloudidentity/models/list_permission_policies_in_permission_set_request.py +209 -0
  89. volcenginesdkcloudidentity/models/list_permission_policies_in_permission_set_response.py +201 -0
  90. volcenginesdkcloudidentity/models/list_permission_set_provisionings_request.py +234 -0
  91. volcenginesdkcloudidentity/models/list_permission_set_provisionings_response.py +201 -0
  92. volcenginesdkcloudidentity/models/list_permission_sets_request.py +210 -0
  93. volcenginesdkcloudidentity/models/list_permission_sets_response.py +201 -0
  94. volcenginesdkcloudidentity/models/list_portal_login_settings_request.py +95 -0
  95. volcenginesdkcloudidentity/models/list_portal_login_settings_response.py +123 -0
  96. volcenginesdkcloudidentity/models/list_scim_server_credentials_request.py +95 -0
  97. volcenginesdkcloudidentity/models/list_scim_server_credentials_response.py +123 -0
  98. volcenginesdkcloudidentity/models/list_tasks_request.py +270 -0
  99. volcenginesdkcloudidentity/models/list_tasks_response.py +201 -0
  100. volcenginesdkcloudidentity/models/list_user_provisioning_events_request.py +209 -0
  101. volcenginesdkcloudidentity/models/list_user_provisioning_events_response.py +201 -0
  102. volcenginesdkcloudidentity/models/list_user_provisionings_request.py +175 -0
  103. volcenginesdkcloudidentity/models/list_user_provisionings_response.py +201 -0
  104. volcenginesdkcloudidentity/models/list_users_request.py +243 -0
  105. volcenginesdkcloudidentity/models/list_users_response.py +201 -0
  106. volcenginesdkcloudidentity/models/member_for_list_group_members_output.py +331 -0
  107. volcenginesdkcloudidentity/models/permission_policy_for_list_permission_policies_in_permission_set_output.py +201 -0
  108. volcenginesdkcloudidentity/models/permission_set_for_list_permission_sets_output.py +305 -0
  109. volcenginesdkcloudidentity/models/permission_set_provisioning_for_list_permission_set_provisionings_output.py +279 -0
  110. volcenginesdkcloudidentity/models/portal_login_setting_for_list_portal_login_settings_output.py +149 -0
  111. volcenginesdkcloudidentity/models/provision_permission_set_request.py +151 -0
  112. volcenginesdkcloudidentity/models/provision_permission_set_response.py +123 -0
  113. volcenginesdkcloudidentity/models/remove_permission_policy_from_permission_set_request.py +184 -0
  114. volcenginesdkcloudidentity/models/remove_permission_policy_from_permission_set_response.py +95 -0
  115. volcenginesdkcloudidentity/models/remove_user_from_group_request.py +151 -0
  116. volcenginesdkcloudidentity/models/remove_user_from_group_response.py +95 -0
  117. volcenginesdkcloudidentity/models/reset_password_request.py +210 -0
  118. volcenginesdkcloudidentity/models/reset_password_response.py +123 -0
  119. volcenginesdkcloudidentity/models/retry_user_provisioning_event_request.py +124 -0
  120. volcenginesdkcloudidentity/models/retry_user_provisioning_event_response.py +95 -0
  121. volcenginesdkcloudidentity/models/scim_server_credential_for_list_scim_server_credentials_output.py +227 -0
  122. volcenginesdkcloudidentity/models/task_for_list_tasks_output.py +409 -0
  123. volcenginesdkcloudidentity/models/update_group_request.py +182 -0
  124. volcenginesdkcloudidentity/models/update_group_response.py +95 -0
  125. volcenginesdkcloudidentity/models/update_inline_policy_to_permission_set_request.py +151 -0
  126. volcenginesdkcloudidentity/models/update_inline_policy_to_permission_set_response.py +95 -0
  127. volcenginesdkcloudidentity/models/update_instance_name_request.py +124 -0
  128. volcenginesdkcloudidentity/models/update_instance_name_response.py +95 -0
  129. volcenginesdkcloudidentity/models/update_permission_set_request.py +205 -0
  130. volcenginesdkcloudidentity/models/update_permission_set_response.py +95 -0
  131. volcenginesdkcloudidentity/models/update_user_request.py +272 -0
  132. volcenginesdkcloudidentity/models/update_user_response.py +95 -0
  133. volcenginesdkcloudidentity/models/user_for_list_users_output.py +331 -0
  134. volcenginesdkcloudidentity/models/user_provisioning_event_for_list_user_provisioning_events_output.py +409 -0
  135. volcenginesdkcloudidentity/models/user_provisioning_for_list_user_provisionings_output.py +435 -0
  136. volcenginesdkcore/api_client.py +1 -1
  137. volcenginesdkcore/auth/providers/sts_provider.py +1 -1
  138. volcenginesdkcore/configuration.py +1 -1
  139. volcenginesdkcore/endpoint/providers/default_provider.py +6 -0
  140. volcenginesdkdms/__init__.py +6 -0
  141. volcenginesdkdms/api/dms_api.py +97 -0
  142. volcenginesdkdms/models/__init__.py +6 -0
  143. volcenginesdkdms/models/basic_config_for_create_data_migrate_task_input.py +53 -7
  144. volcenginesdkdms/models/basic_config_for_query_data_migrate_task_output.py +53 -1
  145. volcenginesdkdms/models/delete_data_migrate_task_request.py +150 -0
  146. volcenginesdkdms/models/delete_data_migrate_task_response.py +95 -0
  147. volcenginesdkdms/models/increase_setting_for_create_data_migrate_task_input.py +2 -2
  148. volcenginesdkdms/models/object_migration_policy_for_create_data_migrate_task_input.py +175 -0
  149. volcenginesdkdms/models/object_migration_policy_for_query_data_migrate_task_output.py +175 -0
  150. volcenginesdkdms/models/offline_migration_policy_for_create_data_migrate_task_input.py +149 -0
  151. volcenginesdkdms/models/offline_migration_policy_for_query_data_migrate_task_output.py +149 -0
  152. volcenginesdkgraph/__init__.py +8 -0
  153. volcenginesdkgraph/models/__init__.py +8 -0
  154. volcenginesdkgraph/models/alter_table_request.py +108 -4
  155. volcenginesdkgraph/models/get_table_response.py +211 -3
  156. volcenginesdkgraph/models/get_version_set_and_components_info_request.py +29 -3
  157. volcenginesdkgraph/models/gremlin_quota_config_for_add_tables_input.py +27 -1
  158. volcenginesdkgraph/models/gremlin_quota_config_for_get_table_output.py +201 -0
  159. volcenginesdkgraph/models/gremlin_quota_config_for_get_table_quota_output.py +27 -1
  160. volcenginesdkgraph/models/idc_replica_num_for_alter_table_input.py +149 -0
  161. volcenginesdkgraph/models/idc_replica_num_for_get_table_output.py +149 -0
  162. volcenginesdkgraph/models/idc_ro_num_for_alter_table_input.py +149 -0
  163. volcenginesdkgraph/models/idc_ro_num_for_get_table_output.py +149 -0
  164. volcenginesdkgraph/models/io_qos_options_for_get_table_output.py +201 -0
  165. volcenginesdkgraph/models/psm_quota_config_for_add_tables_input.py +53 -1
  166. volcenginesdkgraph/models/psm_quota_config_for_get_table_output.py +227 -0
  167. volcenginesdkgraph/models/psm_quota_config_for_get_table_quota_output.py +53 -1
  168. volcenginesdkgraph/models/table_quota_for_get_table_output.py +149 -0
  169. volcenginesdklivesaas/models/line_detail_for_get_streams_api_output.py +12 -12
  170. volcenginesdkllmshield/__init__.py +82 -0
  171. volcenginesdkllmshield/api/__init__.py +4 -0
  172. volcenginesdkllmshield/api/llm_shield_sdk_v2.py +470 -0
  173. volcenginesdkllmshield/models/__init__.py +20 -0
  174. volcenginesdkllmshield/models/llm_shield_sign.py +159 -0
  175. volcenginesdkwafruntime/__init__.py +4 -2
  176. volcenginesdkwafruntime/api/waf_runtime_api.py +7 -3
  177. volcenginesdkwafruntime/models/llm_stream_session.py +4 -2
  178. volcengine_python_sdk-4.0.15.dist-info/METADATA +0 -21
  179. {volcengine_python_sdk-4.0.15.dist-info → volcengine_python_sdk-4.0.17.dist-info}/LICENSE.txt +0 -0
  180. {volcengine_python_sdk-4.0.15.dist-info → volcengine_python_sdk-4.0.17.dist-info}/NOTICE.md +0 -0
@@ -0,0 +1,151 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ cloudidentity
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 AttachPolicyToUserProvisionRequest(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
+ 'policy_name': 'str',
37
+ 'user_provisioning_id': 'str'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'policy_name': 'PolicyName',
42
+ 'user_provisioning_id': 'UserProvisioningId'
43
+ }
44
+
45
+ def __init__(self, policy_name=None, user_provisioning_id=None, _configuration=None): # noqa: E501
46
+ """AttachPolicyToUserProvisionRequest - a model defined in Swagger""" # noqa: E501
47
+ if _configuration is None:
48
+ _configuration = Configuration()
49
+ self._configuration = _configuration
50
+
51
+ self._policy_name = None
52
+ self._user_provisioning_id = None
53
+ self.discriminator = None
54
+
55
+ self.policy_name = policy_name
56
+ self.user_provisioning_id = user_provisioning_id
57
+
58
+ @property
59
+ def policy_name(self):
60
+ """Gets the policy_name of this AttachPolicyToUserProvisionRequest. # noqa: E501
61
+
62
+
63
+ :return: The policy_name of this AttachPolicyToUserProvisionRequest. # noqa: E501
64
+ :rtype: str
65
+ """
66
+ return self._policy_name
67
+
68
+ @policy_name.setter
69
+ def policy_name(self, policy_name):
70
+ """Sets the policy_name of this AttachPolicyToUserProvisionRequest.
71
+
72
+
73
+ :param policy_name: The policy_name of this AttachPolicyToUserProvisionRequest. # noqa: E501
74
+ :type: str
75
+ """
76
+ if self._configuration.client_side_validation and policy_name is None:
77
+ raise ValueError("Invalid value for `policy_name`, must not be `None`") # noqa: E501
78
+
79
+ self._policy_name = policy_name
80
+
81
+ @property
82
+ def user_provisioning_id(self):
83
+ """Gets the user_provisioning_id of this AttachPolicyToUserProvisionRequest. # noqa: E501
84
+
85
+
86
+ :return: The user_provisioning_id of this AttachPolicyToUserProvisionRequest. # noqa: E501
87
+ :rtype: str
88
+ """
89
+ return self._user_provisioning_id
90
+
91
+ @user_provisioning_id.setter
92
+ def user_provisioning_id(self, user_provisioning_id):
93
+ """Sets the user_provisioning_id of this AttachPolicyToUserProvisionRequest.
94
+
95
+
96
+ :param user_provisioning_id: The user_provisioning_id of this AttachPolicyToUserProvisionRequest. # noqa: E501
97
+ :type: str
98
+ """
99
+ if self._configuration.client_side_validation and user_provisioning_id is None:
100
+ raise ValueError("Invalid value for `user_provisioning_id`, must not be `None`") # noqa: E501
101
+
102
+ self._user_provisioning_id = user_provisioning_id
103
+
104
+ def to_dict(self):
105
+ """Returns the model properties as a dict"""
106
+ result = {}
107
+
108
+ for attr, _ in six.iteritems(self.swagger_types):
109
+ value = getattr(self, attr)
110
+ if isinstance(value, list):
111
+ result[attr] = list(map(
112
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
113
+ value
114
+ ))
115
+ elif hasattr(value, "to_dict"):
116
+ result[attr] = value.to_dict()
117
+ elif isinstance(value, dict):
118
+ result[attr] = dict(map(
119
+ lambda item: (item[0], item[1].to_dict())
120
+ if hasattr(item[1], "to_dict") else item,
121
+ value.items()
122
+ ))
123
+ else:
124
+ result[attr] = value
125
+ if issubclass(AttachPolicyToUserProvisionRequest, dict):
126
+ for key, value in self.items():
127
+ result[key] = value
128
+
129
+ return result
130
+
131
+ def to_str(self):
132
+ """Returns the string representation of the model"""
133
+ return pprint.pformat(self.to_dict())
134
+
135
+ def __repr__(self):
136
+ """For `print` and `pprint`"""
137
+ return self.to_str()
138
+
139
+ def __eq__(self, other):
140
+ """Returns true if both objects are equal"""
141
+ if not isinstance(other, AttachPolicyToUserProvisionRequest):
142
+ return False
143
+
144
+ return self.to_dict() == other.to_dict()
145
+
146
+ def __ne__(self, other):
147
+ """Returns true if both objects are not equal"""
148
+ if not isinstance(other, AttachPolicyToUserProvisionRequest):
149
+ return True
150
+
151
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,95 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ cloudidentity
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 AttachPolicyToUserProvisionResponse(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
+ """AttachPolicyToUserProvisionResponse - 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(AttachPolicyToUserProvisionResponse, 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, AttachPolicyToUserProvisionResponse):
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, AttachPolicyToUserProvisionResponse):
93
+ return True
94
+
95
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,212 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ cloudidentity
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 CreateAccountAssignmentRequest(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
+ 'permission_set_id': 'str',
37
+ 'principal_id': 'str',
38
+ 'principal_type': 'str',
39
+ 'target_id': 'str'
40
+ }
41
+
42
+ attribute_map = {
43
+ 'permission_set_id': 'PermissionSetId',
44
+ 'principal_id': 'PrincipalId',
45
+ 'principal_type': 'PrincipalType',
46
+ 'target_id': 'TargetId'
47
+ }
48
+
49
+ def __init__(self, permission_set_id=None, principal_id=None, principal_type=None, target_id=None, _configuration=None): # noqa: E501
50
+ """CreateAccountAssignmentRequest - a model defined in Swagger""" # noqa: E501
51
+ if _configuration is None:
52
+ _configuration = Configuration()
53
+ self._configuration = _configuration
54
+
55
+ self._permission_set_id = None
56
+ self._principal_id = None
57
+ self._principal_type = None
58
+ self._target_id = None
59
+ self.discriminator = None
60
+
61
+ self.permission_set_id = permission_set_id
62
+ self.principal_id = principal_id
63
+ self.principal_type = principal_type
64
+ self.target_id = target_id
65
+
66
+ @property
67
+ def permission_set_id(self):
68
+ """Gets the permission_set_id of this CreateAccountAssignmentRequest. # noqa: E501
69
+
70
+
71
+ :return: The permission_set_id of this CreateAccountAssignmentRequest. # noqa: E501
72
+ :rtype: str
73
+ """
74
+ return self._permission_set_id
75
+
76
+ @permission_set_id.setter
77
+ def permission_set_id(self, permission_set_id):
78
+ """Sets the permission_set_id of this CreateAccountAssignmentRequest.
79
+
80
+
81
+ :param permission_set_id: The permission_set_id of this CreateAccountAssignmentRequest. # noqa: E501
82
+ :type: str
83
+ """
84
+ if self._configuration.client_side_validation and permission_set_id is None:
85
+ raise ValueError("Invalid value for `permission_set_id`, must not be `None`") # noqa: E501
86
+
87
+ self._permission_set_id = permission_set_id
88
+
89
+ @property
90
+ def principal_id(self):
91
+ """Gets the principal_id of this CreateAccountAssignmentRequest. # noqa: E501
92
+
93
+
94
+ :return: The principal_id of this CreateAccountAssignmentRequest. # noqa: E501
95
+ :rtype: str
96
+ """
97
+ return self._principal_id
98
+
99
+ @principal_id.setter
100
+ def principal_id(self, principal_id):
101
+ """Sets the principal_id of this CreateAccountAssignmentRequest.
102
+
103
+
104
+ :param principal_id: The principal_id of this CreateAccountAssignmentRequest. # noqa: E501
105
+ :type: str
106
+ """
107
+ if self._configuration.client_side_validation and principal_id is None:
108
+ raise ValueError("Invalid value for `principal_id`, must not be `None`") # noqa: E501
109
+
110
+ self._principal_id = principal_id
111
+
112
+ @property
113
+ def principal_type(self):
114
+ """Gets the principal_type of this CreateAccountAssignmentRequest. # noqa: E501
115
+
116
+
117
+ :return: The principal_type of this CreateAccountAssignmentRequest. # noqa: E501
118
+ :rtype: str
119
+ """
120
+ return self._principal_type
121
+
122
+ @principal_type.setter
123
+ def principal_type(self, principal_type):
124
+ """Sets the principal_type of this CreateAccountAssignmentRequest.
125
+
126
+
127
+ :param principal_type: The principal_type of this CreateAccountAssignmentRequest. # noqa: E501
128
+ :type: str
129
+ """
130
+ if self._configuration.client_side_validation and principal_type is None:
131
+ raise ValueError("Invalid value for `principal_type`, must not be `None`") # noqa: E501
132
+ allowed_values = ["Group", "User"] # noqa: E501
133
+ if (self._configuration.client_side_validation and
134
+ principal_type not in allowed_values):
135
+ raise ValueError(
136
+ "Invalid value for `principal_type` ({0}), must be one of {1}" # noqa: E501
137
+ .format(principal_type, allowed_values)
138
+ )
139
+
140
+ self._principal_type = principal_type
141
+
142
+ @property
143
+ def target_id(self):
144
+ """Gets the target_id of this CreateAccountAssignmentRequest. # noqa: E501
145
+
146
+
147
+ :return: The target_id of this CreateAccountAssignmentRequest. # noqa: E501
148
+ :rtype: str
149
+ """
150
+ return self._target_id
151
+
152
+ @target_id.setter
153
+ def target_id(self, target_id):
154
+ """Sets the target_id of this CreateAccountAssignmentRequest.
155
+
156
+
157
+ :param target_id: The target_id of this CreateAccountAssignmentRequest. # noqa: E501
158
+ :type: str
159
+ """
160
+ if self._configuration.client_side_validation and target_id is None:
161
+ raise ValueError("Invalid value for `target_id`, must not be `None`") # noqa: E501
162
+
163
+ self._target_id = target_id
164
+
165
+ def to_dict(self):
166
+ """Returns the model properties as a dict"""
167
+ result = {}
168
+
169
+ for attr, _ in six.iteritems(self.swagger_types):
170
+ value = getattr(self, attr)
171
+ if isinstance(value, list):
172
+ result[attr] = list(map(
173
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
174
+ value
175
+ ))
176
+ elif hasattr(value, "to_dict"):
177
+ result[attr] = value.to_dict()
178
+ elif isinstance(value, dict):
179
+ result[attr] = dict(map(
180
+ lambda item: (item[0], item[1].to_dict())
181
+ if hasattr(item[1], "to_dict") else item,
182
+ value.items()
183
+ ))
184
+ else:
185
+ result[attr] = value
186
+ if issubclass(CreateAccountAssignmentRequest, dict):
187
+ for key, value in self.items():
188
+ result[key] = value
189
+
190
+ return result
191
+
192
+ def to_str(self):
193
+ """Returns the string representation of the model"""
194
+ return pprint.pformat(self.to_dict())
195
+
196
+ def __repr__(self):
197
+ """For `print` and `pprint`"""
198
+ return self.to_str()
199
+
200
+ def __eq__(self, other):
201
+ """Returns true if both objects are equal"""
202
+ if not isinstance(other, CreateAccountAssignmentRequest):
203
+ return False
204
+
205
+ return self.to_dict() == other.to_dict()
206
+
207
+ def __ne__(self, other):
208
+ """Returns true if both objects are not equal"""
209
+ if not isinstance(other, CreateAccountAssignmentRequest):
210
+ return True
211
+
212
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,123 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ cloudidentity
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 CreateAccountAssignmentResponse(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
+ 'task_id': 'str'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'task_id': 'TaskId'
41
+ }
42
+
43
+ def __init__(self, task_id=None, _configuration=None): # noqa: E501
44
+ """CreateAccountAssignmentResponse - a model defined in Swagger""" # noqa: E501
45
+ if _configuration is None:
46
+ _configuration = Configuration()
47
+ self._configuration = _configuration
48
+
49
+ self._task_id = None
50
+ self.discriminator = None
51
+
52
+ if task_id is not None:
53
+ self.task_id = task_id
54
+
55
+ @property
56
+ def task_id(self):
57
+ """Gets the task_id of this CreateAccountAssignmentResponse. # noqa: E501
58
+
59
+
60
+ :return: The task_id of this CreateAccountAssignmentResponse. # noqa: E501
61
+ :rtype: str
62
+ """
63
+ return self._task_id
64
+
65
+ @task_id.setter
66
+ def task_id(self, task_id):
67
+ """Sets the task_id of this CreateAccountAssignmentResponse.
68
+
69
+
70
+ :param task_id: The task_id of this CreateAccountAssignmentResponse. # noqa: E501
71
+ :type: str
72
+ """
73
+
74
+ self._task_id = task_id
75
+
76
+ def to_dict(self):
77
+ """Returns the model properties as a dict"""
78
+ result = {}
79
+
80
+ for attr, _ in six.iteritems(self.swagger_types):
81
+ value = getattr(self, attr)
82
+ if isinstance(value, list):
83
+ result[attr] = list(map(
84
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
85
+ value
86
+ ))
87
+ elif hasattr(value, "to_dict"):
88
+ result[attr] = value.to_dict()
89
+ elif isinstance(value, dict):
90
+ result[attr] = dict(map(
91
+ lambda item: (item[0], item[1].to_dict())
92
+ if hasattr(item[1], "to_dict") else item,
93
+ value.items()
94
+ ))
95
+ else:
96
+ result[attr] = value
97
+ if issubclass(CreateAccountAssignmentResponse, dict):
98
+ for key, value in self.items():
99
+ result[key] = value
100
+
101
+ return result
102
+
103
+ def to_str(self):
104
+ """Returns the string representation of the model"""
105
+ return pprint.pformat(self.to_dict())
106
+
107
+ def __repr__(self):
108
+ """For `print` and `pprint`"""
109
+ return self.to_str()
110
+
111
+ def __eq__(self, other):
112
+ """Returns true if both objects are equal"""
113
+ if not isinstance(other, CreateAccountAssignmentResponse):
114
+ return False
115
+
116
+ return self.to_dict() == other.to_dict()
117
+
118
+ def __ne__(self, other):
119
+ """Returns true if both objects are not equal"""
120
+ if not isinstance(other, CreateAccountAssignmentResponse):
121
+ return True
122
+
123
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,124 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ cloudidentity
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 CreateExternalSAMLIdentityProviderRequest(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
+ 'encoded_metadata_document': 'str'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'encoded_metadata_document': 'EncodedMetadataDocument'
41
+ }
42
+
43
+ def __init__(self, encoded_metadata_document=None, _configuration=None): # noqa: E501
44
+ """CreateExternalSAMLIdentityProviderRequest - a model defined in Swagger""" # noqa: E501
45
+ if _configuration is None:
46
+ _configuration = Configuration()
47
+ self._configuration = _configuration
48
+
49
+ self._encoded_metadata_document = None
50
+ self.discriminator = None
51
+
52
+ self.encoded_metadata_document = encoded_metadata_document
53
+
54
+ @property
55
+ def encoded_metadata_document(self):
56
+ """Gets the encoded_metadata_document of this CreateExternalSAMLIdentityProviderRequest. # noqa: E501
57
+
58
+
59
+ :return: The encoded_metadata_document of this CreateExternalSAMLIdentityProviderRequest. # noqa: E501
60
+ :rtype: str
61
+ """
62
+ return self._encoded_metadata_document
63
+
64
+ @encoded_metadata_document.setter
65
+ def encoded_metadata_document(self, encoded_metadata_document):
66
+ """Sets the encoded_metadata_document of this CreateExternalSAMLIdentityProviderRequest.
67
+
68
+
69
+ :param encoded_metadata_document: The encoded_metadata_document of this CreateExternalSAMLIdentityProviderRequest. # noqa: E501
70
+ :type: str
71
+ """
72
+ if self._configuration.client_side_validation and encoded_metadata_document is None:
73
+ raise ValueError("Invalid value for `encoded_metadata_document`, must not be `None`") # noqa: E501
74
+
75
+ self._encoded_metadata_document = encoded_metadata_document
76
+
77
+ def to_dict(self):
78
+ """Returns the model properties as a dict"""
79
+ result = {}
80
+
81
+ for attr, _ in six.iteritems(self.swagger_types):
82
+ value = getattr(self, attr)
83
+ if isinstance(value, list):
84
+ result[attr] = list(map(
85
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
86
+ value
87
+ ))
88
+ elif hasattr(value, "to_dict"):
89
+ result[attr] = value.to_dict()
90
+ elif isinstance(value, dict):
91
+ result[attr] = dict(map(
92
+ lambda item: (item[0], item[1].to_dict())
93
+ if hasattr(item[1], "to_dict") else item,
94
+ value.items()
95
+ ))
96
+ else:
97
+ result[attr] = value
98
+ if issubclass(CreateExternalSAMLIdentityProviderRequest, dict):
99
+ for key, value in self.items():
100
+ result[key] = value
101
+
102
+ return result
103
+
104
+ def to_str(self):
105
+ """Returns the string representation of the model"""
106
+ return pprint.pformat(self.to_dict())
107
+
108
+ def __repr__(self):
109
+ """For `print` and `pprint`"""
110
+ return self.to_str()
111
+
112
+ def __eq__(self, other):
113
+ """Returns true if both objects are equal"""
114
+ if not isinstance(other, CreateExternalSAMLIdentityProviderRequest):
115
+ return False
116
+
117
+ return self.to_dict() == other.to_dict()
118
+
119
+ def __ne__(self, other):
120
+ """Returns true if both objects are not equal"""
121
+ if not isinstance(other, CreateExternalSAMLIdentityProviderRequest):
122
+ return True
123
+
124
+ return self.to_dict() != other.to_dict()