def __init__(self, *args, **kwargs): kwargs['pathname'] = '/api/v1/users' ApiClient.__init__(self, *args, **kwargs) self.user_class = User if "user_class" in kwargs and kwargs["user_class"]: self.user_class = kwargs["user_class"]
def __init__(self, *args, **kwargs): if 'base_url' in kwargs and 'api_token' in kwargs: kwargs['base_url'] += '/api/v1/groups' else: kwargs['base_url'] = args[0] + '/api/v1/groups' kwargs['api_token'] = args[1] ApiClient.__init__(self, **kwargs)
def __init__(self, *args, **kwargs): kwargs['pathname'] = '/api/v1/users' ApiClient.__init__(self, *args, **kwargs)
def __init__(self, *args, **kwargs): # kwargs['pathname'] = '/api/v1/authn' ApiClient.__init__(self, *args, **kwargs)
def __init__(self, *args, **kwargs): kwargs['pathname'] = '/api/v1/authn' ApiClient.__init__(self, *args, **kwargs)
def __init__(self, *args, **kwargs): kwargs['pathname'] = '/oauth2/v1' ApiClient.__init__(self, *args, **kwargs)
def __init__(self, base_url, api_token): ApiClient.__init__(self, base_url + '/api/v1/groups', api_token)
def __init__(self, base_url, api_token): ApiClient.__init__(self, base_url + '/api/v1/org', api_token)
def __init__(self, base_url, api_token): ApiClient.__init__(self, base_url + '/api/v1/authn', api_token)
def __init__(self, base_url, api_token): ApiClient.__init__(self, base_url + '/api/v1/sessions', api_token)