@rest_initialiser(version_check=True)
def execute(self, opts):
    enabled = None
    if (opts.enabled == '1'):
        enabled = True
    elif (opts.enabled == '0'):
        enabled = False
    (_, errors) = self.rest.enable_notifications(enabled)
    _exit_if_errors(errors)
    _success('Software notification settings updated')
@rest_initialiser(version_check=True)
def execute(self, opts):
    enabled = None
    if (opts.enabled == '1'):
        enabled = True
    elif (opts.enabled == '0'):
        enabled = False
    (_, errors) = self.rest.enable_notifications(enabled)
    _exit_if_errors(errors)
    _success('Software notification settings updated')