Package com.bandwidth.sdk.model
Class UpdateConference
- java.lang.Object
-
- com.bandwidth.sdk.model.UpdateConference
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-08-29T14:24:34.966664-04:00[America/New_York]") public class UpdateConference extends Object
UpdateConference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateConference.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
openapiFields
static HashSet<String>
openapiRequiredFields
static String
SERIALIZED_NAME_FALLBACK_PASSWORD
static String
SERIALIZED_NAME_FALLBACK_USERNAME
static String
SERIALIZED_NAME_PASSWORD
static String
SERIALIZED_NAME_REDIRECT_FALLBACK_METHOD
static String
SERIALIZED_NAME_REDIRECT_FALLBACK_URL
static String
SERIALIZED_NAME_REDIRECT_METHOD
static String
SERIALIZED_NAME_REDIRECT_URL
static String
SERIALIZED_NAME_STATUS
static String
SERIALIZED_NAME_USERNAME
-
Constructor Summary
Constructors Constructor Description UpdateConference()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
UpdateConference
fallbackPassword(String fallbackPassword)
UpdateConference
fallbackUsername(String fallbackUsername)
static UpdateConference
fromJson(String jsonString)
Create an instance of UpdateConference 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.String
getFallbackPassword()
Basic auth password.String
getFallbackUsername()
Basic auth username.String
getPassword()
Basic auth password.RedirectMethodEnum
getRedirectFallbackMethod()
Get redirectFallbackMethodURI
getRedirectFallbackUrl()
A fallback url which, if provided, will be used to retry the `conferenceRedirect` webhook delivery in case `redirectUrl` fails to respond.RedirectMethodEnum
getRedirectMethod()
Get redirectMethodURI
getRedirectUrl()
The URL to send the [conferenceRedirect](/docs/voice/webhooks/conferenceRedirect) event which will provide new BXML.ConferenceStateEnum
getStatus()
Get statusString
getUsername()
Basic auth username.int
hashCode()
UpdateConference
password(String password)
UpdateConference
putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value.UpdateConference
redirectFallbackMethod(RedirectMethodEnum redirectFallbackMethod)
UpdateConference
redirectFallbackUrl(URI redirectFallbackUrl)
UpdateConference
redirectMethod(RedirectMethodEnum redirectMethod)
UpdateConference
redirectUrl(URI redirectUrl)
void
setFallbackPassword(String fallbackPassword)
void
setFallbackUsername(String fallbackUsername)
void
setPassword(String password)
void
setRedirectFallbackMethod(RedirectMethodEnum redirectFallbackMethod)
void
setRedirectFallbackUrl(URI redirectFallbackUrl)
void
setRedirectMethod(RedirectMethodEnum redirectMethod)
void
setRedirectUrl(URI redirectUrl)
void
setStatus(ConferenceStateEnum status)
void
setUsername(String username)
UpdateConference
status(ConferenceStateEnum status)
String
toJson()
Convert an instance of UpdateConference to an JSON stringString
toString()
UpdateConference
username(String username)
static void
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REDIRECT_URL
public static final String SERIALIZED_NAME_REDIRECT_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REDIRECT_METHOD
public static final String SERIALIZED_NAME_REDIRECT_METHOD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USERNAME
public static final String SERIALIZED_NAME_USERNAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PASSWORD
public static final String SERIALIZED_NAME_PASSWORD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REDIRECT_FALLBACK_URL
public static final String SERIALIZED_NAME_REDIRECT_FALLBACK_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REDIRECT_FALLBACK_METHOD
public static final String SERIALIZED_NAME_REDIRECT_FALLBACK_METHOD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FALLBACK_USERNAME
public static final String SERIALIZED_NAME_FALLBACK_USERNAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FALLBACK_PASSWORD
public static final String SERIALIZED_NAME_FALLBACK_PASSWORD
- See Also:
- Constant Field Values
-
-
Method Detail
-
status
public UpdateConference status(ConferenceStateEnum status)
-
getStatus
@Nullable public ConferenceStateEnum getStatus()
Get status- Returns:
- status
-
setStatus
public void setStatus(ConferenceStateEnum status)
-
redirectUrl
public UpdateConference redirectUrl(URI redirectUrl)
-
getRedirectUrl
@Nullable public URI getRedirectUrl()
The URL to send the [conferenceRedirect](/docs/voice/webhooks/conferenceRedirect) event which will provide new BXML. Not allowed if `state` is `completed`, but required if `state` is `active`.- Returns:
- redirectUrl
-
setRedirectUrl
public void setRedirectUrl(URI redirectUrl)
-
redirectMethod
public UpdateConference redirectMethod(RedirectMethodEnum redirectMethod)
-
getRedirectMethod
@Nullable public RedirectMethodEnum getRedirectMethod()
Get redirectMethod- Returns:
- redirectMethod
-
setRedirectMethod
public void setRedirectMethod(RedirectMethodEnum redirectMethod)
-
username
public UpdateConference username(String username)
-
getUsername
@Nullable public String getUsername()
Basic auth username.- Returns:
- username
-
setUsername
public void setUsername(String username)
-
password
public UpdateConference password(String password)
-
getPassword
@Nullable public String getPassword()
Basic auth password.- Returns:
- password
-
setPassword
public void setPassword(String password)
-
redirectFallbackUrl
public UpdateConference redirectFallbackUrl(URI redirectFallbackUrl)
-
getRedirectFallbackUrl
@Nullable public URI getRedirectFallbackUrl()
A fallback url which, if provided, will be used to retry the `conferenceRedirect` webhook delivery in case `redirectUrl` fails to respond. Not allowed if `state` is `completed`.- Returns:
- redirectFallbackUrl
-
setRedirectFallbackUrl
public void setRedirectFallbackUrl(URI redirectFallbackUrl)
-
redirectFallbackMethod
public UpdateConference redirectFallbackMethod(RedirectMethodEnum redirectFallbackMethod)
-
getRedirectFallbackMethod
@Nullable public RedirectMethodEnum getRedirectFallbackMethod()
Get redirectFallbackMethod- Returns:
- redirectFallbackMethod
-
setRedirectFallbackMethod
public void setRedirectFallbackMethod(RedirectMethodEnum redirectFallbackMethod)
-
fallbackUsername
public UpdateConference fallbackUsername(String fallbackUsername)
-
getFallbackUsername
@Nullable public String getFallbackUsername()
Basic auth username.- Returns:
- fallbackUsername
-
setFallbackUsername
public void setFallbackUsername(String fallbackUsername)
-
fallbackPassword
public UpdateConference fallbackPassword(String fallbackPassword)
-
getFallbackPassword
@Nullable public String getFallbackPassword()
Basic auth password.- Returns:
- fallbackPassword
-
setFallbackPassword
public void setFallbackPassword(String fallbackPassword)
-
putAdditionalProperty
public UpdateConference 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 UpdateConference 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 UpdateConference
-
fromJson
public static UpdateConference fromJson(String jsonString) throws IOException
Create an instance of UpdateConference given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of UpdateConference
- Throws:
IOException
- if the JSON string is invalid with respect to UpdateConference
-
toJson
public String toJson()
Convert an instance of UpdateConference to an JSON string- Returns:
- JSON string
-
-