byteplus-python-sdk-v2 3.0.59__py2.py3-none-any.whl → 3.0.60__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.
- {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.60.dist-info}/METADATA +3 -1
- {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.60.dist-info}/RECORD +88 -53
- byteplussdkaidap/__init__.py +35 -0
- byteplussdkaidap/api/aidap_api.py +1177 -13
- byteplussdkaidap/models/__init__.py +35 -0
- byteplussdkaidap/models/bind_pages_project_request.py +230 -0
- byteplussdkaidap/models/bind_pages_project_response.py +95 -0
- byteplussdkaidap/models/binding_for_describe_pages_binding_output.py +253 -0
- byteplussdkaidap/models/branch_settings_for_create_branch_input.py +29 -3
- byteplussdkaidap/models/branch_usage_for_create_branch_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_describe_branch_detail_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_describe_branches_list_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_describe_branches_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_describe_child_branches_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_describe_default_branch_list_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_describe_default_branch_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_describe_restorable_branches_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_reset_branch_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_set_as_default_branch_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_update_branch_output.py +79 -1
- byteplussdkaidap/models/create_sql_concurrency_control_rule_request.py +442 -0
- byteplussdkaidap/models/create_sql_concurrency_control_rule_response.py +175 -0
- byteplussdkaidap/models/custom_quota_for_describe_baas_ai_user_summaries_output.py +27 -1
- byteplussdkaidap/models/custom_quota_for_modify_baas_ai_user_quotas_input.py +27 -1
- byteplussdkaidap/models/delete_sql_concurrency_control_rule_request.py +238 -0
- byteplussdkaidap/models/delete_sql_concurrency_control_rule_response.py +149 -0
- byteplussdkaidap/models/describe_pages_binding_request.py +151 -0
- byteplussdkaidap/models/describe_pages_binding_response.py +149 -0
- byteplussdkaidap/models/describe_sql_concurrency_control_rules_request.py +466 -0
- byteplussdkaidap/models/describe_sql_concurrency_control_rules_response.py +201 -0
- byteplussdkaidap/models/describe_workspaces_request.py +27 -1
- byteplussdkaidap/models/describe_workspaces_response.py +53 -1
- byteplussdkaidap/models/limit_config_for_create_sql_concurrency_control_rule_input.py +260 -0
- byteplussdkaidap/models/limit_config_for_modify_sql_concurrency_control_rule_input.py +260 -0
- byteplussdkaidap/models/list_pages_project_request.py +227 -0
- byteplussdkaidap/models/list_pages_project_response.py +201 -0
- byteplussdkaidap/models/match_for_create_sql_concurrency_control_rule_input.py +182 -0
- byteplussdkaidap/models/modify_compute_parameters_request.py +243 -0
- byteplussdkaidap/models/modify_compute_parameters_response.py +95 -0
- byteplussdkaidap/models/modify_compute_spec_request.py +34 -1
- byteplussdkaidap/models/modify_sql_concurrency_control_rule_request.py +264 -0
- byteplussdkaidap/models/modify_sql_concurrency_control_rule_response.py +149 -0
- byteplussdkaidap/models/pages_project_for_describe_pages_binding_output.py +357 -0
- byteplussdkaidap/models/parameter_for_modify_compute_parameters_input.py +149 -0
- byteplussdkaidap/models/project_for_list_pages_project_output.py +357 -0
- byteplussdkaidap/models/restore_settings_for_branch_restore_input.py +27 -1
- byteplussdkaidap/models/rule_for_describe_sql_concurrency_control_rules_output.py +565 -0
- byteplussdkaidap/models/start_workspace_request.py +27 -1
- byteplussdkaidap/models/supabase_binding_for_describe_pages_binding_output.py +253 -0
- byteplussdkaidap/models/supabase_binding_for_list_pages_project_output.py +253 -0
- byteplussdkaidap/models/suspend_workspace_request.py +124 -0
- byteplussdkaidap/models/suspend_workspace_response.py +95 -0
- byteplussdkaidap/models/switch_sql_concurrency_control_rule_request.py +265 -0
- byteplussdkaidap/models/switch_sql_concurrency_control_rule_response.py +149 -0
- byteplussdkaidap/models/sync_pages_deploy_env_vars_request.py +178 -0
- byteplussdkaidap/models/sync_pages_deploy_env_vars_response.py +95 -0
- byteplussdkaidap/models/unbind_pages_project_request.py +151 -0
- byteplussdkaidap/models/unbind_pages_project_response.py +95 -0
- byteplussdkaidap/models/usage_for_describe_baas_ai_user_summaries_output.py +53 -1
- byteplussdkaidap/models/user_default_quota_for_describe_baas_ai_global_quota_output.py +27 -1
- byteplussdkaidap/models/user_default_quota_for_modify_baas_ai_global_quota_input.py +27 -1
- byteplussdkaidap/models/volc_supabase_filter_for_list_pages_project_input.py +149 -0
- byteplussdkaidap/models/workspace_usage_for_create_workspace_output.py +81 -3
- byteplussdkaidap/models/workspace_usage_for_describe_workspace_detail_list_output.py +81 -3
- byteplussdkaidap/models/workspace_usage_for_describe_workspace_detail_output.py +81 -3
- byteplussdkaidap/models/workspace_usage_for_describe_workspaces_output.py +81 -3
- byteplussdkaidap/models/workspace_usage_for_list_workspace_usage_top_output.py +81 -3
- byteplussdkaidap/models/workspace_usage_for_modify_compute_settings_output.py +81 -3
- byteplussdkaidap/models/workspace_usage_for_modify_workspace_name_output.py +81 -3
- byteplussdkaidap/models/workspace_usage_for_modify_workspace_settings_output.py +81 -3
- byteplussdkcore/api_client.py +18 -14
- byteplussdkcore/auth/providers/sts_provider.py +0 -2
- byteplussdkcore/configuration.py +91 -21
- byteplussdkcore/interceptor/chain.py +23 -0
- byteplussdkcore/interceptor/interceptors/build_request_interceptor.py +2 -0
- byteplussdkcore/interceptor/interceptors/interceptor.py +2 -0
- byteplussdkcore/interceptor/interceptors/request.py +7 -2
- byteplussdkcore/interceptor/interceptors/resolve_endpoint_interceptor.py +2 -0
- byteplussdkcore/interceptor/interceptors/runtime_options_interceptor.py +28 -15
- byteplussdkcore/interceptor/interceptors/sign_request_interceptor.py +20 -0
- byteplussdkcore/retryer/retryer.py +89 -10
- byteplussdkllmshield/__init__.py +8 -0
- byteplussdkllmshield/api/llm_shield_sdk_v2.py +53 -5
- byteplussdkllmshield/models/llm_shield_sign.py +3 -3
- {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.60.dist-info}/WHEEL +0 -0
- {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.60.dist-info}/licenses/LICENSE.txt +0 -0
- {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.60.dist-info}/licenses/NOTICE.md +0 -0
- {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.60.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,565 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
aidap
|
|
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 byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class RuleForDescribeSQLConcurrencyControlRulesOutput(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
|
+
'burst': 'int',
|
|
37
|
+
'comment': 'str',
|
|
38
|
+
'created_at': 'str',
|
|
39
|
+
'enabled': 'bool',
|
|
40
|
+
'keywords': 'list[str]',
|
|
41
|
+
'limit_type': 'str',
|
|
42
|
+
'match_type': 'str',
|
|
43
|
+
'max_concurrency': 'int',
|
|
44
|
+
'max_wait_ms': 'int',
|
|
45
|
+
'max_waiting': 'int',
|
|
46
|
+
'node_type': 'str',
|
|
47
|
+
'over_limit_action': 'str',
|
|
48
|
+
'qps': 'int',
|
|
49
|
+
'query_id': 'int',
|
|
50
|
+
'query_string': 'str',
|
|
51
|
+
'rule_id': 'int',
|
|
52
|
+
'search_path': 'str',
|
|
53
|
+
'updated_at': 'str'
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
attribute_map = {
|
|
57
|
+
'burst': 'Burst',
|
|
58
|
+
'comment': 'Comment',
|
|
59
|
+
'created_at': 'CreatedAt',
|
|
60
|
+
'enabled': 'Enabled',
|
|
61
|
+
'keywords': 'Keywords',
|
|
62
|
+
'limit_type': 'LimitType',
|
|
63
|
+
'match_type': 'MatchType',
|
|
64
|
+
'max_concurrency': 'MaxConcurrency',
|
|
65
|
+
'max_wait_ms': 'MaxWaitMs',
|
|
66
|
+
'max_waiting': 'MaxWaiting',
|
|
67
|
+
'node_type': 'NodeType',
|
|
68
|
+
'over_limit_action': 'OverLimitAction',
|
|
69
|
+
'qps': 'QPS',
|
|
70
|
+
'query_id': 'QueryId',
|
|
71
|
+
'query_string': 'QueryString',
|
|
72
|
+
'rule_id': 'RuleId',
|
|
73
|
+
'search_path': 'SearchPath',
|
|
74
|
+
'updated_at': 'UpdatedAt'
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
def __init__(self, burst=None, comment=None, created_at=None, enabled=None, keywords=None, limit_type=None, match_type=None, max_concurrency=None, max_wait_ms=None, max_waiting=None, node_type=None, over_limit_action=None, qps=None, query_id=None, query_string=None, rule_id=None, search_path=None, updated_at=None, _configuration=None): # noqa: E501
|
|
78
|
+
"""RuleForDescribeSQLConcurrencyControlRulesOutput - a model defined in Swagger""" # noqa: E501
|
|
79
|
+
if _configuration is None:
|
|
80
|
+
_configuration = Configuration()
|
|
81
|
+
self._configuration = _configuration
|
|
82
|
+
|
|
83
|
+
self._burst = None
|
|
84
|
+
self._comment = None
|
|
85
|
+
self._created_at = None
|
|
86
|
+
self._enabled = None
|
|
87
|
+
self._keywords = None
|
|
88
|
+
self._limit_type = None
|
|
89
|
+
self._match_type = None
|
|
90
|
+
self._max_concurrency = None
|
|
91
|
+
self._max_wait_ms = None
|
|
92
|
+
self._max_waiting = None
|
|
93
|
+
self._node_type = None
|
|
94
|
+
self._over_limit_action = None
|
|
95
|
+
self._qps = None
|
|
96
|
+
self._query_id = None
|
|
97
|
+
self._query_string = None
|
|
98
|
+
self._rule_id = None
|
|
99
|
+
self._search_path = None
|
|
100
|
+
self._updated_at = None
|
|
101
|
+
self.discriminator = None
|
|
102
|
+
|
|
103
|
+
if burst is not None:
|
|
104
|
+
self.burst = burst
|
|
105
|
+
if comment is not None:
|
|
106
|
+
self.comment = comment
|
|
107
|
+
if created_at is not None:
|
|
108
|
+
self.created_at = created_at
|
|
109
|
+
if enabled is not None:
|
|
110
|
+
self.enabled = enabled
|
|
111
|
+
if keywords is not None:
|
|
112
|
+
self.keywords = keywords
|
|
113
|
+
if limit_type is not None:
|
|
114
|
+
self.limit_type = limit_type
|
|
115
|
+
if match_type is not None:
|
|
116
|
+
self.match_type = match_type
|
|
117
|
+
if max_concurrency is not None:
|
|
118
|
+
self.max_concurrency = max_concurrency
|
|
119
|
+
if max_wait_ms is not None:
|
|
120
|
+
self.max_wait_ms = max_wait_ms
|
|
121
|
+
if max_waiting is not None:
|
|
122
|
+
self.max_waiting = max_waiting
|
|
123
|
+
if node_type is not None:
|
|
124
|
+
self.node_type = node_type
|
|
125
|
+
if over_limit_action is not None:
|
|
126
|
+
self.over_limit_action = over_limit_action
|
|
127
|
+
if qps is not None:
|
|
128
|
+
self.qps = qps
|
|
129
|
+
if query_id is not None:
|
|
130
|
+
self.query_id = query_id
|
|
131
|
+
if query_string is not None:
|
|
132
|
+
self.query_string = query_string
|
|
133
|
+
if rule_id is not None:
|
|
134
|
+
self.rule_id = rule_id
|
|
135
|
+
if search_path is not None:
|
|
136
|
+
self.search_path = search_path
|
|
137
|
+
if updated_at is not None:
|
|
138
|
+
self.updated_at = updated_at
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
def burst(self):
|
|
142
|
+
"""Gets the burst of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
:return: The burst of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
146
|
+
:rtype: int
|
|
147
|
+
"""
|
|
148
|
+
return self._burst
|
|
149
|
+
|
|
150
|
+
@burst.setter
|
|
151
|
+
def burst(self, burst):
|
|
152
|
+
"""Sets the burst of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
:param burst: The burst of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
156
|
+
:type: int
|
|
157
|
+
"""
|
|
158
|
+
|
|
159
|
+
self._burst = burst
|
|
160
|
+
|
|
161
|
+
@property
|
|
162
|
+
def comment(self):
|
|
163
|
+
"""Gets the comment of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
:return: The comment of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
167
|
+
:rtype: str
|
|
168
|
+
"""
|
|
169
|
+
return self._comment
|
|
170
|
+
|
|
171
|
+
@comment.setter
|
|
172
|
+
def comment(self, comment):
|
|
173
|
+
"""Sets the comment of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
:param comment: The comment of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
177
|
+
:type: str
|
|
178
|
+
"""
|
|
179
|
+
|
|
180
|
+
self._comment = comment
|
|
181
|
+
|
|
182
|
+
@property
|
|
183
|
+
def created_at(self):
|
|
184
|
+
"""Gets the created_at of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
:return: The created_at of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
188
|
+
:rtype: str
|
|
189
|
+
"""
|
|
190
|
+
return self._created_at
|
|
191
|
+
|
|
192
|
+
@created_at.setter
|
|
193
|
+
def created_at(self, created_at):
|
|
194
|
+
"""Sets the created_at of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
:param created_at: The created_at of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
198
|
+
:type: str
|
|
199
|
+
"""
|
|
200
|
+
|
|
201
|
+
self._created_at = created_at
|
|
202
|
+
|
|
203
|
+
@property
|
|
204
|
+
def enabled(self):
|
|
205
|
+
"""Gets the enabled of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
:return: The enabled of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
209
|
+
:rtype: bool
|
|
210
|
+
"""
|
|
211
|
+
return self._enabled
|
|
212
|
+
|
|
213
|
+
@enabled.setter
|
|
214
|
+
def enabled(self, enabled):
|
|
215
|
+
"""Sets the enabled of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
:param enabled: The enabled of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
219
|
+
:type: bool
|
|
220
|
+
"""
|
|
221
|
+
|
|
222
|
+
self._enabled = enabled
|
|
223
|
+
|
|
224
|
+
@property
|
|
225
|
+
def keywords(self):
|
|
226
|
+
"""Gets the keywords of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
:return: The keywords of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
230
|
+
:rtype: list[str]
|
|
231
|
+
"""
|
|
232
|
+
return self._keywords
|
|
233
|
+
|
|
234
|
+
@keywords.setter
|
|
235
|
+
def keywords(self, keywords):
|
|
236
|
+
"""Sets the keywords of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
:param keywords: The keywords of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
240
|
+
:type: list[str]
|
|
241
|
+
"""
|
|
242
|
+
|
|
243
|
+
self._keywords = keywords
|
|
244
|
+
|
|
245
|
+
@property
|
|
246
|
+
def limit_type(self):
|
|
247
|
+
"""Gets the limit_type of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
:return: The limit_type of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
251
|
+
:rtype: str
|
|
252
|
+
"""
|
|
253
|
+
return self._limit_type
|
|
254
|
+
|
|
255
|
+
@limit_type.setter
|
|
256
|
+
def limit_type(self, limit_type):
|
|
257
|
+
"""Sets the limit_type of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
:param limit_type: The limit_type of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
261
|
+
:type: str
|
|
262
|
+
"""
|
|
263
|
+
|
|
264
|
+
self._limit_type = limit_type
|
|
265
|
+
|
|
266
|
+
@property
|
|
267
|
+
def match_type(self):
|
|
268
|
+
"""Gets the match_type of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
:return: The match_type of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
272
|
+
:rtype: str
|
|
273
|
+
"""
|
|
274
|
+
return self._match_type
|
|
275
|
+
|
|
276
|
+
@match_type.setter
|
|
277
|
+
def match_type(self, match_type):
|
|
278
|
+
"""Sets the match_type of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
:param match_type: The match_type of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
282
|
+
:type: str
|
|
283
|
+
"""
|
|
284
|
+
|
|
285
|
+
self._match_type = match_type
|
|
286
|
+
|
|
287
|
+
@property
|
|
288
|
+
def max_concurrency(self):
|
|
289
|
+
"""Gets the max_concurrency of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
:return: The max_concurrency of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
293
|
+
:rtype: int
|
|
294
|
+
"""
|
|
295
|
+
return self._max_concurrency
|
|
296
|
+
|
|
297
|
+
@max_concurrency.setter
|
|
298
|
+
def max_concurrency(self, max_concurrency):
|
|
299
|
+
"""Sets the max_concurrency of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
:param max_concurrency: The max_concurrency of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
303
|
+
:type: int
|
|
304
|
+
"""
|
|
305
|
+
|
|
306
|
+
self._max_concurrency = max_concurrency
|
|
307
|
+
|
|
308
|
+
@property
|
|
309
|
+
def max_wait_ms(self):
|
|
310
|
+
"""Gets the max_wait_ms of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
:return: The max_wait_ms of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
314
|
+
:rtype: int
|
|
315
|
+
"""
|
|
316
|
+
return self._max_wait_ms
|
|
317
|
+
|
|
318
|
+
@max_wait_ms.setter
|
|
319
|
+
def max_wait_ms(self, max_wait_ms):
|
|
320
|
+
"""Sets the max_wait_ms of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
:param max_wait_ms: The max_wait_ms of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
324
|
+
:type: int
|
|
325
|
+
"""
|
|
326
|
+
|
|
327
|
+
self._max_wait_ms = max_wait_ms
|
|
328
|
+
|
|
329
|
+
@property
|
|
330
|
+
def max_waiting(self):
|
|
331
|
+
"""Gets the max_waiting of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
:return: The max_waiting of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
335
|
+
:rtype: int
|
|
336
|
+
"""
|
|
337
|
+
return self._max_waiting
|
|
338
|
+
|
|
339
|
+
@max_waiting.setter
|
|
340
|
+
def max_waiting(self, max_waiting):
|
|
341
|
+
"""Sets the max_waiting of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
:param max_waiting: The max_waiting of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
345
|
+
:type: int
|
|
346
|
+
"""
|
|
347
|
+
|
|
348
|
+
self._max_waiting = max_waiting
|
|
349
|
+
|
|
350
|
+
@property
|
|
351
|
+
def node_type(self):
|
|
352
|
+
"""Gets the node_type of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
:return: The node_type of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
356
|
+
:rtype: str
|
|
357
|
+
"""
|
|
358
|
+
return self._node_type
|
|
359
|
+
|
|
360
|
+
@node_type.setter
|
|
361
|
+
def node_type(self, node_type):
|
|
362
|
+
"""Sets the node_type of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
:param node_type: The node_type of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
366
|
+
:type: str
|
|
367
|
+
"""
|
|
368
|
+
|
|
369
|
+
self._node_type = node_type
|
|
370
|
+
|
|
371
|
+
@property
|
|
372
|
+
def over_limit_action(self):
|
|
373
|
+
"""Gets the over_limit_action of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
:return: The over_limit_action of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
377
|
+
:rtype: str
|
|
378
|
+
"""
|
|
379
|
+
return self._over_limit_action
|
|
380
|
+
|
|
381
|
+
@over_limit_action.setter
|
|
382
|
+
def over_limit_action(self, over_limit_action):
|
|
383
|
+
"""Sets the over_limit_action of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
:param over_limit_action: The over_limit_action of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
387
|
+
:type: str
|
|
388
|
+
"""
|
|
389
|
+
|
|
390
|
+
self._over_limit_action = over_limit_action
|
|
391
|
+
|
|
392
|
+
@property
|
|
393
|
+
def qps(self):
|
|
394
|
+
"""Gets the qps of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
:return: The qps of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
398
|
+
:rtype: int
|
|
399
|
+
"""
|
|
400
|
+
return self._qps
|
|
401
|
+
|
|
402
|
+
@qps.setter
|
|
403
|
+
def qps(self, qps):
|
|
404
|
+
"""Sets the qps of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
:param qps: The qps of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
408
|
+
:type: int
|
|
409
|
+
"""
|
|
410
|
+
|
|
411
|
+
self._qps = qps
|
|
412
|
+
|
|
413
|
+
@property
|
|
414
|
+
def query_id(self):
|
|
415
|
+
"""Gets the query_id of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
:return: The query_id of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
419
|
+
:rtype: int
|
|
420
|
+
"""
|
|
421
|
+
return self._query_id
|
|
422
|
+
|
|
423
|
+
@query_id.setter
|
|
424
|
+
def query_id(self, query_id):
|
|
425
|
+
"""Sets the query_id of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
:param query_id: The query_id of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
429
|
+
:type: int
|
|
430
|
+
"""
|
|
431
|
+
|
|
432
|
+
self._query_id = query_id
|
|
433
|
+
|
|
434
|
+
@property
|
|
435
|
+
def query_string(self):
|
|
436
|
+
"""Gets the query_string of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
:return: The query_string of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
440
|
+
:rtype: str
|
|
441
|
+
"""
|
|
442
|
+
return self._query_string
|
|
443
|
+
|
|
444
|
+
@query_string.setter
|
|
445
|
+
def query_string(self, query_string):
|
|
446
|
+
"""Sets the query_string of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
:param query_string: The query_string of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
450
|
+
:type: str
|
|
451
|
+
"""
|
|
452
|
+
|
|
453
|
+
self._query_string = query_string
|
|
454
|
+
|
|
455
|
+
@property
|
|
456
|
+
def rule_id(self):
|
|
457
|
+
"""Gets the rule_id of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
:return: The rule_id of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
461
|
+
:rtype: int
|
|
462
|
+
"""
|
|
463
|
+
return self._rule_id
|
|
464
|
+
|
|
465
|
+
@rule_id.setter
|
|
466
|
+
def rule_id(self, rule_id):
|
|
467
|
+
"""Sets the rule_id of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
:param rule_id: The rule_id of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
471
|
+
:type: int
|
|
472
|
+
"""
|
|
473
|
+
|
|
474
|
+
self._rule_id = rule_id
|
|
475
|
+
|
|
476
|
+
@property
|
|
477
|
+
def search_path(self):
|
|
478
|
+
"""Gets the search_path of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
:return: The search_path of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
482
|
+
:rtype: str
|
|
483
|
+
"""
|
|
484
|
+
return self._search_path
|
|
485
|
+
|
|
486
|
+
@search_path.setter
|
|
487
|
+
def search_path(self, search_path):
|
|
488
|
+
"""Sets the search_path of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
:param search_path: The search_path of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
492
|
+
:type: str
|
|
493
|
+
"""
|
|
494
|
+
|
|
495
|
+
self._search_path = search_path
|
|
496
|
+
|
|
497
|
+
@property
|
|
498
|
+
def updated_at(self):
|
|
499
|
+
"""Gets the updated_at of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
:return: The updated_at of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
503
|
+
:rtype: str
|
|
504
|
+
"""
|
|
505
|
+
return self._updated_at
|
|
506
|
+
|
|
507
|
+
@updated_at.setter
|
|
508
|
+
def updated_at(self, updated_at):
|
|
509
|
+
"""Sets the updated_at of this RuleForDescribeSQLConcurrencyControlRulesOutput.
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
:param updated_at: The updated_at of this RuleForDescribeSQLConcurrencyControlRulesOutput. # noqa: E501
|
|
513
|
+
:type: str
|
|
514
|
+
"""
|
|
515
|
+
|
|
516
|
+
self._updated_at = updated_at
|
|
517
|
+
|
|
518
|
+
def to_dict(self):
|
|
519
|
+
"""Returns the model properties as a dict"""
|
|
520
|
+
result = {}
|
|
521
|
+
|
|
522
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
523
|
+
value = getattr(self, attr)
|
|
524
|
+
if isinstance(value, list):
|
|
525
|
+
result[attr] = list(map(
|
|
526
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
527
|
+
value
|
|
528
|
+
))
|
|
529
|
+
elif hasattr(value, "to_dict"):
|
|
530
|
+
result[attr] = value.to_dict()
|
|
531
|
+
elif isinstance(value, dict):
|
|
532
|
+
result[attr] = dict(map(
|
|
533
|
+
lambda item: (item[0], item[1].to_dict())
|
|
534
|
+
if hasattr(item[1], "to_dict") else item,
|
|
535
|
+
value.items()
|
|
536
|
+
))
|
|
537
|
+
else:
|
|
538
|
+
result[attr] = value
|
|
539
|
+
if issubclass(RuleForDescribeSQLConcurrencyControlRulesOutput, dict):
|
|
540
|
+
for key, value in self.items():
|
|
541
|
+
result[key] = value
|
|
542
|
+
|
|
543
|
+
return result
|
|
544
|
+
|
|
545
|
+
def to_str(self):
|
|
546
|
+
"""Returns the string representation of the model"""
|
|
547
|
+
return pprint.pformat(self.to_dict())
|
|
548
|
+
|
|
549
|
+
def __repr__(self):
|
|
550
|
+
"""For `print` and `pprint`"""
|
|
551
|
+
return self.to_str()
|
|
552
|
+
|
|
553
|
+
def __eq__(self, other):
|
|
554
|
+
"""Returns true if both objects are equal"""
|
|
555
|
+
if not isinstance(other, RuleForDescribeSQLConcurrencyControlRulesOutput):
|
|
556
|
+
return False
|
|
557
|
+
|
|
558
|
+
return self.to_dict() == other.to_dict()
|
|
559
|
+
|
|
560
|
+
def __ne__(self, other):
|
|
561
|
+
"""Returns true if both objects are not equal"""
|
|
562
|
+
if not isinstance(other, RuleForDescribeSQLConcurrencyControlRulesOutput):
|
|
563
|
+
return True
|
|
564
|
+
|
|
565
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -33,24 +33,50 @@ class StartWorkspaceRequest(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
+
'start_as_suspended': 'bool',
|
|
36
37
|
'workspace_id': 'str'
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
attribute_map = {
|
|
41
|
+
'start_as_suspended': 'StartAsSuspended',
|
|
40
42
|
'workspace_id': 'WorkspaceId'
|
|
41
43
|
}
|
|
42
44
|
|
|
43
|
-
def __init__(self, workspace_id=None, _configuration=None): # noqa: E501
|
|
45
|
+
def __init__(self, start_as_suspended=None, workspace_id=None, _configuration=None): # noqa: E501
|
|
44
46
|
"""StartWorkspaceRequest - a model defined in Swagger""" # noqa: E501
|
|
45
47
|
if _configuration is None:
|
|
46
48
|
_configuration = Configuration()
|
|
47
49
|
self._configuration = _configuration
|
|
48
50
|
|
|
51
|
+
self._start_as_suspended = None
|
|
49
52
|
self._workspace_id = None
|
|
50
53
|
self.discriminator = None
|
|
51
54
|
|
|
55
|
+
if start_as_suspended is not None:
|
|
56
|
+
self.start_as_suspended = start_as_suspended
|
|
52
57
|
self.workspace_id = workspace_id
|
|
53
58
|
|
|
59
|
+
@property
|
|
60
|
+
def start_as_suspended(self):
|
|
61
|
+
"""Gets the start_as_suspended of this StartWorkspaceRequest. # noqa: E501
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
:return: The start_as_suspended of this StartWorkspaceRequest. # noqa: E501
|
|
65
|
+
:rtype: bool
|
|
66
|
+
"""
|
|
67
|
+
return self._start_as_suspended
|
|
68
|
+
|
|
69
|
+
@start_as_suspended.setter
|
|
70
|
+
def start_as_suspended(self, start_as_suspended):
|
|
71
|
+
"""Sets the start_as_suspended of this StartWorkspaceRequest.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
:param start_as_suspended: The start_as_suspended of this StartWorkspaceRequest. # noqa: E501
|
|
75
|
+
:type: bool
|
|
76
|
+
"""
|
|
77
|
+
|
|
78
|
+
self._start_as_suspended = start_as_suspended
|
|
79
|
+
|
|
54
80
|
@property
|
|
55
81
|
def workspace_id(self):
|
|
56
82
|
"""Gets the workspace_id of this StartWorkspaceRequest. # noqa: E501
|