huaweicloudsdkdns 3.1.131__py2.py3-none-any.whl → 3.1.133__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 (69) hide show
  1. huaweicloudsdkdns/v2/__init__.py +20 -5
  2. huaweicloudsdkdns/v2/dns_async_client.py +298 -10
  3. huaweicloudsdkdns/v2/dns_client.py +298 -10
  4. huaweicloudsdkdns/v2/model/__init__.py +20 -5
  5. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request.py +111 -0
  6. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +142 -0
  7. huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +141 -0
  8. huaweicloudsdkdns/v2/model/batch_delete_zones_request.py +111 -0
  9. huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +142 -0
  10. huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +141 -0
  11. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request.py +111 -0
  12. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +142 -0
  13. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +166 -0
  14. huaweicloudsdkdns/v2/model/batch_set_zones_status_request.py +111 -0
  15. huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +142 -0
  16. huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +166 -0
  17. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +4 -4
  18. huaweicloudsdkdns/v2/model/{batch_update_record_set_with_line_req.py → batch_update_record_set_with_line_request_body.py} +7 -7
  19. huaweicloudsdkdns/v2/model/create_custom_line_request.py +4 -4
  20. huaweicloudsdkdns/v2/model/{create_custom_lines.py → create_custom_line_request_body.py} +15 -15
  21. huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +3 -3
  22. huaweicloudsdkdns/v2/model/create_private_zone_req.py +3 -3
  23. huaweicloudsdkdns/v2/model/create_private_zone_response.py +3 -3
  24. huaweicloudsdkdns/v2/model/create_public_zone_req.py +6 -6
  25. huaweicloudsdkdns/v2/model/create_public_zone_response.py +3 -3
  26. huaweicloudsdkdns/v2/model/create_record_set_request_body.py +3 -3
  27. huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +3 -3
  28. huaweicloudsdkdns/v2/model/delete_custom_line_request.py +3 -3
  29. huaweicloudsdkdns/v2/model/delete_line_group_request.py +3 -3
  30. huaweicloudsdkdns/v2/model/delete_private_zone_response.py +3 -3
  31. huaweicloudsdkdns/v2/model/delete_public_zone_response.py +3 -3
  32. huaweicloudsdkdns/v2/model/link.py +115 -0
  33. huaweicloudsdkdns/v2/model/list_custom_line_request.py +64 -6
  34. huaweicloudsdkdns/v2/model/list_line_groups_request.py +3 -3
  35. huaweicloudsdkdns/v2/model/list_private_zones_request.py +125 -9
  36. huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +3 -3
  37. huaweicloudsdkdns/v2/model/list_ptr_records_request.py +3 -3
  38. huaweicloudsdkdns/v2/model/list_ptr_records_response.py +3 -3
  39. huaweicloudsdkdns/v2/model/list_public_zones_request.py +97 -10
  40. huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +6 -6
  41. huaweicloudsdkdns/v2/model/list_record_sets_request.py +6 -6
  42. huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +36 -7
  43. huaweicloudsdkdns/v2/model/private_zone_resp.py +3 -3
  44. huaweicloudsdkdns/v2/model/public_zone_resp.py +3 -3
  45. huaweicloudsdkdns/v2/model/recordset_data.py +600 -0
  46. huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +4 -4
  47. huaweicloudsdkdns/v2/model/{set_record_sets_status_req.py → set_record_sets_status_request_body.py} +7 -7
  48. huaweicloudsdkdns/v2/model/show_line_group_request.py +3 -3
  49. huaweicloudsdkdns/v2/model/show_private_zone_response.py +3 -3
  50. huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +3 -3
  51. huaweicloudsdkdns/v2/model/show_public_zone_response.py +3 -3
  52. huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +6 -6
  53. huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +35 -35
  54. huaweicloudsdkdns/v2/model/update_custom_line_request.py +7 -7
  55. huaweicloudsdkdns/v2/model/{update_customs_line_req.py → update_custom_line_request_body.py} +15 -15
  56. huaweicloudsdkdns/v2/model/update_line_groups_request.py +7 -7
  57. huaweicloudsdkdns/v2/model/{update_line_groups_body.py → update_line_groups_request_body.py} +15 -15
  58. huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +3 -3
  59. huaweicloudsdkdns/v2/model/update_private_zone_response.py +3 -3
  60. huaweicloudsdkdns/v2/model/update_ptr_record_response.py +3 -3
  61. huaweicloudsdkdns/v2/model/update_public_zone_info.py +3 -3
  62. huaweicloudsdkdns/v2/model/update_public_zone_response.py +3 -3
  63. huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +3 -3
  64. huaweicloudsdkdns/v2/model/zone_data.py +517 -0
  65. {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/METADATA +2 -2
  66. {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/RECORD +69 -54
  67. {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/LICENSE +0 -0
  68. {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/WHEEL +0 -0
  69. {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/top_level.txt +0 -0
@@ -70,7 +70,7 @@ class ShowPrivateZoneResponse(SdkResponse):
70
70
  :type name: str
71
71
  :param description: 对zone的描述信息。
72
72
  :type description: str
73
- :param email: 管理该zone的管理员邮箱。
73
+ :param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
74
74
  :type email: str
75
75
  :param zone_type: zone类型,内网(private)。
76
76
  :type zone_type: str
@@ -231,7 +231,7 @@ class ShowPrivateZoneResponse(SdkResponse):
231
231
  def email(self):
232
232
  """Gets the email of this ShowPrivateZoneResponse.
233
233
 
234
- 管理该zone的管理员邮箱。
234
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
235
235
 
236
236
  :return: The email of this ShowPrivateZoneResponse.
237
237
  :rtype: str
@@ -242,7 +242,7 @@ class ShowPrivateZoneResponse(SdkResponse):
242
242
  def email(self, email):
243
243
  """Sets the email of this ShowPrivateZoneResponse.
244
244
 
245
- 管理该zone的管理员邮箱。
245
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
246
246
 
247
247
  :param email: The email of this ShowPrivateZoneResponse.
248
248
  :type email: str
@@ -54,7 +54,7 @@ class ShowPtrRecordSetResponse(SdkResponse):
54
54
  :type description: str
55
55
  :param ttl: PTR记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
56
56
  :type ttl: int
57
- :param address: 弹性IP的IP地址。
57
+ :param address: 弹性公网IP的IP地址。
58
58
  :type address: str
59
59
  :param status: 资源状态。
60
60
  :type status: str
@@ -190,7 +190,7 @@ class ShowPtrRecordSetResponse(SdkResponse):
190
190
  def address(self):
191
191
  """Gets the address of this ShowPtrRecordSetResponse.
192
192
 
193
- 弹性IP的IP地址。
193
+ 弹性公网IP的IP地址。
194
194
 
195
195
  :return: The address of this ShowPtrRecordSetResponse.
196
196
  :rtype: str
@@ -201,7 +201,7 @@ class ShowPtrRecordSetResponse(SdkResponse):
201
201
  def address(self, address):
202
202
  """Sets the address of this ShowPtrRecordSetResponse.
203
203
 
204
- 弹性IP的IP地址。
204
+ 弹性公网IP的IP地址。
205
205
 
206
206
  :param address: The address of this ShowPtrRecordSetResponse.
207
207
  :type address: str
@@ -66,7 +66,7 @@ class ShowPublicZoneResponse(SdkResponse):
66
66
  :type name: str
67
67
  :param description: 对zone的描述信息
68
68
  :type description: str
69
- :param email: 管理该zone的管理员邮箱
69
+ :param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
70
70
  :type email: str
71
71
  :param zone_type: zone类型,公网(public)。
72
72
  :type zone_type: str
@@ -217,7 +217,7 @@ class ShowPublicZoneResponse(SdkResponse):
217
217
  def email(self):
218
218
  """Gets the email of this ShowPublicZoneResponse.
219
219
 
220
- 管理该zone的管理员邮箱
220
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
221
221
 
222
222
  :return: The email of this ShowPublicZoneResponse.
223
223
  :rtype: str
@@ -228,7 +228,7 @@ class ShowPublicZoneResponse(SdkResponse):
228
228
  def email(self, email):
229
229
  """Sets the email of this ShowPublicZoneResponse.
230
230
 
231
- 管理该zone的管理员邮箱
231
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
232
232
 
233
233
  :param email: The email of this ShowPublicZoneResponse.
234
234
  :type email: str
@@ -71,9 +71,9 @@ class ShowRecordSetByZoneRequest:
71
71
  :type type: str
72
72
  :param name: 待查询的Record Set的域名中包含此name。 搜索模式默认为模糊搜索。 默认值为空。
73
73
  :type name: str
74
- :param id: 待查询的Record Set的id包含此id。 搜索模式默认为模糊搜索。 默认值为空。
74
+ :param id: 待查询的Record Set的id包含此id。
75
75
  :type id: str
76
- :param sort_key: 查询结果中Record Set列表的排序字段。 取值范围: name:域名 type:记录集类型 默认值为空,表示不排序。
76
+ :param sort_key: 查询结果中Record Set列表的排序字段。 取值范围: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
77
77
  :type sort_key: str
78
78
  :param sort_dir: 查询结果中Record Set列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
79
79
  :type sort_dir: str
@@ -326,7 +326,7 @@ class ShowRecordSetByZoneRequest:
326
326
  def id(self):
327
327
  """Gets the id of this ShowRecordSetByZoneRequest.
328
328
 
329
- 待查询的Record Set的id包含此id。 搜索模式默认为模糊搜索。 默认值为空。
329
+ 待查询的Record Set的id包含此id。
330
330
 
331
331
  :return: The id of this ShowRecordSetByZoneRequest.
332
332
  :rtype: str
@@ -337,7 +337,7 @@ class ShowRecordSetByZoneRequest:
337
337
  def id(self, id):
338
338
  """Sets the id of this ShowRecordSetByZoneRequest.
339
339
 
340
- 待查询的Record Set的id包含此id。 搜索模式默认为模糊搜索。 默认值为空。
340
+ 待查询的Record Set的id包含此id。
341
341
 
342
342
  :param id: The id of this ShowRecordSetByZoneRequest.
343
343
  :type id: str
@@ -348,7 +348,7 @@ class ShowRecordSetByZoneRequest:
348
348
  def sort_key(self):
349
349
  """Gets the sort_key of this ShowRecordSetByZoneRequest.
350
350
 
351
- 查询结果中Record Set列表的排序字段。 取值范围: name:域名 type:记录集类型 默认值为空,表示不排序。
351
+ 查询结果中Record Set列表的排序字段。 取值范围: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
352
352
 
353
353
  :return: The sort_key of this ShowRecordSetByZoneRequest.
354
354
  :rtype: str
@@ -359,7 +359,7 @@ class ShowRecordSetByZoneRequest:
359
359
  def sort_key(self, sort_key):
360
360
  """Sets the sort_key of this ShowRecordSetByZoneRequest.
361
361
 
362
- 查询结果中Record Set列表的排序字段。 取值范围: name:域名 type:记录集类型 默认值为空,表示不排序。
362
+ 查询结果中Record Set列表的排序字段。 取值范围: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
363
363
 
364
364
  :param sort_key: The sort_key of this ShowRecordSetByZoneRequest.
365
365
  :type sort_key: str
@@ -25,8 +25,8 @@ class ShowRecordSetByZoneResp:
25
25
  'type': 'str',
26
26
  'ttl': 'int',
27
27
  'records': 'list[str]',
28
- 'create_at': 'str',
29
- 'update_at': 'str',
28
+ 'created_at': 'str',
29
+ 'updated_at': 'str',
30
30
  'status': 'str',
31
31
  'default': 'bool',
32
32
  'project_id': 'str',
@@ -46,8 +46,8 @@ class ShowRecordSetByZoneResp:
46
46
  'type': 'type',
47
47
  'ttl': 'ttl',
48
48
  'records': 'records',
49
- 'create_at': 'create_at',
50
- 'update_at': 'update_at',
49
+ 'created_at': 'created_at',
50
+ 'updated_at': 'updated_at',
51
51
  'status': 'status',
52
52
  'default': 'default',
53
53
  'project_id': 'project_id',
@@ -58,7 +58,7 @@ class ShowRecordSetByZoneResp:
58
58
  'alias_target': 'alias_target'
59
59
  }
60
60
 
61
- def __init__(self, id=None, name=None, description=None, zone_id=None, zone_name=None, type=None, ttl=None, records=None, create_at=None, update_at=None, status=None, default=None, project_id=None, links=None, line=None, weight=None, health_check_id=None, alias_target=None):
61
+ def __init__(self, id=None, name=None, description=None, zone_id=None, zone_name=None, type=None, ttl=None, records=None, created_at=None, updated_at=None, status=None, default=None, project_id=None, links=None, line=None, weight=None, health_check_id=None, alias_target=None):
62
62
  """ShowRecordSetByZoneResp
63
63
 
64
64
  The model defined in huaweicloud sdk
@@ -79,10 +79,10 @@ class ShowRecordSetByZoneResp:
79
79
  :type ttl: int
80
80
  :param records: 域名解析后的值。
81
81
  :type records: list[str]
82
- :param create_at: 创建时间。
83
- :type create_at: str
84
- :param update_at: 更新时间。
85
- :type update_at: str
82
+ :param created_at: 创建时间。
83
+ :type created_at: str
84
+ :param updated_at: 更新时间。
85
+ :type updated_at: str
86
86
  :param status: 资源状态。
87
87
  :type status: str
88
88
  :param default: 标识是否由系统默认生成,系统默认生成的Record Set不能删除。
@@ -111,8 +111,8 @@ class ShowRecordSetByZoneResp:
111
111
  self._type = None
112
112
  self._ttl = None
113
113
  self._records = None
114
- self._create_at = None
115
- self._update_at = None
114
+ self._created_at = None
115
+ self._updated_at = None
116
116
  self._status = None
117
117
  self._default = None
118
118
  self._project_id = None
@@ -139,10 +139,10 @@ class ShowRecordSetByZoneResp:
139
139
  self.ttl = ttl
140
140
  if records is not None:
141
141
  self.records = records
142
- if create_at is not None:
143
- self.create_at = create_at
144
- if update_at is not None:
145
- self.update_at = update_at
142
+ if created_at is not None:
143
+ self.created_at = created_at
144
+ if updated_at is not None:
145
+ self.updated_at = updated_at
146
146
  if status is not None:
147
147
  self.status = status
148
148
  if default is not None:
@@ -337,48 +337,48 @@ class ShowRecordSetByZoneResp:
337
337
  self._records = records
338
338
 
339
339
  @property
340
- def create_at(self):
341
- """Gets the create_at of this ShowRecordSetByZoneResp.
340
+ def created_at(self):
341
+ """Gets the created_at of this ShowRecordSetByZoneResp.
342
342
 
343
343
  创建时间。
344
344
 
345
- :return: The create_at of this ShowRecordSetByZoneResp.
345
+ :return: The created_at of this ShowRecordSetByZoneResp.
346
346
  :rtype: str
347
347
  """
348
- return self._create_at
348
+ return self._created_at
349
349
 
350
- @create_at.setter
351
- def create_at(self, create_at):
352
- """Sets the create_at of this ShowRecordSetByZoneResp.
350
+ @created_at.setter
351
+ def created_at(self, created_at):
352
+ """Sets the created_at of this ShowRecordSetByZoneResp.
353
353
 
354
354
  创建时间。
355
355
 
356
- :param create_at: The create_at of this ShowRecordSetByZoneResp.
357
- :type create_at: str
356
+ :param created_at: The created_at of this ShowRecordSetByZoneResp.
357
+ :type created_at: str
358
358
  """
359
- self._create_at = create_at
359
+ self._created_at = created_at
360
360
 
361
361
  @property
362
- def update_at(self):
363
- """Gets the update_at of this ShowRecordSetByZoneResp.
362
+ def updated_at(self):
363
+ """Gets the updated_at of this ShowRecordSetByZoneResp.
364
364
 
365
365
  更新时间。
366
366
 
367
- :return: The update_at of this ShowRecordSetByZoneResp.
367
+ :return: The updated_at of this ShowRecordSetByZoneResp.
368
368
  :rtype: str
369
369
  """
370
- return self._update_at
370
+ return self._updated_at
371
371
 
372
- @update_at.setter
373
- def update_at(self, update_at):
374
- """Sets the update_at of this ShowRecordSetByZoneResp.
372
+ @updated_at.setter
373
+ def updated_at(self, updated_at):
374
+ """Sets the updated_at of this ShowRecordSetByZoneResp.
375
375
 
376
376
  更新时间。
377
377
 
378
- :param update_at: The update_at of this ShowRecordSetByZoneResp.
379
- :type update_at: str
378
+ :param updated_at: The updated_at of this ShowRecordSetByZoneResp.
379
+ :type updated_at: str
380
380
  """
381
- self._update_at = update_at
381
+ self._updated_at = updated_at
382
382
 
383
383
  @property
384
384
  def status(self):
@@ -18,7 +18,7 @@ class UpdateCustomLineRequest:
18
18
 
19
19
  openapi_types = {
20
20
  'line_id': 'str',
21
- 'body': 'UpdateCustomsLineReq'
21
+ 'body': 'UpdateCustomLineRequestBody'
22
22
  }
23
23
 
24
24
  attribute_map = {
@@ -31,10 +31,10 @@ class UpdateCustomLineRequest:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param line_id: 解析线路ID。
34
+ :param line_id: 自定义线路id
35
35
  :type line_id: str
36
36
  :param body: Body of the UpdateCustomLineRequest
37
- :type body: :class:`huaweicloudsdkdns.v2.UpdateCustomsLineReq`
37
+ :type body: :class:`huaweicloudsdkdns.v2.UpdateCustomLineRequestBody`
38
38
  """
39
39
 
40
40
 
@@ -51,7 +51,7 @@ class UpdateCustomLineRequest:
51
51
  def line_id(self):
52
52
  """Gets the line_id of this UpdateCustomLineRequest.
53
53
 
54
- 解析线路ID。
54
+ 自定义线路id
55
55
 
56
56
  :return: The line_id of this UpdateCustomLineRequest.
57
57
  :rtype: str
@@ -62,7 +62,7 @@ class UpdateCustomLineRequest:
62
62
  def line_id(self, line_id):
63
63
  """Sets the line_id of this UpdateCustomLineRequest.
64
64
 
65
- 解析线路ID。
65
+ 自定义线路id
66
66
 
67
67
  :param line_id: The line_id of this UpdateCustomLineRequest.
68
68
  :type line_id: str
@@ -74,7 +74,7 @@ class UpdateCustomLineRequest:
74
74
  """Gets the body of this UpdateCustomLineRequest.
75
75
 
76
76
  :return: The body of this UpdateCustomLineRequest.
77
- :rtype: :class:`huaweicloudsdkdns.v2.UpdateCustomsLineReq`
77
+ :rtype: :class:`huaweicloudsdkdns.v2.UpdateCustomLineRequestBody`
78
78
  """
79
79
  return self._body
80
80
 
@@ -83,7 +83,7 @@ class UpdateCustomLineRequest:
83
83
  """Sets the body of this UpdateCustomLineRequest.
84
84
 
85
85
  :param body: The body of this UpdateCustomLineRequest.
86
- :type body: :class:`huaweicloudsdkdns.v2.UpdateCustomsLineReq`
86
+ :type body: :class:`huaweicloudsdkdns.v2.UpdateCustomLineRequestBody`
87
87
  """
88
88
  self._body = body
89
89
 
@@ -5,7 +5,7 @@ import six
5
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
6
 
7
7
 
8
- class UpdateCustomsLineReq:
8
+ class UpdateCustomLineRequestBody:
9
9
 
10
10
  """
11
11
  Attributes:
@@ -29,7 +29,7 @@ class UpdateCustomsLineReq:
29
29
  }
30
30
 
31
31
  def __init__(self, name=None, ip_segments=None, description=None):
32
- """UpdateCustomsLineReq
32
+ """UpdateCustomLineRequestBody
33
33
 
34
34
  The model defined in huaweicloud sdk
35
35
 
@@ -57,66 +57,66 @@ class UpdateCustomsLineReq:
57
57
 
58
58
  @property
59
59
  def name(self):
60
- """Gets the name of this UpdateCustomsLineReq.
60
+ """Gets the name of this UpdateCustomLineRequestBody.
61
61
 
62
62
  解析线路名称。
63
63
 
64
- :return: The name of this UpdateCustomsLineReq.
64
+ :return: The name of this UpdateCustomLineRequestBody.
65
65
  :rtype: str
66
66
  """
67
67
  return self._name
68
68
 
69
69
  @name.setter
70
70
  def name(self, name):
71
- """Sets the name of this UpdateCustomsLineReq.
71
+ """Sets the name of this UpdateCustomLineRequestBody.
72
72
 
73
73
  解析线路名称。
74
74
 
75
- :param name: The name of this UpdateCustomsLineReq.
75
+ :param name: The name of this UpdateCustomLineRequestBody.
76
76
  :type name: str
77
77
  """
78
78
  self._name = name
79
79
 
80
80
  @property
81
81
  def ip_segments(self):
82
- """Gets the ip_segments of this UpdateCustomsLineReq.
82
+ """Gets the ip_segments of this UpdateCustomLineRequestBody.
83
83
 
84
84
  P地址段。 以“-”分隔,小IP地址在前,大IP地址在后。IP段之间不能有交叉。当只有一个IP时,填写IP1-IP1。 目前只支持IPV4。
85
85
 
86
- :return: The ip_segments of this UpdateCustomsLineReq.
86
+ :return: The ip_segments of this UpdateCustomLineRequestBody.
87
87
  :rtype: list[str]
88
88
  """
89
89
  return self._ip_segments
90
90
 
91
91
  @ip_segments.setter
92
92
  def ip_segments(self, ip_segments):
93
- """Sets the ip_segments of this UpdateCustomsLineReq.
93
+ """Sets the ip_segments of this UpdateCustomLineRequestBody.
94
94
 
95
95
  P地址段。 以“-”分隔,小IP地址在前,大IP地址在后。IP段之间不能有交叉。当只有一个IP时,填写IP1-IP1。 目前只支持IPV4。
96
96
 
97
- :param ip_segments: The ip_segments of this UpdateCustomsLineReq.
97
+ :param ip_segments: The ip_segments of this UpdateCustomLineRequestBody.
98
98
  :type ip_segments: list[str]
99
99
  """
100
100
  self._ip_segments = ip_segments
101
101
 
102
102
  @property
103
103
  def description(self):
104
- """Gets the description of this UpdateCustomsLineReq.
104
+ """Gets the description of this UpdateCustomLineRequestBody.
105
105
 
106
106
  自定义线路的描述信息。长度不超过255个字符。
107
107
 
108
- :return: The description of this UpdateCustomsLineReq.
108
+ :return: The description of this UpdateCustomLineRequestBody.
109
109
  :rtype: str
110
110
  """
111
111
  return self._description
112
112
 
113
113
  @description.setter
114
114
  def description(self, description):
115
- """Sets the description of this UpdateCustomsLineReq.
115
+ """Sets the description of this UpdateCustomLineRequestBody.
116
116
 
117
117
  自定义线路的描述信息。长度不超过255个字符。
118
118
 
119
- :param description: The description of this UpdateCustomsLineReq.
119
+ :param description: The description of this UpdateCustomLineRequestBody.
120
120
  :type description: str
121
121
  """
122
122
  self._description = description
@@ -163,7 +163,7 @@ class UpdateCustomsLineReq:
163
163
 
164
164
  def __eq__(self, other):
165
165
  """Returns true if both objects are equal"""
166
- if not isinstance(other, UpdateCustomsLineReq):
166
+ if not isinstance(other, UpdateCustomLineRequestBody):
167
167
  return False
168
168
 
169
169
  return self.__dict__ == other.__dict__
@@ -18,7 +18,7 @@ class UpdateLineGroupsRequest:
18
18
 
19
19
  openapi_types = {
20
20
  'linegroup_id': 'str',
21
- 'body': 'UpdateLineGroupsBody'
21
+ 'body': 'UpdateLineGroupsRequestBody'
22
22
  }
23
23
 
24
24
  attribute_map = {
@@ -31,10 +31,10 @@ class UpdateLineGroupsRequest:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param linegroup_id: 待更新的线路分组ID
34
+ :param linegroup_id: 线路分组ID
35
35
  :type linegroup_id: str
36
36
  :param body: Body of the UpdateLineGroupsRequest
37
- :type body: :class:`huaweicloudsdkdns.v2.UpdateLineGroupsBody`
37
+ :type body: :class:`huaweicloudsdkdns.v2.UpdateLineGroupsRequestBody`
38
38
  """
39
39
 
40
40
 
@@ -51,7 +51,7 @@ class UpdateLineGroupsRequest:
51
51
  def linegroup_id(self):
52
52
  """Gets the linegroup_id of this UpdateLineGroupsRequest.
53
53
 
54
- 待更新的线路分组ID
54
+ 线路分组ID
55
55
 
56
56
  :return: The linegroup_id of this UpdateLineGroupsRequest.
57
57
  :rtype: str
@@ -62,7 +62,7 @@ class UpdateLineGroupsRequest:
62
62
  def linegroup_id(self, linegroup_id):
63
63
  """Sets the linegroup_id of this UpdateLineGroupsRequest.
64
64
 
65
- 待更新的线路分组ID
65
+ 线路分组ID
66
66
 
67
67
  :param linegroup_id: The linegroup_id of this UpdateLineGroupsRequest.
68
68
  :type linegroup_id: str
@@ -74,7 +74,7 @@ class UpdateLineGroupsRequest:
74
74
  """Gets the body of this UpdateLineGroupsRequest.
75
75
 
76
76
  :return: The body of this UpdateLineGroupsRequest.
77
- :rtype: :class:`huaweicloudsdkdns.v2.UpdateLineGroupsBody`
77
+ :rtype: :class:`huaweicloudsdkdns.v2.UpdateLineGroupsRequestBody`
78
78
  """
79
79
  return self._body
80
80
 
@@ -83,7 +83,7 @@ class UpdateLineGroupsRequest:
83
83
  """Sets the body of this UpdateLineGroupsRequest.
84
84
 
85
85
  :param body: The body of this UpdateLineGroupsRequest.
86
- :type body: :class:`huaweicloudsdkdns.v2.UpdateLineGroupsBody`
86
+ :type body: :class:`huaweicloudsdkdns.v2.UpdateLineGroupsRequestBody`
87
87
  """
88
88
  self._body = body
89
89
 
@@ -5,7 +5,7 @@ import six
5
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
6
 
7
7
 
8
- class UpdateLineGroupsBody:
8
+ class UpdateLineGroupsRequestBody:
9
9
 
10
10
  """
11
11
  Attributes:
@@ -29,7 +29,7 @@ class UpdateLineGroupsBody:
29
29
  }
30
30
 
31
31
  def __init__(self, name=None, description=None, lines=None):
32
- """UpdateLineGroupsBody
32
+ """UpdateLineGroupsRequestBody
33
33
 
34
34
  The model defined in huaweicloud sdk
35
35
 
@@ -55,66 +55,66 @@ class UpdateLineGroupsBody:
55
55
 
56
56
  @property
57
57
  def name(self):
58
- """Gets the name of this UpdateLineGroupsBody.
58
+ """Gets the name of this UpdateLineGroupsRequestBody.
59
59
 
60
60
  线路分组名称。 不能与自定义线路名称、预制线路名称重复。 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)。
61
61
 
62
- :return: The name of this UpdateLineGroupsBody.
62
+ :return: The name of this UpdateLineGroupsRequestBody.
63
63
  :rtype: str
64
64
  """
65
65
  return self._name
66
66
 
67
67
  @name.setter
68
68
  def name(self, name):
69
- """Sets the name of this UpdateLineGroupsBody.
69
+ """Sets the name of this UpdateLineGroupsRequestBody.
70
70
 
71
71
  线路分组名称。 不能与自定义线路名称、预制线路名称重复。 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)。
72
72
 
73
- :param name: The name of this UpdateLineGroupsBody.
73
+ :param name: The name of this UpdateLineGroupsRequestBody.
74
74
  :type name: str
75
75
  """
76
76
  self._name = name
77
77
 
78
78
  @property
79
79
  def description(self):
80
- """Gets the description of this UpdateLineGroupsBody.
80
+ """Gets the description of this UpdateLineGroupsRequestBody.
81
81
 
82
82
  线路分组的描述信息。长度不超过255个字符。默认值为空。
83
83
 
84
- :return: The description of this UpdateLineGroupsBody.
84
+ :return: The description of this UpdateLineGroupsRequestBody.
85
85
  :rtype: str
86
86
  """
87
87
  return self._description
88
88
 
89
89
  @description.setter
90
90
  def description(self, description):
91
- """Sets the description of this UpdateLineGroupsBody.
91
+ """Sets the description of this UpdateLineGroupsRequestBody.
92
92
 
93
93
  线路分组的描述信息。长度不超过255个字符。默认值为空。
94
94
 
95
- :param description: The description of this UpdateLineGroupsBody.
95
+ :param description: The description of this UpdateLineGroupsRequestBody.
96
96
  :type description: str
97
97
  """
98
98
  self._description = description
99
99
 
100
100
  @property
101
101
  def lines(self):
102
- """Gets the lines of this UpdateLineGroupsBody.
102
+ """Gets the lines of this UpdateLineGroupsRequestBody.
103
103
 
104
104
  线路列表。
105
105
 
106
- :return: The lines of this UpdateLineGroupsBody.
106
+ :return: The lines of this UpdateLineGroupsRequestBody.
107
107
  :rtype: list[str]
108
108
  """
109
109
  return self._lines
110
110
 
111
111
  @lines.setter
112
112
  def lines(self, lines):
113
- """Sets the lines of this UpdateLineGroupsBody.
113
+ """Sets the lines of this UpdateLineGroupsRequestBody.
114
114
 
115
115
  线路列表。
116
116
 
117
- :param lines: The lines of this UpdateLineGroupsBody.
117
+ :param lines: The lines of this UpdateLineGroupsRequestBody.
118
118
  :type lines: list[str]
119
119
  """
120
120
  self._lines = lines
@@ -161,7 +161,7 @@ class UpdateLineGroupsBody:
161
161
 
162
162
  def __eq__(self, other):
163
163
  """Returns true if both objects are equal"""
164
- if not isinstance(other, UpdateLineGroupsBody):
164
+ if not isinstance(other, UpdateLineGroupsRequestBody):
165
165
  return False
166
166
 
167
167
  return self.__dict__ == other.__dict__
@@ -35,7 +35,7 @@ class UpdatePrivateZoneInfoReq:
35
35
 
36
36
  :param description: 域名的描述信息。长度不超过255个字符。
37
37
  :type description: str
38
- :param email: 管理该zone的管理员邮箱。
38
+ :param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
39
39
  :type email: str
40
40
  :param ttl: 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位。
41
41
  :type ttl: int
@@ -81,7 +81,7 @@ class UpdatePrivateZoneInfoReq:
81
81
  def email(self):
82
82
  """Gets the email of this UpdatePrivateZoneInfoReq.
83
83
 
84
- 管理该zone的管理员邮箱。
84
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
85
85
 
86
86
  :return: The email of this UpdatePrivateZoneInfoReq.
87
87
  :rtype: str
@@ -92,7 +92,7 @@ class UpdatePrivateZoneInfoReq:
92
92
  def email(self, email):
93
93
  """Sets the email of this UpdatePrivateZoneInfoReq.
94
94
 
95
- 管理该zone的管理员邮箱。
95
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
96
96
 
97
97
  :param email: The email of this UpdatePrivateZoneInfoReq.
98
98
  :type email: str
@@ -66,7 +66,7 @@ class UpdatePrivateZoneResponse(SdkResponse):
66
66
  :type name: str
67
67
  :param description: 对zone的描述信息。
68
68
  :type description: str
69
- :param email: 管理该zone的管理员邮箱。
69
+ :param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
70
70
  :type email: str
71
71
  :param zone_type: zone类型,内网(private)。
72
72
  :type zone_type: str
@@ -217,7 +217,7 @@ class UpdatePrivateZoneResponse(SdkResponse):
217
217
  def email(self):
218
218
  """Gets the email of this UpdatePrivateZoneResponse.
219
219
 
220
- 管理该zone的管理员邮箱。
220
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
221
221
 
222
222
  :return: The email of this UpdatePrivateZoneResponse.
223
223
  :rtype: str
@@ -228,7 +228,7 @@ class UpdatePrivateZoneResponse(SdkResponse):
228
228
  def email(self, email):
229
229
  """Sets the email of this UpdatePrivateZoneResponse.
230
230
 
231
- 管理该zone的管理员邮箱。
231
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
232
232
 
233
233
  :param email: The email of this UpdatePrivateZoneResponse.
234
234
  :type email: str