com.jakewharton.pingdom.services
Class ReportsPublicService

java.lang.Object
  extended by com.jakewharton.apibuilder.ApiService
      extended by com.jakewharton.pingdom.PingdomApiService
          extended by com.jakewharton.pingdom.services.ReportsPublicService

public class ReportsPublicService
extends PingdomApiService

Represents Pingdom's remote public reports service.


Nested Class Summary
static class ReportsPublicService.ActivateBuilder
          Request builder for activate(int).
static class ReportsPublicService.DeactivateBuilder
          Request builder for deactivate(int).
static class ReportsPublicService.ListBuilder
          Request builder for list().
 
Field Summary
 
Fields inherited from class com.jakewharton.apibuilder.ApiService
CONTENT_ENCODING
 
Constructor Summary
ReportsPublicService()
           
 
Method Summary
 ReportsPublicService.ActivateBuilder activate(int checkId)
          Activate public report for a specified check.
 ReportsPublicService.DeactivateBuilder deactivate(int checkId)
          Deactivate public report for a specified check.
 ReportsPublicService.ListBuilder list()
          Returns a list of public (web-based) reports.
 
Methods inherited from class com.jakewharton.pingdom.PingdomApiService
delete, get, post, put, setApiVersion, setAppKey, setAuthentication, unmarshall, unmarshall
 
Methods inherited from class com.jakewharton.apibuilder.ApiService
acceptGzip, addRequestHeader, closeConnection, closeStream, convertStreamToString, executeDelete, executeDelete, executeGet, executeGet, executeMethod, executePost, executePost, getConnectTimeout, getParametersString, getReadTimeout, getWrappedInputStream, removeRequestHeader, setConnectTimeout, setReadTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportsPublicService

public ReportsPublicService()
Method Detail

list

public ReportsPublicService.ListBuilder list()
Returns a list of public (web-based) reports.

Returns:
Builder instance.
Since:
2.0

activate

public ReportsPublicService.ActivateBuilder activate(int checkId)
Activate public report for a specified check.

Parameters:
checkId - Check ID.
Returns:
Builder instance.
Since:
2.0

deactivate

public ReportsPublicService.DeactivateBuilder deactivate(int checkId)
Deactivate public report for a specified check.

Parameters:
checkId - Check ID.
Returns:
Builder instance.
Since:
2.0


Copyright © 2011 Jake Wharton. All Rights Reserved.