#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json

from alipay.aop.api.response.AlipayResponse import AlipayResponse


class AlipayCommerceTransportAirticketOrderSyncResponse(AlipayResponse):

    def __init__(self):
        super(AlipayCommerceTransportAirticketOrderSyncResponse, self).__init__()
        self._modified_time = None
        self._open_id = None
        self._order_status = None
        self._out_biz_no = None
        self._user_id = None

    @property
    def modified_time(self):
        return self._modified_time

    @modified_time.setter
    def modified_time(self, value):
        self._modified_time = value
    @property
    def open_id(self):
        return self._open_id

    @open_id.setter
    def open_id(self, value):
        self._open_id = value
    @property
    def order_status(self):
        return self._order_status

    @order_status.setter
    def order_status(self, value):
        self._order_status = value
    @property
    def out_biz_no(self):
        return self._out_biz_no

    @out_biz_no.setter
    def out_biz_no(self, value):
        self._out_biz_no = value
    @property
    def user_id(self):
        return self._user_id

    @user_id.setter
    def user_id(self, value):
        self._user_id = value

    def parse_response_content(self, response_content):
        response = super(AlipayCommerceTransportAirticketOrderSyncResponse, self).parse_response_content(response_content)
        if 'modified_time' in response:
            self.modified_time = response['modified_time']
        if 'open_id' in response:
            self.open_id = response['open_id']
        if 'order_status' in response:
            self.order_status = response['order_status']
        if 'out_biz_no' in response:
            self.out_biz_no = response['out_biz_no']
        if 'user_id' in response:
            self.user_id = response['user_id']
