Class UsageRecord

    • Method Detail

      • fromJson

        public static UsageRecord fromJson​(String json,
                                           com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a UsageRecord object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        UsageRecord object represented by the provided JSON
      • fromJson

        public static UsageRecord fromJson​(InputStream json,
                                           com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a UsageRecord object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        UsageRecord object represented by the provided JSON
      • getAccountSid

        public final String getAccountSid()
      • getSimSid

        public final String getSimSid()
      • getNetworkSid

        public final String getNetworkSid()
      • getFleetSid

        public final String getFleetSid()
      • getIsoCountry

        public final String getIsoCountry()
      • getDataUpload

        public final Long getDataUpload()
      • getDataDownload

        public final Long getDataDownload()
      • getDataTotal

        public final Long getDataTotal()
      • getDataTotalBilled

        public final BigDecimal getDataTotalBilled()
      • getBilledUnit

        public final Currency getBilledUnit()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object