huaweicloudsdkgaussdb 3.1.103__py2.py3-none-any.whl → 3.1.105__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.105.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdb-3.1.103.dist-info → huaweicloudsdkgaussdb-3.1.105.dist-info}/RECORD +23 -9
- {huaweicloudsdkgaussdb-3.1.103.dist-info → huaweicloudsdkgaussdb-3.1.105.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdb-3.1.103.dist-info → huaweicloudsdkgaussdb-3.1.105.dist-info}/WHEEL +0 -0
- {huaweicloudsdkgaussdb-3.1.103.dist-info → huaweicloudsdkgaussdb-3.1.105.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,116 @@
|
|
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 CheckStarrocksParamsResponse(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
|
+
'check_starrocks_params_responce': 'list[ParamGroupParameterDifferences]'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'check_starrocks_params_responce': 'check_starrocks_params_responce'
|
26
|
+
}
|
27
|
+
|
28
|
+
def __init__(self, check_starrocks_params_responce=None):
|
29
|
+
"""CheckStarrocksParamsResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param check_starrocks_params_responce: 参数之间区别的集合。
|
34
|
+
:type check_starrocks_params_responce: list[:class:`huaweicloudsdkgaussdb.v3.ParamGroupParameterDifferences`]
|
35
|
+
"""
|
36
|
+
|
37
|
+
super(CheckStarrocksParamsResponse, self).__init__()
|
38
|
+
|
39
|
+
self._check_starrocks_params_responce = None
|
40
|
+
self.discriminator = None
|
41
|
+
|
42
|
+
if check_starrocks_params_responce is not None:
|
43
|
+
self.check_starrocks_params_responce = check_starrocks_params_responce
|
44
|
+
|
45
|
+
@property
|
46
|
+
def check_starrocks_params_responce(self):
|
47
|
+
"""Gets the check_starrocks_params_responce of this CheckStarrocksParamsResponse.
|
48
|
+
|
49
|
+
参数之间区别的集合。
|
50
|
+
|
51
|
+
:return: The check_starrocks_params_responce of this CheckStarrocksParamsResponse.
|
52
|
+
:rtype: list[:class:`huaweicloudsdkgaussdb.v3.ParamGroupParameterDifferences`]
|
53
|
+
"""
|
54
|
+
return self._check_starrocks_params_responce
|
55
|
+
|
56
|
+
@check_starrocks_params_responce.setter
|
57
|
+
def check_starrocks_params_responce(self, check_starrocks_params_responce):
|
58
|
+
"""Sets the check_starrocks_params_responce of this CheckStarrocksParamsResponse.
|
59
|
+
|
60
|
+
参数之间区别的集合。
|
61
|
+
|
62
|
+
:param check_starrocks_params_responce: The check_starrocks_params_responce of this CheckStarrocksParamsResponse.
|
63
|
+
:type check_starrocks_params_responce: list[:class:`huaweicloudsdkgaussdb.v3.ParamGroupParameterDifferences`]
|
64
|
+
"""
|
65
|
+
self._check_starrocks_params_responce = check_starrocks_params_responce
|
66
|
+
|
67
|
+
def to_dict(self):
|
68
|
+
"""Returns the model properties as a dict"""
|
69
|
+
result = {}
|
70
|
+
|
71
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
72
|
+
value = getattr(self, attr)
|
73
|
+
if isinstance(value, list):
|
74
|
+
result[attr] = list(map(
|
75
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
76
|
+
value
|
77
|
+
))
|
78
|
+
elif hasattr(value, "to_dict"):
|
79
|
+
result[attr] = value.to_dict()
|
80
|
+
elif isinstance(value, dict):
|
81
|
+
result[attr] = dict(map(
|
82
|
+
lambda item: (item[0], item[1].to_dict())
|
83
|
+
if hasattr(item[1], "to_dict") else item,
|
84
|
+
value.items()
|
85
|
+
))
|
86
|
+
else:
|
87
|
+
if attr in self.sensitive_list:
|
88
|
+
result[attr] = "****"
|
89
|
+
else:
|
90
|
+
result[attr] = value
|
91
|
+
|
92
|
+
return result
|
93
|
+
|
94
|
+
def to_str(self):
|
95
|
+
"""Returns the string representation of the model"""
|
96
|
+
import simplejson as json
|
97
|
+
if six.PY2:
|
98
|
+
import sys
|
99
|
+
reload(sys)
|
100
|
+
sys.setdefaultencoding("utf-8")
|
101
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
102
|
+
|
103
|
+
def __repr__(self):
|
104
|
+
"""For `print`"""
|
105
|
+
return self.to_str()
|
106
|
+
|
107
|
+
def __eq__(self, other):
|
108
|
+
"""Returns true if both objects are equal"""
|
109
|
+
if not isinstance(other, CheckStarrocksParamsResponse):
|
110
|
+
return False
|
111
|
+
|
112
|
+
return self.__dict__ == other.__dict__
|
113
|
+
|
114
|
+
def __ne__(self, other):
|
115
|
+
"""Returns true if both objects are not equal"""
|
116
|
+
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 ResizeStarRocksFlavorRequest:
|
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': 'SrFlavorResizeReq'
|
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
|
+
"""ResizeStarRocksFlavorRequest
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param instance_id: GaussDBForMySQL实例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 ResizeStarRocksFlavorRequest
|
41
|
+
:type body: :class:`huaweicloudsdkgaussdb.v3.SrFlavorResizeReq`
|
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 ResizeStarRocksFlavorRequest.
|
60
|
+
|
61
|
+
GaussDBForMySQL实例ID,严格匹配UUID规则。
|
62
|
+
|
63
|
+
:return: The instance_id of this ResizeStarRocksFlavorRequest.
|
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 ResizeStarRocksFlavorRequest.
|
71
|
+
|
72
|
+
GaussDBForMySQL实例ID,严格匹配UUID规则。
|
73
|
+
|
74
|
+
:param instance_id: The instance_id of this ResizeStarRocksFlavorRequest.
|
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 ResizeStarRocksFlavorRequest.
|
82
|
+
|
83
|
+
请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
84
|
+
|
85
|
+
:return: The x_language of this ResizeStarRocksFlavorRequest.
|
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 ResizeStarRocksFlavorRequest.
|
93
|
+
|
94
|
+
请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
95
|
+
|
96
|
+
:param x_language: The x_language of this ResizeStarRocksFlavorRequest.
|
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 ResizeStarRocksFlavorRequest.
|
104
|
+
|
105
|
+
:return: The body of this ResizeStarRocksFlavorRequest.
|
106
|
+
:rtype: :class:`huaweicloudsdkgaussdb.v3.SrFlavorResizeReq`
|
107
|
+
"""
|
108
|
+
return self._body
|
109
|
+
|
110
|
+
@body.setter
|
111
|
+
def body(self, body):
|
112
|
+
"""Sets the body of this ResizeStarRocksFlavorRequest.
|
113
|
+
|
114
|
+
:param body: The body of this ResizeStarRocksFlavorRequest.
|
115
|
+
:type body: :class:`huaweicloudsdkgaussdb.v3.SrFlavorResizeReq`
|
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, ResizeStarRocksFlavorRequest):
|
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,116 @@
|
|
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 ResizeStarRocksFlavorResponse(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
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'job_id': 'job_id'
|
26
|
+
}
|
27
|
+
|
28
|
+
def __init__(self, job_id=None):
|
29
|
+
"""ResizeStarRocksFlavorResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param job_id: 工作流ID。
|
34
|
+
:type job_id: str
|
35
|
+
"""
|
36
|
+
|
37
|
+
super(ResizeStarRocksFlavorResponse, self).__init__()
|
38
|
+
|
39
|
+
self._job_id = None
|
40
|
+
self.discriminator = None
|
41
|
+
|
42
|
+
if job_id is not None:
|
43
|
+
self.job_id = job_id
|
44
|
+
|
45
|
+
@property
|
46
|
+
def job_id(self):
|
47
|
+
"""Gets the job_id of this ResizeStarRocksFlavorResponse.
|
48
|
+
|
49
|
+
工作流ID。
|
50
|
+
|
51
|
+
:return: The job_id of this ResizeStarRocksFlavorResponse.
|
52
|
+
:rtype: str
|
53
|
+
"""
|
54
|
+
return self._job_id
|
55
|
+
|
56
|
+
@job_id.setter
|
57
|
+
def job_id(self, job_id):
|
58
|
+
"""Sets the job_id of this ResizeStarRocksFlavorResponse.
|
59
|
+
|
60
|
+
工作流ID。
|
61
|
+
|
62
|
+
:param job_id: The job_id of this ResizeStarRocksFlavorResponse.
|
63
|
+
:type job_id: str
|
64
|
+
"""
|
65
|
+
self._job_id = job_id
|
66
|
+
|
67
|
+
def to_dict(self):
|
68
|
+
"""Returns the model properties as a dict"""
|
69
|
+
result = {}
|
70
|
+
|
71
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
72
|
+
value = getattr(self, attr)
|
73
|
+
if isinstance(value, list):
|
74
|
+
result[attr] = list(map(
|
75
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
76
|
+
value
|
77
|
+
))
|
78
|
+
elif hasattr(value, "to_dict"):
|
79
|
+
result[attr] = value.to_dict()
|
80
|
+
elif isinstance(value, dict):
|
81
|
+
result[attr] = dict(map(
|
82
|
+
lambda item: (item[0], item[1].to_dict())
|
83
|
+
if hasattr(item[1], "to_dict") else item,
|
84
|
+
value.items()
|
85
|
+
))
|
86
|
+
else:
|
87
|
+
if attr in self.sensitive_list:
|
88
|
+
result[attr] = "****"
|
89
|
+
else:
|
90
|
+
result[attr] = value
|
91
|
+
|
92
|
+
return result
|
93
|
+
|
94
|
+
def to_str(self):
|
95
|
+
"""Returns the string representation of the model"""
|
96
|
+
import simplejson as json
|
97
|
+
if six.PY2:
|
98
|
+
import sys
|
99
|
+
reload(sys)
|
100
|
+
sys.setdefaultencoding("utf-8")
|
101
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
102
|
+
|
103
|
+
def __repr__(self):
|
104
|
+
"""For `print`"""
|
105
|
+
return self.to_str()
|
106
|
+
|
107
|
+
def __eq__(self, other):
|
108
|
+
"""Returns true if both objects are equal"""
|
109
|
+
if not isinstance(other, ResizeStarRocksFlavorResponse):
|
110
|
+
return False
|
111
|
+
|
112
|
+
return self.__dict__ == other.__dict__
|
113
|
+
|
114
|
+
def __ne__(self, other):
|
115
|
+
"""Returns true if both objects are not equal"""
|
116
|
+
return not self == other
|
@@ -0,0 +1,229 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowStarrocksParamsRequest:
|
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
|
+
'node_type': 'str',
|
22
|
+
'offset': 'int',
|
23
|
+
'limit': 'int',
|
24
|
+
'x_language': 'str'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'instance_id': 'instance_id',
|
29
|
+
'node_type': 'node_type',
|
30
|
+
'offset': 'offset',
|
31
|
+
'limit': 'limit',
|
32
|
+
'x_language': 'X-Language'
|
33
|
+
}
|
34
|
+
|
35
|
+
def __init__(self, instance_id=None, node_type=None, offset=None, limit=None, x_language=None):
|
36
|
+
"""ShowStarrocksParamsRequest
|
37
|
+
|
38
|
+
The model defined in huaweicloud sdk
|
39
|
+
|
40
|
+
:param instance_id: 实例ID,严格匹配UUID规则。
|
41
|
+
:type instance_id: str
|
42
|
+
:param node_type: 节点类型。取值范围: - be - fe
|
43
|
+
:type node_type: str
|
44
|
+
:param offset: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
|
45
|
+
:type offset: int
|
46
|
+
:param limit: 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
|
47
|
+
:type limit: int
|
48
|
+
:param x_language: 请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
49
|
+
:type x_language: str
|
50
|
+
"""
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
self._instance_id = None
|
55
|
+
self._node_type = None
|
56
|
+
self._offset = None
|
57
|
+
self._limit = None
|
58
|
+
self._x_language = None
|
59
|
+
self.discriminator = None
|
60
|
+
|
61
|
+
self.instance_id = instance_id
|
62
|
+
self.node_type = node_type
|
63
|
+
if offset is not None:
|
64
|
+
self.offset = offset
|
65
|
+
if limit is not None:
|
66
|
+
self.limit = limit
|
67
|
+
if x_language is not None:
|
68
|
+
self.x_language = x_language
|
69
|
+
|
70
|
+
@property
|
71
|
+
def instance_id(self):
|
72
|
+
"""Gets the instance_id of this ShowStarrocksParamsRequest.
|
73
|
+
|
74
|
+
实例ID,严格匹配UUID规则。
|
75
|
+
|
76
|
+
:return: The instance_id of this ShowStarrocksParamsRequest.
|
77
|
+
:rtype: str
|
78
|
+
"""
|
79
|
+
return self._instance_id
|
80
|
+
|
81
|
+
@instance_id.setter
|
82
|
+
def instance_id(self, instance_id):
|
83
|
+
"""Sets the instance_id of this ShowStarrocksParamsRequest.
|
84
|
+
|
85
|
+
实例ID,严格匹配UUID规则。
|
86
|
+
|
87
|
+
:param instance_id: The instance_id of this ShowStarrocksParamsRequest.
|
88
|
+
:type instance_id: str
|
89
|
+
"""
|
90
|
+
self._instance_id = instance_id
|
91
|
+
|
92
|
+
@property
|
93
|
+
def node_type(self):
|
94
|
+
"""Gets the node_type of this ShowStarrocksParamsRequest.
|
95
|
+
|
96
|
+
节点类型。取值范围: - be - fe
|
97
|
+
|
98
|
+
:return: The node_type of this ShowStarrocksParamsRequest.
|
99
|
+
:rtype: str
|
100
|
+
"""
|
101
|
+
return self._node_type
|
102
|
+
|
103
|
+
@node_type.setter
|
104
|
+
def node_type(self, node_type):
|
105
|
+
"""Sets the node_type of this ShowStarrocksParamsRequest.
|
106
|
+
|
107
|
+
节点类型。取值范围: - be - fe
|
108
|
+
|
109
|
+
:param node_type: The node_type of this ShowStarrocksParamsRequest.
|
110
|
+
:type node_type: str
|
111
|
+
"""
|
112
|
+
self._node_type = node_type
|
113
|
+
|
114
|
+
@property
|
115
|
+
def offset(self):
|
116
|
+
"""Gets the offset of this ShowStarrocksParamsRequest.
|
117
|
+
|
118
|
+
索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
|
119
|
+
|
120
|
+
:return: The offset of this ShowStarrocksParamsRequest.
|
121
|
+
:rtype: int
|
122
|
+
"""
|
123
|
+
return self._offset
|
124
|
+
|
125
|
+
@offset.setter
|
126
|
+
def offset(self, offset):
|
127
|
+
"""Sets the offset of this ShowStarrocksParamsRequest.
|
128
|
+
|
129
|
+
索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
|
130
|
+
|
131
|
+
:param offset: The offset of this ShowStarrocksParamsRequest.
|
132
|
+
:type offset: int
|
133
|
+
"""
|
134
|
+
self._offset = offset
|
135
|
+
|
136
|
+
@property
|
137
|
+
def limit(self):
|
138
|
+
"""Gets the limit of this ShowStarrocksParamsRequest.
|
139
|
+
|
140
|
+
查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
|
141
|
+
|
142
|
+
:return: The limit of this ShowStarrocksParamsRequest.
|
143
|
+
:rtype: int
|
144
|
+
"""
|
145
|
+
return self._limit
|
146
|
+
|
147
|
+
@limit.setter
|
148
|
+
def limit(self, limit):
|
149
|
+
"""Sets the limit of this ShowStarrocksParamsRequest.
|
150
|
+
|
151
|
+
查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
|
152
|
+
|
153
|
+
:param limit: The limit of this ShowStarrocksParamsRequest.
|
154
|
+
:type limit: int
|
155
|
+
"""
|
156
|
+
self._limit = limit
|
157
|
+
|
158
|
+
@property
|
159
|
+
def x_language(self):
|
160
|
+
"""Gets the x_language of this ShowStarrocksParamsRequest.
|
161
|
+
|
162
|
+
请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
163
|
+
|
164
|
+
:return: The x_language of this ShowStarrocksParamsRequest.
|
165
|
+
:rtype: str
|
166
|
+
"""
|
167
|
+
return self._x_language
|
168
|
+
|
169
|
+
@x_language.setter
|
170
|
+
def x_language(self, x_language):
|
171
|
+
"""Sets the x_language of this ShowStarrocksParamsRequest.
|
172
|
+
|
173
|
+
请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
174
|
+
|
175
|
+
:param x_language: The x_language of this ShowStarrocksParamsRequest.
|
176
|
+
:type x_language: str
|
177
|
+
"""
|
178
|
+
self._x_language = x_language
|
179
|
+
|
180
|
+
def to_dict(self):
|
181
|
+
"""Returns the model properties as a dict"""
|
182
|
+
result = {}
|
183
|
+
|
184
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
185
|
+
value = getattr(self, attr)
|
186
|
+
if isinstance(value, list):
|
187
|
+
result[attr] = list(map(
|
188
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
189
|
+
value
|
190
|
+
))
|
191
|
+
elif hasattr(value, "to_dict"):
|
192
|
+
result[attr] = value.to_dict()
|
193
|
+
elif isinstance(value, dict):
|
194
|
+
result[attr] = dict(map(
|
195
|
+
lambda item: (item[0], item[1].to_dict())
|
196
|
+
if hasattr(item[1], "to_dict") else item,
|
197
|
+
value.items()
|
198
|
+
))
|
199
|
+
else:
|
200
|
+
if attr in self.sensitive_list:
|
201
|
+
result[attr] = "****"
|
202
|
+
else:
|
203
|
+
result[attr] = value
|
204
|
+
|
205
|
+
return result
|
206
|
+
|
207
|
+
def to_str(self):
|
208
|
+
"""Returns the string representation of the model"""
|
209
|
+
import simplejson as json
|
210
|
+
if six.PY2:
|
211
|
+
import sys
|
212
|
+
reload(sys)
|
213
|
+
sys.setdefaultencoding("utf-8")
|
214
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
215
|
+
|
216
|
+
def __repr__(self):
|
217
|
+
"""For `print`"""
|
218
|
+
return self.to_str()
|
219
|
+
|
220
|
+
def __eq__(self, other):
|
221
|
+
"""Returns true if both objects are equal"""
|
222
|
+
if not isinstance(other, ShowStarrocksParamsRequest):
|
223
|
+
return False
|
224
|
+
|
225
|
+
return self.__dict__ == other.__dict__
|
226
|
+
|
227
|
+
def __ne__(self, other):
|
228
|
+
"""Returns true if both objects are not equal"""
|
229
|
+
return not self == other
|