Class BandwidthUsageSummaryResponse
java.lang.Object
com.iland.core.web.rest.response.billing.BandwidthUsageSummaryResponse
- All Implemented Interfaces:
Serializable
Bandwidth Usage Summary Response.
- Author:
- Brett Snyder
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBandwidthUsageSummaryResponse(double reservedAmount, double totalUsage, double burstUsage, int month, int year, BillingModelType billingModelType) -
Method Summary
Modifier and TypeMethodDescriptionReturns the billing model type for the month the bandwidth summary corresponds to.doubleGet burst usage in GB.intgetMonth()Get bandwidth summary's month.doubleGet reserved bandwidth amount in GB.doubleGet total bandwidth usage in GB.intgetYear()Get bandwidth summary's year.
-
Constructor Details
-
BandwidthUsageSummaryResponse
public BandwidthUsageSummaryResponse(double reservedAmount, double totalUsage, double burstUsage, int month, int year, BillingModelType billingModelType)
-
-
Method Details
-
getReservedAmount
public double getReservedAmount()Get reserved bandwidth amount in GB.- Returns:
- reserved bandwidth amount
-
getTotalUsage
public double getTotalUsage()Get total bandwidth usage in GB.- Returns:
- total bandwidth usage
-
getBurstUsage
public double getBurstUsage()Get burst usage in GB.- Returns:
- burst bandwidth usage
-
getMonth
public int getMonth()Get bandwidth summary's month.- Returns:
- month
-
getYear
public int getYear()Get bandwidth summary's year.- Returns:
- year
-
getBillingModelType
Returns the billing model type for the month the bandwidth summary corresponds to.- Returns:
- one of
BillingModelType
-