huaweicloudsdkgaussdbforopengauss 3.1.97__py2.py3-none-any.whl → 3.1.99__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.
- huaweicloudsdkgaussdbforopengauss/v3/__init__.py +3 -1
- huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py +3 -1
- huaweicloudsdkgaussdbforopengauss/v3/model/available_flavor_info_result.py +18 -18
- huaweicloudsdkgaussdbforopengauss/v3/model/components.py +61 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_configuration_template_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_manual_backup_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_manual_backup_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_list_database.py +61 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_user_for_list.py +50 -21
- huaweicloudsdkgaussdbforopengauss/v3/model/{gauss_d_bfor_open_gauss_user_for_list_attributes.py → gauss_d_bfor_open_gauss_user_for_list_attribute.py} +67 -38
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_rollback_infos.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_upgrade_infos.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instances_result.py +4 -4
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/para_group_parameter_result.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/param_group_diff_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/recycle_instances_detail_result.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/search_auto_enlarge_policy_response.py +61 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_response.py +53 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/task_detail_result.py +59 -1
- huaweicloudsdkgaussdbforopengauss/v3/model/update_instance_configuration_response.py +32 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_type_info.py +32 -3
- {huaweicloudsdkgaussdbforopengauss-3.1.97.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.99.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdbforopengauss-3.1.97.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.99.dist-info}/RECORD +28 -26
- {huaweicloudsdkgaussdbforopengauss-3.1.97.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.99.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.97.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.99.dist-info}/WHEEL +0 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.97.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.99.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@ import six
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
6
|
|
7
7
|
|
8
|
-
class
|
8
|
+
class GaussDBforOpenGaussUserForListAttribute:
|
9
9
|
|
10
10
|
"""
|
11
11
|
Attributes:
|
@@ -24,7 +24,8 @@ class GaussDBforOpenGaussUserForListAttributes:
|
|
24
24
|
'rolcanlogin': 'bool',
|
25
25
|
'rolconnlimit': 'int',
|
26
26
|
'rolreplication': 'bool',
|
27
|
-
'rolbypassrls': 'bool'
|
27
|
+
'rolbypassrls': 'bool',
|
28
|
+
'rolpassworddeadline': 'str'
|
28
29
|
}
|
29
30
|
|
30
31
|
attribute_map = {
|
@@ -35,11 +36,12 @@ class GaussDBforOpenGaussUserForListAttributes:
|
|
35
36
|
'rolcanlogin': 'rolcanlogin',
|
36
37
|
'rolconnlimit': 'rolconnlimit',
|
37
38
|
'rolreplication': 'rolreplication',
|
38
|
-
'rolbypassrls': 'rolbypassrls'
|
39
|
+
'rolbypassrls': 'rolbypassrls',
|
40
|
+
'rolpassworddeadline': 'rolpassworddeadline'
|
39
41
|
}
|
40
42
|
|
41
|
-
def __init__(self, rolsuper=None, rolinherit=None, rolcreaterole=None, rolcreatedb=None, rolcanlogin=None, rolconnlimit=None, rolreplication=None, rolbypassrls=None):
|
42
|
-
"""
|
43
|
+
def __init__(self, rolsuper=None, rolinherit=None, rolcreaterole=None, rolcreatedb=None, rolcanlogin=None, rolconnlimit=None, rolreplication=None, rolbypassrls=None, rolpassworddeadline=None):
|
44
|
+
"""GaussDBforOpenGaussUserForListAttribute
|
43
45
|
|
44
46
|
The model defined in huaweicloud sdk
|
45
47
|
|
@@ -59,6 +61,8 @@ class GaussDBforOpenGaussUserForListAttributes:
|
|
59
61
|
:type rolreplication: bool
|
60
62
|
:param rolbypassrls: 用户是否绕过每个行级安全策略,取值为“true”或“false”。
|
61
63
|
:type rolbypassrls: bool
|
64
|
+
:param rolpassworddeadline: 用户密码过期时间。
|
65
|
+
:type rolpassworddeadline: str
|
62
66
|
"""
|
63
67
|
|
64
68
|
|
@@ -71,6 +75,7 @@ class GaussDBforOpenGaussUserForListAttributes:
|
|
71
75
|
self._rolconnlimit = None
|
72
76
|
self._rolreplication = None
|
73
77
|
self._rolbypassrls = None
|
78
|
+
self._rolpassworddeadline = None
|
74
79
|
self.discriminator = None
|
75
80
|
|
76
81
|
if rolsuper is not None:
|
@@ -89,183 +94,207 @@ class GaussDBforOpenGaussUserForListAttributes:
|
|
89
94
|
self.rolreplication = rolreplication
|
90
95
|
if rolbypassrls is not None:
|
91
96
|
self.rolbypassrls = rolbypassrls
|
97
|
+
if rolpassworddeadline is not None:
|
98
|
+
self.rolpassworddeadline = rolpassworddeadline
|
92
99
|
|
93
100
|
@property
|
94
101
|
def rolsuper(self):
|
95
|
-
"""Gets the rolsuper of this
|
102
|
+
"""Gets the rolsuper of this GaussDBforOpenGaussUserForListAttribute.
|
96
103
|
|
97
104
|
用户是否具有超级用户权限,取值为“true”或“false”。
|
98
105
|
|
99
|
-
:return: The rolsuper of this
|
106
|
+
:return: The rolsuper of this GaussDBforOpenGaussUserForListAttribute.
|
100
107
|
:rtype: bool
|
101
108
|
"""
|
102
109
|
return self._rolsuper
|
103
110
|
|
104
111
|
@rolsuper.setter
|
105
112
|
def rolsuper(self, rolsuper):
|
106
|
-
"""Sets the rolsuper of this
|
113
|
+
"""Sets the rolsuper of this GaussDBforOpenGaussUserForListAttribute.
|
107
114
|
|
108
115
|
用户是否具有超级用户权限,取值为“true”或“false”。
|
109
116
|
|
110
|
-
:param rolsuper: The rolsuper of this
|
117
|
+
:param rolsuper: The rolsuper of this GaussDBforOpenGaussUserForListAttribute.
|
111
118
|
:type rolsuper: bool
|
112
119
|
"""
|
113
120
|
self._rolsuper = rolsuper
|
114
121
|
|
115
122
|
@property
|
116
123
|
def rolinherit(self):
|
117
|
-
"""Gets the rolinherit of this
|
124
|
+
"""Gets the rolinherit of this GaussDBforOpenGaussUserForListAttribute.
|
118
125
|
|
119
126
|
用户是否自动继承其所属角色的权限,取值为“true”或“false”。
|
120
127
|
|
121
|
-
:return: The rolinherit of this
|
128
|
+
:return: The rolinherit of this GaussDBforOpenGaussUserForListAttribute.
|
122
129
|
:rtype: bool
|
123
130
|
"""
|
124
131
|
return self._rolinherit
|
125
132
|
|
126
133
|
@rolinherit.setter
|
127
134
|
def rolinherit(self, rolinherit):
|
128
|
-
"""Sets the rolinherit of this
|
135
|
+
"""Sets the rolinherit of this GaussDBforOpenGaussUserForListAttribute.
|
129
136
|
|
130
137
|
用户是否自动继承其所属角色的权限,取值为“true”或“false”。
|
131
138
|
|
132
|
-
:param rolinherit: The rolinherit of this
|
139
|
+
:param rolinherit: The rolinherit of this GaussDBforOpenGaussUserForListAttribute.
|
133
140
|
:type rolinherit: bool
|
134
141
|
"""
|
135
142
|
self._rolinherit = rolinherit
|
136
143
|
|
137
144
|
@property
|
138
145
|
def rolcreaterole(self):
|
139
|
-
"""Gets the rolcreaterole of this
|
146
|
+
"""Gets the rolcreaterole of this GaussDBforOpenGaussUserForListAttribute.
|
140
147
|
|
141
148
|
用户是否支持创建其他子用户,取值为“true”或“false”。
|
142
149
|
|
143
|
-
:return: The rolcreaterole of this
|
150
|
+
:return: The rolcreaterole of this GaussDBforOpenGaussUserForListAttribute.
|
144
151
|
:rtype: bool
|
145
152
|
"""
|
146
153
|
return self._rolcreaterole
|
147
154
|
|
148
155
|
@rolcreaterole.setter
|
149
156
|
def rolcreaterole(self, rolcreaterole):
|
150
|
-
"""Sets the rolcreaterole of this
|
157
|
+
"""Sets the rolcreaterole of this GaussDBforOpenGaussUserForListAttribute.
|
151
158
|
|
152
159
|
用户是否支持创建其他子用户,取值为“true”或“false”。
|
153
160
|
|
154
|
-
:param rolcreaterole: The rolcreaterole of this
|
161
|
+
:param rolcreaterole: The rolcreaterole of this GaussDBforOpenGaussUserForListAttribute.
|
155
162
|
:type rolcreaterole: bool
|
156
163
|
"""
|
157
164
|
self._rolcreaterole = rolcreaterole
|
158
165
|
|
159
166
|
@property
|
160
167
|
def rolcreatedb(self):
|
161
|
-
"""Gets the rolcreatedb of this
|
168
|
+
"""Gets the rolcreatedb of this GaussDBforOpenGaussUserForListAttribute.
|
162
169
|
|
163
170
|
用户是否可以创建数据库,取值为“true”或“false”。
|
164
171
|
|
165
|
-
:return: The rolcreatedb of this
|
172
|
+
:return: The rolcreatedb of this GaussDBforOpenGaussUserForListAttribute.
|
166
173
|
:rtype: bool
|
167
174
|
"""
|
168
175
|
return self._rolcreatedb
|
169
176
|
|
170
177
|
@rolcreatedb.setter
|
171
178
|
def rolcreatedb(self, rolcreatedb):
|
172
|
-
"""Sets the rolcreatedb of this
|
179
|
+
"""Sets the rolcreatedb of this GaussDBforOpenGaussUserForListAttribute.
|
173
180
|
|
174
181
|
用户是否可以创建数据库,取值为“true”或“false”。
|
175
182
|
|
176
|
-
:param rolcreatedb: The rolcreatedb of this
|
183
|
+
:param rolcreatedb: The rolcreatedb of this GaussDBforOpenGaussUserForListAttribute.
|
177
184
|
:type rolcreatedb: bool
|
178
185
|
"""
|
179
186
|
self._rolcreatedb = rolcreatedb
|
180
187
|
|
181
188
|
@property
|
182
189
|
def rolcanlogin(self):
|
183
|
-
"""Gets the rolcanlogin of this
|
190
|
+
"""Gets the rolcanlogin of this GaussDBforOpenGaussUserForListAttribute.
|
184
191
|
|
185
192
|
用户是否可以登录数据库,取值为“true”或“false”。
|
186
193
|
|
187
|
-
:return: The rolcanlogin of this
|
194
|
+
:return: The rolcanlogin of this GaussDBforOpenGaussUserForListAttribute.
|
188
195
|
:rtype: bool
|
189
196
|
"""
|
190
197
|
return self._rolcanlogin
|
191
198
|
|
192
199
|
@rolcanlogin.setter
|
193
200
|
def rolcanlogin(self, rolcanlogin):
|
194
|
-
"""Sets the rolcanlogin of this
|
201
|
+
"""Sets the rolcanlogin of this GaussDBforOpenGaussUserForListAttribute.
|
195
202
|
|
196
203
|
用户是否可以登录数据库,取值为“true”或“false”。
|
197
204
|
|
198
|
-
:param rolcanlogin: The rolcanlogin of this
|
205
|
+
:param rolcanlogin: The rolcanlogin of this GaussDBforOpenGaussUserForListAttribute.
|
199
206
|
:type rolcanlogin: bool
|
200
207
|
"""
|
201
208
|
self._rolcanlogin = rolcanlogin
|
202
209
|
|
203
210
|
@property
|
204
211
|
def rolconnlimit(self):
|
205
|
-
"""Gets the rolconnlimit of this
|
212
|
+
"""Gets the rolconnlimit of this GaussDBforOpenGaussUserForListAttribute.
|
206
213
|
|
207
214
|
用户连接实例的最大并发连接数。-1表示没有限制。
|
208
215
|
|
209
|
-
:return: The rolconnlimit of this
|
216
|
+
:return: The rolconnlimit of this GaussDBforOpenGaussUserForListAttribute.
|
210
217
|
:rtype: int
|
211
218
|
"""
|
212
219
|
return self._rolconnlimit
|
213
220
|
|
214
221
|
@rolconnlimit.setter
|
215
222
|
def rolconnlimit(self, rolconnlimit):
|
216
|
-
"""Sets the rolconnlimit of this
|
223
|
+
"""Sets the rolconnlimit of this GaussDBforOpenGaussUserForListAttribute.
|
217
224
|
|
218
225
|
用户连接实例的最大并发连接数。-1表示没有限制。
|
219
226
|
|
220
|
-
:param rolconnlimit: The rolconnlimit of this
|
227
|
+
:param rolconnlimit: The rolconnlimit of this GaussDBforOpenGaussUserForListAttribute.
|
221
228
|
:type rolconnlimit: int
|
222
229
|
"""
|
223
230
|
self._rolconnlimit = rolconnlimit
|
224
231
|
|
225
232
|
@property
|
226
233
|
def rolreplication(self):
|
227
|
-
"""Gets the rolreplication of this
|
234
|
+
"""Gets the rolreplication of this GaussDBforOpenGaussUserForListAttribute.
|
228
235
|
|
229
236
|
用户是否属于复制角色,取值为“true”或“false”。
|
230
237
|
|
231
|
-
:return: The rolreplication of this
|
238
|
+
:return: The rolreplication of this GaussDBforOpenGaussUserForListAttribute.
|
232
239
|
:rtype: bool
|
233
240
|
"""
|
234
241
|
return self._rolreplication
|
235
242
|
|
236
243
|
@rolreplication.setter
|
237
244
|
def rolreplication(self, rolreplication):
|
238
|
-
"""Sets the rolreplication of this
|
245
|
+
"""Sets the rolreplication of this GaussDBforOpenGaussUserForListAttribute.
|
239
246
|
|
240
247
|
用户是否属于复制角色,取值为“true”或“false”。
|
241
248
|
|
242
|
-
:param rolreplication: The rolreplication of this
|
249
|
+
:param rolreplication: The rolreplication of this GaussDBforOpenGaussUserForListAttribute.
|
243
250
|
:type rolreplication: bool
|
244
251
|
"""
|
245
252
|
self._rolreplication = rolreplication
|
246
253
|
|
247
254
|
@property
|
248
255
|
def rolbypassrls(self):
|
249
|
-
"""Gets the rolbypassrls of this
|
256
|
+
"""Gets the rolbypassrls of this GaussDBforOpenGaussUserForListAttribute.
|
250
257
|
|
251
258
|
用户是否绕过每个行级安全策略,取值为“true”或“false”。
|
252
259
|
|
253
|
-
:return: The rolbypassrls of this
|
260
|
+
:return: The rolbypassrls of this GaussDBforOpenGaussUserForListAttribute.
|
254
261
|
:rtype: bool
|
255
262
|
"""
|
256
263
|
return self._rolbypassrls
|
257
264
|
|
258
265
|
@rolbypassrls.setter
|
259
266
|
def rolbypassrls(self, rolbypassrls):
|
260
|
-
"""Sets the rolbypassrls of this
|
267
|
+
"""Sets the rolbypassrls of this GaussDBforOpenGaussUserForListAttribute.
|
261
268
|
|
262
269
|
用户是否绕过每个行级安全策略,取值为“true”或“false”。
|
263
270
|
|
264
|
-
:param rolbypassrls: The rolbypassrls of this
|
271
|
+
:param rolbypassrls: The rolbypassrls of this GaussDBforOpenGaussUserForListAttribute.
|
265
272
|
:type rolbypassrls: bool
|
266
273
|
"""
|
267
274
|
self._rolbypassrls = rolbypassrls
|
268
275
|
|
276
|
+
@property
|
277
|
+
def rolpassworddeadline(self):
|
278
|
+
"""Gets the rolpassworddeadline of this GaussDBforOpenGaussUserForListAttribute.
|
279
|
+
|
280
|
+
用户密码过期时间。
|
281
|
+
|
282
|
+
:return: The rolpassworddeadline of this GaussDBforOpenGaussUserForListAttribute.
|
283
|
+
:rtype: str
|
284
|
+
"""
|
285
|
+
return self._rolpassworddeadline
|
286
|
+
|
287
|
+
@rolpassworddeadline.setter
|
288
|
+
def rolpassworddeadline(self, rolpassworddeadline):
|
289
|
+
"""Sets the rolpassworddeadline of this GaussDBforOpenGaussUserForListAttribute.
|
290
|
+
|
291
|
+
用户密码过期时间。
|
292
|
+
|
293
|
+
:param rolpassworddeadline: The rolpassworddeadline of this GaussDBforOpenGaussUserForListAttribute.
|
294
|
+
:type rolpassworddeadline: str
|
295
|
+
"""
|
296
|
+
self._rolpassworddeadline = rolpassworddeadline
|
297
|
+
|
269
298
|
def to_dict(self):
|
270
299
|
"""Returns the model properties as a dict"""
|
271
300
|
result = {}
|
@@ -308,7 +337,7 @@ class GaussDBforOpenGaussUserForListAttributes:
|
|
308
337
|
|
309
338
|
def __eq__(self, other):
|
310
339
|
"""Returns true if both objects are equal"""
|
311
|
-
if not isinstance(other,
|
340
|
+
if not isinstance(other, GaussDBforOpenGaussUserForListAttribute):
|
312
341
|
return False
|
313
342
|
|
314
343
|
return self.__dict__ == other.__dict__
|
@@ -0,0 +1,202 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class HotfixRollbackInfos:
|
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
|
+
'version': 'str',
|
21
|
+
'common_patch': 'str',
|
22
|
+
'backup_sensitive': 'bool',
|
23
|
+
'descripition': 'str'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'version': 'version',
|
28
|
+
'common_patch': 'common_patch',
|
29
|
+
'backup_sensitive': 'backup_sensitive',
|
30
|
+
'descripition': 'descripition'
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, version=None, common_patch=None, backup_sensitive=None, descripition=None):
|
34
|
+
"""HotfixRollbackInfos
|
35
|
+
|
36
|
+
The model defined in huaweicloud sdk
|
37
|
+
|
38
|
+
:param version: 热补丁版本。
|
39
|
+
:type version: str
|
40
|
+
:param common_patch: 通用/非通用补丁信息。 枚举值: \"common\": 通用补丁。 \"certain\": 定制补丁。
|
41
|
+
:type common_patch: str
|
42
|
+
:param backup_sensitive: 是否和备份相关。
|
43
|
+
:type backup_sensitive: bool
|
44
|
+
:param descripition: 补丁的描述信息。
|
45
|
+
:type descripition: str
|
46
|
+
"""
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
self._version = None
|
51
|
+
self._common_patch = None
|
52
|
+
self._backup_sensitive = None
|
53
|
+
self._descripition = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
if version is not None:
|
57
|
+
self.version = version
|
58
|
+
if common_patch is not None:
|
59
|
+
self.common_patch = common_patch
|
60
|
+
if backup_sensitive is not None:
|
61
|
+
self.backup_sensitive = backup_sensitive
|
62
|
+
if descripition is not None:
|
63
|
+
self.descripition = descripition
|
64
|
+
|
65
|
+
@property
|
66
|
+
def version(self):
|
67
|
+
"""Gets the version of this HotfixRollbackInfos.
|
68
|
+
|
69
|
+
热补丁版本。
|
70
|
+
|
71
|
+
:return: The version of this HotfixRollbackInfos.
|
72
|
+
:rtype: str
|
73
|
+
"""
|
74
|
+
return self._version
|
75
|
+
|
76
|
+
@version.setter
|
77
|
+
def version(self, version):
|
78
|
+
"""Sets the version of this HotfixRollbackInfos.
|
79
|
+
|
80
|
+
热补丁版本。
|
81
|
+
|
82
|
+
:param version: The version of this HotfixRollbackInfos.
|
83
|
+
:type version: str
|
84
|
+
"""
|
85
|
+
self._version = version
|
86
|
+
|
87
|
+
@property
|
88
|
+
def common_patch(self):
|
89
|
+
"""Gets the common_patch of this HotfixRollbackInfos.
|
90
|
+
|
91
|
+
通用/非通用补丁信息。 枚举值: \"common\": 通用补丁。 \"certain\": 定制补丁。
|
92
|
+
|
93
|
+
:return: The common_patch of this HotfixRollbackInfos.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._common_patch
|
97
|
+
|
98
|
+
@common_patch.setter
|
99
|
+
def common_patch(self, common_patch):
|
100
|
+
"""Sets the common_patch of this HotfixRollbackInfos.
|
101
|
+
|
102
|
+
通用/非通用补丁信息。 枚举值: \"common\": 通用补丁。 \"certain\": 定制补丁。
|
103
|
+
|
104
|
+
:param common_patch: The common_patch of this HotfixRollbackInfos.
|
105
|
+
:type common_patch: str
|
106
|
+
"""
|
107
|
+
self._common_patch = common_patch
|
108
|
+
|
109
|
+
@property
|
110
|
+
def backup_sensitive(self):
|
111
|
+
"""Gets the backup_sensitive of this HotfixRollbackInfos.
|
112
|
+
|
113
|
+
是否和备份相关。
|
114
|
+
|
115
|
+
:return: The backup_sensitive of this HotfixRollbackInfos.
|
116
|
+
:rtype: bool
|
117
|
+
"""
|
118
|
+
return self._backup_sensitive
|
119
|
+
|
120
|
+
@backup_sensitive.setter
|
121
|
+
def backup_sensitive(self, backup_sensitive):
|
122
|
+
"""Sets the backup_sensitive of this HotfixRollbackInfos.
|
123
|
+
|
124
|
+
是否和备份相关。
|
125
|
+
|
126
|
+
:param backup_sensitive: The backup_sensitive of this HotfixRollbackInfos.
|
127
|
+
:type backup_sensitive: bool
|
128
|
+
"""
|
129
|
+
self._backup_sensitive = backup_sensitive
|
130
|
+
|
131
|
+
@property
|
132
|
+
def descripition(self):
|
133
|
+
"""Gets the descripition of this HotfixRollbackInfos.
|
134
|
+
|
135
|
+
补丁的描述信息。
|
136
|
+
|
137
|
+
:return: The descripition of this HotfixRollbackInfos.
|
138
|
+
:rtype: str
|
139
|
+
"""
|
140
|
+
return self._descripition
|
141
|
+
|
142
|
+
@descripition.setter
|
143
|
+
def descripition(self, descripition):
|
144
|
+
"""Sets the descripition of this HotfixRollbackInfos.
|
145
|
+
|
146
|
+
补丁的描述信息。
|
147
|
+
|
148
|
+
:param descripition: The descripition of this HotfixRollbackInfos.
|
149
|
+
:type descripition: str
|
150
|
+
"""
|
151
|
+
self._descripition = descripition
|
152
|
+
|
153
|
+
def to_dict(self):
|
154
|
+
"""Returns the model properties as a dict"""
|
155
|
+
result = {}
|
156
|
+
|
157
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
158
|
+
value = getattr(self, attr)
|
159
|
+
if isinstance(value, list):
|
160
|
+
result[attr] = list(map(
|
161
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
162
|
+
value
|
163
|
+
))
|
164
|
+
elif hasattr(value, "to_dict"):
|
165
|
+
result[attr] = value.to_dict()
|
166
|
+
elif isinstance(value, dict):
|
167
|
+
result[attr] = dict(map(
|
168
|
+
lambda item: (item[0], item[1].to_dict())
|
169
|
+
if hasattr(item[1], "to_dict") else item,
|
170
|
+
value.items()
|
171
|
+
))
|
172
|
+
else:
|
173
|
+
if attr in self.sensitive_list:
|
174
|
+
result[attr] = "****"
|
175
|
+
else:
|
176
|
+
result[attr] = value
|
177
|
+
|
178
|
+
return result
|
179
|
+
|
180
|
+
def to_str(self):
|
181
|
+
"""Returns the string representation of the model"""
|
182
|
+
import simplejson as json
|
183
|
+
if six.PY2:
|
184
|
+
import sys
|
185
|
+
reload(sys)
|
186
|
+
sys.setdefaultencoding("utf-8")
|
187
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
188
|
+
|
189
|
+
def __repr__(self):
|
190
|
+
"""For `print`"""
|
191
|
+
return self.to_str()
|
192
|
+
|
193
|
+
def __eq__(self, other):
|
194
|
+
"""Returns true if both objects are equal"""
|
195
|
+
if not isinstance(other, HotfixRollbackInfos):
|
196
|
+
return False
|
197
|
+
|
198
|
+
return self.__dict__ == other.__dict__
|
199
|
+
|
200
|
+
def __ne__(self, other):
|
201
|
+
"""Returns true if both objects are not equal"""
|
202
|
+
return not self == other
|