Class Certificate

    • Method Detail

      • fromJson

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

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

        public final String getSid()
      • getUrl

        public final URI getUrl()
      • getFriendlyName

        public final String getFriendlyName()
      • getFleetSid

        public final String getFleetSid()
      • getAccountSid

        public final String getAccountSid()
      • getDeviceSid

        public final String getDeviceSid()
      • getThumbprint

        public final String getThumbprint()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object