Class AuthTokenPromotion

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getAuthToken

        public final String getAuthToken()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object