Package com.bandwidth.sdk.model
Class UpdateConferenceMember
- java.lang.Object
-
- com.bandwidth.sdk.model.UpdateConferenceMember
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class UpdateConferenceMember extends Object
UpdateConferenceMember
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateConferenceMember.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
openapiFields
static HashSet<String>
openapiRequiredFields
static String
SERIALIZED_NAME_CALL_IDS_TO_COACH
static String
SERIALIZED_NAME_HOLD
static String
SERIALIZED_NAME_MUTE
-
Constructor Summary
Constructors Constructor Description UpdateConferenceMember()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateConferenceMember
addCallIdsToCoachItem(String callIdsToCoachItem)
UpdateConferenceMember
callIdsToCoach(List<String> callIdsToCoach)
boolean
equals(Object o)
static UpdateConferenceMember
fromJson(String jsonString)
Create an instance of UpdateConferenceMember given an JSON stringMap<String,Object>
getAdditionalProperties()
Return the additional (undeclared) property.Object
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.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.Boolean
getHold()
Whether or not this member is currently on hold.Boolean
getMute()
Whether or not this member is currently muted.int
hashCode()
UpdateConferenceMember
hold(Boolean hold)
UpdateConferenceMember
mute(Boolean mute)
UpdateConferenceMember
putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value.void
setCallIdsToCoach(List<String> callIdsToCoach)
void
setHold(Boolean hold)
void
setMute(Boolean mute)
String
toJson()
Convert an instance of UpdateConferenceMember 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_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
-
mute
public UpdateConferenceMember 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. Updates this member's mute status. Has no effect if omitted.- Returns:
- mute
-
setMute
public void setMute(Boolean mute)
-
hold
public UpdateConferenceMember 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. Updates this member's hold status. Has no effect if omitted.- Returns:
- hold
-
setHold
public void setHold(Boolean hold)
-
callIdsToCoach
public UpdateConferenceMember callIdsToCoach(List<String> callIdsToCoach)
-
addCallIdsToCoachItem
public UpdateConferenceMember 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. 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
-
putAdditionalProperty
public UpdateConferenceMember 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 UpdateConferenceMember 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 UpdateConferenceMember
-
fromJson
public static UpdateConferenceMember fromJson(String jsonString) throws IOException
Create an instance of UpdateConferenceMember given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of UpdateConferenceMember
- Throws:
IOException
- if the JSON string is invalid with respect to UpdateConferenceMember
-
toJson
public String toJson()
Convert an instance of UpdateConferenceMember to an JSON string- Returns:
- JSON string
-
-