Class DataSession

    • Method Detail

      • fromJson

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

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

        public final String getSid()
      • getSimSid

        public final String getSimSid()
      • getAccountSid

        public final String getAccountSid()
      • getRadioLink

        public final String getRadioLink()
      • getOperatorMcc

        public final String getOperatorMcc()
      • getOperatorMnc

        public final String getOperatorMnc()
      • getOperatorCountry

        public final String getOperatorCountry()
      • getOperatorName

        public final String getOperatorName()
      • getCellId

        public final String getCellId()
      • getCellLocationEstimate

        public final Map<String,​Object> getCellLocationEstimate()
      • getPacketsUploaded

        public final Integer getPacketsUploaded()
      • getPacketsDownloaded

        public final Integer getPacketsDownloaded()
      • getImei

        public final String getImei()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object