Class Credential

    • Method Detail

      • fromJson

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

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

        public final String getSid()
      • getAccountSid

        public final String getAccountSid()
      • getCredentialListSid

        public final String getCredentialListSid()
      • getUsername

        public final String getUsername()
      • getUri

        public final String getUri()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object