code: public static ResourceList<Message> list(final BandwidthClient client, final int page, final int size) throws Exception {
      	
          final String messageUri = client.getUserResourceUri(BandwidthConstants.MESSAGES_URI_PATH);
  
          final ResourceList<Message> messages = 
          			new ResourceList<Message>(page, size, messageUri, Message.class);
  
          messages.setClient(client);
          messages.initialize();
          
          return messages;
      }
docs: Factory method for Message list, returns a list of Message objects with page, size preference
  @param client the client.
  @param page the page
  @param size the page size
  @return the list
  @throws IOException unexpected error