emnify.modules.device.api_call_manager

Classes

GetAllDevicesApiCall

Base manager for api calls handling

GetEventsByDevice

Base manager for api calls handling

CreateDevice

Base manager for api calls handling

GetAllSmsFromDevice

Base manager for api calls handling

SendSmsToDevice

Base manager for api calls handling

RetrieveDevice

Base manager for api calls handling

UpdateDevice

Base manager for api calls handling

DeleteDevice

Base manager for api calls handling

GetOperatorBlacklist

Base manager for api calls handling

AddOperatorBlacklist

Base manager for api calls handling

DeleteOperatorBlacklist

Base manager for api calls handling

ResetConnectivityPatch

Base manager for api calls handling

GetDeviceConnectivity

Base manager for api calls handling

Module Contents

class emnify.modules.device.api_call_manager.GetAllDevicesApiCall(*args, **kwargs)

Bases: emnify.api_manager.BaseApiManager

Base manager for api calls handling

request_url_prefix = '/v1/endpoint'
request_method_name
response_handlers
class emnify.modules.device.api_call_manager.GetEventsByDevice(*args, **kwargs)

Bases: emnify.api_manager.BaseApiManager

Base manager for api calls handling

request_url_prefix = '/v1/endpoint/{endpoint_id}/event'
request_method_name
response_handlers
class emnify.modules.device.api_call_manager.CreateDevice

Bases: emnify.api_manager.BaseApiManager

Base manager for api calls handling

request_url_prefix = '/v1/endpoint'
request_method_name
return_success(response: requests.Response, client, data: dict = None, *args, **kwargs) True
class emnify.modules.device.api_call_manager.GetAllSmsFromDevice

Bases: emnify.api_manager.BaseApiManager

Base manager for api calls handling

request_url_prefix = '/v1/endpoint/{endpoint_id}/sms'
request_method_name
class emnify.modules.device.api_call_manager.SendSmsToDevice

Bases: emnify.api_manager.BaseApiManager

Base manager for api calls handling

request_url_prefix = '/v1/endpoint/{endpoint_id}/sms'
request_method_name
class emnify.modules.device.api_call_manager.RetrieveDevice

Bases: emnify.api_manager.BaseApiManager

Base manager for api calls handling

request_url_prefix
request_method_name
class emnify.modules.device.api_call_manager.UpdateDevice

Bases: emnify.api_manager.BaseApiManager

Base manager for api calls handling

request_url_prefix
request_method_name
class emnify.modules.device.api_call_manager.DeleteDevice

Bases: emnify.api_manager.BaseApiManager

Base manager for api calls handling

request_url_prefix
request_method_name
class emnify.modules.device.api_call_manager.GetOperatorBlacklist

Bases: emnify.api_manager.BaseApiManager

Base manager for api calls handling

request_url_prefix = '/v1/endpoint/{endpoint_id}/operator_blacklist'
request_method_name
class emnify.modules.device.api_call_manager.AddOperatorBlacklist

Bases: emnify.api_manager.BaseApiManager

Base manager for api calls handling

request_url_prefix = '/v1/endpoint/{endpoint_id}/operator_blacklist/{operator_id}'
request_method_name
process_exception(response: requests.Response, client, data: dict = None, *args, **kwargs)
class emnify.modules.device.api_call_manager.DeleteOperatorBlacklist

Bases: emnify.api_manager.BaseApiManager

Base manager for api calls handling

request_url_prefix = '/v1/endpoint/{endpoint_id}/operator_blacklist/{operator_id}'
request_method_name
process_exception(response: requests.Response, client, data: dict = None, *args, **kwargs)
class emnify.modules.device.api_call_manager.ResetConnectivityPatch

Bases: emnify.api_manager.BaseApiManager

Base manager for api calls handling

request_url_prefix = '/v1/endpoint/{endpoint_id}/connectivity'
request_method_name
class emnify.modules.device.api_call_manager.GetDeviceConnectivity

Bases: emnify.api_manager.BaseApiManager

Base manager for api calls handling

request_url_prefix = '/v1/endpoint/{endpoint_id}/connectivity'
request_method_name
process_exception(response: requests.Response, client, data: dict = None, *args, **kwargs)