Class ConferenceRecordingMetadata


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2023-08-29T14:24:34.966664-04:00[America/New_York]")
    public class ConferenceRecordingMetadata
    extends Object
    ConferenceRecordingMetadata
    • Constructor Detail

      • ConferenceRecordingMetadata

        public ConferenceRecordingMetadata()
    • Method Detail

      • getAccountId

        @Nullable
        public String getAccountId()
        The user account associated with the call.
        Returns:
        accountId
      • setAccountId

        public void setAccountId​(String accountId)
      • getConferenceId

        @Nullable
        public String getConferenceId()
        The unique, Bandwidth-generated ID of the conference that was recorded
        Returns:
        conferenceId
      • setConferenceId

        public void setConferenceId​(String conferenceId)
      • getName

        @Nullable
        public String getName()
        The user-specified name of the conference that was recorded
        Returns:
        name
      • setName

        public void setName​(String name)
      • getRecordingId

        @Nullable
        public String getRecordingId()
        The unique ID of this recording
        Returns:
        recordingId
      • setRecordingId

        public void setRecordingId​(String recordingId)
      • getDuration

        @Nullable
        public String getDuration()
        The duration of the recording in ISO-8601 format
        Returns:
        duration
      • setDuration

        public void setDuration​(String duration)
      • getChannels

        @Nullable
        public Integer getChannels()
        Always `1` for conference recordings; multi-channel recordings are not supported on conferences.
        Returns:
        channels
      • setChannels

        public void setChannels​(Integer channels)
      • getStartTime

        @Nullable
        public OffsetDateTime getStartTime()
        Time the call was started, in ISO 8601 format.
        Returns:
        startTime
      • setStartTime

        public void setStartTime​(OffsetDateTime startTime)
      • getEndTime

        @Nullable
        public OffsetDateTime getEndTime()
        The time that the recording ended in ISO-8601 format
        Returns:
        endTime
      • getFileFormat

        @Nullable
        public FileFormatEnum getFileFormat()
        Get fileFormat
        Returns:
        fileFormat
      • setFileFormat

        public void setFileFormat​(FileFormatEnum fileFormat)
      • getStatus

        @Nullable
        public String getStatus()
        The current status of the process. For recording, current possible values are 'processing', 'partial', 'complete', 'deleted', and 'error'. For transcriptions, current possible values are 'none', 'processing', 'available', 'error', 'timeout', 'file-size-too-big', and 'file-size-too-small'. Additional states may be added in the future, so your application must be tolerant of unknown values.
        Returns:
        status
      • setStatus

        public void setStatus​(String status)
      • getMediaUrl

        @Nullable
        public URI getMediaUrl()
        The URL that can be used to download the recording. Only present if the recording is finished and may be downloaded.
        Returns:
        mediaUrl
      • setMediaUrl

        public void setMediaUrl​(URI mediaUrl)
      • putAdditionalProperty

        public ConferenceRecordingMetadata putAdditionalProperty​(String key,
                                                                 Object value)
        Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
        Parameters:
        key - name of the property
        value - value of the property
        Returns:
        the ConferenceRecordingMetadata instance itself
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
        Return the additional (undeclared) property.
        Returns:
        a map of objects
      • getAdditionalProperty

        public Object getAdditionalProperty​(String key)
        Return the additional (undeclared) property with the specified name.
        Parameters:
        key - name of the property
        Returns:
        an object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to ConferenceRecordingMetadata
      • fromJson

        public static ConferenceRecordingMetadata fromJson​(String jsonString)
                                                    throws IOException
        Create an instance of ConferenceRecordingMetadata given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ConferenceRecordingMetadata
        Throws:
        IOException - if the JSON string is invalid with respect to ConferenceRecordingMetadata
      • toJson

        public String toJson()
        Convert an instance of ConferenceRecordingMetadata to an JSON string
        Returns:
        JSON string