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