import json
from code_gen.lib.basic_troop_service_entity_handler import BasicTroopServiceEntityHandler

DOMAIN_NAME = u'10.199.111.131:8888'
URL = u'http://%s/api/jointCard/applyBrandValidate'
BODY_DATA = u'{}'
_BODY_DATA = ''
if BODY_DATA:
    _BODY_DATA = json.loads(BODY_DATA)
QUERY_DATA = ''
METHOD_TYPE = u'post'
CONTENT_TYPE = 'form'
REQUEST_DATA = (_BODY_DATA or QUERY_DATA)
HAS_DATA_PATTERN = True
DATA_PATTERN = {
    "userName": "hxzq",
    "idType": "0",
    "mobile": "18701798869",
    "authCode": "864293",
    "custNo": "",
    "idNo": "413026199206290634",
    "serialNo": "BEFwwQGLVOHowJeaYLNgPj",
    "englishName": "ZUODONG",
    "brandSource": "HX_H5",
    "brandType": "ZX_BJK_ZXK"
}


class ApiJointcardApplybrandvalidateEntity(BasicTroopServiceEntityHandler):
    """
    accessible attribute list for response data:
    %s
    ==================
    kwargs for request:
    Please refer to the constants BODY_DATA or QUERY_DATA request parameters
    """

    def __init__(self, domain_name=DOMAIN_NAME, token=None, **kwargs):
        super(ApiJointcardApplybrandvalidateEntity, self).__init__(domain_name=domain_name, url_string=URL,
                                                                   data=REQUEST_DATA, method_type=METHOD_TYPE,
                                                                   request_content_type=CONTENT_TYPE,
                                                                   token=token,
                                                                   has_data_pattern=HAS_DATA_PATTERN, **kwargs)

    def _set_data_pattern(self, *args, **kwargs):
        self._current_data_pattern = DATA_PATTERN


if (__name__ == '__main__'):
    e = ApiJointcardApplybrandvalidateEntity()
    e.send_request()

2d319c2a413090aac41548344d729968c0731098
<mask token>


class ApiJointcardApplybrandvalidateEntity(BasicTroopServiceEntityHandler):
    <mask token>

    def __init__(self, domain_name=DOMAIN_NAME, token=None, **kwargs):
        super(ApiJointcardApplybrandvalidateEntity, self).__init__(domain_name
            =domain_name, url_string=URL, data=REQUEST_DATA, method_type=
            METHOD_TYPE, request_content_type=CONTENT_TYPE, token=token,
            has_data_pattern=HAS_DATA_PATTERN, **kwargs)

    def _set_data_pattern(self, *args, **kwargs):
        self._current_data_pattern = DATA_PATTERN


<mask token>

<mask token>
if BODY_DATA:
    _BODY_DATA = json.loads(BODY_DATA)
<mask token>


class ApiJointcardApplybrandvalidateEntity(BasicTroopServiceEntityHandler):
    """
    accessible attribute list for response data:
    %s
    ==================
    kwargs for request:
    Please refer to the constants BODY_DATA or QUERY_DATA request parameters
    """

    def __init__(self, domain_name=DOMAIN_NAME, token=None, **kwargs):
        super(ApiJointcardApplybrandvalidateEntity, self).__init__(domain_name
            =domain_name, url_string=URL, data=REQUEST_DATA, method_type=
            METHOD_TYPE, request_content_type=CONTENT_TYPE, token=token,
            has_data_pattern=HAS_DATA_PATTERN, **kwargs)

    def _set_data_pattern(self, *args, **kwargs):
        self._current_data_pattern = DATA_PATTERN


if __name__ == '__main__':
    e = ApiJointcardApplybrandvalidateEntity()
    e.send_request()

<mask token>
DOMAIN_NAME = u'10.199.111.131:8888'
URL = u'http://%s/api/jointCard/applyBrandValidate'
BODY_DATA = u'{}'
_BODY_DATA = ''
if BODY_DATA:
    _BODY_DATA = json.loads(BODY_DATA)
QUERY_DATA = ''
METHOD_TYPE = u'post'
CONTENT_TYPE = 'form'
REQUEST_DATA = _BODY_DATA or QUERY_DATA
HAS_DATA_PATTERN = True
DATA_PATTERN = {'userName': 'hxzq', 'idType': '0', 'mobile': '18701798869',
    'authCode': '864293', 'custNo': '', 'idNo': '413026199206290634',
    'serialNo': 'BEFwwQGLVOHowJeaYLNgPj', 'englishName': 'ZUODONG',
    'brandSource': 'HX_H5', 'brandType': 'ZX_BJK_ZXK'}


class ApiJointcardApplybrandvalidateEntity(BasicTroopServiceEntityHandler):
    """
    accessible attribute list for response data:
    %s
    ==================
    kwargs for request:
    Please refer to the constants BODY_DATA or QUERY_DATA request parameters
    """

    def __init__(self, domain_name=DOMAIN_NAME, token=None, **kwargs):
        super(ApiJointcardApplybrandvalidateEntity, self).__init__(domain_name
            =domain_name, url_string=URL, data=REQUEST_DATA, method_type=
            METHOD_TYPE, request_content_type=CONTENT_TYPE, token=token,
            has_data_pattern=HAS_DATA_PATTERN, **kwargs)

    def _set_data_pattern(self, *args, **kwargs):
        self._current_data_pattern = DATA_PATTERN


if __name__ == '__main__':
    e = ApiJointcardApplybrandvalidateEntity()
    e.send_request()

import json
from code_gen.lib.basic_troop_service_entity_handler import BasicTroopServiceEntityHandler
DOMAIN_NAME = u'10.199.111.131:8888'
URL = u'http://%s/api/jointCard/applyBrandValidate'
BODY_DATA = u'{}'
_BODY_DATA = ''
if BODY_DATA:
    _BODY_DATA = json.loads(BODY_DATA)
QUERY_DATA = ''
METHOD_TYPE = u'post'
CONTENT_TYPE = 'form'
REQUEST_DATA = _BODY_DATA or QUERY_DATA
HAS_DATA_PATTERN = True
DATA_PATTERN = {'userName': 'hxzq', 'idType': '0', 'mobile': '18701798869',
    'authCode': '864293', 'custNo': '', 'idNo': '413026199206290634',
    'serialNo': 'BEFwwQGLVOHowJeaYLNgPj', 'englishName': 'ZUODONG',
    'brandSource': 'HX_H5', 'brandType': 'ZX_BJK_ZXK'}


class ApiJointcardApplybrandvalidateEntity(BasicTroopServiceEntityHandler):
    """
    accessible attribute list for response data:
    %s
    ==================
    kwargs for request:
    Please refer to the constants BODY_DATA or QUERY_DATA request parameters
    """

    def __init__(self, domain_name=DOMAIN_NAME, token=None, **kwargs):
        super(ApiJointcardApplybrandvalidateEntity, self).__init__(domain_name
            =domain_name, url_string=URL, data=REQUEST_DATA, method_type=
            METHOD_TYPE, request_content_type=CONTENT_TYPE, token=token,
            has_data_pattern=HAS_DATA_PATTERN, **kwargs)

    def _set_data_pattern(self, *args, **kwargs):
        self._current_data_pattern = DATA_PATTERN


if __name__ == '__main__':
    e = ApiJointcardApplybrandvalidateEntity()
    e.send_request()

import json
from code_gen.lib.basic_troop_service_entity_handler import BasicTroopServiceEntityHandler

DOMAIN_NAME = u'10.199.111.131:8888'
URL = u'http://%s/api/jointCard/applyBrandValidate'
BODY_DATA = u'{}'
_BODY_DATA = ''
if BODY_DATA:
    _BODY_DATA = json.loads(BODY_DATA)
QUERY_DATA = ''
METHOD_TYPE = u'post'
CONTENT_TYPE = 'form'
REQUEST_DATA = (_BODY_DATA or QUERY_DATA)
HAS_DATA_PATTERN = True
DATA_PATTERN = {
    "userName": "hxzq",
    "idType": "0",
    "mobile": "18701798869",
    "authCode": "864293",
    "custNo": "",
    "idNo": "413026199206290634",
    "serialNo": "BEFwwQGLVOHowJeaYLNgPj",
    "englishName": "ZUODONG",
    "brandSource": "HX_H5",
    "brandType": "ZX_BJK_ZXK"
}


class ApiJointcardApplybrandvalidateEntity(BasicTroopServiceEntityHandler):
    """
    accessible attribute list for response data:
    %s
    ==================
    kwargs for request:
    Please refer to the constants BODY_DATA or QUERY_DATA request parameters
    """

    def __init__(self, domain_name=DOMAIN_NAME, token=None, **kwargs):
        super(ApiJointcardApplybrandvalidateEntity, self).__init__(domain_name=domain_name, url_string=URL,
                                                                   data=REQUEST_DATA, method_type=METHOD_TYPE,
                                                                   request_content_type=CONTENT_TYPE,
                                                                   token=token,
                                                                   has_data_pattern=HAS_DATA_PATTERN, **kwargs)

    def _set_data_pattern(self, *args, **kwargs):
        self._current_data_pattern = DATA_PATTERN


if (__name__ == '__main__'):
    e = ApiJointcardApplybrandvalidateEntity()
    e.send_request()
