in dingtalk/python/alibabacloud_dingtalk/alitrip_1_0/models.py [0:0]
def from_map(self, m: dict = None):
m = m or dict()
if m.get('advanceDay') is not None:
self.advance_day = m.get('advanceDay')
if m.get('airlineCorpCode') is not None:
self.airline_corp_code = m.get('airlineCorpCode')
if m.get('airlineCorpName') is not None:
self.airline_corp_name = m.get('airlineCorpName')
if m.get('alipayTradeNo') is not None:
self.alipay_trade_no = m.get('alipayTradeNo')
if m.get('applyId') is not None:
self.apply_id = m.get('applyId')
if m.get('arrAirportCode') is not None:
self.arr_airport_code = m.get('arrAirportCode')
if m.get('arrCity') is not None:
self.arr_city = m.get('arrCity')
if m.get('arrDate') is not None:
self.arr_date = m.get('arrDate')
if m.get('arrStation') is not None:
self.arr_station = m.get('arrStation')
if m.get('arrTime') is not None:
self.arr_time = m.get('arrTime')
if m.get('billRecordTime') is not None:
self.bill_record_time = m.get('billRecordTime')
if m.get('bookTime') is not None:
self.book_time = m.get('bookTime')
if m.get('bookerId') is not None:
self.booker_id = m.get('bookerId')
if m.get('bookerJobNo') is not None:
self.booker_job_no = m.get('bookerJobNo')
if m.get('bookerName') is not None:
self.booker_name = m.get('bookerName')
if m.get('btripCouponFee') is not None:
self.btrip_coupon_fee = m.get('btripCouponFee')
if m.get('buildFee') is not None:
self.build_fee = m.get('buildFee')
if m.get('cabin') is not None:
self.cabin = m.get('cabin')
if m.get('cabinClass') is not None:
self.cabin_class = m.get('cabinClass')
if m.get('capitalDirection') is not None:
self.capital_direction = m.get('capitalDirection')
if m.get('cascadeDepartment') is not None:
self.cascade_department = m.get('cascadeDepartment')
if m.get('changeFee') is not None:
self.change_fee = m.get('changeFee')
if m.get('corpPayOrderFee') is not None:
self.corp_pay_order_fee = m.get('corpPayOrderFee')
if m.get('costCenter') is not None:
self.cost_center = m.get('costCenter')
if m.get('costCenterNumber') is not None:
self.cost_center_number = m.get('costCenterNumber')
if m.get('coupon') is not None:
self.coupon = m.get('coupon')
if m.get('depAirportCode') is not None:
self.dep_airport_code = m.get('depAirportCode')
if m.get('department') is not None:
self.department = m.get('department')
if m.get('departmentId') is not None:
self.department_id = m.get('departmentId')
if m.get('deptCity') is not None:
self.dept_city = m.get('deptCity')
if m.get('deptDate') is not None:
self.dept_date = m.get('deptDate')
if m.get('deptStation') is not None:
self.dept_station = m.get('deptStation')
if m.get('deptTime') is not None:
self.dept_time = m.get('deptTime')
if m.get('discount') is not None:
self.discount = m.get('discount')
if m.get('feeType') is not None:
self.fee_type = m.get('feeType')
if m.get('flightNo') is not None:
self.flight_no = m.get('flightNo')
if m.get('index') is not None:
self.index = m.get('index')
if m.get('insuranceFee') is not None:
self.insurance_fee = m.get('insuranceFee')
if m.get('invoiceTitle') is not None:
self.invoice_title = m.get('invoiceTitle')
if m.get('itineraryNum') is not None:
self.itinerary_num = m.get('itineraryNum')
if m.get('itineraryPrice') is not None:
self.itinerary_price = m.get('itineraryPrice')
if m.get('mostDifferenceDeptTime') is not None:
self.most_difference_dept_time = m.get('mostDifferenceDeptTime')
if m.get('mostDifferenceDiscount') is not None:
self.most_difference_discount = m.get('mostDifferenceDiscount')
if m.get('mostDifferenceFlightNo') is not None:
self.most_difference_flight_no = m.get('mostDifferenceFlightNo')
if m.get('mostDifferencePrice') is not None:
self.most_difference_price = m.get('mostDifferencePrice')
if m.get('mostDifferenceReason') is not None:
self.most_difference_reason = m.get('mostDifferenceReason')
if m.get('mostPrice') is not None:
self.most_price = m.get('mostPrice')
if m.get('negotiationCouponFee') is not None:
self.negotiation_coupon_fee = m.get('negotiationCouponFee')
if m.get('oilFee') is not None:
self.oil_fee = m.get('oilFee')
if m.get('orderId') is not None:
self.order_id = m.get('orderId')
if m.get('overApplyId') is not None:
self.over_apply_id = m.get('overApplyId')
if m.get('primaryId') is not None:
self.primary_id = m.get('primaryId')
if m.get('projectCode') is not None:
self.project_code = m.get('projectCode')
if m.get('projectName') is not None:
self.project_name = m.get('projectName')
if m.get('refundFee') is not None:
self.refund_fee = m.get('refundFee')
if m.get('refundUpgradeCost') is not None:
self.refund_upgrade_cost = m.get('refundUpgradeCost')
if m.get('remark') is not None:
self.remark = m.get('remark')
if m.get('repeatRefund') is not None:
self.repeat_refund = m.get('repeatRefund')
if m.get('sealPrice') is not None:
self.seal_price = m.get('sealPrice')
if m.get('serviceFee') is not None:
self.service_fee = m.get('serviceFee')
if m.get('settlementFee') is not None:
self.settlement_fee = m.get('settlementFee')
if m.get('settlementGrantFee') is not None:
self.settlement_grant_fee = m.get('settlementGrantFee')
if m.get('settlementTime') is not None:
self.settlement_time = m.get('settlementTime')
if m.get('settlementType') is not None:
self.settlement_type = m.get('settlementType')
if m.get('status') is not None:
self.status = m.get('status')
if m.get('ticketId') is not None:
self.ticket_id = m.get('ticketId')
if m.get('travelerId') is not None:
self.traveler_id = m.get('travelerId')
if m.get('travelerJobNo') is not None:
self.traveler_job_no = m.get('travelerJobNo')
if m.get('travelerName') is not None:
self.traveler_name = m.get('travelerName')
if m.get('upgradeCost') is not None:
self.upgrade_cost = m.get('upgradeCost')
if m.get('voucherType') is not None:
self.voucher_type = m.get('voucherType')
return self