Package com.bandwidth.sdk.model
Class ConferenceRecordingMetadata
- java.lang.Object
-
- com.bandwidth.sdk.model.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConferenceRecordingMetadata.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
openapiFields
static HashSet<String>
openapiRequiredFields
static String
SERIALIZED_NAME_ACCOUNT_ID
static String
SERIALIZED_NAME_CHANNELS
static String
SERIALIZED_NAME_CONFERENCE_ID
static String
SERIALIZED_NAME_DURATION
static String
SERIALIZED_NAME_END_TIME
static String
SERIALIZED_NAME_FILE_FORMAT
static String
SERIALIZED_NAME_MEDIA_URL
static String
SERIALIZED_NAME_NAME
static String
SERIALIZED_NAME_RECORDING_ID
static String
SERIALIZED_NAME_START_TIME
static String
SERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description ConferenceRecordingMetadata()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConferenceRecordingMetadata
accountId(String accountId)
ConferenceRecordingMetadata
channels(Integer channels)
ConferenceRecordingMetadata
conferenceId(String conferenceId)
ConferenceRecordingMetadata
duration(String duration)
ConferenceRecordingMetadata
endTime(OffsetDateTime endTime)
boolean
equals(Object o)
ConferenceRecordingMetadata
fileFormat(FileFormatEnum fileFormat)
static ConferenceRecordingMetadata
fromJson(String jsonString)
Create an instance of ConferenceRecordingMetadata given an JSON stringString
getAccountId()
The user account associated with the call.Map<String,Object>
getAdditionalProperties()
Return the additional (undeclared) property.Object
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.Integer
getChannels()
Always `1` for conference recordings; multi-channel recordings are not supported on conferences.String
getConferenceId()
The unique, Bandwidth-generated ID of the conference that was recordedString
getDuration()
The duration of the recording in ISO-8601 formatOffsetDateTime
getEndTime()
The time that the recording ended in ISO-8601 formatFileFormatEnum
getFileFormat()
Get fileFormatURI
getMediaUrl()
The URL that can be used to download the recording.String
getName()
The user-specified name of the conference that was recordedString
getRecordingId()
The unique ID of this recordingOffsetDateTime
getStartTime()
Time the call was started, in ISO 8601 format.String
getStatus()
The current status of the process.int
hashCode()
ConferenceRecordingMetadata
mediaUrl(URI mediaUrl)
ConferenceRecordingMetadata
name(String name)
ConferenceRecordingMetadata
putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value.ConferenceRecordingMetadata
recordingId(String recordingId)
void
setAccountId(String accountId)
void
setChannels(Integer channels)
void
setConferenceId(String conferenceId)
void
setDuration(String duration)
void
setEndTime(OffsetDateTime endTime)
void
setFileFormat(FileFormatEnum fileFormat)
void
setMediaUrl(URI mediaUrl)
void
setName(String name)
void
setRecordingId(String recordingId)
void
setStartTime(OffsetDateTime startTime)
void
setStatus(String status)
ConferenceRecordingMetadata
startTime(OffsetDateTime startTime)
ConferenceRecordingMetadata
status(String status)
String
toJson()
Convert an instance of ConferenceRecordingMetadata to an JSON stringString
toString()
static void
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ACCOUNT_ID
public static final String SERIALIZED_NAME_ACCOUNT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONFERENCE_ID
public static final String SERIALIZED_NAME_CONFERENCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECORDING_ID
public static final String SERIALIZED_NAME_RECORDING_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DURATION
public static final String SERIALIZED_NAME_DURATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHANNELS
public static final String SERIALIZED_NAME_CHANNELS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_START_TIME
public static final String SERIALIZED_NAME_START_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_END_TIME
public static final String SERIALIZED_NAME_END_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILE_FORMAT
public static final String SERIALIZED_NAME_FILE_FORMAT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MEDIA_URL
public static final String SERIALIZED_NAME_MEDIA_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountId
public ConferenceRecordingMetadata accountId(String accountId)
-
getAccountId
@Nullable public String getAccountId()
The user account associated with the call.- Returns:
- accountId
-
setAccountId
public void setAccountId(String accountId)
-
conferenceId
public ConferenceRecordingMetadata conferenceId(String conferenceId)
-
getConferenceId
@Nullable public String getConferenceId()
The unique, Bandwidth-generated ID of the conference that was recorded- Returns:
- conferenceId
-
setConferenceId
public void setConferenceId(String conferenceId)
-
name
public ConferenceRecordingMetadata name(String name)
-
getName
@Nullable public String getName()
The user-specified name of the conference that was recorded- Returns:
- name
-
setName
public void setName(String name)
-
recordingId
public ConferenceRecordingMetadata recordingId(String recordingId)
-
getRecordingId
@Nullable public String getRecordingId()
The unique ID of this recording- Returns:
- recordingId
-
setRecordingId
public void setRecordingId(String recordingId)
-
duration
public ConferenceRecordingMetadata duration(String duration)
-
getDuration
@Nullable public String getDuration()
The duration of the recording in ISO-8601 format- Returns:
- duration
-
setDuration
public void setDuration(String duration)
-
channels
public ConferenceRecordingMetadata channels(Integer channels)
-
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)
-
startTime
public ConferenceRecordingMetadata startTime(OffsetDateTime startTime)
-
getStartTime
@Nullable public OffsetDateTime getStartTime()
Time the call was started, in ISO 8601 format.- Returns:
- startTime
-
setStartTime
public void setStartTime(OffsetDateTime startTime)
-
endTime
public ConferenceRecordingMetadata endTime(OffsetDateTime endTime)
-
getEndTime
@Nullable public OffsetDateTime getEndTime()
The time that the recording ended in ISO-8601 format- Returns:
- endTime
-
setEndTime
public void setEndTime(OffsetDateTime endTime)
-
fileFormat
public ConferenceRecordingMetadata fileFormat(FileFormatEnum fileFormat)
-
getFileFormat
@Nullable public FileFormatEnum getFileFormat()
Get fileFormat- Returns:
- fileFormat
-
setFileFormat
public void setFileFormat(FileFormatEnum fileFormat)
-
status
public ConferenceRecordingMetadata status(String status)
-
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)
-
mediaUrl
public ConferenceRecordingMetadata mediaUrl(URI mediaUrl)
-
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 propertyvalue
- 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
-
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
-
-