Class UpdateConference

java.lang.Object
com.bandwidth.sdk.model.UpdateConference

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class UpdateConference extends Object
UpdateConference
  • Field Details

  • Constructor Details

    • UpdateConference

      public UpdateConference()
  • Method Details

    • 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 property
      value - 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class 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