Class 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
    • Constructor Detail

      • UpdateConference

        public UpdateConference()
    • Method Detail

      • 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)
      • getRedirectMethod

        @Nullable
        public RedirectMethodEnum getRedirectMethod()
        Get redirectMethod
        Returns:
        redirectMethod
      • setRedirectMethod

        public void setRedirectMethod​(RedirectMethodEnum redirectMethod)
      • getUsername

        @Nullable
        public String getUsername()
        Basic auth username.
        Returns:
        username
      • setUsername

        public void setUsername​(String username)
      • 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)
      • getRedirectFallbackMethod

        @Nullable
        public RedirectMethodEnum getRedirectFallbackMethod()
        Get redirectFallbackMethod
        Returns:
        redirectFallbackMethod
      • setRedirectFallbackMethod

        public void setRedirectFallbackMethod​(RedirectMethodEnum redirectFallbackMethod)
      • getFallbackUsername

        @Nullable
        public String getFallbackUsername()
        Basic auth username.
        Returns:
        fallbackUsername
      • setFallbackUsername

        public void setFallbackUsername​(String fallbackUsername)
      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode 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