huaweicloudsdkcodeartsbuild 3.1.153__py2.py3-none-any.whl → 3.1.154__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.
- huaweicloudsdkcodeartsbuild/v3/__init__.py +18 -0
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +400 -0
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +400 -0
- huaweicloudsdkcodeartsbuild/v3/model/__init__.py +18 -0
- huaweicloudsdkcodeartsbuild/v3/model/create_new_job_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/create_new_job_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/create_template_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/create_template_response.py +141 -0
- huaweicloudsdkcodeartsbuild/v3/model/save_template_used_info_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/save_template_used_info_request_body.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/save_template_used_info_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_permission_result.py +434 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_project_job_permission_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_project_job_permission_response.py +141 -0
- huaweicloudsdkcodeartsbuild/v3/model/status_success_result_with_uuid_result.py +115 -0
- huaweicloudsdkcodeartsbuild/v3/model/update_keystore_request.py +139 -0
- huaweicloudsdkcodeartsbuild/v3/model/update_keystore_request_body.py +198 -0
- huaweicloudsdkcodeartsbuild/v3/model/update_keystore_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/upload_keystore_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/upload_keystore_request_body.py +171 -0
- huaweicloudsdkcodeartsbuild/v3/model/upload_keystore_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/upload_keystore_result.py +115 -0
- {huaweicloudsdkcodeartsbuild-3.1.153.dist-info → huaweicloudsdkcodeartsbuild-3.1.154.dist-info}/METADATA +2 -2
- {huaweicloudsdkcodeartsbuild-3.1.153.dist-info → huaweicloudsdkcodeartsbuild-3.1.154.dist-info}/RECORD +27 -9
- {huaweicloudsdkcodeartsbuild-3.1.153.dist-info → huaweicloudsdkcodeartsbuild-3.1.154.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.153.dist-info → huaweicloudsdkcodeartsbuild-3.1.154.dist-info}/WHEEL +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.153.dist-info → huaweicloudsdkcodeartsbuild-3.1.154.dist-info}/top_level.txt +0 -0
@@ -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 UpdateKeystoreRequestBody:
|
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
|
+
'id': 'str',
|
21
|
+
'description': 'str',
|
22
|
+
'keystore_name': 'str',
|
23
|
+
'share': 'int'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'id': 'id',
|
28
|
+
'description': 'description',
|
29
|
+
'keystore_name': 'keystore_name',
|
30
|
+
'share': 'share'
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, id=None, description=None, keystore_name=None, share=None):
|
34
|
+
r"""UpdateKeystoreRequestBody
|
35
|
+
|
36
|
+
The model defined in huaweicloud sdk
|
37
|
+
|
38
|
+
:param id: 文件ID
|
39
|
+
:type id: str
|
40
|
+
:param description: 文件描述
|
41
|
+
:type description: str
|
42
|
+
:param keystore_name: 文件名
|
43
|
+
:type keystore_name: str
|
44
|
+
:param share: 是否租户内共享,1-共享,0-不共享
|
45
|
+
:type share: int
|
46
|
+
"""
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
self._id = None
|
51
|
+
self._description = None
|
52
|
+
self._keystore_name = None
|
53
|
+
self._share = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
self.id = id
|
57
|
+
self.description = description
|
58
|
+
self.keystore_name = keystore_name
|
59
|
+
self.share = share
|
60
|
+
|
61
|
+
@property
|
62
|
+
def id(self):
|
63
|
+
r"""Gets the id of this UpdateKeystoreRequestBody.
|
64
|
+
|
65
|
+
文件ID
|
66
|
+
|
67
|
+
:return: The id of this UpdateKeystoreRequestBody.
|
68
|
+
:rtype: str
|
69
|
+
"""
|
70
|
+
return self._id
|
71
|
+
|
72
|
+
@id.setter
|
73
|
+
def id(self, id):
|
74
|
+
r"""Sets the id of this UpdateKeystoreRequestBody.
|
75
|
+
|
76
|
+
文件ID
|
77
|
+
|
78
|
+
:param id: The id of this UpdateKeystoreRequestBody.
|
79
|
+
:type id: str
|
80
|
+
"""
|
81
|
+
self._id = id
|
82
|
+
|
83
|
+
@property
|
84
|
+
def description(self):
|
85
|
+
r"""Gets the description of this UpdateKeystoreRequestBody.
|
86
|
+
|
87
|
+
文件描述
|
88
|
+
|
89
|
+
:return: The description of this UpdateKeystoreRequestBody.
|
90
|
+
:rtype: str
|
91
|
+
"""
|
92
|
+
return self._description
|
93
|
+
|
94
|
+
@description.setter
|
95
|
+
def description(self, description):
|
96
|
+
r"""Sets the description of this UpdateKeystoreRequestBody.
|
97
|
+
|
98
|
+
文件描述
|
99
|
+
|
100
|
+
:param description: The description of this UpdateKeystoreRequestBody.
|
101
|
+
:type description: str
|
102
|
+
"""
|
103
|
+
self._description = description
|
104
|
+
|
105
|
+
@property
|
106
|
+
def keystore_name(self):
|
107
|
+
r"""Gets the keystore_name of this UpdateKeystoreRequestBody.
|
108
|
+
|
109
|
+
文件名
|
110
|
+
|
111
|
+
:return: The keystore_name of this UpdateKeystoreRequestBody.
|
112
|
+
:rtype: str
|
113
|
+
"""
|
114
|
+
return self._keystore_name
|
115
|
+
|
116
|
+
@keystore_name.setter
|
117
|
+
def keystore_name(self, keystore_name):
|
118
|
+
r"""Sets the keystore_name of this UpdateKeystoreRequestBody.
|
119
|
+
|
120
|
+
文件名
|
121
|
+
|
122
|
+
:param keystore_name: The keystore_name of this UpdateKeystoreRequestBody.
|
123
|
+
:type keystore_name: str
|
124
|
+
"""
|
125
|
+
self._keystore_name = keystore_name
|
126
|
+
|
127
|
+
@property
|
128
|
+
def share(self):
|
129
|
+
r"""Gets the share of this UpdateKeystoreRequestBody.
|
130
|
+
|
131
|
+
是否租户内共享,1-共享,0-不共享
|
132
|
+
|
133
|
+
:return: The share of this UpdateKeystoreRequestBody.
|
134
|
+
:rtype: int
|
135
|
+
"""
|
136
|
+
return self._share
|
137
|
+
|
138
|
+
@share.setter
|
139
|
+
def share(self, share):
|
140
|
+
r"""Sets the share of this UpdateKeystoreRequestBody.
|
141
|
+
|
142
|
+
是否租户内共享,1-共享,0-不共享
|
143
|
+
|
144
|
+
:param share: The share of this UpdateKeystoreRequestBody.
|
145
|
+
:type share: int
|
146
|
+
"""
|
147
|
+
self._share = share
|
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, UpdateKeystoreRequestBody):
|
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
|
@@ -0,0 +1,145 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class UpdateKeystoreResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'error': 'str',
|
22
|
+
'status': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'error': 'error',
|
27
|
+
'status': 'status'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, error=None, status=None):
|
31
|
+
r"""UpdateKeystoreResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param error: 返回错误信息
|
36
|
+
:type error: str
|
37
|
+
:param status: 返回状态信息
|
38
|
+
:type status: str
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(UpdateKeystoreResponse, self).__init__()
|
42
|
+
|
43
|
+
self._error = None
|
44
|
+
self._status = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if error is not None:
|
48
|
+
self.error = error
|
49
|
+
if status is not None:
|
50
|
+
self.status = status
|
51
|
+
|
52
|
+
@property
|
53
|
+
def error(self):
|
54
|
+
r"""Gets the error of this UpdateKeystoreResponse.
|
55
|
+
|
56
|
+
返回错误信息
|
57
|
+
|
58
|
+
:return: The error of this UpdateKeystoreResponse.
|
59
|
+
:rtype: str
|
60
|
+
"""
|
61
|
+
return self._error
|
62
|
+
|
63
|
+
@error.setter
|
64
|
+
def error(self, error):
|
65
|
+
r"""Sets the error of this UpdateKeystoreResponse.
|
66
|
+
|
67
|
+
返回错误信息
|
68
|
+
|
69
|
+
:param error: The error of this UpdateKeystoreResponse.
|
70
|
+
:type error: str
|
71
|
+
"""
|
72
|
+
self._error = error
|
73
|
+
|
74
|
+
@property
|
75
|
+
def status(self):
|
76
|
+
r"""Gets the status of this UpdateKeystoreResponse.
|
77
|
+
|
78
|
+
返回状态信息
|
79
|
+
|
80
|
+
:return: The status of this UpdateKeystoreResponse.
|
81
|
+
:rtype: str
|
82
|
+
"""
|
83
|
+
return self._status
|
84
|
+
|
85
|
+
@status.setter
|
86
|
+
def status(self, status):
|
87
|
+
r"""Sets the status of this UpdateKeystoreResponse.
|
88
|
+
|
89
|
+
返回状态信息
|
90
|
+
|
91
|
+
:param status: The status of this UpdateKeystoreResponse.
|
92
|
+
:type status: str
|
93
|
+
"""
|
94
|
+
self._status = status
|
95
|
+
|
96
|
+
def to_dict(self):
|
97
|
+
"""Returns the model properties as a dict"""
|
98
|
+
result = {}
|
99
|
+
|
100
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
101
|
+
value = getattr(self, attr)
|
102
|
+
if isinstance(value, list):
|
103
|
+
result[attr] = list(map(
|
104
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
105
|
+
value
|
106
|
+
))
|
107
|
+
elif hasattr(value, "to_dict"):
|
108
|
+
result[attr] = value.to_dict()
|
109
|
+
elif isinstance(value, dict):
|
110
|
+
result[attr] = dict(map(
|
111
|
+
lambda item: (item[0], item[1].to_dict())
|
112
|
+
if hasattr(item[1], "to_dict") else item,
|
113
|
+
value.items()
|
114
|
+
))
|
115
|
+
else:
|
116
|
+
if attr in self.sensitive_list:
|
117
|
+
result[attr] = "****"
|
118
|
+
else:
|
119
|
+
result[attr] = value
|
120
|
+
|
121
|
+
return result
|
122
|
+
|
123
|
+
def to_str(self):
|
124
|
+
"""Returns the string representation of the model"""
|
125
|
+
import simplejson as json
|
126
|
+
if six.PY2:
|
127
|
+
import sys
|
128
|
+
reload(sys)
|
129
|
+
sys.setdefaultencoding("utf-8")
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
131
|
+
|
132
|
+
def __repr__(self):
|
133
|
+
"""For `print`"""
|
134
|
+
return self.to_str()
|
135
|
+
|
136
|
+
def __eq__(self, other):
|
137
|
+
"""Returns true if both objects are equal"""
|
138
|
+
if not isinstance(other, UpdateKeystoreResponse):
|
139
|
+
return False
|
140
|
+
|
141
|
+
return self.__dict__ == other.__dict__
|
142
|
+
|
143
|
+
def __ne__(self, other):
|
144
|
+
"""Returns true if both objects are not equal"""
|
145
|
+
return not 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 UploadKeystoreRequest:
|
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': 'UploadKeystoreRequestBody'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'body': 'body'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, body=None):
|
28
|
+
r"""UploadKeystoreRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param body: Body of the UploadKeystoreRequest
|
33
|
+
:type body: :class:`huaweicloudsdkcodeartsbuild.v3.UploadKeystoreRequestBody`
|
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 UploadKeystoreRequest.
|
47
|
+
|
48
|
+
:return: The body of this UploadKeystoreRequest.
|
49
|
+
:rtype: :class:`huaweicloudsdkcodeartsbuild.v3.UploadKeystoreRequestBody`
|
50
|
+
"""
|
51
|
+
return self._body
|
52
|
+
|
53
|
+
@body.setter
|
54
|
+
def body(self, body):
|
55
|
+
r"""Sets the body of this UploadKeystoreRequest.
|
56
|
+
|
57
|
+
:param body: The body of this UploadKeystoreRequest.
|
58
|
+
:type body: :class:`huaweicloudsdkcodeartsbuild.v3.UploadKeystoreRequestBody`
|
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, UploadKeystoreRequest):
|
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,171 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class UploadKeystoreRequestBody:
|
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
|
+
'file': 'file',
|
21
|
+
'privacy': 'str',
|
22
|
+
'description': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'file': 'file',
|
27
|
+
'privacy': 'privacy',
|
28
|
+
'description': 'description'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, file=None, privacy=None, description=None):
|
32
|
+
r"""UploadKeystoreRequestBody
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param file: 文件
|
37
|
+
:type file: :class:`huaweicloudsdkcore.http.formdata.FormFile`
|
38
|
+
:param privacy: 同意隐私声明,允许使用用户敏感信息进行相关业务操作。
|
39
|
+
:type privacy: str
|
40
|
+
:param description: 文件描述
|
41
|
+
:type description: str
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._file = None
|
47
|
+
self._privacy = None
|
48
|
+
self._description = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.file = file
|
52
|
+
self.privacy = privacy
|
53
|
+
if description is not None:
|
54
|
+
self.description = description
|
55
|
+
|
56
|
+
@property
|
57
|
+
def file(self):
|
58
|
+
r"""Gets the file of this UploadKeystoreRequestBody.
|
59
|
+
|
60
|
+
文件
|
61
|
+
|
62
|
+
:return: The file of this UploadKeystoreRequestBody.
|
63
|
+
:rtype: :class:`huaweicloudsdkcore.http.formdata.FormFile`
|
64
|
+
"""
|
65
|
+
return self._file
|
66
|
+
|
67
|
+
@file.setter
|
68
|
+
def file(self, file):
|
69
|
+
r"""Sets the file of this UploadKeystoreRequestBody.
|
70
|
+
|
71
|
+
文件
|
72
|
+
|
73
|
+
:param file: The file of this UploadKeystoreRequestBody.
|
74
|
+
:type file: :class:`huaweicloudsdkcore.http.formdata.FormFile`
|
75
|
+
"""
|
76
|
+
self._file = file
|
77
|
+
|
78
|
+
@property
|
79
|
+
def privacy(self):
|
80
|
+
r"""Gets the privacy of this UploadKeystoreRequestBody.
|
81
|
+
|
82
|
+
同意隐私声明,允许使用用户敏感信息进行相关业务操作。
|
83
|
+
|
84
|
+
:return: The privacy of this UploadKeystoreRequestBody.
|
85
|
+
:rtype: str
|
86
|
+
"""
|
87
|
+
return self._privacy
|
88
|
+
|
89
|
+
@privacy.setter
|
90
|
+
def privacy(self, privacy):
|
91
|
+
r"""Sets the privacy of this UploadKeystoreRequestBody.
|
92
|
+
|
93
|
+
同意隐私声明,允许使用用户敏感信息进行相关业务操作。
|
94
|
+
|
95
|
+
:param privacy: The privacy of this UploadKeystoreRequestBody.
|
96
|
+
:type privacy: str
|
97
|
+
"""
|
98
|
+
self._privacy = privacy
|
99
|
+
|
100
|
+
@property
|
101
|
+
def description(self):
|
102
|
+
r"""Gets the description of this UploadKeystoreRequestBody.
|
103
|
+
|
104
|
+
文件描述
|
105
|
+
|
106
|
+
:return: The description of this UploadKeystoreRequestBody.
|
107
|
+
:rtype: str
|
108
|
+
"""
|
109
|
+
return self._description
|
110
|
+
|
111
|
+
@description.setter
|
112
|
+
def description(self, description):
|
113
|
+
r"""Sets the description of this UploadKeystoreRequestBody.
|
114
|
+
|
115
|
+
文件描述
|
116
|
+
|
117
|
+
:param description: The description of this UploadKeystoreRequestBody.
|
118
|
+
:type description: str
|
119
|
+
"""
|
120
|
+
self._description = description
|
121
|
+
|
122
|
+
def to_dict(self):
|
123
|
+
"""Returns the model properties as a dict"""
|
124
|
+
result = {}
|
125
|
+
|
126
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
127
|
+
value = getattr(self, attr)
|
128
|
+
if isinstance(value, list):
|
129
|
+
result[attr] = list(map(
|
130
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
131
|
+
value
|
132
|
+
))
|
133
|
+
elif hasattr(value, "to_dict"):
|
134
|
+
result[attr] = value.to_dict()
|
135
|
+
elif isinstance(value, dict):
|
136
|
+
result[attr] = dict(map(
|
137
|
+
lambda item: (item[0], item[1].to_dict())
|
138
|
+
if hasattr(item[1], "to_dict") else item,
|
139
|
+
value.items()
|
140
|
+
))
|
141
|
+
else:
|
142
|
+
if attr in self.sensitive_list:
|
143
|
+
result[attr] = "****"
|
144
|
+
else:
|
145
|
+
result[attr] = value
|
146
|
+
|
147
|
+
return result
|
148
|
+
|
149
|
+
def to_str(self):
|
150
|
+
"""Returns the string representation of the model"""
|
151
|
+
import simplejson as json
|
152
|
+
if six.PY2:
|
153
|
+
import sys
|
154
|
+
reload(sys)
|
155
|
+
sys.setdefaultencoding("utf-8")
|
156
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
157
|
+
|
158
|
+
def __repr__(self):
|
159
|
+
"""For `print`"""
|
160
|
+
return self.to_str()
|
161
|
+
|
162
|
+
def __eq__(self, other):
|
163
|
+
"""Returns true if both objects are equal"""
|
164
|
+
if not isinstance(other, UploadKeystoreRequestBody):
|
165
|
+
return False
|
166
|
+
|
167
|
+
return self.__dict__ == other.__dict__
|
168
|
+
|
169
|
+
def __ne__(self, other):
|
170
|
+
"""Returns true if both objects are not equal"""
|
171
|
+
return not self == other
|