net.unto.twitter.methods
Class SentDirectMessagesRequest.Builder

java.lang.Object
  extended by net.unto.twitter.methods.AbstractRequest.Builder<SentDirectMessagesRequest.Builder>
      extended by net.unto.twitter.methods.SentDirectMessagesRequest.Builder
All Implemented Interfaces:
Request.Builder
Enclosing class:
SentDirectMessagesRequest

public static final class SentDirectMessagesRequest.Builder
extends AbstractRequest.Builder<SentDirectMessagesRequest.Builder>


Method Summary
 SentDirectMessagesRequest build()
           
 SentDirectMessagesRequest.Builder page(int page)
          Retrieves the 20 next most recent direct messages sent
 SentDirectMessagesRequest.Builder since(DateTime since)
          Narrows the resulting list of direct messages to just those sent after the specified HTTP-formatted date, up to 24 hours old.
 SentDirectMessagesRequest.Builder sinceId(long sinceId)
          Returns only sent direct messages with an ID greater than (that is, more recent than) the specified ID.
 
Methods inherited from class net.unto.twitter.methods.AbstractRequest.Builder
host, httpManager, port, scheme
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

build

public SentDirectMessagesRequest build()

since

public SentDirectMessagesRequest.Builder since(DateTime since)
Narrows the resulting list of direct messages to just those sent after the specified HTTP-formatted date, up to 24 hours old.

Parameters:
since - Narrows the resulting list of direct messages to just those sent after the specified HTTP-formatted date, up to 24 hours old.
Returns:
SentDirectMessagesRequest.Builder

sinceId

public SentDirectMessagesRequest.Builder sinceId(long sinceId)
Returns only sent direct messages with an ID greater than (that is, more recent than) the specified ID.

Parameters:
sinceId - Returns only sent direct messages with an ID greater than (that is, more recent than) the specified ID.
Returns:
SentDirectMessagesRequest.Builder

page

public SentDirectMessagesRequest.Builder page(int page)
Retrieves the 20 next most recent direct messages sent

Parameters:
page - Retrieves the 20 next most recent direct messages sent
Returns:
SentDirectMessagesRequest.Builder


Copyright © 2009 DeWitt Clinton. All Rights Reserved.