(self, request, tenant_id)
return json.dumps({'values': ntlist, 'metadata': metadata})
Get the types of notifications supported: pageduty,email,sms, etc
Get the types of notifications supported: pageduty,email,sms, etc
Get the types of notifications supported : pageduty email sms etc
def get_notification_types(self, request, tenant_id):
        """
        Get the types of notifications supported: pageduty,email,sms, etc
        """
        ntlist = self._entity_cache_for_tenant(
            tenant_id).notificationtypes_list
        metadata = {'count': len(ntlist),
                    'limit': 100,
                    'marker': None,
                    'next_marker': None,
                    'next_href': None}
        request.setResponseCode(200)
        return json.dumps({'values': ntlist, 'metadata': metadata})
def get_notification_types ( self , request , tenant_id ) : ntlist = self . _entity_cache_for_tenant ( tenant_id ) . notificationtypes_list metadata = { 'count' : len ( ntlist ) , 'limit' : 100 , 'marker' : None , 'next_marker' : None , 'next_href' : None } request . setResponseCode ( 200 ) return json . dumps ( { 'values' : ntlist , 'metadata' : metadata } )