huaweicloudsdkdns 3.1.85__py2.py3-none-any.whl → 3.1.132__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 (81) hide show
  1. huaweicloudsdkdns/v2/__init__.py +20 -5
  2. huaweicloudsdkdns/v2/dns_async_client.py +299 -11
  3. huaweicloudsdkdns/v2/dns_client.py +299 -11
  4. huaweicloudsdkdns/v2/model/__init__.py +20 -5
  5. huaweicloudsdkdns/v2/model/associate_router_response.py +6 -6
  6. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request.py +111 -0
  7. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +142 -0
  8. huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +141 -0
  9. huaweicloudsdkdns/v2/model/batch_delete_zones_request.py +111 -0
  10. huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +142 -0
  11. huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +141 -0
  12. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request.py +111 -0
  13. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +142 -0
  14. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +166 -0
  15. huaweicloudsdkdns/v2/model/batch_set_zones_status_request.py +111 -0
  16. huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +142 -0
  17. huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +166 -0
  18. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +4 -4
  19. huaweicloudsdkdns/v2/model/{batch_update_record_set_with_line_req.py → batch_update_record_set_with_line_request_body.py} +7 -7
  20. huaweicloudsdkdns/v2/model/create_custom_line_request.py +4 -4
  21. huaweicloudsdkdns/v2/model/{create_custom_lines.py → create_custom_line_request_body.py} +15 -15
  22. huaweicloudsdkdns/v2/model/create_eip_record_set_request.py +3 -3
  23. huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +3 -3
  24. huaweicloudsdkdns/v2/model/create_private_zone_req.py +6 -6
  25. huaweicloudsdkdns/v2/model/create_private_zone_response.py +9 -9
  26. huaweicloudsdkdns/v2/model/create_public_zone_req.py +6 -6
  27. huaweicloudsdkdns/v2/model/create_public_zone_response.py +6 -6
  28. huaweicloudsdkdns/v2/model/create_record_set_request_body.py +3 -3
  29. huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +3 -3
  30. huaweicloudsdkdns/v2/model/delete_custom_line_request.py +3 -3
  31. huaweicloudsdkdns/v2/model/delete_line_group_request.py +3 -3
  32. huaweicloudsdkdns/v2/model/delete_private_zone_response.py +6 -6
  33. huaweicloudsdkdns/v2/model/delete_public_zone_response.py +6 -6
  34. huaweicloudsdkdns/v2/model/disassociate_router_response.py +6 -6
  35. huaweicloudsdkdns/v2/model/link.py +115 -0
  36. huaweicloudsdkdns/v2/model/list_custom_line_request.py +64 -6
  37. huaweicloudsdkdns/v2/model/list_line_groups_request.py +3 -3
  38. huaweicloudsdkdns/v2/model/list_private_zones_request.py +125 -9
  39. huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +3 -3
  40. huaweicloudsdkdns/v2/model/list_ptr_records_request.py +3 -3
  41. huaweicloudsdkdns/v2/model/list_ptr_records_response.py +3 -3
  42. huaweicloudsdkdns/v2/model/list_public_zones_request.py +100 -13
  43. huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +6 -6
  44. huaweicloudsdkdns/v2/model/list_record_sets_request.py +6 -6
  45. huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +36 -7
  46. huaweicloudsdkdns/v2/model/private_zone_resp.py +9 -9
  47. huaweicloudsdkdns/v2/model/public_zone_resp.py +6 -6
  48. huaweicloudsdkdns/v2/model/recordset_data.py +600 -0
  49. huaweicloudsdkdns/v2/model/restore_ptr_record_request.py +3 -3
  50. huaweicloudsdkdns/v2/model/router.py +6 -6
  51. huaweicloudsdkdns/v2/model/router_with_status.py +6 -6
  52. huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +4 -4
  53. huaweicloudsdkdns/v2/model/{set_record_sets_status_req.py → set_record_sets_status_request_body.py} +7 -7
  54. huaweicloudsdkdns/v2/model/show_line_group_request.py +3 -3
  55. huaweicloudsdkdns/v2/model/show_private_zone_response.py +9 -9
  56. huaweicloudsdkdns/v2/model/show_ptr_record_set_request.py +3 -3
  57. huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +3 -3
  58. huaweicloudsdkdns/v2/model/show_public_zone_response.py +6 -6
  59. huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +6 -6
  60. huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +35 -35
  61. huaweicloudsdkdns/v2/model/show_resource_tag_response.py +3 -32
  62. huaweicloudsdkdns/v2/model/tag_values.py +6 -6
  63. huaweicloudsdkdns/v2/model/update_custom_line_request.py +7 -7
  64. huaweicloudsdkdns/v2/model/{update_customs_line_req.py → update_custom_line_request_body.py} +15 -15
  65. huaweicloudsdkdns/v2/model/update_line_groups_request.py +7 -7
  66. huaweicloudsdkdns/v2/model/{update_line_groups_body.py → update_line_groups_request_body.py} +15 -15
  67. huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +3 -3
  68. huaweicloudsdkdns/v2/model/update_private_zone_response.py +9 -9
  69. huaweicloudsdkdns/v2/model/update_ptr_record_request.py +3 -3
  70. huaweicloudsdkdns/v2/model/update_ptr_record_response.py +3 -3
  71. huaweicloudsdkdns/v2/model/update_public_zone_info.py +3 -3
  72. huaweicloudsdkdns/v2/model/update_public_zone_response.py +6 -6
  73. huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +6 -6
  74. huaweicloudsdkdns/v2/model/update_record_set_req.py +4 -2
  75. huaweicloudsdkdns/v2/model/zone_data.py +517 -0
  76. huaweicloudsdkdns/v2/region/dns_region.py +21 -0
  77. {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/METADATA +2 -2
  78. {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/RECORD +81 -66
  79. {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/WHEEL +1 -1
  80. {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/LICENSE +0 -0
  81. {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/top_level.txt +0 -0
@@ -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
@@ -88,9 +88,9 @@ class UpdatePrivateZoneResponse(SdkResponse):
88
88
  :type updated_at: str
89
89
  :param links:
90
90
  :type links: :class:`huaweicloudsdkdns.v2.PageLink`
91
- :param masters: 主从模式中,从DNS服务器用以获取DNS信息。
91
+ :param masters: 主从模式中,从DNS服务器获取DNS信息。
92
92
  :type masters: list[str]
93
- :param routers: 内网Zone关联的Router(VPC)信息
93
+ :param routers: 与该zone关联的Router(VPC)列表。
94
94
  :type routers: list[:class:`huaweicloudsdkdns.v2.RouterWithStatus`]
95
95
  """
96
96
 
@@ -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
@@ -455,7 +455,7 @@ class UpdatePrivateZoneResponse(SdkResponse):
455
455
  def masters(self):
456
456
  """Gets the masters of this UpdatePrivateZoneResponse.
457
457
 
458
- 主从模式中,从DNS服务器用以获取DNS信息。
458
+ 主从模式中,从DNS服务器获取DNS信息。
459
459
 
460
460
  :return: The masters of this UpdatePrivateZoneResponse.
461
461
  :rtype: list[str]
@@ -466,7 +466,7 @@ class UpdatePrivateZoneResponse(SdkResponse):
466
466
  def masters(self, masters):
467
467
  """Sets the masters of this UpdatePrivateZoneResponse.
468
468
 
469
- 主从模式中,从DNS服务器用以获取DNS信息。
469
+ 主从模式中,从DNS服务器获取DNS信息。
470
470
 
471
471
  :param masters: The masters of this UpdatePrivateZoneResponse.
472
472
  :type masters: list[str]
@@ -477,7 +477,7 @@ class UpdatePrivateZoneResponse(SdkResponse):
477
477
  def routers(self):
478
478
  """Gets the routers of this UpdatePrivateZoneResponse.
479
479
 
480
- 内网Zone关联的Router(VPC)信息
480
+ 与该zone关联的Router(VPC)列表。
481
481
 
482
482
  :return: The routers of this UpdatePrivateZoneResponse.
483
483
  :rtype: list[:class:`huaweicloudsdkdns.v2.RouterWithStatus`]
@@ -488,7 +488,7 @@ class UpdatePrivateZoneResponse(SdkResponse):
488
488
  def routers(self, routers):
489
489
  """Sets the routers of this UpdatePrivateZoneResponse.
490
490
 
491
- 内网Zone关联的Router(VPC)信息
491
+ 与该zone关联的Router(VPC)列表。
492
492
 
493
493
  :param routers: The routers of this UpdatePrivateZoneResponse.
494
494
  :type routers: list[:class:`huaweicloudsdkdns.v2.RouterWithStatus`]
@@ -35,7 +35,7 @@ class UpdatePtrRecordRequest:
35
35
 
36
36
  :param region: 域名所属的区域。
37
37
  :type region: str
38
- :param floatingip_id: 待修改弹性IP的PTR记录ID信息。
38
+ :param floatingip_id: 弹性公网IP(EIP)的ID
39
39
  :type floatingip_id: str
40
40
  :param body: Body of the UpdatePtrRecordRequest
41
41
  :type body: :class:`huaweicloudsdkdns.v2.UpdatePtrReq`
@@ -79,7 +79,7 @@ class UpdatePtrRecordRequest:
79
79
  def floatingip_id(self):
80
80
  """Gets the floatingip_id of this UpdatePtrRecordRequest.
81
81
 
82
- 待修改弹性IP的PTR记录ID信息。
82
+ 弹性公网IP(EIP)的ID
83
83
 
84
84
  :return: The floatingip_id of this UpdatePtrRecordRequest.
85
85
  :rtype: str
@@ -90,7 +90,7 @@ class UpdatePtrRecordRequest:
90
90
  def floatingip_id(self, floatingip_id):
91
91
  """Sets the floatingip_id of this UpdatePtrRecordRequest.
92
92
 
93
- 待修改弹性IP的PTR记录ID信息。
93
+ 弹性公网IP(EIP)的ID
94
94
 
95
95
  :param floatingip_id: The floatingip_id of this UpdatePtrRecordRequest.
96
96
  :type floatingip_id: str
@@ -52,7 +52,7 @@ class UpdatePtrRecordResponse(SdkResponse):
52
52
  :type description: str
53
53
  :param ttl: PTR记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
54
54
  :type ttl: int
55
- :param address: 弹性IP的IP地址。
55
+ :param address: 弹性公网IP的IP地址。
56
56
  :type address: str
57
57
  :param status: 资源状态。
58
58
  :type status: str
@@ -183,7 +183,7 @@ class UpdatePtrRecordResponse(SdkResponse):
183
183
  def address(self):
184
184
  """Gets the address of this UpdatePtrRecordResponse.
185
185
 
186
- 弹性IP的IP地址。
186
+ 弹性公网IP的IP地址。
187
187
 
188
188
  :return: The address of this UpdatePtrRecordResponse.
189
189
  :rtype: str
@@ -194,7 +194,7 @@ class UpdatePtrRecordResponse(SdkResponse):
194
194
  def address(self, address):
195
195
  """Sets the address of this UpdatePtrRecordResponse.
196
196
 
197
- 弹性IP的IP地址。
197
+ 弹性公网IP的IP地址。
198
198
 
199
199
  :param address: The address of this UpdatePtrRecordResponse.
200
200
  :type address: str
@@ -35,7 +35,7 @@ class UpdatePublicZoneInfo:
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 UpdatePublicZoneInfo:
81
81
  def email(self):
82
82
  """Gets the email of this UpdatePublicZoneInfo.
83
83
 
84
- 管理该zone的管理员邮箱。 如果为空,表示维持原值。 默认值为空。
84
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。 如果为空,表示维持原值。 默认值为空。
85
85
 
86
86
  :return: The email of this UpdatePublicZoneInfo.
87
87
  :rtype: str
@@ -92,7 +92,7 @@ class UpdatePublicZoneInfo:
92
92
  def email(self, email):
93
93
  """Sets the email of this UpdatePublicZoneInfo.
94
94
 
95
- 管理该zone的管理员邮箱。 如果为空,表示维持原值。 默认值为空。
95
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。 如果为空,表示维持原值。 默认值为空。
96
96
 
97
97
  :param email: The email of this UpdatePublicZoneInfo.
98
98
  :type email: str
@@ -64,7 +64,7 @@ class UpdatePublicZoneResponse(SdkResponse):
64
64
  :type name: str
65
65
  :param description: 对zone的描述信息。
66
66
  :type description: str
67
- :param email: 管理该zone的管理员邮箱。
67
+ :param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
68
68
  :type email: str
69
69
  :param zone_type: zone类型,公网(public)。
70
70
  :type zone_type: str
@@ -86,7 +86,7 @@ class UpdatePublicZoneResponse(SdkResponse):
86
86
  :type updated_at: str
87
87
  :param links:
88
88
  :type links: :class:`huaweicloudsdkdns.v2.PageLink`
89
- :param masters: 主从模式中,从DNS服务器用以获取DNS信息。 目前暂未使用。
89
+ :param masters: 主从模式中,从DNS服务器获取DNS信息。 目前暂未使用。
90
90
  :type masters: list[str]
91
91
  """
92
92
 
@@ -210,7 +210,7 @@ class UpdatePublicZoneResponse(SdkResponse):
210
210
  def email(self):
211
211
  """Gets the email of this UpdatePublicZoneResponse.
212
212
 
213
- 管理该zone的管理员邮箱。
213
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
214
214
 
215
215
  :return: The email of this UpdatePublicZoneResponse.
216
216
  :rtype: str
@@ -221,7 +221,7 @@ class UpdatePublicZoneResponse(SdkResponse):
221
221
  def email(self, email):
222
222
  """Sets the email of this UpdatePublicZoneResponse.
223
223
 
224
- 管理该zone的管理员邮箱。
224
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
225
225
 
226
226
  :param email: The email of this UpdatePublicZoneResponse.
227
227
  :type email: str
@@ -448,7 +448,7 @@ class UpdatePublicZoneResponse(SdkResponse):
448
448
  def masters(self):
449
449
  """Gets the masters of this UpdatePublicZoneResponse.
450
450
 
451
- 主从模式中,从DNS服务器用以获取DNS信息。 目前暂未使用。
451
+ 主从模式中,从DNS服务器获取DNS信息。 目前暂未使用。
452
452
 
453
453
  :return: The masters of this UpdatePublicZoneResponse.
454
454
  :rtype: list[str]
@@ -459,7 +459,7 @@ class UpdatePublicZoneResponse(SdkResponse):
459
459
  def masters(self, masters):
460
460
  """Sets the masters of this UpdatePublicZoneResponse.
461
461
 
462
- 主从模式中,从DNS服务器用以获取DNS信息。 目前暂未使用。
462
+ 主从模式中,从DNS服务器获取DNS信息。 目前暂未使用。
463
463
 
464
464
  :param masters: The masters of this UpdatePublicZoneResponse.
465
465
  :type masters: list[str]
@@ -64,7 +64,7 @@ class UpdatePublicZoneStatusResponse(SdkResponse):
64
64
  :type name: str
65
65
  :param description: 对zone的描述信息。
66
66
  :type description: str
67
- :param email: 管理该zone的管理员邮箱。
67
+ :param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
68
68
  :type email: str
69
69
  :param zone_type: zone类型,公网(public)。
70
70
  :type zone_type: str
@@ -86,7 +86,7 @@ class UpdatePublicZoneStatusResponse(SdkResponse):
86
86
  :type updated_at: str
87
87
  :param links:
88
88
  :type links: :class:`huaweicloudsdkdns.v2.PageLink`
89
- :param masters: 主从模式中,从DNS服务器用以获取DNS信息。目前暂未使用。
89
+ :param masters: 主从模式中,从DNS服务器获取DNS信息。目前暂未使用。
90
90
  :type masters: list[str]
91
91
  """
92
92
 
@@ -210,7 +210,7 @@ class UpdatePublicZoneStatusResponse(SdkResponse):
210
210
  def email(self):
211
211
  """Gets the email of this UpdatePublicZoneStatusResponse.
212
212
 
213
- 管理该zone的管理员邮箱。
213
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
214
214
 
215
215
  :return: The email of this UpdatePublicZoneStatusResponse.
216
216
  :rtype: str
@@ -221,7 +221,7 @@ class UpdatePublicZoneStatusResponse(SdkResponse):
221
221
  def email(self, email):
222
222
  """Sets the email of this UpdatePublicZoneStatusResponse.
223
223
 
224
- 管理该zone的管理员邮箱。
224
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
225
225
 
226
226
  :param email: The email of this UpdatePublicZoneStatusResponse.
227
227
  :type email: str
@@ -448,7 +448,7 @@ class UpdatePublicZoneStatusResponse(SdkResponse):
448
448
  def masters(self):
449
449
  """Gets the masters of this UpdatePublicZoneStatusResponse.
450
450
 
451
- 主从模式中,从DNS服务器用以获取DNS信息。目前暂未使用。
451
+ 主从模式中,从DNS服务器获取DNS信息。目前暂未使用。
452
452
 
453
453
  :return: The masters of this UpdatePublicZoneStatusResponse.
454
454
  :rtype: list[str]
@@ -459,7 +459,7 @@ class UpdatePublicZoneStatusResponse(SdkResponse):
459
459
  def masters(self, masters):
460
460
  """Sets the masters of this UpdatePublicZoneStatusResponse.
461
461
 
462
- 主从模式中,从DNS服务器用以获取DNS信息。目前暂未使用。
462
+ 主从模式中,从DNS服务器获取DNS信息。目前暂未使用。
463
463
 
464
464
  :param masters: The masters of this UpdatePublicZoneStatusResponse.
465
465
  :type masters: list[str]
@@ -58,10 +58,12 @@ class UpdateRecordSetReq:
58
58
  self._records = None
59
59
  self.discriminator = None
60
60
 
61
- self.name = name
61
+ if name is not None:
62
+ self.name = name
62
63
  if description is not None:
63
64
  self.description = description
64
- self.type = type
65
+ if type is not None:
66
+ self.type = type
65
67
  if ttl is not None:
66
68
  self.ttl = ttl
67
69
  if records is not None: