Class Reservation

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getSid

        public final String getSid()
      • getTaskSid

        public final String getTaskSid()
      • getWorkerName

        public final String getWorkerName()
      • getWorkerSid

        public final String getWorkerSid()
      • getWorkspaceSid

        public final String getWorkspaceSid()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object