All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.twilio.sdk.resource.factory.FeedbackFactory Maven / Gradle / Ivy

There is a newer version: 7.0.0-rc-10
Show newest version
package com.twilio.sdk.resource.factory;

import java.util.List;

import org.apache.http.NameValuePair;

import com.twilio.sdk.TwilioRestException;
import com.twilio.sdk.resource.instance.Feedback;

/**
 * A factory for creating/adding a Feedback object to a resource. To use, call the 
 * resource's getFeedbackFactory method. Currently, only 
 * {@link com.twilio.sdk.resource.instance.Call} resource's are supported.
 */
public interface FeedbackFactory {

    /**
     * Creates the feedback factory for adding feedback to an resource.
     *
     * @param params the params
     * @return the feedback
     * @throws TwilioRestException
     */
    public Feedback create(List params) throws TwilioRestException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy