huaweicloudsdkgaussdbforopengauss 3.1.126__py2.py3-none-any.whl → 3.1.128__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.
Files changed (60) hide show
  1. huaweicloudsdkgaussdbforopengauss/v3/__init__.py +50 -0
  2. huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py +1315 -46
  3. huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py +1315 -46
  4. huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py +50 -0
  5. huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_request.py +168 -0
  6. huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_request_body.py +142 -0
  7. huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_response.py +85 -0
  8. huaweicloudsdkgaussdbforopengauss/v3/model/batch_show_upgrade_candidate_versions_request.py +140 -0
  9. huaweicloudsdkgaussdbforopengauss/v3/model/batch_show_upgrade_candidate_versions_response.py +232 -0
  10. huaweicloudsdkgaussdbforopengauss/v3/model/can_be_rollbacked_hotfix_detail.py +202 -0
  11. huaweicloudsdkgaussdbforopengauss/v3/model/can_be_upgraded_hotfix_detail.py +202 -0
  12. huaweicloudsdkgaussdbforopengauss/v3/model/configurations_result.py +339 -0
  13. huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_request.py +140 -0
  14. huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_request_body.py +722 -0
  15. huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_response.py +170 -0
  16. huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_result.py +544 -0
  17. huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_request.py +168 -0
  18. huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_request_body.py +142 -0
  19. huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_response.py +85 -0
  20. huaweicloudsdkgaussdbforopengauss/v3/model/create_instance_datastore_option.py +143 -0
  21. huaweicloudsdkgaussdbforopengauss/v3/model/datastore_result.py +142 -0
  22. huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_request.py +168 -0
  23. huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_request_body.py +142 -0
  24. huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_response.py +85 -0
  25. huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_list_database_roles.py +201 -0
  26. huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_info_result.py +202 -0
  27. huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_details_request.py +318 -0
  28. huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_details_response.py +145 -0
  29. huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_result.py +372 -0
  30. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_instances_request.py +405 -0
  31. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_instances_response.py +145 -0
  32. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_roles_request.py +201 -0
  33. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_roles_response.py +145 -0
  34. huaweicloudsdkgaussdbforopengauss/v3/model/list_datastores_details_request.py +115 -0
  35. huaweicloudsdkgaussdbforopengauss/v3/model/list_datastores_details_response.py +112 -0
  36. huaweicloudsdkgaussdbforopengauss/v3/model/list_flavors_details_request.py +260 -0
  37. huaweicloudsdkgaussdbforopengauss/v3/model/list_flavors_details_response.py +145 -0
  38. huaweicloudsdkgaussdbforopengauss/v3/model/list_parameter_group_templates_request.py +173 -0
  39. huaweicloudsdkgaussdbforopengauss/v3/model/list_parameter_group_templates_response.py +145 -0
  40. huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_details_request.py +202 -0
  41. huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_details_response.py +145 -0
  42. huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_details_request.py +259 -0
  43. huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_details_response.py +145 -0
  44. huaweicloudsdkgaussdbforopengauss/v3/model/recycle_instances_detail_result_v1.py +566 -0
  45. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_detail_request.py +143 -0
  46. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_detail_response.py +232 -0
  47. huaweicloudsdkgaussdbforopengauss/v3/model/show_parameter_group_detail_request.py +143 -0
  48. huaweicloudsdkgaussdbforopengauss/v3/model/show_parameter_group_detail_response.py +319 -0
  49. huaweicloudsdkgaussdbforopengauss/v3/model/show_source_instance_detail_request.py +202 -0
  50. huaweicloudsdkgaussdbforopengauss/v3/model/show_source_instance_detail_response.py +348 -0
  51. huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_details_request.py +143 -0
  52. huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_details_response.py +373 -0
  53. huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_response.py +18 -10
  54. huaweicloudsdkgaussdbforopengauss/v3/model/sync_limit_data_request.py +114 -0
  55. huaweicloudsdkgaussdbforopengauss/v3/model/sync_limit_data_response.py +203 -0
  56. {huaweicloudsdkgaussdbforopengauss-3.1.126.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.128.dist-info}/METADATA +2 -2
  57. {huaweicloudsdkgaussdbforopengauss-3.1.126.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.128.dist-info}/RECORD +60 -10
  58. {huaweicloudsdkgaussdbforopengauss-3.1.126.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.128.dist-info}/LICENSE +0 -0
  59. {huaweicloudsdkgaussdbforopengauss-3.1.126.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.128.dist-info}/WHEEL +0 -0
  60. {huaweicloudsdkgaussdbforopengauss-3.1.126.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.128.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,232 @@
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 ShowInstanceParamGroupDetailResponse(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
+ 'datastore_version': 'str',
22
+ 'datastore_name': 'str',
23
+ 'created': 'str',
24
+ 'updated': 'str',
25
+ 'configuration_parameters': 'list[ConfigurationParameter]'
26
+ }
27
+
28
+ attribute_map = {
29
+ 'datastore_version': 'datastore_version',
30
+ 'datastore_name': 'datastore_name',
31
+ 'created': 'created',
32
+ 'updated': 'updated',
33
+ 'configuration_parameters': 'configuration_parameters'
34
+ }
35
+
36
+ def __init__(self, datastore_version=None, datastore_name=None, created=None, updated=None, configuration_parameters=None):
37
+ """ShowInstanceParamGroupDetailResponse
38
+
39
+ The model defined in huaweicloud sdk
40
+
41
+ :param datastore_version: 引擎版本。
42
+ :type datastore_version: str
43
+ :param datastore_name: 引擎名称。
44
+ :type datastore_name: str
45
+ :param created: 创建时间,格式为\"yyyy-MM-dd HH:mm:ss\"。
46
+ :type created: str
47
+ :param updated: 更新时间,格式为\"yyyy-MM-ddHH:mm:ss\"。
48
+ :type updated: str
49
+ :param configuration_parameters: 参数对象,用户基于默认参数模板自定义的参数配置。
50
+ :type configuration_parameters: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.ConfigurationParameter`]
51
+ """
52
+
53
+ super(ShowInstanceParamGroupDetailResponse, self).__init__()
54
+
55
+ self._datastore_version = None
56
+ self._datastore_name = None
57
+ self._created = None
58
+ self._updated = None
59
+ self._configuration_parameters = None
60
+ self.discriminator = None
61
+
62
+ if datastore_version is not None:
63
+ self.datastore_version = datastore_version
64
+ if datastore_name is not None:
65
+ self.datastore_name = datastore_name
66
+ if created is not None:
67
+ self.created = created
68
+ if updated is not None:
69
+ self.updated = updated
70
+ if configuration_parameters is not None:
71
+ self.configuration_parameters = configuration_parameters
72
+
73
+ @property
74
+ def datastore_version(self):
75
+ """Gets the datastore_version of this ShowInstanceParamGroupDetailResponse.
76
+
77
+ 引擎版本。
78
+
79
+ :return: The datastore_version of this ShowInstanceParamGroupDetailResponse.
80
+ :rtype: str
81
+ """
82
+ return self._datastore_version
83
+
84
+ @datastore_version.setter
85
+ def datastore_version(self, datastore_version):
86
+ """Sets the datastore_version of this ShowInstanceParamGroupDetailResponse.
87
+
88
+ 引擎版本。
89
+
90
+ :param datastore_version: The datastore_version of this ShowInstanceParamGroupDetailResponse.
91
+ :type datastore_version: str
92
+ """
93
+ self._datastore_version = datastore_version
94
+
95
+ @property
96
+ def datastore_name(self):
97
+ """Gets the datastore_name of this ShowInstanceParamGroupDetailResponse.
98
+
99
+ 引擎名称。
100
+
101
+ :return: The datastore_name of this ShowInstanceParamGroupDetailResponse.
102
+ :rtype: str
103
+ """
104
+ return self._datastore_name
105
+
106
+ @datastore_name.setter
107
+ def datastore_name(self, datastore_name):
108
+ """Sets the datastore_name of this ShowInstanceParamGroupDetailResponse.
109
+
110
+ 引擎名称。
111
+
112
+ :param datastore_name: The datastore_name of this ShowInstanceParamGroupDetailResponse.
113
+ :type datastore_name: str
114
+ """
115
+ self._datastore_name = datastore_name
116
+
117
+ @property
118
+ def created(self):
119
+ """Gets the created of this ShowInstanceParamGroupDetailResponse.
120
+
121
+ 创建时间,格式为\"yyyy-MM-dd HH:mm:ss\"。
122
+
123
+ :return: The created of this ShowInstanceParamGroupDetailResponse.
124
+ :rtype: str
125
+ """
126
+ return self._created
127
+
128
+ @created.setter
129
+ def created(self, created):
130
+ """Sets the created of this ShowInstanceParamGroupDetailResponse.
131
+
132
+ 创建时间,格式为\"yyyy-MM-dd HH:mm:ss\"。
133
+
134
+ :param created: The created of this ShowInstanceParamGroupDetailResponse.
135
+ :type created: str
136
+ """
137
+ self._created = created
138
+
139
+ @property
140
+ def updated(self):
141
+ """Gets the updated of this ShowInstanceParamGroupDetailResponse.
142
+
143
+ 更新时间,格式为\"yyyy-MM-ddHH:mm:ss\"。
144
+
145
+ :return: The updated of this ShowInstanceParamGroupDetailResponse.
146
+ :rtype: str
147
+ """
148
+ return self._updated
149
+
150
+ @updated.setter
151
+ def updated(self, updated):
152
+ """Sets the updated of this ShowInstanceParamGroupDetailResponse.
153
+
154
+ 更新时间,格式为\"yyyy-MM-ddHH:mm:ss\"。
155
+
156
+ :param updated: The updated of this ShowInstanceParamGroupDetailResponse.
157
+ :type updated: str
158
+ """
159
+ self._updated = updated
160
+
161
+ @property
162
+ def configuration_parameters(self):
163
+ """Gets the configuration_parameters of this ShowInstanceParamGroupDetailResponse.
164
+
165
+ 参数对象,用户基于默认参数模板自定义的参数配置。
166
+
167
+ :return: The configuration_parameters of this ShowInstanceParamGroupDetailResponse.
168
+ :rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.ConfigurationParameter`]
169
+ """
170
+ return self._configuration_parameters
171
+
172
+ @configuration_parameters.setter
173
+ def configuration_parameters(self, configuration_parameters):
174
+ """Sets the configuration_parameters of this ShowInstanceParamGroupDetailResponse.
175
+
176
+ 参数对象,用户基于默认参数模板自定义的参数配置。
177
+
178
+ :param configuration_parameters: The configuration_parameters of this ShowInstanceParamGroupDetailResponse.
179
+ :type configuration_parameters: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.ConfigurationParameter`]
180
+ """
181
+ self._configuration_parameters = configuration_parameters
182
+
183
+ def to_dict(self):
184
+ """Returns the model properties as a dict"""
185
+ result = {}
186
+
187
+ for attr, _ in six.iteritems(self.openapi_types):
188
+ value = getattr(self, attr)
189
+ if isinstance(value, list):
190
+ result[attr] = list(map(
191
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
192
+ value
193
+ ))
194
+ elif hasattr(value, "to_dict"):
195
+ result[attr] = value.to_dict()
196
+ elif isinstance(value, dict):
197
+ result[attr] = dict(map(
198
+ lambda item: (item[0], item[1].to_dict())
199
+ if hasattr(item[1], "to_dict") else item,
200
+ value.items()
201
+ ))
202
+ else:
203
+ if attr in self.sensitive_list:
204
+ result[attr] = "****"
205
+ else:
206
+ result[attr] = value
207
+
208
+ return result
209
+
210
+ def to_str(self):
211
+ """Returns the string representation of the model"""
212
+ import simplejson as json
213
+ if six.PY2:
214
+ import sys
215
+ reload(sys)
216
+ sys.setdefaultencoding("utf-8")
217
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
218
+
219
+ def __repr__(self):
220
+ """For `print`"""
221
+ return self.to_str()
222
+
223
+ def __eq__(self, other):
224
+ """Returns true if both objects are equal"""
225
+ if not isinstance(other, ShowInstanceParamGroupDetailResponse):
226
+ return False
227
+
228
+ return self.__dict__ == other.__dict__
229
+
230
+ def __ne__(self, other):
231
+ """Returns true if both objects are not equal"""
232
+ return not self == other
@@ -0,0 +1,143 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ShowParameterGroupDetailRequest:
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
+ 'x_language': 'str',
21
+ 'config_id': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'x_language': 'X-Language',
26
+ 'config_id': 'config_id'
27
+ }
28
+
29
+ def __init__(self, x_language=None, config_id=None):
30
+ """ShowParameterGroupDetailRequest
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param x_language: 语言,默认:en-us。
35
+ :type x_language: str
36
+ :param config_id: 参数模板ID
37
+ :type config_id: str
38
+ """
39
+
40
+
41
+
42
+ self._x_language = None
43
+ self._config_id = None
44
+ self.discriminator = None
45
+
46
+ if x_language is not None:
47
+ self.x_language = x_language
48
+ self.config_id = config_id
49
+
50
+ @property
51
+ def x_language(self):
52
+ """Gets the x_language of this ShowParameterGroupDetailRequest.
53
+
54
+ 语言,默认:en-us。
55
+
56
+ :return: The x_language of this ShowParameterGroupDetailRequest.
57
+ :rtype: str
58
+ """
59
+ return self._x_language
60
+
61
+ @x_language.setter
62
+ def x_language(self, x_language):
63
+ """Sets the x_language of this ShowParameterGroupDetailRequest.
64
+
65
+ 语言,默认:en-us。
66
+
67
+ :param x_language: The x_language of this ShowParameterGroupDetailRequest.
68
+ :type x_language: str
69
+ """
70
+ self._x_language = x_language
71
+
72
+ @property
73
+ def config_id(self):
74
+ """Gets the config_id of this ShowParameterGroupDetailRequest.
75
+
76
+ 参数模板ID
77
+
78
+ :return: The config_id of this ShowParameterGroupDetailRequest.
79
+ :rtype: str
80
+ """
81
+ return self._config_id
82
+
83
+ @config_id.setter
84
+ def config_id(self, config_id):
85
+ """Sets the config_id of this ShowParameterGroupDetailRequest.
86
+
87
+ 参数模板ID
88
+
89
+ :param config_id: The config_id of this ShowParameterGroupDetailRequest.
90
+ :type config_id: str
91
+ """
92
+ self._config_id = config_id
93
+
94
+ def to_dict(self):
95
+ """Returns the model properties as a dict"""
96
+ result = {}
97
+
98
+ for attr, _ in six.iteritems(self.openapi_types):
99
+ value = getattr(self, attr)
100
+ if isinstance(value, list):
101
+ result[attr] = list(map(
102
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
103
+ value
104
+ ))
105
+ elif hasattr(value, "to_dict"):
106
+ result[attr] = value.to_dict()
107
+ elif isinstance(value, dict):
108
+ result[attr] = dict(map(
109
+ lambda item: (item[0], item[1].to_dict())
110
+ if hasattr(item[1], "to_dict") else item,
111
+ value.items()
112
+ ))
113
+ else:
114
+ if attr in self.sensitive_list:
115
+ result[attr] = "****"
116
+ else:
117
+ result[attr] = value
118
+
119
+ return result
120
+
121
+ def to_str(self):
122
+ """Returns the string representation of the model"""
123
+ import simplejson as json
124
+ if six.PY2:
125
+ import sys
126
+ reload(sys)
127
+ sys.setdefaultencoding("utf-8")
128
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
129
+
130
+ def __repr__(self):
131
+ """For `print`"""
132
+ return self.to_str()
133
+
134
+ def __eq__(self, other):
135
+ """Returns true if both objects are equal"""
136
+ if not isinstance(other, ShowParameterGroupDetailRequest):
137
+ return False
138
+
139
+ return self.__dict__ == other.__dict__
140
+
141
+ def __ne__(self, other):
142
+ """Returns true if both objects are not equal"""
143
+ return not self == other
@@ -0,0 +1,319 @@
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 ShowParameterGroupDetailResponse(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
+ 'id': 'str',
22
+ 'name': 'str',
23
+ 'description': 'str',
24
+ 'engine_version': 'str',
25
+ 'instance_mode': 'str',
26
+ 'created_at': 'str',
27
+ 'updated_at': 'str',
28
+ 'configuration_parameters': 'list[ParaGroupParameterResult]'
29
+ }
30
+
31
+ attribute_map = {
32
+ 'id': 'id',
33
+ 'name': 'name',
34
+ 'description': 'description',
35
+ 'engine_version': 'engine_version',
36
+ 'instance_mode': 'instance_mode',
37
+ 'created_at': 'created_at',
38
+ 'updated_at': 'updated_at',
39
+ 'configuration_parameters': 'configuration_parameters'
40
+ }
41
+
42
+ def __init__(self, id=None, name=None, description=None, engine_version=None, instance_mode=None, created_at=None, updated_at=None, configuration_parameters=None):
43
+ """ShowParameterGroupDetailResponse
44
+
45
+ The model defined in huaweicloud sdk
46
+
47
+ :param id: 参数模板ID。
48
+ :type id: str
49
+ :param name: 参数模板名称。
50
+ :type name: str
51
+ :param description: 参数模板描述。
52
+ :type description: str
53
+ :param engine_version: 引擎版本。 [数据库版本。支持V2.0-2.3版本,取值为“V2.0-2.3”]。
54
+ :type engine_version: str
55
+ :param instance_mode: 实例部署形态。independent:独立;ha:主备。
56
+ :type instance_mode: str
57
+ :param created_at: 创建时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
58
+ :type created_at: str
59
+ :param updated_at: 修改时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
60
+ :type updated_at: str
61
+ :param configuration_parameters: 参数详情。
62
+ :type configuration_parameters: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.ParaGroupParameterResult`]
63
+ """
64
+
65
+ super(ShowParameterGroupDetailResponse, self).__init__()
66
+
67
+ self._id = None
68
+ self._name = None
69
+ self._description = None
70
+ self._engine_version = None
71
+ self._instance_mode = None
72
+ self._created_at = None
73
+ self._updated_at = None
74
+ self._configuration_parameters = None
75
+ self.discriminator = None
76
+
77
+ if id is not None:
78
+ self.id = id
79
+ if name is not None:
80
+ self.name = name
81
+ if description is not None:
82
+ self.description = description
83
+ if engine_version is not None:
84
+ self.engine_version = engine_version
85
+ if instance_mode is not None:
86
+ self.instance_mode = instance_mode
87
+ if created_at is not None:
88
+ self.created_at = created_at
89
+ if updated_at is not None:
90
+ self.updated_at = updated_at
91
+ if configuration_parameters is not None:
92
+ self.configuration_parameters = configuration_parameters
93
+
94
+ @property
95
+ def id(self):
96
+ """Gets the id of this ShowParameterGroupDetailResponse.
97
+
98
+ 参数模板ID。
99
+
100
+ :return: The id of this ShowParameterGroupDetailResponse.
101
+ :rtype: str
102
+ """
103
+ return self._id
104
+
105
+ @id.setter
106
+ def id(self, id):
107
+ """Sets the id of this ShowParameterGroupDetailResponse.
108
+
109
+ 参数模板ID。
110
+
111
+ :param id: The id of this ShowParameterGroupDetailResponse.
112
+ :type id: str
113
+ """
114
+ self._id = id
115
+
116
+ @property
117
+ def name(self):
118
+ """Gets the name of this ShowParameterGroupDetailResponse.
119
+
120
+ 参数模板名称。
121
+
122
+ :return: The name of this ShowParameterGroupDetailResponse.
123
+ :rtype: str
124
+ """
125
+ return self._name
126
+
127
+ @name.setter
128
+ def name(self, name):
129
+ """Sets the name of this ShowParameterGroupDetailResponse.
130
+
131
+ 参数模板名称。
132
+
133
+ :param name: The name of this ShowParameterGroupDetailResponse.
134
+ :type name: str
135
+ """
136
+ self._name = name
137
+
138
+ @property
139
+ def description(self):
140
+ """Gets the description of this ShowParameterGroupDetailResponse.
141
+
142
+ 参数模板描述。
143
+
144
+ :return: The description of this ShowParameterGroupDetailResponse.
145
+ :rtype: str
146
+ """
147
+ return self._description
148
+
149
+ @description.setter
150
+ def description(self, description):
151
+ """Sets the description of this ShowParameterGroupDetailResponse.
152
+
153
+ 参数模板描述。
154
+
155
+ :param description: The description of this ShowParameterGroupDetailResponse.
156
+ :type description: str
157
+ """
158
+ self._description = description
159
+
160
+ @property
161
+ def engine_version(self):
162
+ """Gets the engine_version of this ShowParameterGroupDetailResponse.
163
+
164
+ 引擎版本。 [数据库版本。支持V2.0-2.3版本,取值为“V2.0-2.3”]。
165
+
166
+ :return: The engine_version of this ShowParameterGroupDetailResponse.
167
+ :rtype: str
168
+ """
169
+ return self._engine_version
170
+
171
+ @engine_version.setter
172
+ def engine_version(self, engine_version):
173
+ """Sets the engine_version of this ShowParameterGroupDetailResponse.
174
+
175
+ 引擎版本。 [数据库版本。支持V2.0-2.3版本,取值为“V2.0-2.3”]。
176
+
177
+ :param engine_version: The engine_version of this ShowParameterGroupDetailResponse.
178
+ :type engine_version: str
179
+ """
180
+ self._engine_version = engine_version
181
+
182
+ @property
183
+ def instance_mode(self):
184
+ """Gets the instance_mode of this ShowParameterGroupDetailResponse.
185
+
186
+ 实例部署形态。independent:独立;ha:主备。
187
+
188
+ :return: The instance_mode of this ShowParameterGroupDetailResponse.
189
+ :rtype: str
190
+ """
191
+ return self._instance_mode
192
+
193
+ @instance_mode.setter
194
+ def instance_mode(self, instance_mode):
195
+ """Sets the instance_mode of this ShowParameterGroupDetailResponse.
196
+
197
+ 实例部署形态。independent:独立;ha:主备。
198
+
199
+ :param instance_mode: The instance_mode of this ShowParameterGroupDetailResponse.
200
+ :type instance_mode: str
201
+ """
202
+ self._instance_mode = instance_mode
203
+
204
+ @property
205
+ def created_at(self):
206
+ """Gets the created_at of this ShowParameterGroupDetailResponse.
207
+
208
+ 创建时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
209
+
210
+ :return: The created_at of this ShowParameterGroupDetailResponse.
211
+ :rtype: str
212
+ """
213
+ return self._created_at
214
+
215
+ @created_at.setter
216
+ def created_at(self, created_at):
217
+ """Sets the created_at of this ShowParameterGroupDetailResponse.
218
+
219
+ 创建时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
220
+
221
+ :param created_at: The created_at of this ShowParameterGroupDetailResponse.
222
+ :type created_at: str
223
+ """
224
+ self._created_at = created_at
225
+
226
+ @property
227
+ def updated_at(self):
228
+ """Gets the updated_at of this ShowParameterGroupDetailResponse.
229
+
230
+ 修改时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
231
+
232
+ :return: The updated_at of this ShowParameterGroupDetailResponse.
233
+ :rtype: str
234
+ """
235
+ return self._updated_at
236
+
237
+ @updated_at.setter
238
+ def updated_at(self, updated_at):
239
+ """Sets the updated_at of this ShowParameterGroupDetailResponse.
240
+
241
+ 修改时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
242
+
243
+ :param updated_at: The updated_at of this ShowParameterGroupDetailResponse.
244
+ :type updated_at: str
245
+ """
246
+ self._updated_at = updated_at
247
+
248
+ @property
249
+ def configuration_parameters(self):
250
+ """Gets the configuration_parameters of this ShowParameterGroupDetailResponse.
251
+
252
+ 参数详情。
253
+
254
+ :return: The configuration_parameters of this ShowParameterGroupDetailResponse.
255
+ :rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.ParaGroupParameterResult`]
256
+ """
257
+ return self._configuration_parameters
258
+
259
+ @configuration_parameters.setter
260
+ def configuration_parameters(self, configuration_parameters):
261
+ """Sets the configuration_parameters of this ShowParameterGroupDetailResponse.
262
+
263
+ 参数详情。
264
+
265
+ :param configuration_parameters: The configuration_parameters of this ShowParameterGroupDetailResponse.
266
+ :type configuration_parameters: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.ParaGroupParameterResult`]
267
+ """
268
+ self._configuration_parameters = configuration_parameters
269
+
270
+ def to_dict(self):
271
+ """Returns the model properties as a dict"""
272
+ result = {}
273
+
274
+ for attr, _ in six.iteritems(self.openapi_types):
275
+ value = getattr(self, attr)
276
+ if isinstance(value, list):
277
+ result[attr] = list(map(
278
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
279
+ value
280
+ ))
281
+ elif hasattr(value, "to_dict"):
282
+ result[attr] = value.to_dict()
283
+ elif isinstance(value, dict):
284
+ result[attr] = dict(map(
285
+ lambda item: (item[0], item[1].to_dict())
286
+ if hasattr(item[1], "to_dict") else item,
287
+ value.items()
288
+ ))
289
+ else:
290
+ if attr in self.sensitive_list:
291
+ result[attr] = "****"
292
+ else:
293
+ result[attr] = value
294
+
295
+ return result
296
+
297
+ def to_str(self):
298
+ """Returns the string representation of the model"""
299
+ import simplejson as json
300
+ if six.PY2:
301
+ import sys
302
+ reload(sys)
303
+ sys.setdefaultencoding("utf-8")
304
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
305
+
306
+ def __repr__(self):
307
+ """For `print`"""
308
+ return self.to_str()
309
+
310
+ def __eq__(self, other):
311
+ """Returns true if both objects are equal"""
312
+ if not isinstance(other, ShowParameterGroupDetailResponse):
313
+ return False
314
+
315
+ return self.__dict__ == other.__dict__
316
+
317
+ def __ne__(self, other):
318
+ """Returns true if both objects are not equal"""
319
+ return not self == other