com.jakewharton.pingdom.entities
Class SummaryAverage.ResponseTime.AvgResponseWrapper
java.lang.Object
com.jakewharton.pingdom.entities.SummaryAverage.ResponseTime.AvgResponseWrapper
- Enclosing class:
- SummaryAverage.ResponseTime
public static final class SummaryAverage.ResponseTime.AvgResponseWrapper
- extends Object
Wrapper for the average response field of a SummaryAverage.ResponseTime
providing either a single integer value or a list of
probe-specific response times.
- Author:
- Jake Wharton
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SummaryAverage.ResponseTime.AvgResponseWrapper
public SummaryAverage.ResponseTime.AvgResponseWrapper(int avgResponse)
SummaryAverage.ResponseTime.AvgResponseWrapper
public SummaryAverage.ResponseTime.AvgResponseWrapper(List<SummaryAverage.ResponseTime.ProbeResponseTime> avgResponses)
getSingle
public Integer getSingle()
- Get as single value.
- Returns:
- Value.
getList
public List<SummaryAverage.ResponseTime.ProbeResponseTime> getList()
- Get as list of values.
- Returns:
- List of values.
Copyright © 2011 Jake Wharton. All Rights Reserved.