def __init__(self, api_client=None):
    config = Configuration()
    if api_client:
        self.api_client = api_client
    else:
        if (not config.api_client):
            config.api_client = ApiClient()
        self.api_client = config.api_client
def __init__(self, api_client=None):
    config = Configuration()
    if api_client:
        self.api_client = api_client
    else:
        if (not config.api_client):
            config.api_client = ApiClient()
        self.api_client = config.api_client