Package com.bandwidth.voice.models
Class ModifyCallRequest
- java.lang.Object
-
- com.bandwidth.voice.models.ModifyCallRequest
-
public class ModifyCallRequest extends Object
This is a model class for ModifyCallRequest type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModifyCallRequest.Builder
Class to build instances ofModifyCallRequest
.
-
Constructor Summary
Constructors Modifier Constructor Description ModifyCallRequest()
Default constructor.protected
ModifyCallRequest(OptionalNullable<StateEnum> state, OptionalNullable<String> redirectUrl, OptionalNullable<String> redirectFallbackUrl, OptionalNullable<RedirectMethodEnum> redirectMethod, OptionalNullable<RedirectFallbackMethodEnum> redirectFallbackMethod, OptionalNullable<String> username, OptionalNullable<String> password, OptionalNullable<String> fallbackUsername, OptionalNullable<String> fallbackPassword, OptionalNullable<String> tag)
Internal initialization constructor.ModifyCallRequest(StateEnum state, String redirectUrl, String redirectFallbackUrl, RedirectMethodEnum redirectMethod, RedirectFallbackMethodEnum redirectFallbackMethod, String username, String password, String fallbackUsername, String fallbackPassword, String tag)
Initialization constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFallbackPassword()
Getter for FallbackPassword.String
getFallbackUsername()
Getter for FallbackUsername.String
getPassword()
Getter for Password.RedirectFallbackMethodEnum
getRedirectFallbackMethod()
Getter for RedirectFallbackMethod.String
getRedirectFallbackUrl()
Getter for RedirectFallbackUrl.RedirectMethodEnum
getRedirectMethod()
Getter for RedirectMethod.String
getRedirectUrl()
Getter for RedirectUrl.StateEnum
getState()
Getter for State.String
getTag()
Getter for Tag.String
getUsername()
Getter for Username.protected OptionalNullable<String>
internalGetFallbackPassword()
Internal Getter for FallbackPassword.protected OptionalNullable<String>
internalGetFallbackUsername()
Internal Getter for FallbackUsername.protected OptionalNullable<String>
internalGetPassword()
Internal Getter for Password.protected OptionalNullable<RedirectFallbackMethodEnum>
internalGetRedirectFallbackMethod()
Internal Getter for RedirectFallbackMethod.protected OptionalNullable<String>
internalGetRedirectFallbackUrl()
Internal Getter for RedirectFallbackUrl.protected OptionalNullable<RedirectMethodEnum>
internalGetRedirectMethod()
Internal Getter for RedirectMethod.protected OptionalNullable<String>
internalGetRedirectUrl()
Internal Getter for RedirectUrl.protected OptionalNullable<StateEnum>
internalGetState()
Internal Getter for State.protected OptionalNullable<String>
internalGetTag()
Internal Getter for Tag.protected OptionalNullable<String>
internalGetUsername()
Internal Getter for Username.void
setFallbackPassword(String fallbackPassword)
Setter for FallbackPassword.void
setFallbackUsername(String fallbackUsername)
Setter for FallbackUsername.void
setPassword(String password)
Setter for Password.void
setRedirectFallbackMethod(RedirectFallbackMethodEnum redirectFallbackMethod)
Setter for RedirectFallbackMethod.void
setRedirectFallbackUrl(String redirectFallbackUrl)
Setter for RedirectFallbackUrl.void
setRedirectMethod(RedirectMethodEnum redirectMethod)
Setter for RedirectMethod.void
setRedirectUrl(String redirectUrl)
Setter for RedirectUrl.void
setState(StateEnum state)
Setter for State.void
setTag(String tag)
Setter for Tag.void
setUsername(String username)
Setter for Username.ModifyCallRequest.Builder
toBuilder()
Builds a newModifyCallRequest.Builder
object.String
toString()
Converts this ModifyCallRequest into string format.void
unsetFallbackPassword()
UnSetter for FallbackPassword.void
unsetFallbackUsername()
UnSetter for FallbackUsername.void
unsetPassword()
UnSetter for Password.void
unsetRedirectFallbackMethod()
UnSetter for RedirectFallbackMethod.void
unsetRedirectFallbackUrl()
UnSetter for RedirectFallbackUrl.void
unsetRedirectMethod()
UnSetter for RedirectMethod.void
unsetRedirectUrl()
UnSetter for RedirectUrl.void
unsetState()
UnSetter for State.void
unsetTag()
UnSetter for Tag.void
unsetUsername()
UnSetter for Username.
-
-
-
Constructor Detail
-
ModifyCallRequest
public ModifyCallRequest()
Default constructor.
-
ModifyCallRequest
public ModifyCallRequest(StateEnum state, String redirectUrl, String redirectFallbackUrl, RedirectMethodEnum redirectMethod, RedirectFallbackMethodEnum redirectFallbackMethod, String username, String password, String fallbackUsername, String fallbackPassword, String tag)
Initialization constructor.- Parameters:
state
- StateEnum value for state.redirectUrl
- String value for redirectUrl.redirectFallbackUrl
- String value for redirectFallbackUrl.redirectMethod
- RedirectMethodEnum value for redirectMethod.redirectFallbackMethod
- RedirectFallbackMethodEnum value for redirectFallbackMethod.username
- String value for username.password
- String value for password.fallbackUsername
- String value for fallbackUsername.fallbackPassword
- String value for fallbackPassword.tag
- String value for tag.
-
ModifyCallRequest
protected ModifyCallRequest(OptionalNullable<StateEnum> state, OptionalNullable<String> redirectUrl, OptionalNullable<String> redirectFallbackUrl, OptionalNullable<RedirectMethodEnum> redirectMethod, OptionalNullable<RedirectFallbackMethodEnum> redirectFallbackMethod, OptionalNullable<String> username, OptionalNullable<String> password, OptionalNullable<String> fallbackUsername, OptionalNullable<String> fallbackPassword, OptionalNullable<String> tag)
Internal initialization constructor.
-
-
Method Detail
-
internalGetState
protected OptionalNullable<StateEnum> internalGetState()
Internal Getter for State.- Returns:
- Returns the Internal StateEnum
-
getState
public StateEnum getState()
Getter for State.- Returns:
- Returns the StateEnum
-
setState
public void setState(StateEnum state)
Setter for State.- Parameters:
state
- Value for StateEnum
-
unsetState
public void unsetState()
UnSetter for State.
-
internalGetRedirectUrl
protected OptionalNullable<String> internalGetRedirectUrl()
Internal Getter for RedirectUrl. Required if state is 'active'- Returns:
- Returns the Internal String
-
getRedirectUrl
public String getRedirectUrl()
Getter for RedirectUrl. Required if state is 'active'- Returns:
- Returns the String
-
setRedirectUrl
public void setRedirectUrl(String redirectUrl)
Setter for RedirectUrl. Required if state is 'active'- Parameters:
redirectUrl
- Value for String
-
unsetRedirectUrl
public void unsetRedirectUrl()
UnSetter for RedirectUrl. Required if state is 'active'
-
internalGetRedirectFallbackUrl
protected OptionalNullable<String> internalGetRedirectFallbackUrl()
Internal Getter for RedirectFallbackUrl.- Returns:
- Returns the Internal String
-
getRedirectFallbackUrl
public String getRedirectFallbackUrl()
Getter for RedirectFallbackUrl.- Returns:
- Returns the String
-
setRedirectFallbackUrl
public void setRedirectFallbackUrl(String redirectFallbackUrl)
Setter for RedirectFallbackUrl.- Parameters:
redirectFallbackUrl
- Value for String
-
unsetRedirectFallbackUrl
public void unsetRedirectFallbackUrl()
UnSetter for RedirectFallbackUrl.
-
internalGetRedirectMethod
protected OptionalNullable<RedirectMethodEnum> internalGetRedirectMethod()
Internal Getter for RedirectMethod.- Returns:
- Returns the Internal RedirectMethodEnum
-
getRedirectMethod
public RedirectMethodEnum getRedirectMethod()
Getter for RedirectMethod.- Returns:
- Returns the RedirectMethodEnum
-
setRedirectMethod
public void setRedirectMethod(RedirectMethodEnum redirectMethod)
Setter for RedirectMethod.- Parameters:
redirectMethod
- Value for RedirectMethodEnum
-
unsetRedirectMethod
public void unsetRedirectMethod()
UnSetter for RedirectMethod.
-
internalGetRedirectFallbackMethod
protected OptionalNullable<RedirectFallbackMethodEnum> internalGetRedirectFallbackMethod()
Internal Getter for RedirectFallbackMethod.- Returns:
- Returns the Internal RedirectFallbackMethodEnum
-
getRedirectFallbackMethod
public RedirectFallbackMethodEnum getRedirectFallbackMethod()
Getter for RedirectFallbackMethod.- Returns:
- Returns the RedirectFallbackMethodEnum
-
setRedirectFallbackMethod
public void setRedirectFallbackMethod(RedirectFallbackMethodEnum redirectFallbackMethod)
Setter for RedirectFallbackMethod.- Parameters:
redirectFallbackMethod
- Value for RedirectFallbackMethodEnum
-
unsetRedirectFallbackMethod
public void unsetRedirectFallbackMethod()
UnSetter for RedirectFallbackMethod.
-
internalGetUsername
protected OptionalNullable<String> internalGetUsername()
Internal Getter for Username.- Returns:
- Returns the Internal String
-
getUsername
public String getUsername()
Getter for Username.- Returns:
- Returns the String
-
setUsername
public void setUsername(String username)
Setter for Username.- Parameters:
username
- Value for String
-
unsetUsername
public void unsetUsername()
UnSetter for Username.
-
internalGetPassword
protected OptionalNullable<String> internalGetPassword()
Internal Getter for Password.- Returns:
- Returns the Internal String
-
getPassword
public String getPassword()
Getter for Password.- Returns:
- Returns the String
-
setPassword
public void setPassword(String password)
Setter for Password.- Parameters:
password
- Value for String
-
unsetPassword
public void unsetPassword()
UnSetter for Password.
-
internalGetFallbackUsername
protected OptionalNullable<String> internalGetFallbackUsername()
Internal Getter for FallbackUsername.- Returns:
- Returns the Internal String
-
getFallbackUsername
public String getFallbackUsername()
Getter for FallbackUsername.- Returns:
- Returns the String
-
setFallbackUsername
public void setFallbackUsername(String fallbackUsername)
Setter for FallbackUsername.- Parameters:
fallbackUsername
- Value for String
-
unsetFallbackUsername
public void unsetFallbackUsername()
UnSetter for FallbackUsername.
-
internalGetFallbackPassword
protected OptionalNullable<String> internalGetFallbackPassword()
Internal Getter for FallbackPassword.- Returns:
- Returns the Internal String
-
getFallbackPassword
public String getFallbackPassword()
Getter for FallbackPassword.- Returns:
- Returns the String
-
setFallbackPassword
public void setFallbackPassword(String fallbackPassword)
Setter for FallbackPassword.- Parameters:
fallbackPassword
- Value for String
-
unsetFallbackPassword
public void unsetFallbackPassword()
UnSetter for FallbackPassword.
-
internalGetTag
protected OptionalNullable<String> internalGetTag()
Internal Getter for Tag.- Returns:
- Returns the Internal String
-
getTag
public String getTag()
Getter for Tag.- Returns:
- Returns the String
-
setTag
public void setTag(String tag)
Setter for Tag.- Parameters:
tag
- Value for String
-
unsetTag
public void unsetTag()
UnSetter for Tag.
-
toString
public String toString()
Converts this ModifyCallRequest into string format.
-
toBuilder
public ModifyCallRequest.Builder toBuilder()
Builds a newModifyCallRequest.Builder
object. Creates the instance with the state of the current model.- Returns:
- a new
ModifyCallRequest.Builder
object
-
-