How to use the azure-iot-hub.azure.iot.hub.protocol.models.device_registry_operation_error.DeviceRegistryOperationError function in azure-iot-hub

To help you get started, we’ve selected a few azure-iot-hub examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure / azure-iot-sdk-python / azure-iot-hub / azure / iot / hub / protocol / models / device_registry_operation_error.py View on Github external
def __init__(self, **kwargs):
        super(DeviceRegistryOperationError, self).__init__(**kwargs)
        self.device_id = kwargs.get("device_id", None)
        self.error_code = kwargs.get("error_code", None)
        self.error_status = kwargs.get("error_status", None)
        self.module_id = kwargs.get("module_id", None)
        self.operation = kwargs.get("operation", None)