com.jakewharton.pingdom.services
Class AnalysisService.ListBuilder

java.lang.Object
  extended by com.jakewharton.apibuilder.ApiBuilder
      extended by com.jakewharton.pingdom.PingdomApiBuilder<List<Analysis>>
          extended by com.jakewharton.pingdom.services.AnalysisService.ListBuilder
Enclosing class:
AnalysisService

public static final class AnalysisService.ListBuilder
extends PingdomApiBuilder<List<Analysis>>

Request builder for AnalysisService.list(int).


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jakewharton.pingdom.PingdomApiBuilder
PingdomApiBuilder.HttpMethod
 
Field Summary
 
Fields inherited from class com.jakewharton.apibuilder.ApiBuilder
API_URL_PLACEHOLDER_END, API_URL_PLACEHOLDER_START
 
Method Summary
 AnalysisService.ListBuilder limit(int limit)
          Limits the number of returned results to the specified quantity.
 AnalysisService.ListBuilder offset(int offset)
          Offset for listing.
 
Methods inherited from class com.jakewharton.pingdom.PingdomApiBuilder
execute, field, fire, parameter, parameter, parameter, parameter, postParameter, postParameter, postParameter, postParameter, postParameter
 
Methods inherited from class com.jakewharton.apibuilder.ApiBuilder
buildUrl, buildUrl, encodeUrl, field, field, field, field, field, hasField, hasParameter, parameter, parameter, parameter, parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

limit

public AnalysisService.ListBuilder limit(int limit)
Limits the number of returned results to the specified quantity. (Optional)

Parameters:
limit - Result limit.
Returns:
Builder instance.

offset

public AnalysisService.ListBuilder offset(int offset)
Offset for listing. (Optional)

Parameters:
offset - Offset amount.
Returns:
Builder instance.


Copyright © 2011 Jake Wharton. All Rights Reserved.