Examples of TwilioRestResponse


Examples of com.twilio.sdk.TwilioRestResponse

   *
   * @return true, if successful
   * @throws TwilioRestException the twilio rest exception
   */
  public boolean delete() throws TwilioRestException {
    TwilioRestResponse response = this.getClient().safeRequest(
        this.getResourceLocation(), "DELETE", (Map) null);

    return !response.isError();
  }
View Full Code Here

Examples of com.twilio.sdk.TwilioRestResponse

   *             if there is an error in the request
   * @return true, if successful
   *
   */
  public boolean delete() throws TwilioRestException {
    TwilioRestResponse response = this.getClient().safeRequest(
        this.getResourceLocation(), "DELETE", (Map) null);

    return !response.isError();
  }
View Full Code Here

Examples of com.twilio.sdk.TwilioRestResponse

   *             if there is an error in the request
   * @return true, if successful
   *
   */
  public boolean delete() throws TwilioRestException {
    TwilioRestResponse response = this.getClient().safeRequest(
        this.getResourceLocation(), "DELETE", (Map) null);

    return !response.isError();
  }
View Full Code Here

Examples of com.twilio.sdk.TwilioRestResponse

   *             if there is an error in the request
   * @return true, if successful
   *
   */
  public boolean delete() throws TwilioRestException {
    TwilioRestResponse response = this.getClient().safeRequest(
        this.getResourceLocation(), "DELETE", (Map) null);

    return !response.isError();
  }
View Full Code Here

Examples of com.twilio.sdk.TwilioRestResponse

   *
   * @return true, if successful
   * @throws TwilioRestException the twilio rest exception
   */
  public boolean delete() throws TwilioRestException {
    TwilioRestResponse response = getClient().safeRequest(getResourceLocation(), "DELETE", (Map) null);

    return !response.isError();
  }
View Full Code Here

Examples of com.twilio.sdk.TwilioRestResponse

   */
  public Participant mute() throws TwilioRestException {
    Map<String, String> vars = new HashMap<String, String>();
    vars.put("Muted", "true");

    TwilioRestResponse response = this.getClient().safeRequest(
        this.getResourceLocation(), "POST", vars);

    return new Participant(this.getClient(), response.toMap());
  }
View Full Code Here

Examples of com.twilio.sdk.TwilioRestResponse

   *             if there is an error in the request
   * @return true, if successful
   *
   */
  public boolean delete() throws TwilioRestException {
    TwilioRestResponse response = this.getClient().safeRequest(
        this.getResourceLocation(), "DELETE", (Map) null);

    return !response.isError();
  }
View Full Code Here

Examples of com.twilio.sdk.TwilioRestResponse

   */
  public Participant unmute() throws TwilioRestException {
    Map<String, String> vars = new HashMap<String, String>();
    vars.put("Muted", "false");

    TwilioRestResponse response = this.getClient().safeRequest(
        this.getResourceLocation(), "POST", vars);

    return new Participant(this.getClient(), response.toMap());
  }
View Full Code Here

Examples of com.twilio.sdk.TwilioRestResponse

   *
   * @return true, if successful
   * @throws TwilioRestException the twilio rest exception
   */
  public boolean kick() throws TwilioRestException {
    TwilioRestResponse response = this.getClient().safeRequest(
        this.getResourceLocation(), "DELETE", (Map) null);

    return !response.isError();
  }
View Full Code Here

Examples of com.twilio.sdk.TwilioRestResponse

    /**
     * {@inheritDoc}
     */
    @Override
    public Feedback create(List<NameValuePair> params) throws TwilioRestException {
        TwilioRestResponse response = this.client.safeRequest(this.parentLocation + "/Feedback.json", "POST", params);
        return new Feedback(this.client, response.toMap(), this.parentLocation);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.