text: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  import json
  
  from alipay.aop.api.constant.ParamConstants import *
  
  
  class AntMerchantExpandIndirectZftorderQueryModel(object):
  
      def __init__(self):
          self._external_id = None
          self._order_id = None
  
      @property
      def external_id(self):
          return self._external_id
  
      @external_id.setter
      def external_id(self, value):
          self._external_id = value
      @property
      def order_id(self):
          return self._order_id
  
      @order_id.setter
      def order_id(self, value):
          self._order_id = value
  
  
      def to_alipay_dict(self):
          params = dict()
          if self.external_id:
              if hasattr(self.external_id, 'to_alipay_dict'):
                  params['external_id'] = self.external_id.to_alipay_dict()
              else:
                  params['external_id'] = self.external_id
          if self.order_id:
              if hasattr(self.order_id, 'to_alipay_dict'):
                  params['order_id'] = self.order_id.to_alipay_dict()
              else:
                  params['order_id'] = self.order_id
          return params
  
      @staticmethod
      def from_alipay_dict(d):
          if not d:
              return None
          o = AntMerchantExpandIndirectZftorderQueryModel()
          if 'external_id' in d:
              o.external_id = d['external_id']
          if 'order_id' in d:
              o.order_id = d['order_id']
          return o
  
  
  