com.jakewharton.pingdom.services
Class ReportsSharedService

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

public class ReportsSharedService
extends PingdomApiService

Represents Pingdom's remote shared reports service.


Nested Class Summary
static class ReportsSharedService.CreateBuilder
          Request builder for create().
static class ReportsSharedService.DeleteBuilder
          Request builder for delete(int).
static class ReportsSharedService.GetBuilder
          Request builder for get().
 
Field Summary
 
Fields inherited from class com.jakewharton.apibuilder.ApiService
CONTENT_ENCODING
 
Constructor Summary
ReportsSharedService()
           
 
Method Summary
 ReportsSharedService.CreateBuilder create()
          Create a shared report (banner).
 ReportsSharedService.DeleteBuilder delete(int reportId)
          Delete a shared report (banner).
 ReportsSharedService.GetBuilder get()
          Returns shared reports (banners).
 
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

ReportsSharedService

public ReportsSharedService()
Method Detail

get

public ReportsSharedService.GetBuilder get()
Returns shared reports (banners).

Returns:
Builder instance.
Since:
2.0

create

public ReportsSharedService.CreateBuilder create()
Create a shared report (banner).

Returns:
Builder instance.
Since:
2.0

delete

public ReportsSharedService.DeleteBuilder delete(int reportId)
Delete a shared report (banner).

Parameters:
reportId - Report ID.
Returns:
Builder instance.
Since:
2.0


Copyright © 2011 Jake Wharton. All Rights Reserved.