Class Workspace

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getDefaultActivityName

        public final String getDefaultActivityName()
      • getDefaultActivitySid

        public final String getDefaultActivitySid()
      • getEventCallbackUrl

        public final URI getEventCallbackUrl()
      • getEventsFilter

        public final String getEventsFilter()
      • getFriendlyName

        public final String getFriendlyName()
      • getMultiTaskEnabled

        public final Boolean getMultiTaskEnabled()
      • getSid

        public final String getSid()
      • getTimeoutActivityName

        public final String getTimeoutActivityName()
      • getTimeoutActivitySid

        public final String getTimeoutActivitySid()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object