|
||||||||||
| 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<Actions>
com.jakewharton.pingdom.services.ActionsService.GetBuilder
public static final class ActionsService.GetBuilder
Request builder for ActionsService.get().
| 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 | |
|---|---|
ActionsService.GetBuilder |
checkIds(List<Integer> checkIds)
Limit results to actions generated from these checks. |
ActionsService.GetBuilder |
contactIds(List<Integer> contactIds)
Limit results to actions sent to these contacts. |
protected com.google.gson.JsonElement |
execute()
Execute the remote API method and return the JSON object result. |
ActionsService.GetBuilder |
from(Date from)
Only include actions generated later than this timestamp. |
ActionsService.GetBuilder |
limit(int limit)
Limits the number of returned results to the specified quantity. |
ActionsService.GetBuilder |
offset(int offset)
Offset for listing. |
ActionsService.GetBuilder |
status(AlertStatus status)
Limit results to actions with these statuses. |
ActionsService.GetBuilder |
to(Date to)
Only include actions generated prior to this timestamp. |
ActionsService.GetBuilder |
via(AlertVia via)
Limit results to actions with these mediums. |
| 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<Actions>public ActionsService.GetBuilder from(Date from)
from - Starting timestamp.
public ActionsService.GetBuilder to(Date to)
to - Ending timestamp.
public ActionsService.GetBuilder limit(int limit)
limit - Result limit.
public ActionsService.GetBuilder offset(int offset)
offset - Offset amount.
public ActionsService.GetBuilder checkIds(List<Integer> checkIds)
checkIds - List of IDs.
public ActionsService.GetBuilder contactIds(List<Integer> contactIds)
contactIds - List of IDs.
public ActionsService.GetBuilder status(AlertStatus status)
status - Status to limit with.
public ActionsService.GetBuilder via(AlertVia via)
via - Via to limit with.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||