|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jakewharton.apibuilder.ApiBuilder
com.jakewharton.pingdom.PingdomApiBuilder<SummaryAverage>
com.jakewharton.pingdom.services.SummaryAverageService.GetBuilder
public static final class SummaryAverageService.GetBuilder
Request builder for SummaryAverageService.get(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 | |
|---|---|
SummaryAverageService.GetBuilder |
byCountry(boolean byCountry)
Split response times into country groups. |
SummaryAverageService.GetBuilder |
byProbe(boolean byProbe)
Split response times into probe groups |
protected com.google.gson.JsonElement |
execute()
Execute the remote API method and return the JSON object result. |
SummaryAverageService.GetBuilder |
from(Date from)
Start time of period. |
SummaryAverageService.GetBuilder |
includeUptime(boolean includeUptime)
Include uptime information. |
SummaryAverageService.GetBuilder |
probes(List<Integer> probes)
Filter to only use results from a list of probes. |
SummaryAverageService.GetBuilder |
to(Date to)
End time of period. |
| Methods inherited from class com.jakewharton.pingdom.PingdomApiBuilder |
|---|
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 |
|---|
protected com.google.gson.JsonElement execute()
PingdomApiBuilderExecute the remote API method and return the JSON object result.
This method can be overridden to select a specific subset of the JSON object. The overriding implementation should still call 'super.execute()' and then perform the filtering from there.
execute in class PingdomApiBuilder<SummaryAverage>public SummaryAverageService.GetBuilder from(Date from)
from - Value.
public SummaryAverageService.GetBuilder to(Date to)
to - Value.
public SummaryAverageService.GetBuilder probes(List<Integer> probes)
probes - List of probe IDs.
public SummaryAverageService.GetBuilder includeUptime(boolean includeUptime)
includeUptime - Value.
public SummaryAverageService.GetBuilder byCountry(boolean byCountry)
byCountry - Value.
public SummaryAverageService.GetBuilder byProbe(boolean byProbe)
byProbe - Value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||