huaweicloudsdkcodeartsbuild 3.1.148__py2.py3-none-any.whl → 3.1.150__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 +77 -2
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +1619 -123
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +1619 -123
- huaweicloudsdkcodeartsbuild/v3/model/__init__.py +77 -2
- huaweicloudsdkcodeartsbuild/v3/model/build_info_record.py +604 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_info_record_commit_info.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_params.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_params_body_result.py +115 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_record.py +981 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_record_build_record_type.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_record_parameters.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_stage_record.py +608 -0
- huaweicloudsdkcodeartsbuild/v3/model/constraints.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/download_real_time_log_request.py +199 -0
- huaweicloudsdkcodeartsbuild/v3/model/download_real_time_log_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/{flow_graph_result.py → flow_graph2_result.py} +15 -15
- huaweicloudsdkcodeartsbuild/v3/model/{flow_graph_result_edges.py → flow_graph2_result_edges.py} +11 -11
- huaweicloudsdkcodeartsbuild/v3/model/full_stages_result.py +115 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_body_result.py +231 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_by_job_id_request.py +228 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_by_job_id_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_request.py +228 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_official_template_request.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_official_template_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_official_template_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_project_jobs_request.py +373 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_project_jobs_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_recycling_job_request.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_recycling_job_response.py +228 -0
- huaweicloudsdkcodeartsbuild/v3/model/parameter.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/params.py +289 -0
- huaweicloudsdkcodeartsbuild/v3/model/real_time_log_response_body_result.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/recycling_job.py +347 -0
- huaweicloudsdkcodeartsbuild/v3/model/recycling_jobs_result.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_params_list_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_params_list_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_build_script_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_build_script_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_full_stages_request.py +143 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_full_stages_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_flow_graph_response.py +4 -4
- huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response_body_result.py +115 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response_body_result_image_templates.py +318 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_request.py +199 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_response.py +141 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_result.py +260 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_result_every_day_report.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_request.py +199 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_response.py +141 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_result.py +231 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_result_chart.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_config_diff_request.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_config_diff_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_config_request.py +143 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_config_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_info_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_info_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_info_result.py +724 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_result.py +492 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_system_parameters_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_system_parameters_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_project_permission_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_project_permission_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_report_summary.py +463 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_report_summary_body_result.py +140 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_report_summary_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_report_summary_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_running_status_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_running_status_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_running_status_result.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_user_project_permission_result.py +260 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_yaml_template_request.py +143 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_yaml_template_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/system_parameters_result.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/template_list.py +459 -0
- huaweicloudsdkcodeartsbuild/v3/region/codeartsbuild_region.py +6 -0
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/METADATA +2 -2
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/RECORD +88 -13
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/WHEEL +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,202 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class RealTimeLogResponseBodyResult:
|
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
|
+
'has_more_data': 'bool',
|
21
|
+
'offset': 'int',
|
22
|
+
'content': 'str',
|
23
|
+
'current_offset': 'int'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'has_more_data': 'has_more_data',
|
28
|
+
'offset': 'offset',
|
29
|
+
'content': 'content',
|
30
|
+
'current_offset': 'current_offset'
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, has_more_data=None, offset=None, content=None, current_offset=None):
|
34
|
+
r"""RealTimeLogResponseBodyResult
|
35
|
+
|
36
|
+
The model defined in huaweicloud sdk
|
37
|
+
|
38
|
+
:param has_more_data: 是否还有剩余日志标识
|
39
|
+
:type has_more_data: bool
|
40
|
+
:param offset: 偏移量,可用于下一次请求
|
41
|
+
:type offset: int
|
42
|
+
:param content: 返回日志内容,可能会空,请再次请求
|
43
|
+
:type content: str
|
44
|
+
:param current_offset: 当前请求偏移量
|
45
|
+
:type current_offset: int
|
46
|
+
"""
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
self._has_more_data = None
|
51
|
+
self._offset = None
|
52
|
+
self._content = None
|
53
|
+
self._current_offset = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
if has_more_data is not None:
|
57
|
+
self.has_more_data = has_more_data
|
58
|
+
if offset is not None:
|
59
|
+
self.offset = offset
|
60
|
+
if content is not None:
|
61
|
+
self.content = content
|
62
|
+
if current_offset is not None:
|
63
|
+
self.current_offset = current_offset
|
64
|
+
|
65
|
+
@property
|
66
|
+
def has_more_data(self):
|
67
|
+
r"""Gets the has_more_data of this RealTimeLogResponseBodyResult.
|
68
|
+
|
69
|
+
是否还有剩余日志标识
|
70
|
+
|
71
|
+
:return: The has_more_data of this RealTimeLogResponseBodyResult.
|
72
|
+
:rtype: bool
|
73
|
+
"""
|
74
|
+
return self._has_more_data
|
75
|
+
|
76
|
+
@has_more_data.setter
|
77
|
+
def has_more_data(self, has_more_data):
|
78
|
+
r"""Sets the has_more_data of this RealTimeLogResponseBodyResult.
|
79
|
+
|
80
|
+
是否还有剩余日志标识
|
81
|
+
|
82
|
+
:param has_more_data: The has_more_data of this RealTimeLogResponseBodyResult.
|
83
|
+
:type has_more_data: bool
|
84
|
+
"""
|
85
|
+
self._has_more_data = has_more_data
|
86
|
+
|
87
|
+
@property
|
88
|
+
def offset(self):
|
89
|
+
r"""Gets the offset of this RealTimeLogResponseBodyResult.
|
90
|
+
|
91
|
+
偏移量,可用于下一次请求
|
92
|
+
|
93
|
+
:return: The offset of this RealTimeLogResponseBodyResult.
|
94
|
+
:rtype: int
|
95
|
+
"""
|
96
|
+
return self._offset
|
97
|
+
|
98
|
+
@offset.setter
|
99
|
+
def offset(self, offset):
|
100
|
+
r"""Sets the offset of this RealTimeLogResponseBodyResult.
|
101
|
+
|
102
|
+
偏移量,可用于下一次请求
|
103
|
+
|
104
|
+
:param offset: The offset of this RealTimeLogResponseBodyResult.
|
105
|
+
:type offset: int
|
106
|
+
"""
|
107
|
+
self._offset = offset
|
108
|
+
|
109
|
+
@property
|
110
|
+
def content(self):
|
111
|
+
r"""Gets the content of this RealTimeLogResponseBodyResult.
|
112
|
+
|
113
|
+
返回日志内容,可能会空,请再次请求
|
114
|
+
|
115
|
+
:return: The content of this RealTimeLogResponseBodyResult.
|
116
|
+
:rtype: str
|
117
|
+
"""
|
118
|
+
return self._content
|
119
|
+
|
120
|
+
@content.setter
|
121
|
+
def content(self, content):
|
122
|
+
r"""Sets the content of this RealTimeLogResponseBodyResult.
|
123
|
+
|
124
|
+
返回日志内容,可能会空,请再次请求
|
125
|
+
|
126
|
+
:param content: The content of this RealTimeLogResponseBodyResult.
|
127
|
+
:type content: str
|
128
|
+
"""
|
129
|
+
self._content = content
|
130
|
+
|
131
|
+
@property
|
132
|
+
def current_offset(self):
|
133
|
+
r"""Gets the current_offset of this RealTimeLogResponseBodyResult.
|
134
|
+
|
135
|
+
当前请求偏移量
|
136
|
+
|
137
|
+
:return: The current_offset of this RealTimeLogResponseBodyResult.
|
138
|
+
:rtype: int
|
139
|
+
"""
|
140
|
+
return self._current_offset
|
141
|
+
|
142
|
+
@current_offset.setter
|
143
|
+
def current_offset(self, current_offset):
|
144
|
+
r"""Sets the current_offset of this RealTimeLogResponseBodyResult.
|
145
|
+
|
146
|
+
当前请求偏移量
|
147
|
+
|
148
|
+
:param current_offset: The current_offset of this RealTimeLogResponseBodyResult.
|
149
|
+
:type current_offset: int
|
150
|
+
"""
|
151
|
+
self._current_offset = current_offset
|
152
|
+
|
153
|
+
def to_dict(self):
|
154
|
+
"""Returns the model properties as a dict"""
|
155
|
+
result = {}
|
156
|
+
|
157
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
158
|
+
value = getattr(self, attr)
|
159
|
+
if isinstance(value, list):
|
160
|
+
result[attr] = list(map(
|
161
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
162
|
+
value
|
163
|
+
))
|
164
|
+
elif hasattr(value, "to_dict"):
|
165
|
+
result[attr] = value.to_dict()
|
166
|
+
elif isinstance(value, dict):
|
167
|
+
result[attr] = dict(map(
|
168
|
+
lambda item: (item[0], item[1].to_dict())
|
169
|
+
if hasattr(item[1], "to_dict") else item,
|
170
|
+
value.items()
|
171
|
+
))
|
172
|
+
else:
|
173
|
+
if attr in self.sensitive_list:
|
174
|
+
result[attr] = "****"
|
175
|
+
else:
|
176
|
+
result[attr] = value
|
177
|
+
|
178
|
+
return result
|
179
|
+
|
180
|
+
def to_str(self):
|
181
|
+
"""Returns the string representation of the model"""
|
182
|
+
import simplejson as json
|
183
|
+
if six.PY2:
|
184
|
+
import sys
|
185
|
+
reload(sys)
|
186
|
+
sys.setdefaultencoding("utf-8")
|
187
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
188
|
+
|
189
|
+
def __repr__(self):
|
190
|
+
"""For `print`"""
|
191
|
+
return self.to_str()
|
192
|
+
|
193
|
+
def __eq__(self, other):
|
194
|
+
"""Returns true if both objects are equal"""
|
195
|
+
if not isinstance(other, RealTimeLogResponseBodyResult):
|
196
|
+
return False
|
197
|
+
|
198
|
+
return self.__dict__ == other.__dict__
|
199
|
+
|
200
|
+
def __ne__(self, other):
|
201
|
+
"""Returns true if both objects are not equal"""
|
202
|
+
return not self == other
|
@@ -0,0 +1,347 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class RecyclingJob:
|
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
|
+
'job_id': 'str',
|
21
|
+
'job_name': 'str',
|
22
|
+
'project_id': 'str',
|
23
|
+
'creator_name': 'str',
|
24
|
+
'creator_id': 'str',
|
25
|
+
'create_time': 'str',
|
26
|
+
'delete_time': 'str',
|
27
|
+
'create_time_stamp': 'str',
|
28
|
+
'delete_time_stamp': 'str'
|
29
|
+
}
|
30
|
+
|
31
|
+
attribute_map = {
|
32
|
+
'job_id': 'job_id',
|
33
|
+
'job_name': 'job_name',
|
34
|
+
'project_id': 'project_id',
|
35
|
+
'creator_name': 'creator_name',
|
36
|
+
'creator_id': 'creator_id',
|
37
|
+
'create_time': 'create_time',
|
38
|
+
'delete_time': 'delete_time',
|
39
|
+
'create_time_stamp': 'create_time_stamp',
|
40
|
+
'delete_time_stamp': 'delete_time_stamp'
|
41
|
+
}
|
42
|
+
|
43
|
+
def __init__(self, job_id=None, job_name=None, project_id=None, creator_name=None, creator_id=None, create_time=None, delete_time=None, create_time_stamp=None, delete_time_stamp=None):
|
44
|
+
r"""RecyclingJob
|
45
|
+
|
46
|
+
The model defined in huaweicloud sdk
|
47
|
+
|
48
|
+
:param job_id: 任务ID
|
49
|
+
:type job_id: str
|
50
|
+
:param job_name: 任务名称
|
51
|
+
:type job_name: str
|
52
|
+
:param project_id: CodeArts项目ID
|
53
|
+
:type project_id: str
|
54
|
+
:param creator_name: 创建人
|
55
|
+
:type creator_name: str
|
56
|
+
:param creator_id: 创建人ID
|
57
|
+
:type creator_id: str
|
58
|
+
:param create_time: 创建时间
|
59
|
+
:type create_time: str
|
60
|
+
:param delete_time: 删除时间
|
61
|
+
:type delete_time: str
|
62
|
+
:param create_time_stamp: 创建时间戳
|
63
|
+
:type create_time_stamp: str
|
64
|
+
:param delete_time_stamp: 删除时间戳
|
65
|
+
:type delete_time_stamp: str
|
66
|
+
"""
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
self._job_id = None
|
71
|
+
self._job_name = None
|
72
|
+
self._project_id = None
|
73
|
+
self._creator_name = None
|
74
|
+
self._creator_id = None
|
75
|
+
self._create_time = None
|
76
|
+
self._delete_time = None
|
77
|
+
self._create_time_stamp = None
|
78
|
+
self._delete_time_stamp = None
|
79
|
+
self.discriminator = None
|
80
|
+
|
81
|
+
if job_id is not None:
|
82
|
+
self.job_id = job_id
|
83
|
+
if job_name is not None:
|
84
|
+
self.job_name = job_name
|
85
|
+
if project_id is not None:
|
86
|
+
self.project_id = project_id
|
87
|
+
if creator_name is not None:
|
88
|
+
self.creator_name = creator_name
|
89
|
+
if creator_id is not None:
|
90
|
+
self.creator_id = creator_id
|
91
|
+
if create_time is not None:
|
92
|
+
self.create_time = create_time
|
93
|
+
if delete_time is not None:
|
94
|
+
self.delete_time = delete_time
|
95
|
+
if create_time_stamp is not None:
|
96
|
+
self.create_time_stamp = create_time_stamp
|
97
|
+
if delete_time_stamp is not None:
|
98
|
+
self.delete_time_stamp = delete_time_stamp
|
99
|
+
|
100
|
+
@property
|
101
|
+
def job_id(self):
|
102
|
+
r"""Gets the job_id of this RecyclingJob.
|
103
|
+
|
104
|
+
任务ID
|
105
|
+
|
106
|
+
:return: The job_id of this RecyclingJob.
|
107
|
+
:rtype: str
|
108
|
+
"""
|
109
|
+
return self._job_id
|
110
|
+
|
111
|
+
@job_id.setter
|
112
|
+
def job_id(self, job_id):
|
113
|
+
r"""Sets the job_id of this RecyclingJob.
|
114
|
+
|
115
|
+
任务ID
|
116
|
+
|
117
|
+
:param job_id: The job_id of this RecyclingJob.
|
118
|
+
:type job_id: str
|
119
|
+
"""
|
120
|
+
self._job_id = job_id
|
121
|
+
|
122
|
+
@property
|
123
|
+
def job_name(self):
|
124
|
+
r"""Gets the job_name of this RecyclingJob.
|
125
|
+
|
126
|
+
任务名称
|
127
|
+
|
128
|
+
:return: The job_name of this RecyclingJob.
|
129
|
+
:rtype: str
|
130
|
+
"""
|
131
|
+
return self._job_name
|
132
|
+
|
133
|
+
@job_name.setter
|
134
|
+
def job_name(self, job_name):
|
135
|
+
r"""Sets the job_name of this RecyclingJob.
|
136
|
+
|
137
|
+
任务名称
|
138
|
+
|
139
|
+
:param job_name: The job_name of this RecyclingJob.
|
140
|
+
:type job_name: str
|
141
|
+
"""
|
142
|
+
self._job_name = job_name
|
143
|
+
|
144
|
+
@property
|
145
|
+
def project_id(self):
|
146
|
+
r"""Gets the project_id of this RecyclingJob.
|
147
|
+
|
148
|
+
CodeArts项目ID
|
149
|
+
|
150
|
+
:return: The project_id of this RecyclingJob.
|
151
|
+
:rtype: str
|
152
|
+
"""
|
153
|
+
return self._project_id
|
154
|
+
|
155
|
+
@project_id.setter
|
156
|
+
def project_id(self, project_id):
|
157
|
+
r"""Sets the project_id of this RecyclingJob.
|
158
|
+
|
159
|
+
CodeArts项目ID
|
160
|
+
|
161
|
+
:param project_id: The project_id of this RecyclingJob.
|
162
|
+
:type project_id: str
|
163
|
+
"""
|
164
|
+
self._project_id = project_id
|
165
|
+
|
166
|
+
@property
|
167
|
+
def creator_name(self):
|
168
|
+
r"""Gets the creator_name of this RecyclingJob.
|
169
|
+
|
170
|
+
创建人
|
171
|
+
|
172
|
+
:return: The creator_name of this RecyclingJob.
|
173
|
+
:rtype: str
|
174
|
+
"""
|
175
|
+
return self._creator_name
|
176
|
+
|
177
|
+
@creator_name.setter
|
178
|
+
def creator_name(self, creator_name):
|
179
|
+
r"""Sets the creator_name of this RecyclingJob.
|
180
|
+
|
181
|
+
创建人
|
182
|
+
|
183
|
+
:param creator_name: The creator_name of this RecyclingJob.
|
184
|
+
:type creator_name: str
|
185
|
+
"""
|
186
|
+
self._creator_name = creator_name
|
187
|
+
|
188
|
+
@property
|
189
|
+
def creator_id(self):
|
190
|
+
r"""Gets the creator_id of this RecyclingJob.
|
191
|
+
|
192
|
+
创建人ID
|
193
|
+
|
194
|
+
:return: The creator_id of this RecyclingJob.
|
195
|
+
:rtype: str
|
196
|
+
"""
|
197
|
+
return self._creator_id
|
198
|
+
|
199
|
+
@creator_id.setter
|
200
|
+
def creator_id(self, creator_id):
|
201
|
+
r"""Sets the creator_id of this RecyclingJob.
|
202
|
+
|
203
|
+
创建人ID
|
204
|
+
|
205
|
+
:param creator_id: The creator_id of this RecyclingJob.
|
206
|
+
:type creator_id: str
|
207
|
+
"""
|
208
|
+
self._creator_id = creator_id
|
209
|
+
|
210
|
+
@property
|
211
|
+
def create_time(self):
|
212
|
+
r"""Gets the create_time of this RecyclingJob.
|
213
|
+
|
214
|
+
创建时间
|
215
|
+
|
216
|
+
:return: The create_time of this RecyclingJob.
|
217
|
+
:rtype: str
|
218
|
+
"""
|
219
|
+
return self._create_time
|
220
|
+
|
221
|
+
@create_time.setter
|
222
|
+
def create_time(self, create_time):
|
223
|
+
r"""Sets the create_time of this RecyclingJob.
|
224
|
+
|
225
|
+
创建时间
|
226
|
+
|
227
|
+
:param create_time: The create_time of this RecyclingJob.
|
228
|
+
:type create_time: str
|
229
|
+
"""
|
230
|
+
self._create_time = create_time
|
231
|
+
|
232
|
+
@property
|
233
|
+
def delete_time(self):
|
234
|
+
r"""Gets the delete_time of this RecyclingJob.
|
235
|
+
|
236
|
+
删除时间
|
237
|
+
|
238
|
+
:return: The delete_time of this RecyclingJob.
|
239
|
+
:rtype: str
|
240
|
+
"""
|
241
|
+
return self._delete_time
|
242
|
+
|
243
|
+
@delete_time.setter
|
244
|
+
def delete_time(self, delete_time):
|
245
|
+
r"""Sets the delete_time of this RecyclingJob.
|
246
|
+
|
247
|
+
删除时间
|
248
|
+
|
249
|
+
:param delete_time: The delete_time of this RecyclingJob.
|
250
|
+
:type delete_time: str
|
251
|
+
"""
|
252
|
+
self._delete_time = delete_time
|
253
|
+
|
254
|
+
@property
|
255
|
+
def create_time_stamp(self):
|
256
|
+
r"""Gets the create_time_stamp of this RecyclingJob.
|
257
|
+
|
258
|
+
创建时间戳
|
259
|
+
|
260
|
+
:return: The create_time_stamp of this RecyclingJob.
|
261
|
+
:rtype: str
|
262
|
+
"""
|
263
|
+
return self._create_time_stamp
|
264
|
+
|
265
|
+
@create_time_stamp.setter
|
266
|
+
def create_time_stamp(self, create_time_stamp):
|
267
|
+
r"""Sets the create_time_stamp of this RecyclingJob.
|
268
|
+
|
269
|
+
创建时间戳
|
270
|
+
|
271
|
+
:param create_time_stamp: The create_time_stamp of this RecyclingJob.
|
272
|
+
:type create_time_stamp: str
|
273
|
+
"""
|
274
|
+
self._create_time_stamp = create_time_stamp
|
275
|
+
|
276
|
+
@property
|
277
|
+
def delete_time_stamp(self):
|
278
|
+
r"""Gets the delete_time_stamp of this RecyclingJob.
|
279
|
+
|
280
|
+
删除时间戳
|
281
|
+
|
282
|
+
:return: The delete_time_stamp of this RecyclingJob.
|
283
|
+
:rtype: str
|
284
|
+
"""
|
285
|
+
return self._delete_time_stamp
|
286
|
+
|
287
|
+
@delete_time_stamp.setter
|
288
|
+
def delete_time_stamp(self, delete_time_stamp):
|
289
|
+
r"""Sets the delete_time_stamp of this RecyclingJob.
|
290
|
+
|
291
|
+
删除时间戳
|
292
|
+
|
293
|
+
:param delete_time_stamp: The delete_time_stamp of this RecyclingJob.
|
294
|
+
:type delete_time_stamp: str
|
295
|
+
"""
|
296
|
+
self._delete_time_stamp = delete_time_stamp
|
297
|
+
|
298
|
+
def to_dict(self):
|
299
|
+
"""Returns the model properties as a dict"""
|
300
|
+
result = {}
|
301
|
+
|
302
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
303
|
+
value = getattr(self, attr)
|
304
|
+
if isinstance(value, list):
|
305
|
+
result[attr] = list(map(
|
306
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
307
|
+
value
|
308
|
+
))
|
309
|
+
elif hasattr(value, "to_dict"):
|
310
|
+
result[attr] = value.to_dict()
|
311
|
+
elif isinstance(value, dict):
|
312
|
+
result[attr] = dict(map(
|
313
|
+
lambda item: (item[0], item[1].to_dict())
|
314
|
+
if hasattr(item[1], "to_dict") else item,
|
315
|
+
value.items()
|
316
|
+
))
|
317
|
+
else:
|
318
|
+
if attr in self.sensitive_list:
|
319
|
+
result[attr] = "****"
|
320
|
+
else:
|
321
|
+
result[attr] = value
|
322
|
+
|
323
|
+
return result
|
324
|
+
|
325
|
+
def to_str(self):
|
326
|
+
"""Returns the string representation of the model"""
|
327
|
+
import simplejson as json
|
328
|
+
if six.PY2:
|
329
|
+
import sys
|
330
|
+
reload(sys)
|
331
|
+
sys.setdefaultencoding("utf-8")
|
332
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
333
|
+
|
334
|
+
def __repr__(self):
|
335
|
+
"""For `print`"""
|
336
|
+
return self.to_str()
|
337
|
+
|
338
|
+
def __eq__(self, other):
|
339
|
+
"""Returns true if both objects are equal"""
|
340
|
+
if not isinstance(other, RecyclingJob):
|
341
|
+
return False
|
342
|
+
|
343
|
+
return self.__dict__ == other.__dict__
|
344
|
+
|
345
|
+
def __ne__(self, other):
|
346
|
+
"""Returns true if both objects are not equal"""
|
347
|
+
return not self == other
|