Class Conference

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

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

  • Constructor Details

    • Conference

      public Conference()
  • Method Details

    • id

      public Conference id(String id)
    • getId

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

      public void setId(String id)
    • name

      public Conference name(String name)
    • getName

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

      public void setName(String name)
    • createdTime

      public Conference createdTime(OffsetDateTime createdTime)
    • getCreatedTime

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

      public void setCreatedTime(OffsetDateTime createdTime)
    • completedTime

      public Conference completedTime(OffsetDateTime completedTime)
    • 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)
    • conferenceEventMethod

      public Conference conferenceEventMethod(CallbackMethodEnum conferenceEventMethod)
    • getConferenceEventMethod

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

      public void setConferenceEventMethod(CallbackMethodEnum conferenceEventMethod)
    • tag

      public Conference tag(String tag)
    • 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)
    • activeMembers

      public Conference activeMembers(List<ConferenceMember> activeMembers)
    • addActiveMembersItem

      public Conference addActiveMembersItem(ConferenceMember activeMembersItem)
    • 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
    • setActiveMembers

      public void setActiveMembers(List<ConferenceMember> 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
    • 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 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