Class Conference


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2023-08-29T14:24:34.966664-04:00[America/New_York]")
    public class Conference
    extends Object
    Conference
    • Constructor Detail

      • Conference

        public Conference()
    • Method Detail

      • getId

        @Nullable
        public String getId()
        The Bandwidth-generated conference ID.
        Returns:
        id
      • setId

        public void setId​(String id)
      • getName

        @Nullable
        public String getName()
        The name of the conference, as specified by your application.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getCreatedTime

        @Nullable
        public OffsetDateTime getCreatedTime()
        The time the conference was initiated, in ISO 8601 format.
        Returns:
        createdTime
      • setCreatedTime

        public void setCreatedTime​(OffsetDateTime createdTime)
      • getCompletedTime

        @Nullable
        public OffsetDateTime getCompletedTime()
        The time the conference was terminated, in ISO 8601 format.
        Returns:
        completedTime
      • setCompletedTime

        public void setCompletedTime​(OffsetDateTime completedTime)
      • conferenceEventUrl

        public Conference conferenceEventUrl​(URI conferenceEventUrl)
      • getConferenceEventUrl

        @Nullable
        public URI getConferenceEventUrl()
        The URL to send the conference-related events.
        Returns:
        conferenceEventUrl
      • setConferenceEventUrl

        public void setConferenceEventUrl​(URI conferenceEventUrl)
      • getConferenceEventMethod

        @Nullable
        public CallbackMethodEnum getConferenceEventMethod()
        Get conferenceEventMethod
        Returns:
        conferenceEventMethod
      • setConferenceEventMethod

        public void setConferenceEventMethod​(CallbackMethodEnum conferenceEventMethod)
      • getTag

        @Nullable
        public String getTag()
        The custom string attached to the conference that will be sent with callbacks.
        Returns:
        tag
      • setTag

        public void setTag​(String tag)
      • getActiveMembers

        @Nullable
        public List<ConferenceMember> getActiveMembers()
        A list of active members of the conference. Omitted if this is a response to the [Get Conferences endpoint](/apis/voice#tag/Conferences/operation/listConferences).
        Returns:
        activeMembers
      • putAdditionalProperty

        public Conference 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 Conference 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 Conference
      • fromJson

        public static Conference fromJson​(String jsonString)
                                   throws IOException
        Create an instance of Conference given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Conference
        Throws:
        IOException - if the JSON string is invalid with respect to Conference
      • toJson

        public String toJson()
        Convert an instance of Conference to an JSON string
        Returns:
        JSON string