(self, basestation, action="disabled", email=False, push=False)
return self.NotifyAndGetResponse(basestation, {"action":"set","resource":"cameras/"+basestation.get('deviceId'),"publishResponse":True,"properties":{"eventAction":{"actionType":action,"stopType":"timeout","timeout":15,"emailNotification":{"enabled":email,"emailList":["__OWNER_EMAIL__"]},"pushNotification":push}}})
action : disabled OR recordSnapshot OR recordVideo
action : disabled OR recordSnapshot OR recordVideo
action : disabled OR recordSnapshot OR recordVideo
def AlertNotificationMethods(self, basestation, action="disabled", email=False, push=False):
        """ action : disabled OR recordSnapshot OR recordVideo """
        return self.NotifyAndGetResponse(basestation, {"action":"set","resource":"cameras/"+basestation.get('deviceId'),"publishResponse":True,"properties":{"eventAction":{"actionType":action,"stopType":"timeout","timeout":15,"emailNotification":{"enabled":email,"emailList":["__OWNER_EMAIL__"]},"pushNotification":push}}})
def AlertNotificationMethods ( self , basestation , action = "disabled" , email = False , push = False ) : return self . NotifyAndGetResponse ( basestation , { "action" : "set" , "resource" : "cameras/" + basestation . get ( 'deviceId' ) , "publishResponse" : True , "properties" : { "eventAction" : { "actionType" : action , "stopType" : "timeout" , "timeout" : 15 , "emailNotification" : { "enabled" : email , "emailList" : [ "__OWNER_EMAIL__" ] } , "pushNotification" : push } } } )