public List < Map < String , Object > > list ( Setup setup ) { this . requestMaker = new RequestMaker ( setup ) ; RequestProperties props = new RequestPropertiesBuilder ( ) . method ( "GET" ) . endpoint ( ENDPOINT ) . type ( NotificationPreferences . class ) . contentType ( CONTENT_TYPE ) . build ( ) ; return this . requestMaker . getList ( props ) ; }
This method is used to get all created notification preferences .