Class QuotaCounterValueContractProperties


  • public final class QuotaCounterValueContractProperties
    extends Object
    Quota counter value details.
    • Constructor Detail

      • QuotaCounterValueContractProperties

        public QuotaCounterValueContractProperties()
    • Method Detail

      • callsCount

        public Integer callsCount()
        Get the callsCount property: Number of times Counter was called.
        Returns:
        the callsCount value.
      • withCallsCount

        public QuotaCounterValueContractProperties withCallsCount​(Integer callsCount)
        Set the callsCount property: Number of times Counter was called.
        Parameters:
        callsCount - the callsCount value to set.
        Returns:
        the QuotaCounterValueContractProperties object itself.
      • kbTransferred

        public Double kbTransferred()
        Get the kbTransferred property: Data Transferred in KiloBytes.
        Returns:
        the kbTransferred value.
      • withKbTransferred

        public QuotaCounterValueContractProperties withKbTransferred​(Double kbTransferred)
        Set the kbTransferred property: Data Transferred in KiloBytes.
        Parameters:
        kbTransferred - the kbTransferred value to set.
        Returns:
        the QuotaCounterValueContractProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.