Package org.openapitools.client.model
Class ConferenceMember
- java.lang.Object
-
- org.openapitools.client.model.ConferenceMember
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-02-21T09:43:53.001100-05:00[America/New_York]") public class ConferenceMember extends Object
ConferenceMember
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConferenceMember.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
openapiFields
static HashSet<String>
openapiRequiredFields
static String
SERIALIZED_NAME_CALL_ID
static String
SERIALIZED_NAME_CALL_IDS_TO_COACH
static String
SERIALIZED_NAME_CONFERENCE_ID
static String
SERIALIZED_NAME_HOLD
static String
SERIALIZED_NAME_MEMBER_URL
static String
SERIALIZED_NAME_MUTE
-
Constructor Summary
Constructors Constructor Description ConferenceMember()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConferenceMember
addCallIdsToCoachItem(String callIdsToCoachItem)
ConferenceMember
callId(String callId)
ConferenceMember
callIdsToCoach(List<String> callIdsToCoach)
ConferenceMember
conferenceId(String conferenceId)
boolean
equals(Object o)
static ConferenceMember
fromJson(String jsonString)
Create an instance of ConferenceMember given an JSON stringString
getCallId()
The call id associated with the event.List<String>
getCallIdsToCoach()
If this member had a value set for `callIdsToCoach` in its [Conference](/docs/voice/bxml/conference) verb or this list was added with a previous PUT request to modify the member, this is that list of calls.String
getConferenceId()
The unique, Bandwidth-generated ID of the conference that was recordedBoolean
getHold()
Whether or not this member is currently on hold.String
getMemberUrl()
A URL that may be used to retrieve information about or update the state of this conference member.Boolean
getMute()
Whether or not this member is currently muted.int
hashCode()
ConferenceMember
hold(Boolean hold)
ConferenceMember
memberUrl(String memberUrl)
ConferenceMember
mute(Boolean mute)
void
setCallId(String callId)
void
setCallIdsToCoach(List<String> callIdsToCoach)
void
setConferenceId(String conferenceId)
void
setHold(Boolean hold)
void
setMemberUrl(String memberUrl)
void
setMute(Boolean mute)
String
toJson()
Convert an instance of ConferenceMember to an JSON stringString
toString()
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CALL_ID
public static final String SERIALIZED_NAME_CALL_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_MEMBER_URL
public static final String SERIALIZED_NAME_MEMBER_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MUTE
public static final String SERIALIZED_NAME_MUTE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_HOLD
public static final String SERIALIZED_NAME_HOLD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CALL_IDS_TO_COACH
public static final String SERIALIZED_NAME_CALL_IDS_TO_COACH
- See Also:
- Constant Field Values
-
-
Method Detail
-
callId
public ConferenceMember callId(String callId)
-
getCallId
@Nullable public String getCallId()
The call id associated with the event.- Returns:
- callId
-
setCallId
public void setCallId(String callId)
-
conferenceId
public ConferenceMember 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)
-
memberUrl
public ConferenceMember memberUrl(String memberUrl)
-
getMemberUrl
@Nullable public String getMemberUrl()
A URL that may be used to retrieve information about or update the state of this conference member. This is the URL of this member's [Get Conference Member](/apis/voice/#operation/getConferenceMember) endpoint and [Modify Conference Member](/apis/voice/#operation/updateConferenceMember) endpoint.- Returns:
- memberUrl
-
setMemberUrl
public void setMemberUrl(String memberUrl)
-
mute
public ConferenceMember mute(Boolean mute)
-
getMute
@Nullable public Boolean getMute()
Whether or not this member is currently muted. Members who are muted are still able to hear other participants. If used in a PUT request, updates this member's mute status. Has no effect if omitted.- Returns:
- mute
-
setMute
public void setMute(Boolean mute)
-
hold
public ConferenceMember hold(Boolean hold)
-
getHold
@Nullable public Boolean getHold()
Whether or not this member is currently on hold. Members who are on hold are not able to hear or speak in the conference. If used in a PUT request, updates this member's hold status. Has no effect if omitted.- Returns:
- hold
-
setHold
public void setHold(Boolean hold)
-
callIdsToCoach
public ConferenceMember callIdsToCoach(List<String> callIdsToCoach)
-
addCallIdsToCoachItem
public ConferenceMember addCallIdsToCoachItem(String callIdsToCoachItem)
-
getCallIdsToCoach
@Nullable public List<String> getCallIdsToCoach()
If this member had a value set for `callIdsToCoach` in its [Conference](/docs/voice/bxml/conference) verb or this list was added with a previous PUT request to modify the member, this is that list of calls. If present in a PUT request, modifies the calls that this member is coaching. Has no effect if omitted. See the documentation for the [Conference](/docs/voice/bxml/conference) verb for more details about coaching. Note that this will not add the matching calls to the conference; each call must individually execute a Conference verb to join.- Returns:
- callIdsToCoach
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to ConferenceMember
-
fromJson
public static ConferenceMember fromJson(String jsonString) throws IOException
Create an instance of ConferenceMember given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ConferenceMember
- Throws:
IOException
- if the JSON string is invalid with respect to ConferenceMember
-
toJson
public String toJson()
Convert an instance of ConferenceMember to an JSON string- Returns:
- JSON string
-
-