Class ListCallsWithTranscriptsResponse.DataItem

    • Method Detail

      • getType

        public java.util.Optional<java.lang.String> getType()
        Specified by:
        getType in interface ICall
        Returns:
        String representing the object's type. Always has the value call.
      • getId

        public java.util.Optional<java.lang.String> getId()
        Specified by:
        getId in interface ICall
        Returns:
        The id of the call.
      • getConversationId

        public java.util.Optional<java.lang.String> getConversationId()
        Specified by:
        getConversationId in interface ICall
        Returns:
        The id of the conversation associated with the call, if any.
      • getAdminId

        public java.util.Optional<java.lang.String> getAdminId()
        Specified by:
        getAdminId in interface ICall
        Returns:
        The id of the admin associated with the call, if any.
      • getContactId

        public java.util.Optional<java.lang.String> getContactId()
        Specified by:
        getContactId in interface ICall
        Returns:
        The id of the contact associated with the call, if any.
      • getState

        public java.util.Optional<java.lang.String> getState()
        Specified by:
        getState in interface ICall
        Returns:
        The current state of the call.
      • getRecordingUrl

        public java.util.Optional<java.lang.String> getRecordingUrl()
        Specified by:
        getRecordingUrl in interface ICall
        Returns:
        API URL to download or redirect to the call recording if available.
      • getTranscriptionUrl

        public java.util.Optional<java.lang.String> getTranscriptionUrl()
        Specified by:
        getTranscriptionUrl in interface ICall
        Returns:
        API URL to the call transcript if available.
      • getCallType

        public java.util.Optional<java.lang.String> getCallType()
        Specified by:
        getCallType in interface ICall
        Returns:
        The type of call.
      • getDirection

        public java.util.Optional<java.lang.String> getDirection()
        Specified by:
        getDirection in interface ICall
        Returns:
        The direction of the call.
      • getEndedReason

        public java.util.Optional<java.lang.String> getEndedReason()
        Specified by:
        getEndedReason in interface ICall
        Returns:
        The reason for the call end, if applicable.
      • getPhone

        public java.util.Optional<java.lang.String> getPhone()
        Specified by:
        getPhone in interface ICall
        Returns:
        The phone number involved in the call, in E.164 format.
      • getFinRecordingUrl

        public java.util.Optional<java.lang.String> getFinRecordingUrl()
        Specified by:
        getFinRecordingUrl in interface ICall
        Returns:
        API URL to the AI Agent (Fin) call recording if available.
      • getFinTranscriptionUrl

        public java.util.Optional<java.lang.String> getFinTranscriptionUrl()
        Specified by:
        getFinTranscriptionUrl in interface ICall
        Returns:
        API URL to the AI Agent (Fin) call transcript if available.
      • getTranscript

        public java.util.Optional<java.util.List<java.util.Map<java.lang.String,​java.lang.Object>>> getTranscript()
        Returns:
        The call transcript if available, otherwise an empty array.
      • getTranscriptStatus

        public java.util.Optional<java.lang.String> getTranscriptStatus()
        Returns:
        The status of the transcript if available.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object