Class Activity

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getAvailable

        public final Boolean getAvailable()
      • getFriendlyName

        public final String getFriendlyName()
      • getSid

        public final String getSid()
      • getWorkspaceSid

        public final String getWorkspaceSid()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object