code: 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);
      }
docs: This method is used to get all created notification preferences.
  
  @param   setup
  {@code Setup} the setup object.
  
  @return  {@code List<Map<String, Object>>}