huaweicloudsdkivs 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 (58) hide show
  1. huaweicloudsdkivs/__init__.py +0 -0
  2. huaweicloudsdkivs/v2/__init__.py +54 -0
  3. huaweicloudsdkivs/v2/ivs_async_client.py +485 -0
  4. huaweicloudsdkivs/v2/ivs_client.py +482 -0
  5. huaweicloudsdkivs/v2/model/__init__.py +51 -0
  6. huaweicloudsdkivs/v2/model/actions_list.py +142 -0
  7. huaweicloudsdkivs/v2/model/detect_extention_by_id_card_image_request.py +140 -0
  8. huaweicloudsdkivs/v2/model/detect_extention_by_id_card_image_response.py +162 -0
  9. huaweicloudsdkivs/v2/model/detect_extention_by_name_and_id_request.py +140 -0
  10. huaweicloudsdkivs/v2/model/detect_extention_by_name_and_id_response.py +162 -0
  11. huaweicloudsdkivs/v2/model/detect_standard_by_id_card_image_request.py +140 -0
  12. huaweicloudsdkivs/v2/model/detect_standard_by_id_card_image_response.py +162 -0
  13. huaweicloudsdkivs/v2/model/detect_standard_by_name_and_id_request.py +140 -0
  14. huaweicloudsdkivs/v2/model/detect_standard_by_name_and_id_response.py +162 -0
  15. huaweicloudsdkivs/v2/model/detect_standard_by_video_and_id_card_image_request.py +140 -0
  16. huaweicloudsdkivs/v2/model/detect_standard_by_video_and_id_card_image_response.py +162 -0
  17. huaweicloudsdkivs/v2/model/detect_standard_by_video_and_name_and_id_request.py +140 -0
  18. huaweicloudsdkivs/v2/model/detect_standard_by_video_and_name_and_id_response.py +162 -0
  19. huaweicloudsdkivs/v2/model/extention_req_data_by_id_card_image.py +143 -0
  20. huaweicloudsdkivs/v2/model/extention_req_data_by_name_and_id.py +142 -0
  21. huaweicloudsdkivs/v2/model/extention_resp_data_by_id_card_image.py +198 -0
  22. huaweicloudsdkivs/v2/model/extention_resp_data_by_name_and_id.py +173 -0
  23. huaweicloudsdkivs/v2/model/idcard_result.py +341 -0
  24. huaweicloudsdkivs/v2/model/ivs_extention_by_id_card_image_request_body.py +134 -0
  25. huaweicloudsdkivs/v2/model/ivs_extention_by_id_card_image_request_body_data.py +115 -0
  26. huaweicloudsdkivs/v2/model/ivs_extention_by_id_card_image_response_body_result.py +173 -0
  27. huaweicloudsdkivs/v2/model/ivs_extention_by_name_and_id_request_body.py +134 -0
  28. huaweicloudsdkivs/v2/model/ivs_extention_by_name_and_id_request_body_data.py +115 -0
  29. huaweicloudsdkivs/v2/model/ivs_extention_by_name_and_id_response_body_result.py +173 -0
  30. huaweicloudsdkivs/v2/model/ivs_standard_by_id_card_image_request_body.py +134 -0
  31. huaweicloudsdkivs/v2/model/ivs_standard_by_id_card_image_request_body_data.py +115 -0
  32. huaweicloudsdkivs/v2/model/ivs_standard_by_id_card_image_response_body_result.py +170 -0
  33. huaweicloudsdkivs/v2/model/ivs_standard_by_name_and_id_request_body.py +134 -0
  34. huaweicloudsdkivs/v2/model/ivs_standard_by_name_and_id_request_body_data.py +115 -0
  35. huaweicloudsdkivs/v2/model/ivs_standard_by_name_and_id_response_body_result.py +170 -0
  36. huaweicloudsdkivs/v2/model/ivs_standard_by_video_and_id_card_image_request_body.py +134 -0
  37. huaweicloudsdkivs/v2/model/ivs_standard_by_video_and_id_card_image_request_body_data.py +115 -0
  38. huaweicloudsdkivs/v2/model/ivs_standard_by_video_and_id_card_image_response_body_result.py +170 -0
  39. huaweicloudsdkivs/v2/model/ivs_standard_by_video_and_name_and_id_request_body.py +134 -0
  40. huaweicloudsdkivs/v2/model/ivs_standard_by_video_and_name_and_id_request_body_data.py +115 -0
  41. huaweicloudsdkivs/v2/model/ivs_standard_by_video_and_name_and_id_response_body_result.py +170 -0
  42. huaweicloudsdkivs/v2/model/meta.py +115 -0
  43. huaweicloudsdkivs/v2/model/req_data_by_id_card_image.py +229 -0
  44. huaweicloudsdkivs/v2/model/req_data_by_video_and_id_card_image.py +257 -0
  45. huaweicloudsdkivs/v2/model/resp_data_by_id_card_image.py +222 -0
  46. huaweicloudsdkivs/v2/model/resp_data_by_video_and_id_card_image.py +246 -0
  47. huaweicloudsdkivs/v2/model/standard_req_data_by_name_and_id.py +228 -0
  48. huaweicloudsdkivs/v2/model/standard_req_data_by_video_and_name_and_id.py +256 -0
  49. huaweicloudsdkivs/v2/model/standard_resp_data_by_name_and_id.py +198 -0
  50. huaweicloudsdkivs/v2/model/standard_resp_data_by_video_and_name_and_id.py +222 -0
  51. huaweicloudsdkivs/v2/model/video_result.py +170 -0
  52. huaweicloudsdkivs/v2/region/__init__.py +0 -0
  53. huaweicloudsdkivs/v2/region/ivs_region.py +34 -0
  54. huaweicloudsdkivs-3.1.160.dist-info/LICENSE +13 -0
  55. huaweicloudsdkivs-3.1.160.dist-info/METADATA +26 -0
  56. huaweicloudsdkivs-3.1.160.dist-info/RECORD +58 -0
  57. huaweicloudsdkivs-3.1.160.dist-info/WHEEL +5 -0
  58. huaweicloudsdkivs-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,173 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class IvsExtentionByIdCardImageResponseBodyResult:
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
+ 'service_name': 'str',
21
+ 'count': 'int',
22
+ 'resp_data': 'list[ExtentionRespDataByIdCardImage]'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'service_name': 'service_name',
27
+ 'count': 'count',
28
+ 'resp_data': 'resp_data'
29
+ }
30
+
31
+ def __init__(self, service_name=None, count=None, resp_data=None):
32
+ r"""IvsExtentionByIdCardImageResponseBodyResult
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param service_name: 子服务名称。
37
+ :type service_name: str
38
+ :param count: 成功的结果数量,与resp_data字段对应。
39
+ :type count: int
40
+ :param resp_data: 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
41
+ :type resp_data: list[:class:`huaweicloudsdkivs.v2.ExtentionRespDataByIdCardImage`]
42
+ """
43
+
44
+
45
+
46
+ self._service_name = None
47
+ self._count = None
48
+ self._resp_data = None
49
+ self.discriminator = None
50
+
51
+ if service_name is not None:
52
+ self.service_name = service_name
53
+ if count is not None:
54
+ self.count = count
55
+ if resp_data is not None:
56
+ self.resp_data = resp_data
57
+
58
+ @property
59
+ def service_name(self):
60
+ r"""Gets the service_name of this IvsExtentionByIdCardImageResponseBodyResult.
61
+
62
+ 子服务名称。
63
+
64
+ :return: The service_name of this IvsExtentionByIdCardImageResponseBodyResult.
65
+ :rtype: str
66
+ """
67
+ return self._service_name
68
+
69
+ @service_name.setter
70
+ def service_name(self, service_name):
71
+ r"""Sets the service_name of this IvsExtentionByIdCardImageResponseBodyResult.
72
+
73
+ 子服务名称。
74
+
75
+ :param service_name: The service_name of this IvsExtentionByIdCardImageResponseBodyResult.
76
+ :type service_name: str
77
+ """
78
+ self._service_name = service_name
79
+
80
+ @property
81
+ def count(self):
82
+ r"""Gets the count of this IvsExtentionByIdCardImageResponseBodyResult.
83
+
84
+ 成功的结果数量,与resp_data字段对应。
85
+
86
+ :return: The count of this IvsExtentionByIdCardImageResponseBodyResult.
87
+ :rtype: int
88
+ """
89
+ return self._count
90
+
91
+ @count.setter
92
+ def count(self, count):
93
+ r"""Sets the count of this IvsExtentionByIdCardImageResponseBodyResult.
94
+
95
+ 成功的结果数量,与resp_data字段对应。
96
+
97
+ :param count: The count of this IvsExtentionByIdCardImageResponseBodyResult.
98
+ :type count: int
99
+ """
100
+ self._count = count
101
+
102
+ @property
103
+ def resp_data(self):
104
+ r"""Gets the resp_data of this IvsExtentionByIdCardImageResponseBodyResult.
105
+
106
+ 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
107
+
108
+ :return: The resp_data of this IvsExtentionByIdCardImageResponseBodyResult.
109
+ :rtype: list[:class:`huaweicloudsdkivs.v2.ExtentionRespDataByIdCardImage`]
110
+ """
111
+ return self._resp_data
112
+
113
+ @resp_data.setter
114
+ def resp_data(self, resp_data):
115
+ r"""Sets the resp_data of this IvsExtentionByIdCardImageResponseBodyResult.
116
+
117
+ 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
118
+
119
+ :param resp_data: The resp_data of this IvsExtentionByIdCardImageResponseBodyResult.
120
+ :type resp_data: list[:class:`huaweicloudsdkivs.v2.ExtentionRespDataByIdCardImage`]
121
+ """
122
+ self._resp_data = resp_data
123
+
124
+ def to_dict(self):
125
+ """Returns the model properties as a dict"""
126
+ result = {}
127
+
128
+ for attr, _ in six.iteritems(self.openapi_types):
129
+ value = getattr(self, attr)
130
+ if isinstance(value, list):
131
+ result[attr] = list(map(
132
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
133
+ value
134
+ ))
135
+ elif hasattr(value, "to_dict"):
136
+ result[attr] = value.to_dict()
137
+ elif isinstance(value, dict):
138
+ result[attr] = dict(map(
139
+ lambda item: (item[0], item[1].to_dict())
140
+ if hasattr(item[1], "to_dict") else item,
141
+ value.items()
142
+ ))
143
+ else:
144
+ if attr in self.sensitive_list:
145
+ result[attr] = "****"
146
+ else:
147
+ result[attr] = value
148
+
149
+ return result
150
+
151
+ def to_str(self):
152
+ """Returns the string representation of the model"""
153
+ import simplejson as json
154
+ if six.PY2:
155
+ import sys
156
+ reload(sys)
157
+ sys.setdefaultencoding("utf-8")
158
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
159
+
160
+ def __repr__(self):
161
+ """For `print`"""
162
+ return self.to_str()
163
+
164
+ def __eq__(self, other):
165
+ """Returns true if both objects are equal"""
166
+ if not isinstance(other, IvsExtentionByIdCardImageResponseBodyResult):
167
+ return False
168
+
169
+ return self.__dict__ == other.__dict__
170
+
171
+ def __ne__(self, other):
172
+ """Returns true if both objects are not equal"""
173
+ return not self == other
@@ -0,0 +1,134 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class IvsExtentionByNameAndIdRequestBody:
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
+ 'meta': 'Meta',
21
+ 'data': 'IvsExtentionByNameAndIdRequestBodyData'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'meta': 'meta',
26
+ 'data': 'data'
27
+ }
28
+
29
+ def __init__(self, meta=None, data=None):
30
+ r"""IvsExtentionByNameAndIdRequestBody
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param meta:
35
+ :type meta: :class:`huaweicloudsdkivs.v2.Meta`
36
+ :param data:
37
+ :type data: :class:`huaweicloudsdkivs.v2.IvsExtentionByNameAndIdRequestBodyData`
38
+ """
39
+
40
+
41
+
42
+ self._meta = None
43
+ self._data = None
44
+ self.discriminator = None
45
+
46
+ self.meta = meta
47
+ self.data = data
48
+
49
+ @property
50
+ def meta(self):
51
+ r"""Gets the meta of this IvsExtentionByNameAndIdRequestBody.
52
+
53
+ :return: The meta of this IvsExtentionByNameAndIdRequestBody.
54
+ :rtype: :class:`huaweicloudsdkivs.v2.Meta`
55
+ """
56
+ return self._meta
57
+
58
+ @meta.setter
59
+ def meta(self, meta):
60
+ r"""Sets the meta of this IvsExtentionByNameAndIdRequestBody.
61
+
62
+ :param meta: The meta of this IvsExtentionByNameAndIdRequestBody.
63
+ :type meta: :class:`huaweicloudsdkivs.v2.Meta`
64
+ """
65
+ self._meta = meta
66
+
67
+ @property
68
+ def data(self):
69
+ r"""Gets the data of this IvsExtentionByNameAndIdRequestBody.
70
+
71
+ :return: The data of this IvsExtentionByNameAndIdRequestBody.
72
+ :rtype: :class:`huaweicloudsdkivs.v2.IvsExtentionByNameAndIdRequestBodyData`
73
+ """
74
+ return self._data
75
+
76
+ @data.setter
77
+ def data(self, data):
78
+ r"""Sets the data of this IvsExtentionByNameAndIdRequestBody.
79
+
80
+ :param data: The data of this IvsExtentionByNameAndIdRequestBody.
81
+ :type data: :class:`huaweicloudsdkivs.v2.IvsExtentionByNameAndIdRequestBodyData`
82
+ """
83
+ self._data = data
84
+
85
+ def to_dict(self):
86
+ """Returns the model properties as a dict"""
87
+ result = {}
88
+
89
+ for attr, _ in six.iteritems(self.openapi_types):
90
+ value = getattr(self, attr)
91
+ if isinstance(value, list):
92
+ result[attr] = list(map(
93
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
94
+ value
95
+ ))
96
+ elif hasattr(value, "to_dict"):
97
+ result[attr] = value.to_dict()
98
+ elif isinstance(value, dict):
99
+ result[attr] = dict(map(
100
+ lambda item: (item[0], item[1].to_dict())
101
+ if hasattr(item[1], "to_dict") else item,
102
+ value.items()
103
+ ))
104
+ else:
105
+ if attr in self.sensitive_list:
106
+ result[attr] = "****"
107
+ else:
108
+ result[attr] = value
109
+
110
+ return result
111
+
112
+ def to_str(self):
113
+ """Returns the string representation of the model"""
114
+ import simplejson as json
115
+ if six.PY2:
116
+ import sys
117
+ reload(sys)
118
+ sys.setdefaultencoding("utf-8")
119
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
120
+
121
+ def __repr__(self):
122
+ """For `print`"""
123
+ return self.to_str()
124
+
125
+ def __eq__(self, other):
126
+ """Returns true if both objects are equal"""
127
+ if not isinstance(other, IvsExtentionByNameAndIdRequestBody):
128
+ return False
129
+
130
+ return self.__dict__ == other.__dict__
131
+
132
+ def __ne__(self, other):
133
+ """Returns true if both objects are not equal"""
134
+ return not self == other
@@ -0,0 +1,115 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class IvsExtentionByNameAndIdRequestBodyData:
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
+ 'req_data': 'list[ExtentionReqDataByNameAndId]'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'req_data': 'req_data'
25
+ }
26
+
27
+ def __init__(self, req_data=None):
28
+ r"""IvsExtentionByNameAndIdRequestBodyData
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param req_data: 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
33
+ :type req_data: list[:class:`huaweicloudsdkivs.v2.ExtentionReqDataByNameAndId`]
34
+ """
35
+
36
+
37
+
38
+ self._req_data = None
39
+ self.discriminator = None
40
+
41
+ if req_data is not None:
42
+ self.req_data = req_data
43
+
44
+ @property
45
+ def req_data(self):
46
+ r"""Gets the req_data of this IvsExtentionByNameAndIdRequestBodyData.
47
+
48
+ 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
49
+
50
+ :return: The req_data of this IvsExtentionByNameAndIdRequestBodyData.
51
+ :rtype: list[:class:`huaweicloudsdkivs.v2.ExtentionReqDataByNameAndId`]
52
+ """
53
+ return self._req_data
54
+
55
+ @req_data.setter
56
+ def req_data(self, req_data):
57
+ r"""Sets the req_data of this IvsExtentionByNameAndIdRequestBodyData.
58
+
59
+ 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
60
+
61
+ :param req_data: The req_data of this IvsExtentionByNameAndIdRequestBodyData.
62
+ :type req_data: list[:class:`huaweicloudsdkivs.v2.ExtentionReqDataByNameAndId`]
63
+ """
64
+ self._req_data = req_data
65
+
66
+ def to_dict(self):
67
+ """Returns the model properties as a dict"""
68
+ result = {}
69
+
70
+ for attr, _ in six.iteritems(self.openapi_types):
71
+ value = getattr(self, attr)
72
+ if isinstance(value, list):
73
+ result[attr] = list(map(
74
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
75
+ value
76
+ ))
77
+ elif hasattr(value, "to_dict"):
78
+ result[attr] = value.to_dict()
79
+ elif isinstance(value, dict):
80
+ result[attr] = dict(map(
81
+ lambda item: (item[0], item[1].to_dict())
82
+ if hasattr(item[1], "to_dict") else item,
83
+ value.items()
84
+ ))
85
+ else:
86
+ if attr in self.sensitive_list:
87
+ result[attr] = "****"
88
+ else:
89
+ result[attr] = value
90
+
91
+ return result
92
+
93
+ def to_str(self):
94
+ """Returns the string representation of the model"""
95
+ import simplejson as json
96
+ if six.PY2:
97
+ import sys
98
+ reload(sys)
99
+ sys.setdefaultencoding("utf-8")
100
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
101
+
102
+ def __repr__(self):
103
+ """For `print`"""
104
+ return self.to_str()
105
+
106
+ def __eq__(self, other):
107
+ """Returns true if both objects are equal"""
108
+ if not isinstance(other, IvsExtentionByNameAndIdRequestBodyData):
109
+ return False
110
+
111
+ return self.__dict__ == other.__dict__
112
+
113
+ def __ne__(self, other):
114
+ """Returns true if both objects are not equal"""
115
+ return not self == other
@@ -0,0 +1,173 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class IvsExtentionByNameAndIdResponseBodyResult:
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
+ 'service_name': 'str',
21
+ 'count': 'int',
22
+ 'resp_data': 'list[ExtentionRespDataByNameAndId]'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'service_name': 'service_name',
27
+ 'count': 'count',
28
+ 'resp_data': 'resp_data'
29
+ }
30
+
31
+ def __init__(self, service_name=None, count=None, resp_data=None):
32
+ r"""IvsExtentionByNameAndIdResponseBodyResult
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param service_name: 子服务名称。
37
+ :type service_name: str
38
+ :param count: 成功的结果数量,与resp_data字段对应。
39
+ :type count: int
40
+ :param resp_data: 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
41
+ :type resp_data: list[:class:`huaweicloudsdkivs.v2.ExtentionRespDataByNameAndId`]
42
+ """
43
+
44
+
45
+
46
+ self._service_name = None
47
+ self._count = None
48
+ self._resp_data = None
49
+ self.discriminator = None
50
+
51
+ if service_name is not None:
52
+ self.service_name = service_name
53
+ if count is not None:
54
+ self.count = count
55
+ if resp_data is not None:
56
+ self.resp_data = resp_data
57
+
58
+ @property
59
+ def service_name(self):
60
+ r"""Gets the service_name of this IvsExtentionByNameAndIdResponseBodyResult.
61
+
62
+ 子服务名称。
63
+
64
+ :return: The service_name of this IvsExtentionByNameAndIdResponseBodyResult.
65
+ :rtype: str
66
+ """
67
+ return self._service_name
68
+
69
+ @service_name.setter
70
+ def service_name(self, service_name):
71
+ r"""Sets the service_name of this IvsExtentionByNameAndIdResponseBodyResult.
72
+
73
+ 子服务名称。
74
+
75
+ :param service_name: The service_name of this IvsExtentionByNameAndIdResponseBodyResult.
76
+ :type service_name: str
77
+ """
78
+ self._service_name = service_name
79
+
80
+ @property
81
+ def count(self):
82
+ r"""Gets the count of this IvsExtentionByNameAndIdResponseBodyResult.
83
+
84
+ 成功的结果数量,与resp_data字段对应。
85
+
86
+ :return: The count of this IvsExtentionByNameAndIdResponseBodyResult.
87
+ :rtype: int
88
+ """
89
+ return self._count
90
+
91
+ @count.setter
92
+ def count(self, count):
93
+ r"""Sets the count of this IvsExtentionByNameAndIdResponseBodyResult.
94
+
95
+ 成功的结果数量,与resp_data字段对应。
96
+
97
+ :param count: The count of this IvsExtentionByNameAndIdResponseBodyResult.
98
+ :type count: int
99
+ """
100
+ self._count = count
101
+
102
+ @property
103
+ def resp_data(self):
104
+ r"""Gets the resp_data of this IvsExtentionByNameAndIdResponseBodyResult.
105
+
106
+ 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
107
+
108
+ :return: The resp_data of this IvsExtentionByNameAndIdResponseBodyResult.
109
+ :rtype: list[:class:`huaweicloudsdkivs.v2.ExtentionRespDataByNameAndId`]
110
+ """
111
+ return self._resp_data
112
+
113
+ @resp_data.setter
114
+ def resp_data(self, resp_data):
115
+ r"""Sets the resp_data of this IvsExtentionByNameAndIdResponseBodyResult.
116
+
117
+ 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
118
+
119
+ :param resp_data: The resp_data of this IvsExtentionByNameAndIdResponseBodyResult.
120
+ :type resp_data: list[:class:`huaweicloudsdkivs.v2.ExtentionRespDataByNameAndId`]
121
+ """
122
+ self._resp_data = resp_data
123
+
124
+ def to_dict(self):
125
+ """Returns the model properties as a dict"""
126
+ result = {}
127
+
128
+ for attr, _ in six.iteritems(self.openapi_types):
129
+ value = getattr(self, attr)
130
+ if isinstance(value, list):
131
+ result[attr] = list(map(
132
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
133
+ value
134
+ ))
135
+ elif hasattr(value, "to_dict"):
136
+ result[attr] = value.to_dict()
137
+ elif isinstance(value, dict):
138
+ result[attr] = dict(map(
139
+ lambda item: (item[0], item[1].to_dict())
140
+ if hasattr(item[1], "to_dict") else item,
141
+ value.items()
142
+ ))
143
+ else:
144
+ if attr in self.sensitive_list:
145
+ result[attr] = "****"
146
+ else:
147
+ result[attr] = value
148
+
149
+ return result
150
+
151
+ def to_str(self):
152
+ """Returns the string representation of the model"""
153
+ import simplejson as json
154
+ if six.PY2:
155
+ import sys
156
+ reload(sys)
157
+ sys.setdefaultencoding("utf-8")
158
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
159
+
160
+ def __repr__(self):
161
+ """For `print`"""
162
+ return self.to_str()
163
+
164
+ def __eq__(self, other):
165
+ """Returns true if both objects are equal"""
166
+ if not isinstance(other, IvsExtentionByNameAndIdResponseBodyResult):
167
+ return False
168
+
169
+ return self.__dict__ == other.__dict__
170
+
171
+ def __ne__(self, other):
172
+ """Returns true if both objects are not equal"""
173
+ return not self == other