Class Account

    • Method Detail

      • fromJson

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

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

        public final String getAuthToken()
      • getFriendlyName

        public final String getFriendlyName()
      • getOwnerAccountSid

        public final String getOwnerAccountSid()
      • getSid

        public final String getSid()
      • getSubresourceUris

        public final Map<String,​String> getSubresourceUris()
      • getUri

        public final String getUri()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object