in customerservice-20231228/alibabacloud_customerservice20231228/models.py [0:0]
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
result['applyFileVOList'] = []
if self.apply_file_volist is not None:
for k in self.apply_file_volist:
result['applyFileVOList'].append(k.to_map() if k else None)
if self.appointment_code is not None:
result['appointmentCode'] = self.appointment_code
if self.appointment_end_time is not None:
result['appointmentEndTime'] = self.appointment_end_time
if self.appointment_id is not None:
result['appointmentId'] = self.appointment_id
if self.appointment_pass_time is not None:
result['appointmentPassTime'] = self.appointment_pass_time
if self.appointment_time is not None:
result['appointmentTime'] = self.appointment_time
if self.commodity_desc is not None:
result['commodityDesc'] = self.commodity_desc
if self.creator_emp_id is not None:
result['creatorEmpId'] = self.creator_emp_id
if self.cycle_service is not None:
result['cycleService'] = self.cycle_service
result['extList'] = []
if self.ext_list is not None:
for k in self.ext_list:
result['extList'].append(k.to_map() if k else None)
if self.gmt_create is not None:
result['gmtCreate'] = self.gmt_create
if self.gmt_modified is not None:
result['gmtModified'] = self.gmt_modified
if self.id is not None:
result['id'] = self.id
if self.merge_solution_and_reporter_one_step is not None:
result['mergeSolutionAndReporterOneStep'] = self.merge_solution_and_reporter_one_step
if self.modifier_emp_id is not None:
result['modifierEmpId'] = self.modifier_emp_id
if self.order_detail is not None:
result['orderDetail'] = self.order_detail
if self.order_id is not None:
result['orderId'] = self.order_id
if self.pack_count is not None:
result['packCount'] = self.pack_count
if self.pack_details is not None:
result['packDetails'] = self.pack_details
result['performanceNodeDTOS'] = []
if self.performance_node_dtos is not None:
for k in self.performance_node_dtos:
result['performanceNodeDTOS'].append(k.to_map() if k else None)
result['performancePacks'] = []
if self.performance_packs is not None:
for k in self.performance_packs:
result['performancePacks'].append(k.to_map() if k else None)
if self.purchase_pack_code is not None:
result['purchasePackCode'] = self.purchase_pack_code
if self.service_apply_id is not None:
result['serviceApplyId'] = self.service_apply_id
result['serviceMonthReports'] = []
if self.service_month_reports is not None:
for k in self.service_month_reports:
result['serviceMonthReports'].append(k.to_map() if k else None)
result['serviceReports'] = []
if self.service_reports is not None:
for k in self.service_reports:
result['serviceReports'].append(k.to_map() if k else None)
result['serviceSchemes'] = []
if self.service_schemes is not None:
for k in self.service_schemes:
result['serviceSchemes'].append(k.to_map() if k else None)
if self.status is not None:
result['status'] = self.status
if self.status_str is not None:
result['statusStr'] = self.status_str
if self.support_time is not None:
result['supportTime'] = self.support_time
result['tamEngineers'] = []
if self.tam_engineers is not None:
for k in self.tam_engineers:
result['tamEngineers'].append(k.to_map() if k else None)
return result