Class BandwidthUsageSummaryResponse

java.lang.Object
com.iland.core.web.rest.response.billing.BandwidthUsageSummaryResponse
All Implemented Interfaces:
Serializable

public class BandwidthUsageSummaryResponse extends Object implements Serializable
Bandwidth Usage Summary Response.
Author:
Brett Snyder
See Also:
  • 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

      public BillingModelType getBillingModelType()
      Returns the billing model type for the month the bandwidth summary corresponds to.
      Returns:
      one of BillingModelType