huaweicloudsdkdns 3.0.42rc0__py3-none-any.whl → 3.1.160__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 (274) hide show
  1. huaweicloudsdkdns/v2/__init__.py +137 -11
  2. huaweicloudsdkdns/v2/dns_async_client.py +4625 -1735
  3. huaweicloudsdkdns/v2/dns_client.py +4638 -1749
  4. huaweicloudsdkdns/v2/model/__init__.py +136 -9
  5. huaweicloudsdkdns/v2/model/alias_target.py +27 -20
  6. huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_request.py +139 -0
  7. huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_response.py +112 -0
  8. huaweicloudsdkdns/v2/model/associate_or_disassociate_router_with_rule_request_body.py +110 -0
  9. huaweicloudsdkdns/v2/model/associate_resolver_rule_router_request.py +139 -0
  10. huaweicloudsdkdns/v2/model/associate_resolver_rule_router_response.py +174 -0
  11. huaweicloudsdkdns/v2/model/associate_router_request.py +27 -20
  12. huaweicloudsdkdns/v2/model/{associate_router_req.py → associate_router_request_body.py} +23 -20
  13. huaweicloudsdkdns/v2/model/associate_router_response.py +35 -25
  14. huaweicloudsdkdns/v2/model/batch_create_record_set_with_line.py +200 -0
  15. huaweicloudsdkdns/v2/model/batch_create_tag_request.py +33 -22
  16. huaweicloudsdkdns/v2/model/batch_create_tag_response.py +14 -10
  17. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request.py +111 -0
  18. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request_body.py +115 -0
  19. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_response.py +85 -0
  20. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request.py +139 -0
  21. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request_body.py +114 -0
  22. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_response.py +166 -0
  23. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request.py +111 -0
  24. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +142 -0
  25. huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +141 -0
  26. huaweicloudsdkdns/v2/model/batch_delete_zones_request.py +111 -0
  27. huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +142 -0
  28. huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +141 -0
  29. huaweicloudsdkdns/v2/model/batch_hand_tags.py +24 -17
  30. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request.py +111 -0
  31. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +142 -0
  32. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +166 -0
  33. huaweicloudsdkdns/v2/model/batch_set_zones_status_request.py +111 -0
  34. huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +142 -0
  35. huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +166 -0
  36. huaweicloudsdkdns/v2/model/batch_update_record_set.py +229 -0
  37. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +139 -0
  38. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request_body.py +114 -0
  39. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_response.py +166 -0
  40. huaweicloudsdkdns/v2/model/create_custom_line_request.py +20 -17
  41. huaweicloudsdkdns/v2/model/{create_custom_lines.py → create_custom_line_request_body.py} +36 -27
  42. huaweicloudsdkdns/v2/model/create_custom_line_response.py +53 -35
  43. huaweicloudsdkdns/v2/model/create_eip_record_set_request.py +33 -22
  44. huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +97 -50
  45. huaweicloudsdkdns/v2/model/create_endpoint_request.py +111 -0
  46. huaweicloudsdkdns/v2/model/create_endpoint_request_body.py +198 -0
  47. huaweicloudsdkdns/v2/model/create_endpoint_response.py +112 -0
  48. huaweicloudsdkdns/v2/model/create_line_group_request.py +111 -0
  49. huaweicloudsdkdns/v2/model/create_line_group_response.py +290 -0
  50. huaweicloudsdkdns/v2/model/create_line_groups_req.py +171 -0
  51. huaweicloudsdkdns/v2/model/create_line_groups_resp.py +289 -0
  52. huaweicloudsdkdns/v2/model/create_private_zone_req.py +101 -55
  53. huaweicloudsdkdns/v2/model/create_private_zone_request.py +19 -16
  54. huaweicloudsdkdns/v2/model/create_private_zone_response.py +156 -95
  55. huaweicloudsdkdns/v2/model/create_ptr_req.py +47 -34
  56. huaweicloudsdkdns/v2/model/create_ptr_request.py +111 -0
  57. huaweicloudsdkdns/v2/model/create_ptr_request_body.py +255 -0
  58. huaweicloudsdkdns/v2/model/create_ptr_response.py +311 -0
  59. huaweicloudsdkdns/v2/model/create_public_zone_req.py +63 -46
  60. huaweicloudsdkdns/v2/model/create_public_zone_request.py +19 -16
  61. huaweicloudsdkdns/v2/model/create_public_zone_response.py +125 -91
  62. huaweicloudsdkdns/v2/model/create_r_set_batch_lines_req.py +199 -0
  63. huaweicloudsdkdns/v2/model/create_record_set_request.py +27 -20
  64. huaweicloudsdkdns/v2/model/create_record_set_request_body.py +286 -0
  65. huaweicloudsdkdns/v2/model/create_record_set_response.py +111 -55
  66. huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_request.py +139 -0
  67. huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_response.py +166 -0
  68. huaweicloudsdkdns/v2/model/create_record_set_with_line_request.py +27 -20
  69. huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +370 -0
  70. huaweicloudsdkdns/v2/model/create_record_set_with_line_response.py +138 -102
  71. huaweicloudsdkdns/v2/model/create_resolver_rule_request.py +111 -0
  72. huaweicloudsdkdns/v2/model/create_resolver_rule_request_body.py +198 -0
  73. huaweicloudsdkdns/v2/model/create_resolver_rule_response.py +112 -0
  74. huaweicloudsdkdns/v2/model/create_tag_req.py +19 -16
  75. huaweicloudsdkdns/v2/model/create_tag_request.py +33 -22
  76. huaweicloudsdkdns/v2/model/create_tag_response.py +14 -10
  77. huaweicloudsdkdns/v2/model/delete_custom_line_request.py +20 -13
  78. huaweicloudsdkdns/v2/model/delete_custom_line_response.py +53 -35
  79. huaweicloudsdkdns/v2/model/delete_endpoint_request.py +114 -0
  80. huaweicloudsdkdns/v2/model/delete_endpoint_response.py +112 -0
  81. huaweicloudsdkdns/v2/model/delete_line_group_request.py +114 -0
  82. huaweicloudsdkdns/v2/model/delete_line_group_response.py +290 -0
  83. huaweicloudsdkdns/v2/model/delete_private_zone_request.py +20 -13
  84. huaweicloudsdkdns/v2/model/delete_private_zone_response.py +126 -92
  85. huaweicloudsdkdns/v2/model/delete_ptr_request.py +114 -0
  86. huaweicloudsdkdns/v2/model/delete_ptr_response.py +85 -0
  87. huaweicloudsdkdns/v2/model/delete_public_zone_request.py +20 -13
  88. huaweicloudsdkdns/v2/model/delete_public_zone_response.py +121 -91
  89. huaweicloudsdkdns/v2/model/delete_record_set_request.py +27 -16
  90. huaweicloudsdkdns/v2/model/delete_record_set_response.py +111 -81
  91. huaweicloudsdkdns/v2/model/delete_record_sets_request.py +27 -16
  92. huaweicloudsdkdns/v2/model/delete_record_sets_response.py +138 -102
  93. huaweicloudsdkdns/v2/model/delete_resolver_rule_request.py +114 -0
  94. huaweicloudsdkdns/v2/model/delete_resolver_rule_response.py +112 -0
  95. huaweicloudsdkdns/v2/model/delete_tag_request.py +34 -19
  96. huaweicloudsdkdns/v2/model/delete_tag_response.py +14 -10
  97. huaweicloudsdkdns/v2/model/disable_dnssec_config_request.py +114 -0
  98. huaweicloudsdkdns/v2/model/disable_dnssec_config_response.py +116 -0
  99. huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_request.py +142 -0
  100. huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_response.py +112 -0
  101. huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_request.py +139 -0
  102. huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_response.py +174 -0
  103. huaweicloudsdkdns/v2/model/disassociate_router_request.py +27 -20
  104. huaweicloudsdkdns/v2/model/disassociate_router_response.py +35 -25
  105. huaweicloudsdkdns/v2/model/{disassociaterouter_req.py → disassociaterouter_request_body.py} +23 -20
  106. huaweicloudsdkdns/v2/model/domain_quota_response_quotas.py +198 -0
  107. huaweicloudsdkdns/v2/model/enable_dnssec_config_request.py +114 -0
  108. huaweicloudsdkdns/v2/model/enable_dnssec_config_response.py +464 -0
  109. huaweicloudsdkdns/v2/model/endpoint_resp.py +347 -0
  110. huaweicloudsdkdns/v2/model/floating_ips_ptr.py +339 -0
  111. huaweicloudsdkdns/v2/model/{update_public_zone_status.py → ip_info.py} +35 -29
  112. huaweicloudsdkdns/v2/model/ip_value.py +115 -0
  113. huaweicloudsdkdns/v2/model/ipaddress_info.py +143 -0
  114. huaweicloudsdkdns/v2/model/ipaddresses.py +110 -0
  115. huaweicloudsdkdns/v2/model/ipaddresses_data.py +289 -0
  116. huaweicloudsdkdns/v2/model/line.py +52 -35
  117. huaweicloudsdkdns/v2/model/link.py +115 -0
  118. huaweicloudsdkdns/v2/model/links_item.py +27 -20
  119. huaweicloudsdkdns/v2/model/list_api_versions_item.py +35 -26
  120. huaweicloudsdkdns/v2/model/list_api_versions_request.py +13 -10
  121. huaweicloudsdkdns/v2/model/list_api_versions_response.py +20 -16
  122. huaweicloudsdkdns/v2/model/list_custom_line_request.py +109 -28
  123. huaweicloudsdkdns/v2/model/list_custom_line_response.py +29 -21
  124. huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_request.py +114 -0
  125. huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_response.py +116 -0
  126. huaweicloudsdkdns/v2/model/list_endpoint_vpcs_request.py +173 -0
  127. huaweicloudsdkdns/v2/model/list_endpoint_vpcs_response.py +141 -0
  128. huaweicloudsdkdns/v2/model/list_endpoints_request.py +230 -0
  129. huaweicloudsdkdns/v2/model/list_endpoints_response.py +141 -0
  130. huaweicloudsdkdns/v2/model/list_line_groups_request.py +202 -0
  131. huaweicloudsdkdns/v2/model/list_line_groups_response.py +141 -0
  132. huaweicloudsdkdns/v2/model/list_name_servers_request.py +27 -16
  133. huaweicloudsdkdns/v2/model/list_name_servers_response.py +22 -14
  134. huaweicloudsdkdns/v2/model/list_private_zones_request.py +217 -37
  135. huaweicloudsdkdns/v2/model/list_private_zones_response.py +35 -27
  136. huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +99 -51
  137. huaweicloudsdkdns/v2/model/list_ptr_records_request.py +55 -28
  138. huaweicloudsdkdns/v2/model/list_ptr_records_response.py +35 -27
  139. huaweicloudsdkdns/v2/model/list_ptrs_request.py +289 -0
  140. huaweicloudsdkdns/v2/model/list_ptrs_response.py +166 -0
  141. huaweicloudsdkdns/v2/model/list_public_zone_lines_request.py +172 -0
  142. huaweicloudsdkdns/v2/model/list_public_zone_lines_response.py +166 -0
  143. huaweicloudsdkdns/v2/model/list_public_zones_request.py +186 -35
  144. huaweicloudsdkdns/v2/model/list_public_zones_response.py +36 -28
  145. huaweicloudsdkdns/v2/model/list_record_sets.py +110 -81
  146. huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +124 -48
  147. huaweicloudsdkdns/v2/model/list_record_sets_by_zone_response.py +35 -27
  148. huaweicloudsdkdns/v2/model/list_record_sets_request.py +131 -51
  149. huaweicloudsdkdns/v2/model/list_record_sets_response.py +36 -28
  150. huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +152 -60
  151. huaweicloudsdkdns/v2/model/list_record_sets_with_line_response.py +36 -28
  152. huaweicloudsdkdns/v2/model/list_record_sets_with_tags.py +517 -0
  153. huaweicloudsdkdns/v2/model/list_resolver_rule_param.py +376 -0
  154. huaweicloudsdkdns/v2/model/list_resolver_rules_request.py +289 -0
  155. huaweicloudsdkdns/v2/model/list_resolver_rules_response.py +191 -0
  156. huaweicloudsdkdns/v2/model/list_tag_req.py +64 -45
  157. huaweicloudsdkdns/v2/model/list_tag_request.py +26 -19
  158. huaweicloudsdkdns/v2/model/list_tag_response.py +29 -17
  159. huaweicloudsdkdns/v2/model/list_tags_request.py +20 -13
  160. huaweicloudsdkdns/v2/model/list_tags_response.py +20 -14
  161. huaweicloudsdkdns/v2/model/match.py +143 -0
  162. huaweicloudsdkdns/v2/model/{metedata.py → metadata.py} +24 -19
  163. huaweicloudsdkdns/v2/model/name_servers_resp.py +31 -20
  164. huaweicloudsdkdns/v2/model/nameserver.py +27 -20
  165. huaweicloudsdkdns/v2/model/ns_records.py +28 -19
  166. huaweicloudsdkdns/v2/model/page_info.py +173 -0
  167. huaweicloudsdkdns/v2/model/page_link.py +27 -20
  168. huaweicloudsdkdns/v2/model/private_name_server.py +27 -20
  169. huaweicloudsdkdns/v2/model/private_zone_resp.py +191 -98
  170. huaweicloudsdkdns/v2/model/public_ip_req.py +144 -0
  171. huaweicloudsdkdns/v2/model/public_ip_res.py +173 -0
  172. huaweicloudsdkdns/v2/model/public_zone_lines.py +173 -0
  173. huaweicloudsdkdns/v2/model/public_zone_resp.py +575 -0
  174. huaweicloudsdkdns/v2/model/query_record_set_with_line_and_tags_resp.py +658 -0
  175. huaweicloudsdkdns/v2/model/query_record_set_with_line_resp.py +169 -105
  176. huaweicloudsdkdns/v2/model/recordset_data.py +600 -0
  177. huaweicloudsdkdns/v2/model/resolver_rule_param.py +347 -0
  178. huaweicloudsdkdns/v2/model/resource_item.py +36 -25
  179. huaweicloudsdkdns/v2/model/restore_ptr_record_request.py +33 -22
  180. huaweicloudsdkdns/v2/model/restore_ptr_record_response.py +14 -10
  181. huaweicloudsdkdns/v2/model/restore_ptr_req.py +22 -17
  182. huaweicloudsdkdns/v2/model/router.py +59 -23
  183. huaweicloudsdkdns/v2/model/router_for_rule.py +114 -0
  184. huaweicloudsdkdns/v2/model/router_with_status.py +34 -25
  185. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request.py +139 -0
  186. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request_body.py +114 -0
  187. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_response.py +85 -0
  188. huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +27 -20
  189. huaweicloudsdkdns/v2/model/{set_record_sets_status_req.py → set_record_sets_status_request_body.py} +24 -19
  190. huaweicloudsdkdns/v2/model/set_record_sets_status_response.py +170 -105
  191. huaweicloudsdkdns/v2/model/show_api_info_request.py +20 -13
  192. huaweicloudsdkdns/v2/model/show_api_info_response.py +20 -16
  193. huaweicloudsdkdns/v2/model/show_dnssec_config_request.py +114 -0
  194. huaweicloudsdkdns/v2/model/show_dnssec_config_response.py +464 -0
  195. huaweicloudsdkdns/v2/model/show_domain_quota_request.py +114 -0
  196. huaweicloudsdkdns/v2/model/show_domain_quota_response.py +116 -0
  197. huaweicloudsdkdns/v2/model/show_endpoint_request.py +114 -0
  198. huaweicloudsdkdns/v2/model/show_endpoint_response.py +112 -0
  199. huaweicloudsdkdns/v2/model/show_line_group_request.py +114 -0
  200. huaweicloudsdkdns/v2/model/show_line_group_response.py +290 -0
  201. huaweicloudsdkdns/v2/model/show_private_zone_name_server_request.py +20 -13
  202. huaweicloudsdkdns/v2/model/show_private_zone_name_server_response.py +22 -14
  203. huaweicloudsdkdns/v2/model/show_private_zone_request.py +20 -13
  204. huaweicloudsdkdns/v2/model/show_private_zone_response.py +187 -95
  205. huaweicloudsdkdns/v2/model/show_ptr_record_set_request.py +27 -16
  206. huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +97 -50
  207. huaweicloudsdkdns/v2/model/show_ptr_request.py +114 -0
  208. huaweicloudsdkdns/v2/model/show_ptr_response.py +311 -0
  209. huaweicloudsdkdns/v2/model/show_public_zone_name_server_request.py +20 -13
  210. huaweicloudsdkdns/v2/model/show_public_zone_name_server_response.py +22 -16
  211. huaweicloudsdkdns/v2/model/show_public_zone_request.py +20 -13
  212. huaweicloudsdkdns/v2/model/show_public_zone_response.py +127 -93
  213. huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +371 -16
  214. huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +162 -127
  215. huaweicloudsdkdns/v2/model/show_record_set_by_zone_response.py +35 -27
  216. huaweicloudsdkdns/v2/model/show_record_set_request.py +27 -16
  217. huaweicloudsdkdns/v2/model/show_record_set_response.py +143 -84
  218. huaweicloudsdkdns/v2/model/show_record_set_with_line_request.py +27 -16
  219. huaweicloudsdkdns/v2/model/show_record_set_with_line_response.py +170 -105
  220. huaweicloudsdkdns/v2/model/show_resolver_rule_request.py +114 -0
  221. huaweicloudsdkdns/v2/model/show_resolver_rule_resp_param.py +405 -0
  222. huaweicloudsdkdns/v2/model/show_resolver_rule_response.py +112 -0
  223. huaweicloudsdkdns/v2/model/show_resource_tag_request.py +27 -16
  224. huaweicloudsdkdns/v2/model/show_resource_tag_response.py +22 -14
  225. huaweicloudsdkdns/v2/model/tag.py +27 -20
  226. huaweicloudsdkdns/v2/model/tag_values.py +27 -20
  227. huaweicloudsdkdns/v2/model/update_custom_line_request.py +27 -20
  228. huaweicloudsdkdns/v2/model/{update_customs_line_req.py → update_custom_line_request_body.py} +36 -27
  229. huaweicloudsdkdns/v2/model/update_custom_line_response.py +53 -35
  230. huaweicloudsdkdns/v2/model/update_endpoint_request.py +139 -0
  231. huaweicloudsdkdns/v2/model/update_endpoint_request_body.py +114 -0
  232. huaweicloudsdkdns/v2/model/update_endpoint_response.py +112 -0
  233. huaweicloudsdkdns/v2/model/update_line_groups_request.py +139 -0
  234. huaweicloudsdkdns/v2/model/update_line_groups_request_body.py +171 -0
  235. huaweicloudsdkdns/v2/model/update_line_groups_response.py +290 -0
  236. huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +34 -25
  237. huaweicloudsdkdns/v2/model/update_private_zone_request.py +26 -19
  238. huaweicloudsdkdns/v2/model/update_private_zone_response.py +126 -92
  239. huaweicloudsdkdns/v2/model/update_private_zone_status_request.py +139 -0
  240. huaweicloudsdkdns/v2/model/update_private_zone_status_response.py +518 -0
  241. huaweicloudsdkdns/v2/model/update_ptr_record_request.py +33 -22
  242. huaweicloudsdkdns/v2/model/update_ptr_record_response.py +65 -47
  243. huaweicloudsdkdns/v2/model/update_ptr_req.py +40 -29
  244. huaweicloudsdkdns/v2/model/update_ptr_request.py +139 -0
  245. huaweicloudsdkdns/v2/model/update_ptr_request_body.py +172 -0
  246. huaweicloudsdkdns/v2/model/update_ptr_response.py +311 -0
  247. huaweicloudsdkdns/v2/model/update_public_zone_info.py +36 -27
  248. huaweicloudsdkdns/v2/model/update_public_zone_request.py +26 -19
  249. huaweicloudsdkdns/v2/model/update_public_zone_response.py +120 -88
  250. huaweicloudsdkdns/v2/model/update_public_zone_status_request.py +27 -20
  251. huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +118 -86
  252. huaweicloudsdkdns/v2/model/update_record_set_req.py +52 -37
  253. huaweicloudsdkdns/v2/model/update_record_set_request.py +33 -22
  254. huaweicloudsdkdns/v2/model/update_record_set_response.py +111 -55
  255. huaweicloudsdkdns/v2/model/update_record_sets_req.py +55 -40
  256. huaweicloudsdkdns/v2/model/update_record_sets_request.py +33 -22
  257. huaweicloudsdkdns/v2/model/update_record_sets_response.py +138 -102
  258. huaweicloudsdkdns/v2/model/update_resolver_rule_request.py +139 -0
  259. huaweicloudsdkdns/v2/model/update_resolver_rule_request_body.py +144 -0
  260. huaweicloudsdkdns/v2/model/update_resolver_rule_response.py +112 -0
  261. huaweicloudsdkdns/v2/model/update_zone_status_request_body.py +114 -0
  262. huaweicloudsdkdns/v2/model/values_item.py +21 -16
  263. huaweicloudsdkdns/v2/model/version_item.py +56 -41
  264. huaweicloudsdkdns/v2/model/vpcs_data.py +173 -0
  265. huaweicloudsdkdns/v2/model/zone_data.py +517 -0
  266. huaweicloudsdkdns/v2/region/dns_region.py +88 -38
  267. {huaweicloudsdkdns-3.0.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/METADATA +9 -9
  268. huaweicloudsdkdns-3.1.160.dist-info/RECORD +273 -0
  269. {huaweicloudsdkdns-3.0.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/WHEEL +1 -1
  270. huaweicloudsdkdns/v2/model/create_record_set_req.py +0 -263
  271. huaweicloudsdkdns/v2/model/create_record_set_with_line_req.py +0 -348
  272. huaweicloudsdkdns-3.0.42rc0.dist-info/RECORD +0 -146
  273. {huaweicloudsdkdns-3.0.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/LICENSE +0 -0
  274. {huaweicloudsdkdns-3.0.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/top_level.txt +0 -0
@@ -1,17 +1,13 @@
1
1
  # coding: utf-8
2
2
 
3
- import pprint
4
- import re
5
-
6
3
  import six
7
4
 
8
-
9
5
  from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
10
7
 
11
8
 
12
9
  class CreateEipRecordSetResponse(SdkResponse):
13
10
 
14
-
15
11
  """
16
12
  Attributes:
17
13
  openapi_types (dict): The key is attribute name
@@ -19,7 +15,6 @@ class CreateEipRecordSetResponse(SdkResponse):
19
15
  attribute_map (dict): The key is attribute name
20
16
  and the value is json key in definition.
21
17
  """
22
-
23
18
  sensitive_list = []
24
19
 
25
20
  openapi_types = {
@@ -30,7 +25,8 @@ class CreateEipRecordSetResponse(SdkResponse):
30
25
  'address': 'str',
31
26
  'status': 'str',
32
27
  'action': 'str',
33
- 'links': 'PageLink'
28
+ 'links': 'PageLink',
29
+ 'enterprise_project_id': 'str'
34
30
  }
35
31
 
36
32
  attribute_map = {
@@ -41,13 +37,36 @@ class CreateEipRecordSetResponse(SdkResponse):
41
37
  'address': 'address',
42
38
  'status': 'status',
43
39
  'action': 'action',
44
- 'links': 'links'
40
+ 'links': 'links',
41
+ 'enterprise_project_id': 'enterprise_project_id'
45
42
  }
46
43
 
47
- def __init__(self, id=None, ptrdname=None, description=None, ttl=None, address=None, status=None, action=None, links=None):
48
- """CreateEipRecordSetResponse - a model defined in huaweicloud sdk"""
44
+ def __init__(self, id=None, ptrdname=None, description=None, ttl=None, address=None, status=None, action=None, links=None, enterprise_project_id=None):
45
+ r"""CreateEipRecordSetResponse
46
+
47
+ The model defined in huaweicloud sdk
48
+
49
+ :param id: 反向解析记录的ID,格式形如{region}:{floatingip_id}。
50
+ :type id: str
51
+ :param ptrdname: 反向解析记录对应的域名。
52
+ :type ptrdname: str
53
+ :param description: 对反向解析记录的描述。
54
+ :type description: str
55
+ :param ttl: 反向解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
56
+ :type ttl: int
57
+ :param address: 弹性公网IP的IP地址。
58
+ :type address: str
59
+ :param status: 资源状态。
60
+ :type status: str
61
+ :param action: 对该资源的当前操作。取值范围:CREATE,UPDATE,DELETE,NONE CREATE:表示创建,UPDATE:表示更新,DELETE:表示删除,NONE:表示无操作
62
+ :type action: str
63
+ :param links:
64
+ :type links: :class:`huaweicloudsdkdns.v2.PageLink`
65
+ :param enterprise_project_id: 反向解析关联的企业项目ID,长度不超过36个字符。
66
+ :type enterprise_project_id: str
67
+ """
49
68
 
50
- super().__init__()
69
+ super(CreateEipRecordSetResponse, self).__init__()
51
70
 
52
71
  self._id = None
53
72
  self._ptrdname = None
@@ -57,6 +76,7 @@ class CreateEipRecordSetResponse(SdkResponse):
57
76
  self._status = None
58
77
  self._action = None
59
78
  self._links = None
79
+ self._enterprise_project_id = None
60
80
  self.discriminator = None
61
81
 
62
82
  if id is not None:
@@ -75,12 +95,14 @@ class CreateEipRecordSetResponse(SdkResponse):
75
95
  self.action = action
76
96
  if links is not None:
77
97
  self.links = links
98
+ if enterprise_project_id is not None:
99
+ self.enterprise_project_id = enterprise_project_id
78
100
 
79
101
  @property
80
102
  def id(self):
81
- """Gets the id of this CreateEipRecordSetResponse.
103
+ r"""Gets the id of this CreateEipRecordSetResponse.
82
104
 
83
- PTR记录的ID,格式形如{region}:{floatingip_id}。
105
+ 反向解析记录的ID,格式形如{region}:{floatingip_id}。
84
106
 
85
107
  :return: The id of this CreateEipRecordSetResponse.
86
108
  :rtype: str
@@ -89,20 +111,20 @@ class CreateEipRecordSetResponse(SdkResponse):
89
111
 
90
112
  @id.setter
91
113
  def id(self, id):
92
- """Sets the id of this CreateEipRecordSetResponse.
114
+ r"""Sets the id of this CreateEipRecordSetResponse.
93
115
 
94
- PTR记录的ID,格式形如{region}:{floatingip_id}。
116
+ 反向解析记录的ID,格式形如{region}:{floatingip_id}。
95
117
 
96
118
  :param id: The id of this CreateEipRecordSetResponse.
97
- :type: str
119
+ :type id: str
98
120
  """
99
121
  self._id = id
100
122
 
101
123
  @property
102
124
  def ptrdname(self):
103
- """Gets the ptrdname of this CreateEipRecordSetResponse.
125
+ r"""Gets the ptrdname of this CreateEipRecordSetResponse.
104
126
 
105
- PTR记录对应的域名。
127
+ 反向解析记录对应的域名。
106
128
 
107
129
  :return: The ptrdname of this CreateEipRecordSetResponse.
108
130
  :rtype: str
@@ -111,20 +133,20 @@ class CreateEipRecordSetResponse(SdkResponse):
111
133
 
112
134
  @ptrdname.setter
113
135
  def ptrdname(self, ptrdname):
114
- """Sets the ptrdname of this CreateEipRecordSetResponse.
136
+ r"""Sets the ptrdname of this CreateEipRecordSetResponse.
115
137
 
116
- PTR记录对应的域名。
138
+ 反向解析记录对应的域名。
117
139
 
118
140
  :param ptrdname: The ptrdname of this CreateEipRecordSetResponse.
119
- :type: str
141
+ :type ptrdname: str
120
142
  """
121
143
  self._ptrdname = ptrdname
122
144
 
123
145
  @property
124
146
  def description(self):
125
- """Gets the description of this CreateEipRecordSetResponse.
147
+ r"""Gets the description of this CreateEipRecordSetResponse.
126
148
 
127
- 对PTR记录的描述。
149
+ 对反向解析记录的描述。
128
150
 
129
151
  :return: The description of this CreateEipRecordSetResponse.
130
152
  :rtype: str
@@ -133,20 +155,20 @@ class CreateEipRecordSetResponse(SdkResponse):
133
155
 
134
156
  @description.setter
135
157
  def description(self, description):
136
- """Sets the description of this CreateEipRecordSetResponse.
158
+ r"""Sets the description of this CreateEipRecordSetResponse.
137
159
 
138
- 对PTR记录的描述。
160
+ 对反向解析记录的描述。
139
161
 
140
162
  :param description: The description of this CreateEipRecordSetResponse.
141
- :type: str
163
+ :type description: str
142
164
  """
143
165
  self._description = description
144
166
 
145
167
  @property
146
168
  def ttl(self):
147
- """Gets the ttl of this CreateEipRecordSetResponse.
169
+ r"""Gets the ttl of this CreateEipRecordSetResponse.
148
170
 
149
- PTR记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
171
+ 反向解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
150
172
 
151
173
  :return: The ttl of this CreateEipRecordSetResponse.
152
174
  :rtype: int
@@ -155,20 +177,20 @@ class CreateEipRecordSetResponse(SdkResponse):
155
177
 
156
178
  @ttl.setter
157
179
  def ttl(self, ttl):
158
- """Sets the ttl of this CreateEipRecordSetResponse.
180
+ r"""Sets the ttl of this CreateEipRecordSetResponse.
159
181
 
160
- PTR记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
182
+ 反向解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
161
183
 
162
184
  :param ttl: The ttl of this CreateEipRecordSetResponse.
163
- :type: int
185
+ :type ttl: int
164
186
  """
165
187
  self._ttl = ttl
166
188
 
167
189
  @property
168
190
  def address(self):
169
- """Gets the address of this CreateEipRecordSetResponse.
191
+ r"""Gets the address of this CreateEipRecordSetResponse.
170
192
 
171
- 弹性IP的IP地址。
193
+ 弹性公网IP的IP地址。
172
194
 
173
195
  :return: The address of this CreateEipRecordSetResponse.
174
196
  :rtype: str
@@ -177,18 +199,18 @@ class CreateEipRecordSetResponse(SdkResponse):
177
199
 
178
200
  @address.setter
179
201
  def address(self, address):
180
- """Sets the address of this CreateEipRecordSetResponse.
202
+ r"""Sets the address of this CreateEipRecordSetResponse.
181
203
 
182
- 弹性IP的IP地址。
204
+ 弹性公网IP的IP地址。
183
205
 
184
206
  :param address: The address of this CreateEipRecordSetResponse.
185
- :type: str
207
+ :type address: str
186
208
  """
187
209
  self._address = address
188
210
 
189
211
  @property
190
212
  def status(self):
191
- """Gets the status of this CreateEipRecordSetResponse.
213
+ r"""Gets the status of this CreateEipRecordSetResponse.
192
214
 
193
215
  资源状态。
194
216
 
@@ -199,18 +221,18 @@ class CreateEipRecordSetResponse(SdkResponse):
199
221
 
200
222
  @status.setter
201
223
  def status(self, status):
202
- """Sets the status of this CreateEipRecordSetResponse.
224
+ r"""Sets the status of this CreateEipRecordSetResponse.
203
225
 
204
226
  资源状态。
205
227
 
206
228
  :param status: The status of this CreateEipRecordSetResponse.
207
- :type: str
229
+ :type status: str
208
230
  """
209
231
  self._status = status
210
232
 
211
233
  @property
212
234
  def action(self):
213
- """Gets the action of this CreateEipRecordSetResponse.
235
+ r"""Gets the action of this CreateEipRecordSetResponse.
214
236
 
215
237
  对该资源的当前操作。取值范围:CREATE,UPDATE,DELETE,NONE CREATE:表示创建,UPDATE:表示更新,DELETE:表示删除,NONE:表示无操作
216
238
 
@@ -221,35 +243,55 @@ class CreateEipRecordSetResponse(SdkResponse):
221
243
 
222
244
  @action.setter
223
245
  def action(self, action):
224
- """Sets the action of this CreateEipRecordSetResponse.
246
+ r"""Sets the action of this CreateEipRecordSetResponse.
225
247
 
226
248
  对该资源的当前操作。取值范围:CREATE,UPDATE,DELETE,NONE CREATE:表示创建,UPDATE:表示更新,DELETE:表示删除,NONE:表示无操作
227
249
 
228
250
  :param action: The action of this CreateEipRecordSetResponse.
229
- :type: str
251
+ :type action: str
230
252
  """
231
253
  self._action = action
232
254
 
233
255
  @property
234
256
  def links(self):
235
- """Gets the links of this CreateEipRecordSetResponse.
236
-
257
+ r"""Gets the links of this CreateEipRecordSetResponse.
237
258
 
238
259
  :return: The links of this CreateEipRecordSetResponse.
239
- :rtype: PageLink
260
+ :rtype: :class:`huaweicloudsdkdns.v2.PageLink`
240
261
  """
241
262
  return self._links
242
263
 
243
264
  @links.setter
244
265
  def links(self, links):
245
- """Sets the links of this CreateEipRecordSetResponse.
246
-
266
+ r"""Sets the links of this CreateEipRecordSetResponse.
247
267
 
248
268
  :param links: The links of this CreateEipRecordSetResponse.
249
- :type: PageLink
269
+ :type links: :class:`huaweicloudsdkdns.v2.PageLink`
250
270
  """
251
271
  self._links = links
252
272
 
273
+ @property
274
+ def enterprise_project_id(self):
275
+ r"""Gets the enterprise_project_id of this CreateEipRecordSetResponse.
276
+
277
+ 反向解析关联的企业项目ID,长度不超过36个字符。
278
+
279
+ :return: The enterprise_project_id of this CreateEipRecordSetResponse.
280
+ :rtype: str
281
+ """
282
+ return self._enterprise_project_id
283
+
284
+ @enterprise_project_id.setter
285
+ def enterprise_project_id(self, enterprise_project_id):
286
+ r"""Sets the enterprise_project_id of this CreateEipRecordSetResponse.
287
+
288
+ 反向解析关联的企业项目ID,长度不超过36个字符。
289
+
290
+ :param enterprise_project_id: The enterprise_project_id of this CreateEipRecordSetResponse.
291
+ :type enterprise_project_id: str
292
+ """
293
+ self._enterprise_project_id = enterprise_project_id
294
+
253
295
  def to_dict(self):
254
296
  """Returns the model properties as a dict"""
255
297
  result = {}
@@ -279,10 +321,15 @@ class CreateEipRecordSetResponse(SdkResponse):
279
321
 
280
322
  def to_str(self):
281
323
  """Returns the string representation of the model"""
282
- return pprint.pformat(self.to_dict())
324
+ import simplejson as json
325
+ if six.PY2:
326
+ import sys
327
+ reload(sys)
328
+ sys.setdefaultencoding("utf-8")
329
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
283
330
 
284
331
  def __repr__(self):
285
- """For `print` and `pprint`"""
332
+ """For `print`"""
286
333
  return self.to_str()
287
334
 
288
335
  def __eq__(self, other):
@@ -0,0 +1,111 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class CreateEndpointRequest:
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
+ 'body': 'CreateEndpointRequestBody'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'body': 'body'
25
+ }
26
+
27
+ def __init__(self, body=None):
28
+ r"""CreateEndpointRequest
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param body: Body of the CreateEndpointRequest
33
+ :type body: :class:`huaweicloudsdkdns.v2.CreateEndpointRequestBody`
34
+ """
35
+
36
+
37
+
38
+ self._body = None
39
+ self.discriminator = None
40
+
41
+ if body is not None:
42
+ self.body = body
43
+
44
+ @property
45
+ def body(self):
46
+ r"""Gets the body of this CreateEndpointRequest.
47
+
48
+ :return: The body of this CreateEndpointRequest.
49
+ :rtype: :class:`huaweicloudsdkdns.v2.CreateEndpointRequestBody`
50
+ """
51
+ return self._body
52
+
53
+ @body.setter
54
+ def body(self, body):
55
+ r"""Sets the body of this CreateEndpointRequest.
56
+
57
+ :param body: The body of this CreateEndpointRequest.
58
+ :type body: :class:`huaweicloudsdkdns.v2.CreateEndpointRequestBody`
59
+ """
60
+ self._body = body
61
+
62
+ def to_dict(self):
63
+ """Returns the model properties as a dict"""
64
+ result = {}
65
+
66
+ for attr, _ in six.iteritems(self.openapi_types):
67
+ value = getattr(self, attr)
68
+ if isinstance(value, list):
69
+ result[attr] = list(map(
70
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
71
+ value
72
+ ))
73
+ elif hasattr(value, "to_dict"):
74
+ result[attr] = value.to_dict()
75
+ elif isinstance(value, dict):
76
+ result[attr] = dict(map(
77
+ lambda item: (item[0], item[1].to_dict())
78
+ if hasattr(item[1], "to_dict") else item,
79
+ value.items()
80
+ ))
81
+ else:
82
+ if attr in self.sensitive_list:
83
+ result[attr] = "****"
84
+ else:
85
+ result[attr] = value
86
+
87
+ return result
88
+
89
+ def to_str(self):
90
+ """Returns the string representation of the model"""
91
+ import simplejson as json
92
+ if six.PY2:
93
+ import sys
94
+ reload(sys)
95
+ sys.setdefaultencoding("utf-8")
96
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
97
+
98
+ def __repr__(self):
99
+ """For `print`"""
100
+ return self.to_str()
101
+
102
+ def __eq__(self, other):
103
+ """Returns true if both objects are equal"""
104
+ if not isinstance(other, CreateEndpointRequest):
105
+ return False
106
+
107
+ return self.__dict__ == other.__dict__
108
+
109
+ def __ne__(self, other):
110
+ """Returns true if both objects are not equal"""
111
+ return not self == other
@@ -0,0 +1,198 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class CreateEndpointRequestBody:
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
+ 'name': 'str',
21
+ 'direction': 'str',
22
+ 'region': 'str',
23
+ 'ipaddresses': 'list[IpaddressInfo]'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'name': 'name',
28
+ 'direction': 'direction',
29
+ 'region': 'region',
30
+ 'ipaddresses': 'ipaddresses'
31
+ }
32
+
33
+ def __init__(self, name=None, direction=None, region=None, ipaddresses=None):
34
+ r"""CreateEndpointRequestBody
35
+
36
+ The model defined in huaweicloud sdk
37
+
38
+ :param name: 待创建的终端节点名称。 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)。
39
+ :type name: str
40
+ :param direction: 终端节点方向。 取值: inbound,表示入站终端节点。 outbound,表示出站终端节点。
41
+ :type direction: str
42
+ :param region: 当前子网所在的region。
43
+ :type region: str
44
+ :param ipaddresses: 终端节点的IP地址和子网信息。最少需要添加2个IP地址,最多可以添加6个IP地址。
45
+ :type ipaddresses: list[:class:`huaweicloudsdkdns.v2.IpaddressInfo`]
46
+ """
47
+
48
+
49
+
50
+ self._name = None
51
+ self._direction = None
52
+ self._region = None
53
+ self._ipaddresses = None
54
+ self.discriminator = None
55
+
56
+ self.name = name
57
+ self.direction = direction
58
+ self.region = region
59
+ self.ipaddresses = ipaddresses
60
+
61
+ @property
62
+ def name(self):
63
+ r"""Gets the name of this CreateEndpointRequestBody.
64
+
65
+ 待创建的终端节点名称。 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)。
66
+
67
+ :return: The name of this CreateEndpointRequestBody.
68
+ :rtype: str
69
+ """
70
+ return self._name
71
+
72
+ @name.setter
73
+ def name(self, name):
74
+ r"""Sets the name of this CreateEndpointRequestBody.
75
+
76
+ 待创建的终端节点名称。 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)。
77
+
78
+ :param name: The name of this CreateEndpointRequestBody.
79
+ :type name: str
80
+ """
81
+ self._name = name
82
+
83
+ @property
84
+ def direction(self):
85
+ r"""Gets the direction of this CreateEndpointRequestBody.
86
+
87
+ 终端节点方向。 取值: inbound,表示入站终端节点。 outbound,表示出站终端节点。
88
+
89
+ :return: The direction of this CreateEndpointRequestBody.
90
+ :rtype: str
91
+ """
92
+ return self._direction
93
+
94
+ @direction.setter
95
+ def direction(self, direction):
96
+ r"""Sets the direction of this CreateEndpointRequestBody.
97
+
98
+ 终端节点方向。 取值: inbound,表示入站终端节点。 outbound,表示出站终端节点。
99
+
100
+ :param direction: The direction of this CreateEndpointRequestBody.
101
+ :type direction: str
102
+ """
103
+ self._direction = direction
104
+
105
+ @property
106
+ def region(self):
107
+ r"""Gets the region of this CreateEndpointRequestBody.
108
+
109
+ 当前子网所在的region。
110
+
111
+ :return: The region of this CreateEndpointRequestBody.
112
+ :rtype: str
113
+ """
114
+ return self._region
115
+
116
+ @region.setter
117
+ def region(self, region):
118
+ r"""Sets the region of this CreateEndpointRequestBody.
119
+
120
+ 当前子网所在的region。
121
+
122
+ :param region: The region of this CreateEndpointRequestBody.
123
+ :type region: str
124
+ """
125
+ self._region = region
126
+
127
+ @property
128
+ def ipaddresses(self):
129
+ r"""Gets the ipaddresses of this CreateEndpointRequestBody.
130
+
131
+ 终端节点的IP地址和子网信息。最少需要添加2个IP地址,最多可以添加6个IP地址。
132
+
133
+ :return: The ipaddresses of this CreateEndpointRequestBody.
134
+ :rtype: list[:class:`huaweicloudsdkdns.v2.IpaddressInfo`]
135
+ """
136
+ return self._ipaddresses
137
+
138
+ @ipaddresses.setter
139
+ def ipaddresses(self, ipaddresses):
140
+ r"""Sets the ipaddresses of this CreateEndpointRequestBody.
141
+
142
+ 终端节点的IP地址和子网信息。最少需要添加2个IP地址,最多可以添加6个IP地址。
143
+
144
+ :param ipaddresses: The ipaddresses of this CreateEndpointRequestBody.
145
+ :type ipaddresses: list[:class:`huaweicloudsdkdns.v2.IpaddressInfo`]
146
+ """
147
+ self._ipaddresses = ipaddresses
148
+
149
+ def to_dict(self):
150
+ """Returns the model properties as a dict"""
151
+ result = {}
152
+
153
+ for attr, _ in six.iteritems(self.openapi_types):
154
+ value = getattr(self, attr)
155
+ if isinstance(value, list):
156
+ result[attr] = list(map(
157
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
158
+ value
159
+ ))
160
+ elif hasattr(value, "to_dict"):
161
+ result[attr] = value.to_dict()
162
+ elif isinstance(value, dict):
163
+ result[attr] = dict(map(
164
+ lambda item: (item[0], item[1].to_dict())
165
+ if hasattr(item[1], "to_dict") else item,
166
+ value.items()
167
+ ))
168
+ else:
169
+ if attr in self.sensitive_list:
170
+ result[attr] = "****"
171
+ else:
172
+ result[attr] = value
173
+
174
+ return result
175
+
176
+ def to_str(self):
177
+ """Returns the string representation of the model"""
178
+ import simplejson as json
179
+ if six.PY2:
180
+ import sys
181
+ reload(sys)
182
+ sys.setdefaultencoding("utf-8")
183
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
184
+
185
+ def __repr__(self):
186
+ """For `print`"""
187
+ return self.to_str()
188
+
189
+ def __eq__(self, other):
190
+ """Returns true if both objects are equal"""
191
+ if not isinstance(other, CreateEndpointRequestBody):
192
+ return False
193
+
194
+ return self.__dict__ == other.__dict__
195
+
196
+ def __ne__(self, other):
197
+ """Returns true if both objects are not equal"""
198
+ return not self == other