Package com.bandwidth.sdk.model
Class Conference
- java.lang.Object
-
- com.bandwidth.sdk.model.Conference
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-08-29T14:24:34.966664-04:00[America/New_York]") public class Conference extends Object
Conference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Conference.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
openapiFields
static HashSet<String>
openapiRequiredFields
static String
SERIALIZED_NAME_ACTIVE_MEMBERS
static String
SERIALIZED_NAME_COMPLETED_TIME
static String
SERIALIZED_NAME_CONFERENCE_EVENT_METHOD
static String
SERIALIZED_NAME_CONFERENCE_EVENT_URL
static String
SERIALIZED_NAME_CREATED_TIME
static String
SERIALIZED_NAME_ID
static String
SERIALIZED_NAME_NAME
static String
SERIALIZED_NAME_TAG
-
Constructor Summary
Constructors Constructor Description Conference()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Conference
activeMembers(List<ConferenceMember> activeMembers)
Conference
addActiveMembersItem(ConferenceMember activeMembersItem)
Conference
completedTime(OffsetDateTime completedTime)
Conference
conferenceEventMethod(CallbackMethodEnum conferenceEventMethod)
Conference
conferenceEventUrl(URI conferenceEventUrl)
Conference
createdTime(OffsetDateTime createdTime)
boolean
equals(Object o)
static Conference
fromJson(String jsonString)
Create an instance of Conference given an JSON stringList<ConferenceMember>
getActiveMembers()
A list of active members of the conference.Map<String,Object>
getAdditionalProperties()
Return the additional (undeclared) property.Object
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.OffsetDateTime
getCompletedTime()
The time the conference was terminated, in ISO 8601 format.CallbackMethodEnum
getConferenceEventMethod()
Get conferenceEventMethodURI
getConferenceEventUrl()
The URL to send the conference-related events.OffsetDateTime
getCreatedTime()
The time the conference was initiated, in ISO 8601 format.String
getId()
The Bandwidth-generated conference ID.String
getName()
The name of the conference, as specified by your application.String
getTag()
The custom string attached to the conference that will be sent with callbacks.int
hashCode()
Conference
id(String id)
Conference
name(String name)
Conference
putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value.void
setActiveMembers(List<ConferenceMember> activeMembers)
void
setCompletedTime(OffsetDateTime completedTime)
void
setConferenceEventMethod(CallbackMethodEnum conferenceEventMethod)
void
setConferenceEventUrl(URI conferenceEventUrl)
void
setCreatedTime(OffsetDateTime createdTime)
void
setId(String id)
void
setName(String name)
void
setTag(String tag)
Conference
tag(String tag)
String
toJson()
Convert an instance of Conference 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_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_TIME
public static final String SERIALIZED_NAME_CREATED_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMPLETED_TIME
public static final String SERIALIZED_NAME_COMPLETED_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONFERENCE_EVENT_URL
public static final String SERIALIZED_NAME_CONFERENCE_EVENT_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONFERENCE_EVENT_METHOD
public static final String SERIALIZED_NAME_CONFERENCE_EVENT_METHOD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAG
public static final String SERIALIZED_NAME_TAG
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACTIVE_MEMBERS
public static final String SERIALIZED_NAME_ACTIVE_MEMBERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public Conference id(String id)
-
getId
@Nullable public String getId()
The Bandwidth-generated conference ID.- Returns:
- id
-
setId
public void setId(String id)
-
name
public Conference name(String name)
-
getName
@Nullable public String getName()
The name of the conference, as specified by your application.- Returns:
- name
-
setName
public void setName(String name)
-
createdTime
public Conference createdTime(OffsetDateTime createdTime)
-
getCreatedTime
@Nullable public OffsetDateTime getCreatedTime()
The time the conference was initiated, in ISO 8601 format.- Returns:
- createdTime
-
setCreatedTime
public void setCreatedTime(OffsetDateTime createdTime)
-
completedTime
public Conference completedTime(OffsetDateTime completedTime)
-
getCompletedTime
@Nullable public OffsetDateTime getCompletedTime()
The time the conference was terminated, in ISO 8601 format.- Returns:
- completedTime
-
setCompletedTime
public void setCompletedTime(OffsetDateTime completedTime)
-
conferenceEventUrl
public Conference conferenceEventUrl(URI conferenceEventUrl)
-
getConferenceEventUrl
@Nullable public URI getConferenceEventUrl()
The URL to send the conference-related events.- Returns:
- conferenceEventUrl
-
setConferenceEventUrl
public void setConferenceEventUrl(URI conferenceEventUrl)
-
conferenceEventMethod
public Conference conferenceEventMethod(CallbackMethodEnum conferenceEventMethod)
-
getConferenceEventMethod
@Nullable public CallbackMethodEnum getConferenceEventMethod()
Get conferenceEventMethod- Returns:
- conferenceEventMethod
-
setConferenceEventMethod
public void setConferenceEventMethod(CallbackMethodEnum conferenceEventMethod)
-
tag
public Conference tag(String tag)
-
getTag
@Nullable public String getTag()
The custom string attached to the conference that will be sent with callbacks.- Returns:
- tag
-
setTag
public void setTag(String tag)
-
activeMembers
public Conference activeMembers(List<ConferenceMember> activeMembers)
-
addActiveMembersItem
public Conference addActiveMembersItem(ConferenceMember activeMembersItem)
-
getActiveMembers
@Nullable public List<ConferenceMember> getActiveMembers()
A list of active members of the conference. Omitted if this is a response to the [Get Conferences endpoint](/apis/voice#tag/Conferences/operation/listConferences).- Returns:
- activeMembers
-
setActiveMembers
public void setActiveMembers(List<ConferenceMember> activeMembers)
-
putAdditionalProperty
public Conference 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 Conference 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 Conference
-
fromJson
public static Conference fromJson(String jsonString) throws IOException
Create an instance of Conference given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of Conference
- Throws:
IOException
- if the JSON string is invalid with respect to Conference
-
toJson
public String toJson()
Convert an instance of Conference to an JSON string- Returns:
- JSON string
-
-