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

from alipay.aop.api.constant.ParamConstants import *


class AlipayOpenDataItemSyncModel(object):

    def __init__(self):
        self._event_type = None
        self._ext_info = None
        self._external_id = None
        self._gmt_modified = None
        self._operate_type = None

    @property
    def event_type(self):
        return self._event_type

    @event_type.setter
    def event_type(self, value):
        self._event_type = value
    @property
    def ext_info(self):
        return self._ext_info

    @ext_info.setter
    def ext_info(self, value):
        self._ext_info = value
    @property
    def external_id(self):
        return self._external_id

    @external_id.setter
    def external_id(self, value):
        self._external_id = value
    @property
    def gmt_modified(self):
        return self._gmt_modified

    @gmt_modified.setter
    def gmt_modified(self, value):
        self._gmt_modified = value
    @property
    def operate_type(self):
        return self._operate_type

    @operate_type.setter
    def operate_type(self, value):
        self._operate_type = value


    def to_alipay_dict(self):
        params = dict()
        if self.event_type:
            if hasattr(self.event_type, 'to_alipay_dict'):
                params['event_type'] = self.event_type.to_alipay_dict()
            else:
                params['event_type'] = self.event_type
        if self.ext_info:
            if hasattr(self.ext_info, 'to_alipay_dict'):
                params['ext_info'] = self.ext_info.to_alipay_dict()
            else:
                params['ext_info'] = self.ext_info
        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.gmt_modified:
            if hasattr(self.gmt_modified, 'to_alipay_dict'):
                params['gmt_modified'] = self.gmt_modified.to_alipay_dict()
            else:
                params['gmt_modified'] = self.gmt_modified
        if self.operate_type:
            if hasattr(self.operate_type, 'to_alipay_dict'):
                params['operate_type'] = self.operate_type.to_alipay_dict()
            else:
                params['operate_type'] = self.operate_type
        return params

    @staticmethod
    def from_alipay_dict(d):
        if not d:
            return None
        o = AlipayOpenDataItemSyncModel()
        if 'event_type' in d:
            o.event_type = d['event_type']
        if 'ext_info' in d:
            o.ext_info = d['ext_info']
        if 'external_id' in d:
            o.external_id = d['external_id']
        if 'gmt_modified' in d:
            o.gmt_modified = d['gmt_modified']
        if 'operate_type' in d:
            o.operate_type = d['operate_type']
        return o



3edae24b34a12afa432f7dee16955dbe1966050d
<mask token>


class AlipayOpenDataItemSyncModel(object):
    <mask token>
    <mask token>
    <mask token>

    @property
    def ext_info(self):
        return self._ext_info
    <mask token>

    @property
    def external_id(self):
        return self._external_id

    @external_id.setter
    def external_id(self, value):
        self._external_id = value
    <mask token>

    @gmt_modified.setter
    def gmt_modified(self, value):
        self._gmt_modified = value
    <mask token>

    @operate_type.setter
    def operate_type(self, value):
        self._operate_type = value
    <mask token>
    <mask token>

<mask token>


class AlipayOpenDataItemSyncModel(object):

    def __init__(self):
        self._event_type = None
        self._ext_info = None
        self._external_id = None
        self._gmt_modified = None
        self._operate_type = None
    <mask token>

    @event_type.setter
    def event_type(self, value):
        self._event_type = value

    @property
    def ext_info(self):
        return self._ext_info
    <mask token>

    @property
    def external_id(self):
        return self._external_id

    @external_id.setter
    def external_id(self, value):
        self._external_id = value

    @property
    def gmt_modified(self):
        return self._gmt_modified

    @gmt_modified.setter
    def gmt_modified(self, value):
        self._gmt_modified = value
    <mask token>

    @operate_type.setter
    def operate_type(self, value):
        self._operate_type = value
    <mask token>
    <mask token>

<mask token>


class AlipayOpenDataItemSyncModel(object):

    def __init__(self):
        self._event_type = None
        self._ext_info = None
        self._external_id = None
        self._gmt_modified = None
        self._operate_type = None
    <mask token>

    @event_type.setter
    def event_type(self, value):
        self._event_type = value

    @property
    def ext_info(self):
        return self._ext_info
    <mask token>

    @property
    def external_id(self):
        return self._external_id

    @external_id.setter
    def external_id(self, value):
        self._external_id = value

    @property
    def gmt_modified(self):
        return self._gmt_modified

    @gmt_modified.setter
    def gmt_modified(self, value):
        self._gmt_modified = value
    <mask token>

    @operate_type.setter
    def operate_type(self, value):
        self._operate_type = value
    <mask token>

    @staticmethod
    def from_alipay_dict(d):
        if not d:
            return None
        o = AlipayOpenDataItemSyncModel()
        if 'event_type' in d:
            o.event_type = d['event_type']
        if 'ext_info' in d:
            o.ext_info = d['ext_info']
        if 'external_id' in d:
            o.external_id = d['external_id']
        if 'gmt_modified' in d:
            o.gmt_modified = d['gmt_modified']
        if 'operate_type' in d:
            o.operate_type = d['operate_type']
        return o

<mask token>


class AlipayOpenDataItemSyncModel(object):

    def __init__(self):
        self._event_type = None
        self._ext_info = None
        self._external_id = None
        self._gmt_modified = None
        self._operate_type = None

    @property
    def event_type(self):
        return self._event_type

    @event_type.setter
    def event_type(self, value):
        self._event_type = value

    @property
    def ext_info(self):
        return self._ext_info

    @ext_info.setter
    def ext_info(self, value):
        self._ext_info = value

    @property
    def external_id(self):
        return self._external_id

    @external_id.setter
    def external_id(self, value):
        self._external_id = value

    @property
    def gmt_modified(self):
        return self._gmt_modified

    @gmt_modified.setter
    def gmt_modified(self, value):
        self._gmt_modified = value

    @property
    def operate_type(self):
        return self._operate_type

    @operate_type.setter
    def operate_type(self, value):
        self._operate_type = value

    def to_alipay_dict(self):
        params = dict()
        if self.event_type:
            if hasattr(self.event_type, 'to_alipay_dict'):
                params['event_type'] = self.event_type.to_alipay_dict()
            else:
                params['event_type'] = self.event_type
        if self.ext_info:
            if hasattr(self.ext_info, 'to_alipay_dict'):
                params['ext_info'] = self.ext_info.to_alipay_dict()
            else:
                params['ext_info'] = self.ext_info
        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.gmt_modified:
            if hasattr(self.gmt_modified, 'to_alipay_dict'):
                params['gmt_modified'] = self.gmt_modified.to_alipay_dict()
            else:
                params['gmt_modified'] = self.gmt_modified
        if self.operate_type:
            if hasattr(self.operate_type, 'to_alipay_dict'):
                params['operate_type'] = self.operate_type.to_alipay_dict()
            else:
                params['operate_type'] = self.operate_type
        return params

    @staticmethod
    def from_alipay_dict(d):
        if not d:
            return None
        o = AlipayOpenDataItemSyncModel()
        if 'event_type' in d:
            o.event_type = d['event_type']
        if 'ext_info' in d:
            o.ext_info = d['ext_info']
        if 'external_id' in d:
            o.external_id = d['external_id']
        if 'gmt_modified' in d:
            o.gmt_modified = d['gmt_modified']
        if 'operate_type' in d:
            o.operate_type = d['operate_type']
        return o

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

from alipay.aop.api.constant.ParamConstants import *


class AlipayOpenDataItemSyncModel(object):

    def __init__(self):
        self._event_type = None
        self._ext_info = None
        self._external_id = None
        self._gmt_modified = None
        self._operate_type = None

    @property
    def event_type(self):
        return self._event_type

    @event_type.setter
    def event_type(self, value):
        self._event_type = value
    @property
    def ext_info(self):
        return self._ext_info

    @ext_info.setter
    def ext_info(self, value):
        self._ext_info = value
    @property
    def external_id(self):
        return self._external_id

    @external_id.setter
    def external_id(self, value):
        self._external_id = value
    @property
    def gmt_modified(self):
        return self._gmt_modified

    @gmt_modified.setter
    def gmt_modified(self, value):
        self._gmt_modified = value
    @property
    def operate_type(self):
        return self._operate_type

    @operate_type.setter
    def operate_type(self, value):
        self._operate_type = value


    def to_alipay_dict(self):
        params = dict()
        if self.event_type:
            if hasattr(self.event_type, 'to_alipay_dict'):
                params['event_type'] = self.event_type.to_alipay_dict()
            else:
                params['event_type'] = self.event_type
        if self.ext_info:
            if hasattr(self.ext_info, 'to_alipay_dict'):
                params['ext_info'] = self.ext_info.to_alipay_dict()
            else:
                params['ext_info'] = self.ext_info
        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.gmt_modified:
            if hasattr(self.gmt_modified, 'to_alipay_dict'):
                params['gmt_modified'] = self.gmt_modified.to_alipay_dict()
            else:
                params['gmt_modified'] = self.gmt_modified
        if self.operate_type:
            if hasattr(self.operate_type, 'to_alipay_dict'):
                params['operate_type'] = self.operate_type.to_alipay_dict()
            else:
                params['operate_type'] = self.operate_type
        return params

    @staticmethod
    def from_alipay_dict(d):
        if not d:
            return None
        o = AlipayOpenDataItemSyncModel()
        if 'event_type' in d:
            o.event_type = d['event_type']
        if 'ext_info' in d:
            o.ext_info = d['ext_info']
        if 'external_id' in d:
            o.external_id = d['external_id']
        if 'gmt_modified' in d:
            o.gmt_modified = d['gmt_modified']
        if 'operate_type' in d:
            o.operate_type = d['operate_type']
        return o


