huaweicloudsdkgaussdb 3.1.103__py2.py3-none-any.whl → 3.1.104__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.
- huaweicloudsdkgaussdb/v3/__init__.py +14 -0
- huaweicloudsdkgaussdb/v3/gaussdb_async_client.py +347 -0
- huaweicloudsdkgaussdb/v3/gaussdb_client.py +347 -0
- huaweicloudsdkgaussdb/v3/model/__init__.py +14 -0
- huaweicloudsdkgaussdb/v3/model/check_starrocks_params_request.py +140 -0
- huaweicloudsdkgaussdb/v3/model/check_starrocks_params_request_body.py +114 -0
- huaweicloudsdkgaussdb/v3/model/check_starrocks_params_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/resize_star_rocks_flavor_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/resize_star_rocks_flavor_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/show_starrocks_params_request.py +229 -0
- huaweicloudsdkgaussdb/v3/model/show_starrocks_params_response.py +170 -0
- huaweicloudsdkgaussdb/v3/model/sr_flavor_resize_req.py +144 -0
- huaweicloudsdkgaussdb/v3/model/sync_star_rocks_users_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/sync_star_rocks_users_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/update_param_info.py +142 -0
- huaweicloudsdkgaussdb/v3/model/update_starrocks_params_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/update_starrocks_params_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/user_sync_req.py +114 -0
- {huaweicloudsdkgaussdb-3.1.103.dist-info → huaweicloudsdkgaussdb-3.1.104.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdb-3.1.103.dist-info → huaweicloudsdkgaussdb-3.1.104.dist-info}/RECORD +23 -9
- {huaweicloudsdkgaussdb-3.1.103.dist-info → huaweicloudsdkgaussdb-3.1.104.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdb-3.1.103.dist-info → huaweicloudsdkgaussdb-3.1.104.dist-info}/WHEEL +0 -0
- {huaweicloudsdkgaussdb-3.1.103.dist-info → huaweicloudsdkgaussdb-3.1.104.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,142 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class UpdateParamInfo:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'node_type': 'str',
|
21
|
+
'parameter_values': 'dict(str, str)'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'node_type': 'node_type',
|
26
|
+
'parameter_values': 'parameter_values'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, node_type=None, parameter_values=None):
|
30
|
+
"""UpdateParamInfo
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param node_type: 节点类型。取值范围: - be - fe
|
35
|
+
:type node_type: str
|
36
|
+
:param parameter_values: 参数名和参数值映射关系。用户可以基于默认参数模板的参数,自定义的参数值。不传入该参数,则保持原参数信息。
|
37
|
+
:type parameter_values: dict(str, str)
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._node_type = None
|
43
|
+
self._parameter_values = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.node_type = node_type
|
47
|
+
self.parameter_values = parameter_values
|
48
|
+
|
49
|
+
@property
|
50
|
+
def node_type(self):
|
51
|
+
"""Gets the node_type of this UpdateParamInfo.
|
52
|
+
|
53
|
+
节点类型。取值范围: - be - fe
|
54
|
+
|
55
|
+
:return: The node_type of this UpdateParamInfo.
|
56
|
+
:rtype: str
|
57
|
+
"""
|
58
|
+
return self._node_type
|
59
|
+
|
60
|
+
@node_type.setter
|
61
|
+
def node_type(self, node_type):
|
62
|
+
"""Sets the node_type of this UpdateParamInfo.
|
63
|
+
|
64
|
+
节点类型。取值范围: - be - fe
|
65
|
+
|
66
|
+
:param node_type: The node_type of this UpdateParamInfo.
|
67
|
+
:type node_type: str
|
68
|
+
"""
|
69
|
+
self._node_type = node_type
|
70
|
+
|
71
|
+
@property
|
72
|
+
def parameter_values(self):
|
73
|
+
"""Gets the parameter_values of this UpdateParamInfo.
|
74
|
+
|
75
|
+
参数名和参数值映射关系。用户可以基于默认参数模板的参数,自定义的参数值。不传入该参数,则保持原参数信息。
|
76
|
+
|
77
|
+
:return: The parameter_values of this UpdateParamInfo.
|
78
|
+
:rtype: dict(str, str)
|
79
|
+
"""
|
80
|
+
return self._parameter_values
|
81
|
+
|
82
|
+
@parameter_values.setter
|
83
|
+
def parameter_values(self, parameter_values):
|
84
|
+
"""Sets the parameter_values of this UpdateParamInfo.
|
85
|
+
|
86
|
+
参数名和参数值映射关系。用户可以基于默认参数模板的参数,自定义的参数值。不传入该参数,则保持原参数信息。
|
87
|
+
|
88
|
+
:param parameter_values: The parameter_values of this UpdateParamInfo.
|
89
|
+
:type parameter_values: dict(str, str)
|
90
|
+
"""
|
91
|
+
self._parameter_values = parameter_values
|
92
|
+
|
93
|
+
def to_dict(self):
|
94
|
+
"""Returns the model properties as a dict"""
|
95
|
+
result = {}
|
96
|
+
|
97
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
98
|
+
value = getattr(self, attr)
|
99
|
+
if isinstance(value, list):
|
100
|
+
result[attr] = list(map(
|
101
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
102
|
+
value
|
103
|
+
))
|
104
|
+
elif hasattr(value, "to_dict"):
|
105
|
+
result[attr] = value.to_dict()
|
106
|
+
elif isinstance(value, dict):
|
107
|
+
result[attr] = dict(map(
|
108
|
+
lambda item: (item[0], item[1].to_dict())
|
109
|
+
if hasattr(item[1], "to_dict") else item,
|
110
|
+
value.items()
|
111
|
+
))
|
112
|
+
else:
|
113
|
+
if attr in self.sensitive_list:
|
114
|
+
result[attr] = "****"
|
115
|
+
else:
|
116
|
+
result[attr] = value
|
117
|
+
|
118
|
+
return result
|
119
|
+
|
120
|
+
def to_str(self):
|
121
|
+
"""Returns the string representation of the model"""
|
122
|
+
import simplejson as json
|
123
|
+
if six.PY2:
|
124
|
+
import sys
|
125
|
+
reload(sys)
|
126
|
+
sys.setdefaultencoding("utf-8")
|
127
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
128
|
+
|
129
|
+
def __repr__(self):
|
130
|
+
"""For `print`"""
|
131
|
+
return self.to_str()
|
132
|
+
|
133
|
+
def __eq__(self, other):
|
134
|
+
"""Returns true if both objects are equal"""
|
135
|
+
if not isinstance(other, UpdateParamInfo):
|
136
|
+
return False
|
137
|
+
|
138
|
+
return self.__dict__ == other.__dict__
|
139
|
+
|
140
|
+
def __ne__(self, other):
|
141
|
+
"""Returns true if both objects are not equal"""
|
142
|
+
return not self == other
|
@@ -0,0 +1,168 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class UpdateStarrocksParamsRequest:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'instance_id': 'str',
|
21
|
+
'x_language': 'str',
|
22
|
+
'body': 'UpdateParamInfo'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'instance_id': 'instance_id',
|
27
|
+
'x_language': 'X-Language',
|
28
|
+
'body': 'body'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, instance_id=None, x_language=None, body=None):
|
32
|
+
"""UpdateStarrocksParamsRequest
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param instance_id: 实例ID,严格匹配UUID规则。
|
37
|
+
:type instance_id: str
|
38
|
+
:param x_language: 请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
39
|
+
:type x_language: str
|
40
|
+
:param body: Body of the UpdateStarrocksParamsRequest
|
41
|
+
:type body: :class:`huaweicloudsdkgaussdb.v3.UpdateParamInfo`
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._instance_id = None
|
47
|
+
self._x_language = None
|
48
|
+
self._body = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.instance_id = instance_id
|
52
|
+
if x_language is not None:
|
53
|
+
self.x_language = x_language
|
54
|
+
if body is not None:
|
55
|
+
self.body = body
|
56
|
+
|
57
|
+
@property
|
58
|
+
def instance_id(self):
|
59
|
+
"""Gets the instance_id of this UpdateStarrocksParamsRequest.
|
60
|
+
|
61
|
+
实例ID,严格匹配UUID规则。
|
62
|
+
|
63
|
+
:return: The instance_id of this UpdateStarrocksParamsRequest.
|
64
|
+
:rtype: str
|
65
|
+
"""
|
66
|
+
return self._instance_id
|
67
|
+
|
68
|
+
@instance_id.setter
|
69
|
+
def instance_id(self, instance_id):
|
70
|
+
"""Sets the instance_id of this UpdateStarrocksParamsRequest.
|
71
|
+
|
72
|
+
实例ID,严格匹配UUID规则。
|
73
|
+
|
74
|
+
:param instance_id: The instance_id of this UpdateStarrocksParamsRequest.
|
75
|
+
:type instance_id: str
|
76
|
+
"""
|
77
|
+
self._instance_id = instance_id
|
78
|
+
|
79
|
+
@property
|
80
|
+
def x_language(self):
|
81
|
+
"""Gets the x_language of this UpdateStarrocksParamsRequest.
|
82
|
+
|
83
|
+
请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
84
|
+
|
85
|
+
:return: The x_language of this UpdateStarrocksParamsRequest.
|
86
|
+
:rtype: str
|
87
|
+
"""
|
88
|
+
return self._x_language
|
89
|
+
|
90
|
+
@x_language.setter
|
91
|
+
def x_language(self, x_language):
|
92
|
+
"""Sets the x_language of this UpdateStarrocksParamsRequest.
|
93
|
+
|
94
|
+
请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
95
|
+
|
96
|
+
:param x_language: The x_language of this UpdateStarrocksParamsRequest.
|
97
|
+
:type x_language: str
|
98
|
+
"""
|
99
|
+
self._x_language = x_language
|
100
|
+
|
101
|
+
@property
|
102
|
+
def body(self):
|
103
|
+
"""Gets the body of this UpdateStarrocksParamsRequest.
|
104
|
+
|
105
|
+
:return: The body of this UpdateStarrocksParamsRequest.
|
106
|
+
:rtype: :class:`huaweicloudsdkgaussdb.v3.UpdateParamInfo`
|
107
|
+
"""
|
108
|
+
return self._body
|
109
|
+
|
110
|
+
@body.setter
|
111
|
+
def body(self, body):
|
112
|
+
"""Sets the body of this UpdateStarrocksParamsRequest.
|
113
|
+
|
114
|
+
:param body: The body of this UpdateStarrocksParamsRequest.
|
115
|
+
:type body: :class:`huaweicloudsdkgaussdb.v3.UpdateParamInfo`
|
116
|
+
"""
|
117
|
+
self._body = body
|
118
|
+
|
119
|
+
def to_dict(self):
|
120
|
+
"""Returns the model properties as a dict"""
|
121
|
+
result = {}
|
122
|
+
|
123
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
124
|
+
value = getattr(self, attr)
|
125
|
+
if isinstance(value, list):
|
126
|
+
result[attr] = list(map(
|
127
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
128
|
+
value
|
129
|
+
))
|
130
|
+
elif hasattr(value, "to_dict"):
|
131
|
+
result[attr] = value.to_dict()
|
132
|
+
elif isinstance(value, dict):
|
133
|
+
result[attr] = dict(map(
|
134
|
+
lambda item: (item[0], item[1].to_dict())
|
135
|
+
if hasattr(item[1], "to_dict") else item,
|
136
|
+
value.items()
|
137
|
+
))
|
138
|
+
else:
|
139
|
+
if attr in self.sensitive_list:
|
140
|
+
result[attr] = "****"
|
141
|
+
else:
|
142
|
+
result[attr] = value
|
143
|
+
|
144
|
+
return result
|
145
|
+
|
146
|
+
def to_str(self):
|
147
|
+
"""Returns the string representation of the model"""
|
148
|
+
import simplejson as json
|
149
|
+
if six.PY2:
|
150
|
+
import sys
|
151
|
+
reload(sys)
|
152
|
+
sys.setdefaultencoding("utf-8")
|
153
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
154
|
+
|
155
|
+
def __repr__(self):
|
156
|
+
"""For `print`"""
|
157
|
+
return self.to_str()
|
158
|
+
|
159
|
+
def __eq__(self, other):
|
160
|
+
"""Returns true if both objects are equal"""
|
161
|
+
if not isinstance(other, UpdateStarrocksParamsRequest):
|
162
|
+
return False
|
163
|
+
|
164
|
+
return self.__dict__ == other.__dict__
|
165
|
+
|
166
|
+
def __ne__(self, other):
|
167
|
+
"""Returns true if both objects are not equal"""
|
168
|
+
return not self == other
|
@@ -0,0 +1,145 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class UpdateStarrocksParamsResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'job_id': 'str',
|
22
|
+
'restart_required': 'bool'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'job_id': 'job_id',
|
27
|
+
'restart_required': 'restart_required'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, job_id=None, restart_required=None):
|
31
|
+
"""UpdateStarrocksParamsResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param job_id: 修改指定实例参数的任务ID。
|
36
|
+
:type job_id: str
|
37
|
+
:param restart_required: 是否需要重启。 true:是。 false:否。
|
38
|
+
:type restart_required: bool
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(UpdateStarrocksParamsResponse, self).__init__()
|
42
|
+
|
43
|
+
self._job_id = None
|
44
|
+
self._restart_required = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if job_id is not None:
|
48
|
+
self.job_id = job_id
|
49
|
+
if restart_required is not None:
|
50
|
+
self.restart_required = restart_required
|
51
|
+
|
52
|
+
@property
|
53
|
+
def job_id(self):
|
54
|
+
"""Gets the job_id of this UpdateStarrocksParamsResponse.
|
55
|
+
|
56
|
+
修改指定实例参数的任务ID。
|
57
|
+
|
58
|
+
:return: The job_id of this UpdateStarrocksParamsResponse.
|
59
|
+
:rtype: str
|
60
|
+
"""
|
61
|
+
return self._job_id
|
62
|
+
|
63
|
+
@job_id.setter
|
64
|
+
def job_id(self, job_id):
|
65
|
+
"""Sets the job_id of this UpdateStarrocksParamsResponse.
|
66
|
+
|
67
|
+
修改指定实例参数的任务ID。
|
68
|
+
|
69
|
+
:param job_id: The job_id of this UpdateStarrocksParamsResponse.
|
70
|
+
:type job_id: str
|
71
|
+
"""
|
72
|
+
self._job_id = job_id
|
73
|
+
|
74
|
+
@property
|
75
|
+
def restart_required(self):
|
76
|
+
"""Gets the restart_required of this UpdateStarrocksParamsResponse.
|
77
|
+
|
78
|
+
是否需要重启。 true:是。 false:否。
|
79
|
+
|
80
|
+
:return: The restart_required of this UpdateStarrocksParamsResponse.
|
81
|
+
:rtype: bool
|
82
|
+
"""
|
83
|
+
return self._restart_required
|
84
|
+
|
85
|
+
@restart_required.setter
|
86
|
+
def restart_required(self, restart_required):
|
87
|
+
"""Sets the restart_required of this UpdateStarrocksParamsResponse.
|
88
|
+
|
89
|
+
是否需要重启。 true:是。 false:否。
|
90
|
+
|
91
|
+
:param restart_required: The restart_required of this UpdateStarrocksParamsResponse.
|
92
|
+
:type restart_required: bool
|
93
|
+
"""
|
94
|
+
self._restart_required = restart_required
|
95
|
+
|
96
|
+
def to_dict(self):
|
97
|
+
"""Returns the model properties as a dict"""
|
98
|
+
result = {}
|
99
|
+
|
100
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
101
|
+
value = getattr(self, attr)
|
102
|
+
if isinstance(value, list):
|
103
|
+
result[attr] = list(map(
|
104
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
105
|
+
value
|
106
|
+
))
|
107
|
+
elif hasattr(value, "to_dict"):
|
108
|
+
result[attr] = value.to_dict()
|
109
|
+
elif isinstance(value, dict):
|
110
|
+
result[attr] = dict(map(
|
111
|
+
lambda item: (item[0], item[1].to_dict())
|
112
|
+
if hasattr(item[1], "to_dict") else item,
|
113
|
+
value.items()
|
114
|
+
))
|
115
|
+
else:
|
116
|
+
if attr in self.sensitive_list:
|
117
|
+
result[attr] = "****"
|
118
|
+
else:
|
119
|
+
result[attr] = value
|
120
|
+
|
121
|
+
return result
|
122
|
+
|
123
|
+
def to_str(self):
|
124
|
+
"""Returns the string representation of the model"""
|
125
|
+
import simplejson as json
|
126
|
+
if six.PY2:
|
127
|
+
import sys
|
128
|
+
reload(sys)
|
129
|
+
sys.setdefaultencoding("utf-8")
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
131
|
+
|
132
|
+
def __repr__(self):
|
133
|
+
"""For `print`"""
|
134
|
+
return self.to_str()
|
135
|
+
|
136
|
+
def __eq__(self, other):
|
137
|
+
"""Returns true if both objects are equal"""
|
138
|
+
if not isinstance(other, UpdateStarrocksParamsResponse):
|
139
|
+
return False
|
140
|
+
|
141
|
+
return self.__dict__ == other.__dict__
|
142
|
+
|
143
|
+
def __ne__(self, other):
|
144
|
+
"""Returns true if both objects are not equal"""
|
145
|
+
return not self == other
|
@@ -0,0 +1,114 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class UserSyncReq:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'action': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'action': 'action'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, action=None):
|
28
|
+
"""UserSyncReq
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param action: StarRocks账号同步动作。
|
33
|
+
:type action: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._action = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.action = action
|
42
|
+
|
43
|
+
@property
|
44
|
+
def action(self):
|
45
|
+
"""Gets the action of this UserSyncReq.
|
46
|
+
|
47
|
+
StarRocks账号同步动作。
|
48
|
+
|
49
|
+
:return: The action of this UserSyncReq.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._action
|
53
|
+
|
54
|
+
@action.setter
|
55
|
+
def action(self, action):
|
56
|
+
"""Sets the action of this UserSyncReq.
|
57
|
+
|
58
|
+
StarRocks账号同步动作。
|
59
|
+
|
60
|
+
:param action: The action of this UserSyncReq.
|
61
|
+
:type action: str
|
62
|
+
"""
|
63
|
+
self._action = action
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, UserSyncReq):
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
"""Returns true if both objects are not equal"""
|
114
|
+
return not self == other
|
{huaweicloudsdkgaussdb-3.1.103.dist-info → huaweicloudsdkgaussdb-3.1.104.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdkgaussdb
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.104
|
4
4
|
Summary: GaussDB
|
5
5
|
Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
|
6
6
|
Author: HuaweiCloud SDK
|
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
|
|
22
22
|
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
|
23
23
|
Description-Content-Type: text/markdown
|
24
24
|
License-File: LICENSE
|
25
|
-
Requires-Dist: huaweicloudsdkcore >=3.1.
|
25
|
+
Requires-Dist: huaweicloudsdkcore >=3.1.104
|
26
26
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
@@ -1,8 +1,8 @@
|
|
1
1
|
huaweicloudsdkgaussdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
huaweicloudsdkgaussdb/v3/__init__.py,sha256=
|
3
|
-
huaweicloudsdkgaussdb/v3/gaussdb_async_client.py,sha256=
|
4
|
-
huaweicloudsdkgaussdb/v3/gaussdb_client.py,sha256=
|
5
|
-
huaweicloudsdkgaussdb/v3/model/__init__.py,sha256=
|
2
|
+
huaweicloudsdkgaussdb/v3/__init__.py,sha256=Z5hyPITVv1L8hGNcqkjS411JJjEklrUPOiF0EIfmtMU,74766
|
3
|
+
huaweicloudsdkgaussdb/v3/gaussdb_async_client.py,sha256=GggISYJ--ljxRo7ZLMc8wIcMkRCcj-JJIpewxMcI6DE,492538
|
4
|
+
huaweicloudsdkgaussdb/v3/gaussdb_client.py,sha256=uQhRQ1v2nLpGKRc-4s1Ym10QWOnB5EUv18xn0-pghHQ,492829
|
5
|
+
huaweicloudsdkgaussdb/v3/model/__init__.py,sha256=7jYVkOV9iSeF5t5YHeUl_jajPekG_0xyXqi7SilCo3g,74656
|
6
6
|
huaweicloudsdkgaussdb/v3/model/access_control_rule.py,sha256=_hNgePJ5yjgiFJfw2hRCvIyyEYvaY8KZp0ESAA0O6WY,3900
|
7
7
|
huaweicloudsdkgaussdb/v3/model/add_database_permission_request.py,sha256=m011GCLKS0xNt-1WbYaBZZoSSEBfxXADeCw4HL-3fhs,4908
|
8
8
|
huaweicloudsdkgaussdb/v3/model/add_database_permission_response.py,sha256=FyiFrYFcWD0uMzPwyg-nB8mnk20HzgjTaal4kGyMmIc,3280
|
@@ -61,6 +61,9 @@ huaweicloudsdkgaussdb/v3/model/check_resource_request_body.py,sha256=kj3HeaR-f3L
|
|
61
61
|
huaweicloudsdkgaussdb/v3/model/check_resource_response.py,sha256=336rStS4rvQNBbMb1B7114FJthfk7O-vn5vL94m4RD8,3313
|
62
62
|
huaweicloudsdkgaussdb/v3/model/check_star_rocks_resource_request.py,sha256=kIlsw1cnUJf3euMnlYxltRGZEBnnMBrkvjttDp7C11w,4189
|
63
63
|
huaweicloudsdkgaussdb/v3/model/check_star_rocks_resource_response.py,sha256=kvpRfL9wt_IBo1g9RN6I5dOvXbVVkKDmwRanRDjThQw,3241
|
64
|
+
huaweicloudsdkgaussdb/v3/model/check_starrocks_params_request.py,sha256=E36wsXiaf0ZchwW8vKK0N20sVF_kNK_pvKGllAb9GSM,4237
|
65
|
+
huaweicloudsdkgaussdb/v3/model/check_starrocks_params_request_body.py,sha256=6WofQoea-ci6LezFxtro8mOtHDhQfN79JJpsUu42FFM,3676
|
66
|
+
huaweicloudsdkgaussdb/v3/model/check_starrocks_params_response.py,sha256=ekwjaEDUDixpfdiWydgEfhBmddR6dspaufAP1FCDivc,4075
|
64
67
|
huaweicloudsdkgaussdb/v3/model/check_table_config_request.py,sha256=bfsjiUrl3Qm1Y9IYwI2rx15QfqtCQRsrjxtkFu3R8kc,5029
|
65
68
|
huaweicloudsdkgaussdb/v3/model/check_table_config_response.py,sha256=ctGvgH2tY8t3B-DJQeRuWIMJNWu2aoQi8QRwqVK_sAo,6861
|
66
69
|
huaweicloudsdkgaussdb/v3/model/click_house_database_user_info.py,sha256=TfNVj2acZ5dNzFwJv4KUMKzk6fmdg4OrBy5nxrbqoMA,6717
|
@@ -430,6 +433,8 @@ huaweicloudsdkgaussdb/v3/model/resize_click_house_flavor_request.py,sha256=_1yLG
|
|
430
433
|
huaweicloudsdkgaussdb/v3/model/resize_click_house_flavor_response.py,sha256=P6ywMQK3YIh1I1IbEf4F-QUuIHjfk4_kALhFI5cRUqs,3237
|
431
434
|
huaweicloudsdkgaussdb/v3/model/resize_click_house_instance_request.py,sha256=iEamBSMcg7-9A5gN_6puxR6kL0Y7sDJXfLQqdq7tAVg,5203
|
432
435
|
huaweicloudsdkgaussdb/v3/model/resize_click_house_instance_response.py,sha256=msXL49xYb3xw4_ODoacxezCbMU9aXiYGhJuCh9zgObU,3268
|
436
|
+
huaweicloudsdkgaussdb/v3/model/resize_star_rocks_flavor_request.py,sha256=49gQ0VzH-1ixwXgbrB8gktQ4DY_cNpIkG9bAPmhPlrE,5134
|
437
|
+
huaweicloudsdkgaussdb/v3/model/resize_star_rocks_flavor_response.py,sha256=kP5MYlSZrEIupCV3l8mSoXjjPbXE8ehp_oJXdemmwsg,3226
|
433
438
|
huaweicloudsdkgaussdb/v3/model/resource.py,sha256=-JZhUoQA59A-O9yFHgNFow6b_tEe7aI0TnZxbZ3DVNc,4302
|
434
439
|
huaweicloudsdkgaussdb/v3/model/resource_check.py,sha256=Dbbt89r4kS_INRzbtVdaqxJUkCb672fqza1rQmyIzjY,3866
|
435
440
|
huaweicloudsdkgaussdb/v3/model/resource_check_resource.py,sha256=nU2ZWMADU7JE_j9vh5151-_eVtvKYVztBn1FY62K66U,11577
|
@@ -544,6 +549,8 @@ huaweicloudsdkgaussdb/v3/model/show_sql_filter_rule_response.py,sha256=F_7lInj8l
|
|
544
549
|
huaweicloudsdkgaussdb/v3/model/show_star_rocks_database_user_request.py,sha256=dLB1KdCCWmgDhBvPuXdFbJXLePhWFEOxfupKD5GJCGw,7286
|
545
550
|
huaweicloudsdkgaussdb/v3/model/show_star_rocks_database_user_response.py,sha256=DxKf3E8_i7d7r1e_S61ZUwRDbFdJ2CpEMOZSZe2_xUw,4608
|
546
551
|
huaweicloudsdkgaussdb/v3/model/show_star_rocks_database_users_user_details.py,sha256=h-L9NrJTyif3Reu01nGgGWwVJ6TMtqQu2TyfzQL1qUc,5865
|
552
|
+
huaweicloudsdkgaussdb/v3/model/show_starrocks_params_request.py,sha256=1qju047HkeBDr2bY1GSaNFAydFq1KGxcwV465X89BiE,7878
|
553
|
+
huaweicloudsdkgaussdb/v3/model/show_starrocks_params_response.py,sha256=3MQp3BWzlPjPBz8pq1MPttFEy4H4BjazAknwUEQzQQk,5596
|
547
554
|
huaweicloudsdkgaussdb/v3/model/shrink_gauss_my_sql_proxy_request.py,sha256=PKcYZA286QCqEGWmoFZ9Cs_0bVwKx8WLtpIJz2H2UJY,6006
|
548
555
|
huaweicloudsdkgaussdb/v3/model/shrink_gauss_my_sql_proxy_request_body.py,sha256=r4_fVord6sx2b2bOmFtCdqVW1AIRGcZooXKkHZKLPTo,3737
|
549
556
|
huaweicloudsdkgaussdb/v3/model/shrink_gauss_my_sql_proxy_response.py,sha256=d_41CnpgqV0TY6lkVSZkC2LWpUur0_oh9u7RTzH0daU,3217
|
@@ -556,6 +563,7 @@ huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance_pay_info.py,sha25
|
|
556
563
|
huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance_tags_info.py,sha256=nB-yJH5CjFnsKp2LClKGdCzTZx5OIZpjSJyzSFrgeF8,4504
|
557
564
|
huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance_tags_info_sys_tags.py,sha256=X5MeDHTN-RlJXm92_mDpcg_sH5sY18zFmc5w1tvhV38,3902
|
558
565
|
huaweicloudsdkgaussdb/v3/model/sr_data_stores_datastores.py,sha256=YDM5G9wXI_-DSeC1EM3hIWXbmlWOTSu81TxjcRMsjVQ,4929
|
566
|
+
huaweicloudsdkgaussdb/v3/model/sr_flavor_resize_req.py,sha256=5FzO_-eVUs8CsgjzqxZf_YNRMOaDquKm1E1Em7RnPjI,4475
|
559
567
|
huaweicloudsdkgaussdb/v3/model/star_rocks_create_request.py,sha256=STBeMdJ3i8rJL0SzV6juBAPuDy3MSRakjFeHutRgp0U,16086
|
560
568
|
huaweicloudsdkgaussdb/v3/model/star_rocks_create_request_be_volume.py,sha256=1_azjJdx9vX1Oau99yDEhXoULUzuwkPirz0qy9PzvFk,4257
|
561
569
|
huaweicloudsdkgaussdb/v3/model/star_rocks_create_request_engine.py,sha256=NHEI_mI2wS6_-lBidfeR_NU7b0pvhOY7KG7oTxVLOYQ,3850
|
@@ -588,6 +596,8 @@ huaweicloudsdkgaussdb/v3/model/switch_gauss_my_sql_proxy_ssl_request.py,sha256=_
|
|
588
596
|
huaweicloudsdkgaussdb/v3/model/switch_gauss_my_sql_proxy_ssl_response.py,sha256=MAHrkP3NBzuyqpuFUX5dXJp5eSHQuYZjPSaX96hT0pQ,3241
|
589
597
|
huaweicloudsdkgaussdb/v3/model/switch_proxy_ssl_request.py,sha256=esyBecwJVs0pq_e1nGA7q6ROUPZJPOK4WdYCuGgpblA,3411
|
590
598
|
huaweicloudsdkgaussdb/v3/model/switch_ssl_request.py,sha256=ky_M38WBeMVACVg8OMaAln_PJ-aZ1mw_sjxigsaeGCE,3322
|
599
|
+
huaweicloudsdkgaussdb/v3/model/sync_star_rocks_users_request.py,sha256=lAhxYmsXXlFlVh5EJMgIX3o5mr41Qu8nxA4nKxkempM,4969
|
600
|
+
huaweicloudsdkgaussdb/v3/model/sync_star_rocks_users_response.py,sha256=fRIGOnlB2d0_BzDgkYN9NpDg-jbfPiCe-EJmZhDROaI,3282
|
591
601
|
huaweicloudsdkgaussdb/v3/model/table_config_check_request_v3.py,sha256=yXzQSd73_lg0FWrYa67snappyIGzBPZkNCCAQ-Kqh6M,9922
|
592
602
|
huaweicloudsdkgaussdb/v3/model/table_config_check_result.py,sha256=n4XbW-MsRU_abTWmNEadh_HT7YHpmtfaaxq0r6sP1MQ,4876
|
593
603
|
huaweicloudsdkgaussdb/v3/model/table_repl_config.py,sha256=bmEIDLlTTQHhJokYHicNu3L8leaDOXtjHxHu-PTxG14,4960
|
@@ -657,6 +667,7 @@ huaweicloudsdkgaussdb/v3/model/update_instance_monitor_response.py,sha256=cdxCJ2
|
|
657
667
|
huaweicloudsdkgaussdb/v3/model/update_new_node_auto_add_switch_request.py,sha256=hMnwja43Rpf9DRU18xNc_fsKcwFl9Wxw-OECS0-5raQ,6126
|
658
668
|
huaweicloudsdkgaussdb/v3/model/update_new_node_auto_add_switch_request_body.py,sha256=uPvrEwApuGRWtj4cOzSTu0DyGhUgkerCAJjhZ5Y-39E,4715
|
659
669
|
huaweicloudsdkgaussdb/v3/model/update_new_node_auto_add_switch_response.py,sha256=bQ7xK5Byn49vRkSDFQx4p2NCV9S2oo-GfZUMGFAaDAM,3419
|
670
|
+
huaweicloudsdkgaussdb/v3/model/update_param_info.py,sha256=BlTTMId4L1_FVET_dW4uU0rPBIHC31PDlmwEqdsxQrg,4473
|
660
671
|
huaweicloudsdkgaussdb/v3/model/update_proxy_configuration_item.py,sha256=YwFf2Am28cB1rnHp9kOS_RAtdMBu85Hzp6mLJLFwjcM,4502
|
661
672
|
huaweicloudsdkgaussdb/v3/model/update_proxy_connection_pool_type_request.py,sha256=z0C1T9hwZMPpqOYmfaPD6bR0KtMYeiQYc5LpS6D-dsk,6028
|
662
673
|
huaweicloudsdkgaussdb/v3/model/update_proxy_connection_pool_type_response.py,sha256=BQSkXGq44PmR8Po5JErmGIygZU3ZSNyrWVwl3LkzgU4,3281
|
@@ -682,6 +693,8 @@ huaweicloudsdkgaussdb/v3/model/update_star_rocks_database_user_password_request.
|
|
682
693
|
huaweicloudsdkgaussdb/v3/model/update_star_rocks_database_user_password_response.py,sha256=CbPeHztsT7K1Ll09FnOd8llqiy6589pSS9ZEXsHdWzE,3341
|
683
694
|
huaweicloudsdkgaussdb/v3/model/update_star_rocks_database_user_permission_request.py,sha256=EawfDrIAexJVO2Wxu0LxDo8iFkkYD0lGU9EhTbN017U,5412
|
684
695
|
huaweicloudsdkgaussdb/v3/model/update_star_rocks_database_user_permission_response.py,sha256=8K8TXSXVcKB2bF0HY3k4xnDZX-F_zNuC9pDvS1-49HQ,3357
|
696
|
+
huaweicloudsdkgaussdb/v3/model/update_starrocks_params_request.py,sha256=tD4WVlMC9xIPpPYHJqx53MZdxfup2Ab32gB5OC3pcbA,5081
|
697
|
+
huaweicloudsdkgaussdb/v3/model/update_starrocks_params_response.py,sha256=ULU6lOlIyuYFxYenStzaBftNKg7AkhlVUXc79AU4HPY,4399
|
685
698
|
huaweicloudsdkgaussdb/v3/model/update_transaction_split_status_request.py,sha256=--NhIkEBF0PzZYNI_tj46dVEXCDS-20hgfzkP5G6NTk,4996
|
686
699
|
huaweicloudsdkgaussdb/v3/model/update_transaction_split_status_response.py,sha256=n_qivGA1JBPPf-prTpzFXUDwPWhvkk5BAyY161LOC5U,3273
|
687
700
|
huaweicloudsdkgaussdb/v3/model/upgrade_database_request.py,sha256=LzeptRXrswDKsXNtBC9G6LkgLZSjsx-RjRiGfiN0EiY,3447
|
@@ -689,10 +702,11 @@ huaweicloudsdkgaussdb/v3/model/upgrade_gauss_my_sql_instance_database_request.py
|
|
689
702
|
huaweicloudsdkgaussdb/v3/model/upgrade_gauss_my_sql_instance_database_response.py,sha256=2FDFF2Tj6nknBR6kHFQSYYlnihPVvB2E_5bn30AklJ8,3313
|
690
703
|
huaweicloudsdkgaussdb/v3/model/upgrade_proxy_version_request.py,sha256=NeRa7wBNoGa1a3qltA1ufpXDcLWPT7Rft_tT3JSuyk4,5962
|
691
704
|
huaweicloudsdkgaussdb/v3/model/upgrade_proxy_version_response.py,sha256=j-sLDpdKZneLus_vNdt13WfvUKtMnpTcI_0qwu1Evn8,3651
|
705
|
+
huaweicloudsdkgaussdb/v3/model/user_sync_req.py,sha256=_jObFGs0zxCcpg4K4j2Yh6Vwx1cBu4lt5Lwr650ryVw,2991
|
692
706
|
huaweicloudsdkgaussdb/v3/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
693
707
|
huaweicloudsdkgaussdb/v3/region/gaussdb_region.py,sha256=jSkp4XxflMd24DfUCSkocI70ZDFvifYbZbt9MpvyaRw,2844
|
694
|
-
huaweicloudsdkgaussdb-3.1.
|
695
|
-
huaweicloudsdkgaussdb-3.1.
|
696
|
-
huaweicloudsdkgaussdb-3.1.
|
697
|
-
huaweicloudsdkgaussdb-3.1.
|
698
|
-
huaweicloudsdkgaussdb-3.1.
|
708
|
+
huaweicloudsdkgaussdb-3.1.104.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
709
|
+
huaweicloudsdkgaussdb-3.1.104.dist-info/METADATA,sha256=0gEeWD5gt0tTS8l-TCJeDhKQE1_dl_kvMC9EofoUpgE,1148
|
710
|
+
huaweicloudsdkgaussdb-3.1.104.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
711
|
+
huaweicloudsdkgaussdb-3.1.104.dist-info/top_level.txt,sha256=_exDbngu-ivLzntD1UgfR3aRI7WoXQUaayhgYshbpyA,22
|
712
|
+
huaweicloudsdkgaussdb-3.1.104.dist-info/RECORD,,
|
File without changes
|
File without changes
|